comparison src/expl_env.sml @ 707:d8217b4cb617

PRIMARY KEY
author Adam Chlipala <adamc@hcoop.net>
date Tue, 07 Apr 2009 16:14:31 -0400
parents e6706a1df013
children f152f215a02c
comparison
equal deleted inserted replaced
706:1fb318c17546 707:d8217b4cb617
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, _, cc) => 301 | DTable (tn, x, n, c, _, pc, _, cc) =>
302 let 302 let
303 val ct = (CModProj (tn, [], "sql_table"), loc) 303 val ct = (CModProj (tn, [], "sql_table"), loc)
304 val ct = (CApp (ct, c), loc) 304 val ct = (CApp (ct, c), loc)
305 val ct = (CApp (ct, cc), loc) 305 val ct = (CApp (ct, (CConcat (pc, cc), loc)), loc)
306 in 306 in
307 pushENamed env x n ct 307 pushENamed env x n ct
308 end 308 end
309 | DSequence (tn, x, n) => 309 | DSequence (tn, x, n) =>
310 let 310 let