Mercurial > urweb
diff src/elab_util.sml @ 271:42dfb0d61cf0
'database' declaration threaded through compiler
author | Adam Chlipala <adamc@hcoop.net> |
---|---|
date | Tue, 02 Sep 2008 10:51:41 -0400 |
parents | 19e5791923d0 |
children | eec65c11d3e2 |
line wrap: on
line diff
--- a/src/elab_util.sml Tue Sep 02 10:31:16 2008 -0400 +++ b/src/elab_util.sml Tue Sep 02 10:51:41 2008 -0400 @@ -638,7 +638,8 @@ bind (ctx, NamedE (x, (CApp ((CModProj (n, [], "table"), loc), c), loc))) | DClass (x, _, _) => - bind (ctx, NamedC (x, (KArrow ((KType, loc), (KType, loc)), loc))), + bind (ctx, NamedC (x, (KArrow ((KType, loc), (KType, loc)), loc))) + | DDatabase _ => ctx, mfd ctx d)) ctx ds, fn ds' => (StrConst ds', loc)) | StrVar _ => S.return2 strAll @@ -736,6 +737,8 @@ fn c' => (DClass (x, n, c'), loc)) + | DDatabase _ => S.return2 dAll + and mfvi ctx (x, n, c, e) = S.bind2 (mfc ctx c, fn c' =>