sequence.mli 653 Bytes
Newer Older
1
val nil_type: Types.descr
2
val nil_atom: Atoms.v
3
4
val any: Types.descr
val seqseq: Types.descr
5
val string: Types.descr
6
7
8
9

val concat: Types.descr -> Types.descr -> Types.descr
val flatten: Types.descr -> Types.descr
val map: (Types.descr -> Types.descr) -> Types.descr -> Types.descr
10
11
12
13


val star: Types.descr -> Types.descr
  (* For a type t, returns [t*] *)
14
val plus: Types.descr -> Types.descr
15
16
17
18
19
20
21
22

val approx: Types.descr -> Types.descr
  (*  For a type t <= [Any*], returns the least type s such that:
      t <= [s*]
      
      In general, for an arbitrary type, returns the least type s such that:
      t <= (X where X = (s, X) |  Any \ (Any,Any))
  *)