Mercurial > urweb
comparison src/elab_util.sml @ 13:6049e2193bf2
Lifting cons in ElabEnv
author | Adam Chlipala <adamc@hcoop.net> |
---|---|
date | Sun, 08 Jun 2008 11:32:48 -0400 |
parents | d89477f07c1e |
children | f1c36df29ed7 |
comparison
equal
deleted
inserted
replaced
12:d89477f07c1e | 13:6049e2193bf2 |
---|---|
284 S.Return _ => true | 284 S.Return _ => true |
285 | S.Continue _ => false | 285 | S.Continue _ => false |
286 | 286 |
287 end | 287 end |
288 | 288 |
289 structure E = ElabEnv | 289 end |
290 | |
291 fun declBinds env (d, _) = | |
292 case d of | |
293 DCon (x, n, k, c) => E.pushCNamedAs env x n k (SOME c) | |
294 | DVal (x, n, t, _) => E.pushENamedAs env x n t | |
295 | |
296 end |