summaryrefslogtreecommitdiff
path: root/src/expl_util.sml
diff options
context:
space:
mode:
authorGravatar Adam Chlipala <adamc@hcoop.net>2008-08-31 08:46:22 -0400
committerGravatar Adam Chlipala <adamc@hcoop.net>2008-08-31 08:46:22 -0400
commit773cc619b71ad10b8f21f6941d67947bac86885f (patch)
tree50f9c044e49642dd39c3a7574c193a2470174ca4 /src/expl_util.sml
parent5c3606a50dbe206eac3660135acba5855000a4ab (diff)
Explify tables
Diffstat (limited to 'src/expl_util.sml')
-rw-r--r--src/expl_util.sml7
1 files changed, 6 insertions, 1 deletions
diff --git a/src/expl_util.sml b/src/expl_util.sml
index a90e6bed..ee4b6dc2 100644
--- a/src/expl_util.sml
+++ b/src/expl_util.sml
@@ -412,6 +412,10 @@ fun mapfoldB {kind, con, sgn_item, sgn, bind} =
S.map2 (sg ctx s,
fn s' =>
(SgiSgn (x, n, s'), loc))
+ | SgiTable (tn, x, n, c) =>
+ S.map2 (con ctx c,
+ fn c' =>
+ (SgiTable (tn, x, n, c'), loc))
and sg ctx s acc =
S.bindP (sg' ctx s acc, sgn ctx)
@@ -433,7 +437,8 @@ fun mapfoldB {kind, con, sgn_item, sgn, bind} =
| SgiStr (x, _, sgn) =>
bind (ctx, Str (x, sgn))
| SgiSgn (x, _, sgn) =>
- bind (ctx, Sgn (x, sgn)),
+ bind (ctx, Sgn (x, sgn))
+ | SgiTable _ => ctx,
sgi ctx si)) ctx sgis,
fn sgis' =>
(SgnConst sgis', loc))