forked from CakeML/cakeml
-
Notifications
You must be signed in to change notification settings - Fork 0
/
ml_translatorSyntax.sig
74 lines (57 loc) · 1.88 KB
/
ml_translatorSyntax.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
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
signature ml_translatorSyntax =
sig
include Abbrev
val mk_Eval : term * term * term -> term
val dest_Eval : term -> term * term * term
val is_Eval : term -> bool
val Eval : term
val mk_EqualityType : term -> term
val dest_EqualityType : term -> term
val is_EqualityType : term -> bool
val EqualityType : term
val IsTypeRep : term
val dest_IsTypeRep : term -> term * term
val is_IsTypeRep : term -> bool
val mk_IsTypeRep : term * term -> term
val mk_CONTAINER : term -> term
val dest_CONTAINER : term -> term
val is_CONTAINER : term -> bool
val CONTAINER : term
val mk_PRECONDITION : term -> term
val dest_PRECONDITION : term -> term
val is_PRECONDITION : term -> bool
val PRECONDITION : term
val mk_TAG : term * term -> term
val dest_TAG : term -> term * term
val is_TAG : term -> bool
val mk_Eq : term * term -> term
val mk_PreImp : term * term -> term
val dest_PreImp : term -> term * term
val is_PreImp : term -> bool
val mk_lookup_cons : term * term -> term
val dest_lookup_cons : term -> term * term
val is_lookup_cons : term -> bool
val mk_And : term * term -> term
val TRUE : term
val FALSE : term
val BOOL : term
val WORD : term
val NUM : term
val INT : term
val CHAR : term
val STRING_TYPE : term
val UNIT_TYPE : term
val LIST_TYPE : term
val DUMMY_TYPE_REP_v : term
val mk_LIST_TYPE : term * term * term -> term
val dest_LIST_TYPE : term -> term * term * term
val is_LIST_TYPE : term -> bool
val mk_Arrow : term * term -> term
val dest_Arrow : term -> term * term
val is_Arrow : term -> bool
val strip_Arrow : term -> term list * term
val dest_write : term -> term * term * term
val is_write : term -> bool
val mk_write : term * term * term -> term
val write : term
end