/[svn]/types/sequence.mli
ViewVC logotype

Contents of /types/sequence.mli

Parent Directory Parent Directory | Revision Log Revision Log


Revision 263 - (show annotations)
Tue Jul 10 17:20:36 2007 UTC (5 years, 10 months ago) by abate
File size: 811 byte(s)
[r2003-03-17 22:44:29 by cvscast] Empty log message

Original author: cvscast
Date: 2003-03-17 22:44:44+00:00
1 val nil_type: Types.descr
2 val nil_atom: Atoms.v
3 val any: Types.descr
4 val seqseq: Types.descr
5 val string: Types.descr
6
7 val concat: Types.descr -> Types.descr -> Types.descr
8 val flatten: Types.descr -> Types.descr
9 val map: (Types.descr -> Types.descr) -> Types.descr -> Types.descr
10
11 val map_tree:
12 (Types.descr -> Types.descr * Types.descr) -> Types.descr -> Types.descr
13 (* input type -> (result, residual) *) (* sequence type *)
14
15 val star: Types.descr -> Types.descr
16 (* For a type t, returns [t*] *)
17 val plus: Types.descr -> Types.descr
18
19 val approx: Types.descr -> Types.descr
20 (* For a type t <= [Any*], returns the least type s such that:
21 t <= [s*]
22
23 In general, for an arbitrary type, returns the least type s such that:
24 t <= (X where X = (s, X) | Any \ (Any,Any))
25 *)

CVS Admin">CVS Admin
ViewVC Help
Powered by ViewVC 1.1.5