aboutsummaryrefslogtreecommitdiffhomepage
path: root/src/mono_util.sml
diff options
context:
space:
mode:
authorGravatar Adam Chlipala <adamc@hcoop.net>2008-09-02 10:51:41 -0400
committerGravatar Adam Chlipala <adamc@hcoop.net>2008-09-02 10:51:41 -0400
commitb4398c433195b75d5e03d0774b1128fae14e9f41 (patch)
tree70e65dddc4c89b8cd1e13fce0d0c2ce21f50d67a /src/mono_util.sml
parent8a494ef37c4f4f7e15bbf173f44f81d12a60b91b (diff)
'database' declaration threaded through compiler
Diffstat (limited to 'src/mono_util.sml')
-rw-r--r--src/mono_util.sml2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/mono_util.sml b/src/mono_util.sml
index 5ccaf16c..9dddb477 100644
--- a/src/mono_util.sml
+++ b/src/mono_util.sml
@@ -342,6 +342,7 @@ fun mapfoldB {typ = fc, exp = fe, decl = fd, bind} =
S.map2 (ListUtil.mapfold mft ts,
fn ts' =>
(DExport (ek, s, n, ts'), loc))
+ | DDatabase _ => S.return2 dAll
and mfvi ctx (x, n, t, e, s) =
S.bind2 (mft t,
@@ -404,6 +405,7 @@ fun mapfoldB (all as {bind, ...}) =
| DValRec vis => foldl (fn ((x, n, t, e, s), ctx) =>
bind (ctx, NamedE (x, n, t, NONE, s))) ctx vis
| DExport _ => ctx
+ | DDatabase _ => ctx
in
S.map2 (mff ctx' ds',
fn ds' =>