diff options
author | Adam Chlipala <adamc@hcoop.net> | 2008-07-10 14:02:54 -0400 |
---|---|---|
committer | Adam Chlipala <adamc@hcoop.net> | 2008-07-10 14:02:54 -0400 |
commit | 425bb7f90ffc8a6f8a1590ed76f305f3029a0beb (patch) | |
tree | 5b6d5cf41f31998021e1b29ce4407de55dba12bc /src/flat_print.sml | |
parent | 5f2f492e122a26017496ed57d76ae39c6b1b254a (diff) |
Writing HTML
Diffstat (limited to 'src/flat_print.sml')
-rw-r--r-- | src/flat_print.sml | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/src/flat_print.sml b/src/flat_print.sml index e9697adf..b6c467e1 100644 --- a/src/flat_print.sml +++ b/src/flat_print.sml @@ -136,6 +136,16 @@ fun p_exp' par env (e, _) = string "end"] end + | EStrcat (e1, e2) => box [p_exp' true env e1, + space, + string "^", + space, + p_exp' true env e2] + + | EWrite e => box [string "write(", + p_exp env e, + string ")"] + and p_exp env = p_exp' false env fun p_decl env ((d, _) : decl) = |