diff options
author | 2008-12-20 15:46:48 -0500 | |
---|---|---|
committer | 2008-12-20 15:46:48 -0500 | |
commit | 80be553bea33f3d9cb19f399f64eed36017048a3 (patch) | |
tree | b89e13e840fa39618ad79ac3a89de9ab9370d441 /src/mono_print.sml | |
parent | a08075494d9c16a349215fbcaefa3e1d14d2e0f9 (diff) |
Initial <dyn> support
Diffstat (limited to 'src/mono_print.sml')
-rw-r--r-- | src/mono_print.sml | 13 |
1 files changed, 10 insertions, 3 deletions
diff --git a/src/mono_print.sml b/src/mono_print.sml index 7b675438..89b6c35b 100644 --- a/src/mono_print.sml +++ b/src/mono_print.sml @@ -65,6 +65,9 @@ fun p_typ' par env (t, _) = | TOption t => box [string "option(", p_typ env t, string ")"] + | TSignal t => box [string "signal(", + p_typ env t, + string ")"] and p_typ env = p_typ' false env @@ -275,9 +278,13 @@ fun p_exp' par env (e, _) = | EUnurlify (e, _) => box [string "unurlify(", p_exp env e, string ")"] - | EJavaScript e => box [string "JavaScript(", - p_exp env e, - string ")"] + | EJavaScript (_, e) => box [string "JavaScript(", + p_exp env e, + string ")"] + + | ESignalReturn e => box [string "Return(", + p_exp env e, + string ")"] and p_exp env = p_exp' false env |