forked from CakeML/cakeml
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathcfSyntax.sig
47 lines (40 loc) · 1.62 KB
/
cfSyntax.sig
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
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
signature cfSyntax = sig
include Abbrev
(* cf_let let var expr env H Q *)
val cf_let_tm : term
val mk_cf_let : term * term * term * term * term * term -> term
val dest_cf_let : term -> term * term * term * term * term * term
val is_cf_let : term -> bool
(* cf_lit lit env H Q *)
val cf_lit_tm : term
val mk_cf_lit : term * term * term * term -> term
val dest_cf_lit : term -> term * term * term * term
val is_cf_lit : term -> bool
(* cf_con cname args env H Q *)
val cf_con_tm : term
val mk_cf_con : term * term * term * term * term -> term
val dest_cf_con : term -> term * term * term * term * term
val is_cf_con : term -> bool
(* cf_var name env H Q *)
val cf_var_tm : term
val mk_cf_var : term * term * term * term -> term
val dest_cf_var : term -> term * term * term * term
val is_cf_var : term -> bool
(* cf_fun p f ns F1 F2 env H Q *)
val cf_fun_tm : term
val mk_cf_fun : term * term * term * term * term * term * term * term ->
term
val dest_cf_fun : term ->
term * term * term * term * term * term * term * term
val is_cf_fun : term -> bool
(* cf_fun_rec p fs_FS F2 env H Q *)
val cf_fun_rec_tm : term
val mk_cf_fun_rec : term * term * term * term * term * term -> term
val dest_cf_fun_rec : term -> term * term * term * term * term * term
val is_cf_fun_rec : term -> bool
(* cf_app p f args env H Q *)
val cf_app_tm : term
val mk_cf_app : term * term * term * term * term * term -> term
val dest_cf_app : term -> term * term * term * term * term * term
val is_cf_app : term -> bool
end