aboutsummaryrefslogtreecommitdiffhomepage
path: root/src/core_util.sig
diff options
context:
space:
mode:
authorGravatar Adam Chlipala <adamc@hcoop.net>2008-11-27 12:43:28 -0500
committerGravatar Adam Chlipala <adamc@hcoop.net>2008-11-27 12:43:28 -0500
commit960a42fc1844d5f0f6033b3caada6349d588a2a9 (patch)
treeee3ca9390d833115cec329bfd2c1c7bc7b13e5b6 /src/core_util.sig
parent82dca6c875cca25d05dfbd5c6a2fb2185b965692 (diff)
Avoid Especializing polymorphic code
Diffstat (limited to 'src/core_util.sig')
-rw-r--r--src/core_util.sig5
1 files changed, 5 insertions, 0 deletions
diff --git a/src/core_util.sig b/src/core_util.sig
index 39f50cc1..fc5a2bea 100644
--- a/src/core_util.sig
+++ b/src/core_util.sig
@@ -165,6 +165,11 @@ structure Decl : sig
decl : 'context * Core.decl' * 'state -> Core.decl' * 'state,
bind : 'context * binder -> 'context}
-> 'context -> 'state -> Core.decl -> Core.decl * 'state
+
+ val exists : {kind : Core.kind' -> bool,
+ con : Core.con' -> bool,
+ exp : Core.exp' -> bool,
+ decl : Core.decl' -> bool} -> Core.decl -> bool
end
structure File : sig