diff options
Diffstat (limited to 'src/mono_util.sig')
-rw-r--r-- | src/mono_util.sig | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/src/mono_util.sig b/src/mono_util.sig index 7ce545e1..a5118072 100644 --- a/src/mono_util.sig +++ b/src/mono_util.sig @@ -107,6 +107,11 @@ structure Decl : sig decl : Mono.decl' -> Mono.decl'} -> Mono.decl -> Mono.decl + val foldMap : {typ : Mono.typ' * 'state -> Mono.typ' * 'state, + exp : Mono.exp' * 'state -> Mono.exp' * 'state, + decl : Mono.decl' * 'state -> Mono.decl' * 'state} + -> 'state -> Mono.decl -> Mono.decl * 'state + val foldMapB : {typ : Mono.typ' * 'state -> Mono.typ' * 'state, exp : 'context * Mono.exp' * 'state -> Mono.exp' * 'state, decl : 'context * Mono.decl' * 'state -> Mono.decl' * 'state, |