Mercurial > urweb
comparison src/expl_env.sml @ 704:70cbdcf5989b
UNIQUE constraints
author | Adam Chlipala <adamc@hcoop.net> |
---|---|
date | Tue, 07 Apr 2009 12:24:31 -0400 |
parents | 354800878b4d |
children | e6706a1df013 |
comparison
equal
deleted
inserted
replaced
703:a5d8b470d7ca | 704:70cbdcf5989b |
---|---|
296 | DValRec vis => foldl (fn ((x, n, t, _), env) => pushENamed env x n t) env vis | 296 | DValRec vis => foldl (fn ((x, n, t, _), env) => pushENamed env x n t) env vis |
297 | DSgn (x, n, sgn) => pushSgnNamed env x n sgn | 297 | DSgn (x, n, sgn) => pushSgnNamed env x n sgn |
298 | DStr (x, n, sgn, _) => pushStrNamed env x n sgn | 298 | DStr (x, n, sgn, _) => pushStrNamed env x n sgn |
299 | DFfiStr (x, n, sgn) => pushStrNamed env x n sgn | 299 | DFfiStr (x, n, sgn) => pushStrNamed env x n sgn |
300 | DExport _ => env | 300 | DExport _ => env |
301 | DTable (tn, x, n, c) => | 301 | DTable (tn, x, n, c, _) => |
302 let | 302 let |
303 val t = (CApp ((CModProj (tn, [], "sql_table"), loc), c), loc) | 303 val t = (CApp ((CModProj (tn, [], "sql_table"), loc), c), loc) |
304 in | 304 in |
305 pushENamed env x n t | 305 pushENamed env x n t |
306 end | 306 end |