diff options
author | Adam Chlipala <adamc@hcoop.net> | 2009-12-15 10:19:05 -0500 |
---|---|---|
committer | Adam Chlipala <adamc@hcoop.net> | 2009-12-15 10:19:05 -0500 |
commit | 6179a09d47c5af4db1ac41d00b8cb7ec36741c3e (patch) | |
tree | 0912963011416a0f1132c07d44c3eca8b6545d54 /src/reduce.sml | |
parent | 1589307fcb887ec55b5baea7445747b479a665d2 (diff) |
Convert to task syntax
Diffstat (limited to 'src/reduce.sml')
-rw-r--r-- | src/reduce.sml | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/src/reduce.sml b/src/reduce.sml index cedb79fa..95b26da8 100644 --- a/src/reduce.sml +++ b/src/reduce.sml @@ -804,11 +804,12 @@ fun reduce file = | DDatabase _ => (d, st) | DCookie (s, n, c, s') => ((DCookie (s, n, con namedC [] c, s'), loc), st) | DStyle (s, n, s') => ((DStyle (s, n, s'), loc), st) - | DInitializer e => + | DTask (e1, e2) => let - val e = exp (namedC, namedE) [] e + val e1 = exp (namedC, namedE) [] e1 + val e2 = exp (namedC, namedE) [] e2 in - ((DInitializer e, loc), + ((DTask (e1, e2), loc), (polyC, namedC, namedE)) |