blob: 9e0a30d09ea029aa570d9e2e964ea12763c16508 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
|
(* $Id$ *)
(*i*)
open Names
open Term
open Sign
open Rawterm
(*i*)
(* [detype avoid env c] turns [c], typed in [env], into a rawconstr. *)
(* De Bruijn indexes are turned to bound names, avoiding names in [avoid] *)
exception StillDLAM
val detype : identifier list -> unit assumptions -> constr -> rawconstr
(* look for the index of a named var or a nondep var as it is renamed *)
val lookup_name_as_renamed :
unit assumptions -> constr -> identifier -> int option
val lookup_index_as_renamed : constr -> int -> int option
val force_wildcard : unit -> bool
val synthetize_type : unit -> bool
val force_if : case_info -> bool
val force_let : case_info -> bool
|