1 (***********************************************************************)
5 (* Xavier Leroy, projet Cristal, INRIA Rocquencourt *)
7 (* Copyright 1996 Institut National de Recherche en Informatique et *)
8 (* en Automatique. All rights reserved. This file is distributed *)
9 (* under the terms of the Q Public License version 1.0. *)
11 (***********************************************************************)
15 (* Translation from typed abstract syntax to lambda terms,
16 for the core language *)
23 val name_pattern
: string -> (pattern
* 'a
) list
-> Ident.t
25 val transl_exp
: expression
-> lambda
26 val transl_apply
: lambda
-> (expression
option * optional
) list
-> lambda
28 rec_flag
-> (pattern
* expression
) list
-> lambda
-> lambda
29 val transl_primitive
: Primitive.description
-> lambda
31 Ident.t
-> Path.t
option -> exception_declaration
-> lambda
33 val check_recursive_lambda
: Ident.t list
-> lambda
-> bool
40 exception Error
of Location.t
* error
44 val report_error
: formatter
-> error
-> unit
46 (* Forward declaration -- to be filled in by Translmod.transl_module *)
48 (module_coercion
-> Path.t
option -> module_expr
-> lambda
) ref
50 (Ident.t
-> string list
-> class_expr
-> lambda
) ref