Mercurial > urweb
diff src/reduce.sml @ 109:813e5a52063d
Remove closure conversion in favor of zany fun with modules, which also replaces 'page'
author | Adam Chlipala <adamc@hcoop.net> |
---|---|
date | Sun, 13 Jul 2008 10:17:06 -0400 |
parents | 144d082b47ae |
children | 55d8cfa4d024 |
line wrap: on
line diff
--- a/src/reduce.sml Thu Jul 10 16:05:14 2008 -0400 +++ b/src/reduce.sml Sun Jul 13 10:17:06 2008 -0400 @@ -115,7 +115,7 @@ U.Decl.RelC (x, k) => E.pushCRel env x k | U.Decl.NamedC (x, n, k, co) => E.pushCNamed env x n k co | U.Decl.RelE (x, t) => E.pushERel env x t - | U.Decl.NamedE (x, n, t, eo) => E.pushENamed env x n t eo + | U.Decl.NamedE (x, n, t, eo, s) => E.pushENamed env x n t eo s fun kind k = k @@ -143,7 +143,7 @@ case e of ENamed n => (case E.lookupENamed env n of - (_, _, SOME e') => #1 e' + (_, _, SOME e', _) => #1 e' | _ => e) | ECApp ((EApp ((EApp ((ECApp ((EFold ks, _), ran), _), f), _), i), _), (CRecord (k, xcs), loc)) =>