aboutsummaryrefslogtreecommitdiffhomepage
path: root/src/elab_util.sml
diff options
context:
space:
mode:
Diffstat (limited to 'src/elab_util.sml')
-rw-r--r--src/elab_util.sml12
1 files changed, 2 insertions, 10 deletions
diff --git a/src/elab_util.sml b/src/elab_util.sml
index cc4fbe4a..69ed3248 100644
--- a/src/elab_util.sml
+++ b/src/elab_util.sml
@@ -119,14 +119,14 @@ fun mapfoldB {kind = fk, con = fc, bind} =
S.map2 (mfc (bind (ctx, Rel (x, k))) c,
fn c' =>
(TCFun (e, x, k', c'), loc)))
- | TDisjoint (ai, c1, c2, c3) =>
+ | CDisjoint (ai, c1, c2, c3) =>
S.bind2 (mfc ctx c1,
fn c1' =>
S.bind2 (mfc ctx c2,
fn c2' =>
S.map2 (mfc ctx c3,
fn c3' =>
- (TDisjoint (ai, c1', c2', c3'), loc))))
+ (CDisjoint (ai, c1', c2', c3'), loc))))
| TRecord c =>
S.map2 (mfc ctx c,
fn c' =>
@@ -147,14 +147,6 @@ fun mapfoldB {kind = fk, con = fc, bind} =
S.map2 (mfc (bind (ctx, Rel (x, k))) c,
fn c' =>
(CAbs (x, k', c'), loc)))
- | CDisjoint (c1, c2, c3) =>
- S.bind2 (mfc ctx c1,
- fn c1' =>
- S.bind2 (mfc ctx c2,
- fn c2' =>
- S.map2 (mfc ctx c3,
- fn c3' =>
- (CDisjoint (c1', c2', c3'), loc))))
| CName _ => S.return2 cAll