comparison src/reduce.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
459 end 459 end
460 | DValRec vis => 460 | DValRec vis =>
461 ((DValRec (map (fn (x, n, t, e, s) => (x, n, con namedC [] t, exp (namedC, namedE) [] e, s)) vis), loc), 461 ((DValRec (map (fn (x, n, t, e, s) => (x, n, con namedC [] t, exp (namedC, namedE) [] e, s)) vis), loc),
462 st) 462 st)
463 | DExport _ => (d, st) 463 | DExport _ => (d, st)
464 | DTable (s, n, c, s', e, cc) => ((DTable (s, n, con namedC [] c, s', 464 | DTable (s, n, c, s', pe, pc, ce, cc) => ((DTable (s, n, con namedC [] c, s',
465 exp (namedC, namedE) [] e, 465 exp (namedC, namedE) [] pe,
466 con namedC [] cc), loc), st) 466 con namedC [] pc,
467 exp (namedC, namedE) [] ce,
468 con namedC [] cc), loc), st)
467 | DSequence _ => (d, st) 469 | DSequence _ => (d, st)
468 | DDatabase _ => (d, st) 470 | DDatabase _ => (d, st)
469 | DCookie (s, n, c, s') => ((DCookie (s, n, con namedC [] c, s'), loc), st) 471 | DCookie (s, n, c, s') => ((DCookie (s, n, con namedC [] c, s'), loc), st)
470 472
471 val (file, _) = ListUtil.foldlMap doDecl (IM.empty, IM.empty) file 473 val (file, _) = ListUtil.foldlMap doDecl (IM.empty, IM.empty) file