diff options
author | Adam Chlipala <adamc@hcoop.net> | 2008-07-13 12:06:47 -0400 |
---|---|---|
committer | Adam Chlipala <adamc@hcoop.net> | 2008-07-13 12:06:47 -0400 |
commit | b3379c2a4d9b23c49c286b31ab24850129b5bb1e (patch) | |
tree | 20b0b499f8ea47e7b6d8f7fad4ac05d24fc4cad3 /src/mono_print.sml | |
parent | 95d278b9b8e9c314541b8251a34a32fe6deeb896 (diff) |
Closure code generation almost there
Diffstat (limited to 'src/mono_print.sml')
-rw-r--r-- | src/mono_print.sml | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/src/mono_print.sml b/src/mono_print.sml index a936c146..07065b3a 100644 --- a/src/mono_print.sml +++ b/src/mono_print.sml @@ -130,6 +130,12 @@ fun p_exp' par env (e, _) = space, p_exp env e2] + | EClosure (n, es) => box [string "CLOSURE(", + p_enamed env n, + p_list_sep (string "") (fn e => box [string ", ", + p_exp env e]) es, + string ")"] + and p_exp env = p_exp' false env fun p_decl env ((d, _) : decl) = |