summaryrefslogtreecommitdiff
path: root/src/expl_env.sml
diff options
context:
space:
mode:
authorGravatar Adam Chlipala <adamc@hcoop.net>2008-07-17 10:13:18 -0400
committerGravatar Adam Chlipala <adamc@hcoop.net>2008-07-17 10:13:18 -0400
commit1e03bdf0b6f423870abcf5e54ae7f2bdf08e3e49 (patch)
tree39ac50f2c17e5c8068db2294a5bc3ee89e88cf1a /src/expl_env.sml
parentdcfd6390610712e9d498cdb4e466eb932a6bb138 (diff)
Explifying (non-mutual) 'val rec'
Diffstat (limited to 'src/expl_env.sml')
-rw-r--r--src/expl_env.sml1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/expl_env.sml b/src/expl_env.sml
index b9c95605..1871e560 100644
--- a/src/expl_env.sml
+++ b/src/expl_env.sml
@@ -240,6 +240,7 @@ fun declBinds env (d, _) =
case d of
DCon (x, n, k, c) => pushCNamed env x n k (SOME c)
| DVal (x, n, t, _) => pushENamed env x n t
+ | DValRec vis => foldl (fn ((x, n, t, _), env) => pushENamed env x n t) env vis
| DSgn (x, n, sgn) => pushSgnNamed env x n sgn
| DStr (x, n, sgn, _) => pushStrNamed env x n sgn
| DFfiStr (x, n, sgn) => pushStrNamed env x n sgn