aboutsummaryrefslogtreecommitdiffhomepage
path: root/src/elab_util.sml
diff options
context:
space:
mode:
authorGravatar Adam Chlipala <adam@chlipala.net>2012-07-29 12:27:13 -0400
committerGravatar Adam Chlipala <adam@chlipala.net>2012-07-29 12:27:13 -0400
commit4211ec9bd6e9d8172f74cdb56a1207fc1d64990f (patch)
tree64d9ddce82db685341ff2fa640f4accad0ecfbdc /src/elab_util.sml
parentdff81b1a774536c0da5e9650855dfbfc37101419 (diff)
Remove 'class' declaration; now use 'con' instead
Diffstat (limited to 'src/elab_util.sml')
-rw-r--r--src/elab_util.sml10
1 files changed, 0 insertions, 10 deletions
diff --git a/src/elab_util.sml b/src/elab_util.sml
index 97e3b572..51bcba5a 100644
--- a/src/elab_util.sml
+++ b/src/elab_util.sml
@@ -919,8 +919,6 @@ fun mapfoldB {kind = fk, con = fc, exp = fe, sgn_item = fsgi, sgn = fsg, str = f
in
bind (ctx, NamedE (x, ct))
end
- | DClass (x, n, k, c) =>
- bind (ctx, NamedC (x, n, (KArrow (k, (KType, loc)), loc), SOME c))
| DDatabase _ => ctx
| DCookie (tn, x, n, c) =>
bind (ctx, NamedE (x, (CApp ((CModProj (n, [], "cookie"), loc),
@@ -1040,13 +1038,6 @@ fun mapfoldB {kind = fk, con = fc, exp = fe, sgn_item = fsgi, sgn = fsg, str = f
fn c' =>
(DView (tn, x, n, e', c'), loc)))
- | DClass (x, n, k, c) =>
- S.bind2 (mfk ctx k,
- fn k' =>
- S.map2 (mfc ctx c,
- fn c' =>
- (DClass (x, n, k', c'), loc)))
-
| DDatabase _ => S.return2 dAll
| DCookie (tn, x, n, c) =>
@@ -1233,7 +1224,6 @@ and maxNameDecl (d, _) =
| DSgn (_, n, sgn) => Int.max (n, maxNameSgn sgn)
| DFfiStr (_, n, sgn) => Int.max (n, maxNameSgn sgn)
| DConstraint _ => 0
- | DClass (_, n, _, _) => n
| DExport _ => 0
| DTable (n1, _, n2, _, _, _, _, _) => Int.max (n1, n2)
| DSequence (n1, _, n2) => Int.max (n1, n2)