diff options
author | Adam Chlipala <adamc@hcoop.net> | 2008-07-13 20:07:10 -0400 |
---|---|---|
committer | Adam Chlipala <adamc@hcoop.net> | 2008-07-13 20:07:10 -0400 |
commit | 811a3831805bf7a87ed3a64156f4ac6f6246edb9 (patch) | |
tree | a2bc2022ac4e0412a787a526135aafc99db66998 /src/mono_print.sml | |
parent | 97cc749872a8baf53bb34ef1b536b82f6aa7f1c7 (diff) |
Passing an argument to a web function
Diffstat (limited to 'src/mono_print.sml')
-rw-r--r-- | src/mono_print.sml | 16 |
1 files changed, 10 insertions, 6 deletions
diff --git a/src/mono_print.sml b/src/mono_print.sml index c3738c59..67369b1f 100644 --- a/src/mono_print.sml +++ b/src/mono_print.sml @@ -166,12 +166,16 @@ fun p_decl env ((d, _) : decl) = p_exp env e] end - | DExport (s, n) => box [string "export", - space, - p_enamed env n, - space, - string "as", - string s] + | DExport (s, n, ts) => box [string "export", + space, + p_enamed env n, + space, + string "as", + string s, + p_list_sep (string "") (fn t => box [space, + string "(", + p_typ env t, + string ")"]) ts] fun p_file env file = let |