Mercurial > urweb
diff src/expl_env.sml @ 124:541282b81454
Explifying (non-mutual) 'val rec'
author | Adam Chlipala <adamc@hcoop.net> |
---|---|
date | Thu, 17 Jul 2008 10:13:18 -0400 |
parents | 813e5a52063d |
children | 06a98129b23f |
line wrap: on
line diff
--- a/src/expl_env.sml Thu Jul 17 10:09:34 2008 -0400 +++ b/src/expl_env.sml Thu Jul 17 10:13:18 2008 -0400 @@ -240,6 +240,7 @@ 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