comparison src/reduce.sml @ 754:8688e01ae469

A view query works
author Adam Chlipala <adamc@hcoop.net>
date Tue, 28 Apr 2009 15:04:37 -0400
parents acb8537f58f0
children 61a1f5c5ae2c
comparison
equal deleted inserted replaced
753:d484df4e841a 754:8688e01ae469
465 exp (namedC, namedE) [] pe, 465 exp (namedC, namedE) [] pe,
466 con namedC [] pc, 466 con namedC [] pc,
467 exp (namedC, namedE) [] ce, 467 exp (namedC, namedE) [] ce,
468 con namedC [] cc), loc), st) 468 con namedC [] cc), loc), st)
469 | DSequence _ => (d, st) 469 | DSequence _ => (d, st)
470 | DView (s, n, s', e, c) => ((DView (s, n, s', exp (namedC, namedE) [] e, con namedC [] c), loc), st)
470 | DDatabase _ => (d, st) 471 | DDatabase _ => (d, st)
471 | DCookie (s, n, c, s') => ((DCookie (s, n, con namedC [] c, s'), loc), st) 472 | DCookie (s, n, c, s') => ((DCookie (s, n, con namedC [] c, s'), loc), st)
472 | DStyle (s, n, s') => ((DStyle (s, n, s'), loc), st) 473 | DStyle (s, n, s') => ((DStyle (s, n, s'), loc), st)
473 474
474 val (file, _) = ListUtil.foldlMap doDecl (IM.empty, IM.empty) file 475 val (file, _) = ListUtil.foldlMap doDecl (IM.empty, IM.empty) file