summaryrefslogtreecommitdiff
path: root/src/mono_print.sml
diff options
context:
space:
mode:
Diffstat (limited to 'src/mono_print.sml')
-rw-r--r--src/mono_print.sml16
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