Mercurial > urweb
comparison src/core_print.sml @ 1075:0657e5adc938
Convert to task syntax
author | Adam Chlipala <adamc@hcoop.net> |
---|---|
date | Tue, 15 Dec 2009 10:19:05 -0500 |
parents | b2311dfb3158 |
children | 72670131dace |
comparison
equal
deleted
inserted
replaced
1074:d89f98f0b4bb | 1075:0657e5adc938 |
---|---|
609 p_named x n, | 609 p_named x n, |
610 space, | 610 space, |
611 string "as", | 611 string "as", |
612 space, | 612 space, |
613 string s] | 613 string s] |
614 | DInitializer e => box [string "initializer", | 614 | DTask (e1, e2) => box [string "task", |
615 space, | 615 space, |
616 p_exp env e] | 616 p_exp env e1, |
617 space, | |
618 string "=", | |
619 space, | |
620 p_exp env e2] | |
617 | 621 |
618 fun p_file env file = | 622 fun p_file env file = |
619 let | 623 let |
620 val (pds, _) = ListUtil.foldlMap (fn (d, env) => | 624 val (pds, _) = ListUtil.foldlMap (fn (d, env) => |
621 (p_decl env d, | 625 (p_decl env d, |