summaryrefslogtreecommitdiff
path: root/src/mono_util.sml
diff options
context:
space:
mode:
authorGravatar Benjamin Barenblat <bbaren@mit.edu>2016-02-13 10:43:37 -0500
committerGravatar Benjamin Barenblat <bbaren@mit.edu>2016-02-13 10:43:37 -0500
commit9f47df12110b1cfd13b4057820b0788649160427 (patch)
treeecac51019e254b2a60ccd54854b95f7009dd8755 /src/mono_util.sml
parentf769377366c0ece0caa31e4d09179f4c9669660c (diff)
parent5ca6148aaf7b930a8868d0543f1a307d40532243 (diff)
Merge branch 'dfsg_clean'
Diffstat (limited to 'src/mono_util.sml')
-rw-r--r--src/mono_util.sml3
1 files changed, 1 insertions, 2 deletions
diff --git a/src/mono_util.sml b/src/mono_util.sml
index 5d7eb164..fc1a2bcb 100644
--- a/src/mono_util.sml
+++ b/src/mono_util.sml
@@ -235,8 +235,7 @@ fun mapfoldB {typ = fc, exp = fe, bind} =
let
fun pb ((p, _), ctx) =
case p of
- PWild => ctx
- | PVar (x, t) => bind (ctx, RelE (x, t))
+ PVar (x, t) => bind (ctx, RelE (x, t))
| PPrim _ => ctx
| PCon (_, _, NONE) => ctx
| PCon (_, _, SOME p) => pb (p, ctx)