diff src/core_util.sig @ 443:bd9ee9aeca2f

Especialize
author Adam Chlipala <adamc@hcoop.net>
date Thu, 30 Oct 2008 16:58:54 -0400
parents ab86aa858e6c
children ffa18975e661
line wrap: on
line diff
--- a/src/core_util.sig	Thu Oct 30 15:39:06 2008 -0400
+++ b/src/core_util.sig	Thu Oct 30 16:58:54 2008 -0400
@@ -107,6 +107,11 @@
     val exists : {kind : Core.kind' -> bool,
                   con : Core.con' -> bool,
                   exp : Core.exp' -> bool} -> Core.exp -> bool
+
+    val foldMap : {kind : Core.kind' * 'state -> Core.kind' * 'state,
+                   con : Core.con' * 'state -> Core.con' * 'state,
+                   exp : Core.exp' * 'state -> Core.exp' * 'state}
+                  -> 'state -> Core.exp -> Core.exp * 'state
 end
 
 structure Decl : sig