From b4398c433195b75d5e03d0774b1128fae14e9f41 Mon Sep 17 00:00:00 2001 From: Adam Chlipala Date: Tue, 2 Sep 2008 10:51:41 -0400 Subject: 'database' declaration threaded through compiler --- src/mono_util.sml | 2 ++ 1 file changed, 2 insertions(+) (limited to 'src/mono_util.sml') 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' => -- cgit v1.2.3