Mercurial > urweb
comparison src/elab_env.sml @ 328:58f1260f293f
Fixed a mind-numbing De Bruijn bug
author | Adam Chlipala <adamc@hcoop.net> |
---|---|
date | Thu, 11 Sep 2008 19:59:31 -0400 |
parents | 59dc042629b9 |
children | e976b187d73a |
comparison
equal
deleted
inserted
replaced
327:3a57f3b3a3f8 | 328:58f1260f293f |
---|---|
239 KM.insert (km, liftClassKey ck, e)) | 239 KM.insert (km, liftClassKey ck, e)) |
240 KM.empty (#ground class) | 240 KM.empty (#ground class) |
241 }) | 241 }) |
242 (#classes env), | 242 (#classes env), |
243 | 243 |
244 renameE = #renameE env, | 244 renameE = SM.map (fn Rel' (n, c) => Rel' (n, lift c) |
245 | Named' (n, c) => Named' (n, lift c)) (#renameE env), | |
245 relE = map (fn (x, c) => (x, lift c)) (#relE env), | 246 relE = map (fn (x, c) => (x, lift c)) (#relE env), |
246 namedE = IM.map (fn (x, c) => (x, lift c)) (#namedE env), | 247 namedE = IM.map (fn (x, c) => (x, lift c)) (#namedE env), |
247 | 248 |
248 renameSgn = #renameSgn env, | 249 renameSgn = #renameSgn env, |
249 sgn = #sgn env, | 250 sgn = #sgn env, |