-
Notifications
You must be signed in to change notification settings - Fork 1
/
Common.mli
66 lines (66 loc) · 2.73 KB
/
Common.mli
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
type patIndex = int
val patIndex_of_sexp__ : Sexplib.Sexp.t -> int
val patIndex_of_sexp : Sexplib.Sexp.t -> patIndex
val sexp_of_patIndex : patIndex -> Sexplib.Sexp.t
type strIndex = int
val strIndex_of_sexp__ : Sexplib.Sexp.t -> int
val strIndex_of_sexp : Sexplib.Sexp.t -> strIndex
val sexp_of_strIndex : strIndex -> Sexplib.Sexp.t
type groupIndex = int
val groupIndex_of_sexp__ : Sexplib.Sexp.t -> int
val groupIndex_of_sexp : Sexplib.Sexp.t -> groupIndex
val sexp_of_groupIndex : groupIndex -> Sexplib.Sexp.t
type tag = int
val tag_of_sexp__ : Sexplib.Sexp.t -> int
val tag_of_sexp : Sexplib.Sexp.t -> tag
val sexp_of_tag : tag -> Sexplib.Sexp.t
type orbit = int
val orbit_of_sexp__ : Sexplib.Sexp.t -> int
val orbit_of_sexp : Sexplib.Sexp.t -> orbit
val sexp_of_orbit : orbit -> Sexplib.Sexp.t
type rep = int
val rep_of_sexp__ : Sexplib.Sexp.t -> int
val rep_of_sexp : Sexplib.Sexp.t -> rep
val sexp_of_rep : rep -> Sexplib.Sexp.t
type tagTask = TagTask | ResetGroupStopTask | SetGroupStopTask
val tagTask_of_sexp__ : Sexplib.Sexp.t -> tagTask
val tagTask_of_sexp : Sexplib.Sexp.t -> tagTask
val sexp_of_tagTask : tagTask -> Sexplib.Sexp.t
type orbitTask =
EnterOrbitTask
| LoopOrbitTask
| ResetOrbitTask
| LeaveOrbitTask
val orbitTask_of_sexp__ : Sexplib.Sexp.t -> orbitTask
val orbitTask_of_sexp : Sexplib.Sexp.t -> orbitTask
val sexp_of_orbitTask : orbitTask -> Sexplib.Sexp.t
type repTask = IncRep of int | LeaveRep
val repTask_of_sexp__ : Sexplib.Sexp.t -> repTask
val repTask_of_sexp : Sexplib.Sexp.t -> repTask
val sexp_of_repTask : repTask -> Sexplib.Sexp.t
type taskList = {
tlTag : (tag * tagTask) list;
tlOrbit : (rep * orbit * orbitTask) list;
tlRep : (rep * repTask) list;
}
val taskList_of_sexp__ : Sexplib.Sexp.t -> taskList
val taskList_of_sexp : Sexplib.Sexp.t -> taskList
val sexp_of_taskList : taskList -> Sexplib.Sexp.t
val emptyTaskList : taskList
type tagOP = Maximize | Minimize | Orbit of orbit | GroupFlag
val tagOP_of_sexp__ : Sexplib.Sexp.t -> tagOP
val tagOP_of_sexp : Sexplib.Sexp.t -> tagOP
val sexp_of_tagOP : tagOP -> Sexplib.Sexp.t
type wanted = WantsState | WantsBundle | WantsEither
val wanted_of_sexp__ : Sexplib.Sexp.t -> wanted
val wanted_of_sexp : Sexplib.Sexp.t -> wanted
val sexp_of_wanted : wanted -> Sexplib.Sexp.t
val forList : 'a Core.Core_list.t -> ('a -> unit) -> unit
val forOpt : 'a Core.Option.t -> ('a -> unit) -> unit
val mapOpt : ('a -> 'b) -> 'a Core.Option.t -> 'b Core.Option.t
val forArray : 'a Core.Core_array.t -> ('a -> unit) -> unit
val forIArray : 'a Core.Core_array.t -> (int -> 'a -> unit) -> unit
type groupCap = (strIndex * strIndex) array
val groupCap_of_sexp__ : Sexplib.Sexp.t -> (strIndex * strIndex) array
val groupCap_of_sexp : Sexplib.Sexp.t -> groupCap
val sexp_of_groupCap : groupCap -> Sexplib.Sexp.t