diff options
author | Adam Chlipala <adam@chlipala.net> | 2013-08-19 12:25:32 -0400 |
---|---|---|
committer | Adam Chlipala <adam@chlipala.net> | 2013-08-19 12:25:32 -0400 |
commit | f718e640c3cbe6a891519364992117f49ca333fa (patch) | |
tree | b7581cc191267590b2ee407d91161bd2950e3604 /src/expl_util.sml | |
parent | 42fab45125992244c499ec5ac64e0376109bd4cb (diff) |
Allow [where con] to descend within submodule structure; open submodule constraints while checking later signature items
Diffstat (limited to 'src/expl_util.sml')
-rw-r--r-- | src/expl_util.sml | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/expl_util.sml b/src/expl_util.sml index 1932d52d..ff55823f 100644 --- a/src/expl_util.sml +++ b/src/expl_util.sml @@ -526,12 +526,12 @@ fun mapfoldB {kind, con, sgn_item, sgn, bind} = S.map2 (sg (bind (ctx, Str (m, s1'))) s2, fn s2' => (SgnFun (m, n, s1', s2'), loc))) - | SgnWhere (sgn, x, c) => + | SgnWhere (sgn, ms, x, c) => S.bind2 (sg ctx sgn, fn sgn' => S.map2 (con ctx c, fn c' => - (SgnWhere (sgn', x, c'), loc))) + (SgnWhere (sgn', ms, x, c'), loc))) | SgnProj _ => S.return2 sAll in sg |