aboutsummaryrefslogtreecommitdiffhomepage
path: root/src/mono_util.sig
diff options
context:
space:
mode:
authorGravatar Adam Chlipala <adamc@hcoop.net>2008-07-13 10:17:06 -0400
committerGravatar Adam Chlipala <adamc@hcoop.net>2008-07-13 10:17:06 -0400
commit3316f3c317e587a5fc2ecf38f061a72b48e3b94e (patch)
treefae8c92c195e5f7976352a337017d285e729f859 /src/mono_util.sig
parent7281dbb2fc2a5f50c1049bad629f330e2ff3f7ca (diff)
Remove closure conversion in favor of zany fun with modules, which also replaces 'page'
Diffstat (limited to 'src/mono_util.sig')
-rw-r--r--src/mono_util.sig5
1 files changed, 4 insertions, 1 deletions
diff --git a/src/mono_util.sig b/src/mono_util.sig
index ab851aea..4a48671d 100644
--- a/src/mono_util.sig
+++ b/src/mono_util.sig
@@ -28,6 +28,9 @@
signature MONO_UTIL = sig
structure Typ : sig
+ val compare : Mono.typ * Mono.typ -> order
+ val sortFields : (string * Mono.typ) list -> (string * Mono.typ) list
+
val mapfold : (Mono.typ', 'state, 'abort) Search.mapfolder
-> (Mono.typ, 'state, 'abort) Search.mapfolder
@@ -44,7 +47,7 @@ structure Exp : sig
datatype binder =
NamedT of string * int * Mono.typ option
| RelE of string * Mono.typ
- | NamedE of string * int * Mono.typ * Mono.exp option
+ | NamedE of string * int * Mono.typ * Mono.exp option * string
val mapfoldB : {typ : (Mono.typ', 'state, 'abort) Search.mapfolder,
exp : ('typtext, Mono.exp', 'state, 'abort) Search.mapfolderB,