diff options
author | Adam Chlipala <adamc@hcoop.net> | 2009-09-17 16:35:11 -0400 |
---|---|---|
committer | Adam Chlipala <adamc@hcoop.net> | 2009-09-17 16:35:11 -0400 |
commit | 13e3b7139dcee90106332ff4fb5b3c63fcf4a892 (patch) | |
tree | 9d7a2e3bc1dff89e7399d555415ffae5c45c8b52 /src/core_print.sml | |
parent | 7c045f4dd298b8cc1cbe5895b4fc30280e23abbf (diff) |
Basic tail recursion introduction seems to be working
Diffstat (limited to 'src/core_print.sml')
-rw-r--r-- | src/core_print.sml | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/src/core_print.sml b/src/core_print.sml index 84b247a2..64a4e461 100644 --- a/src/core_print.sml +++ b/src/core_print.sml @@ -446,6 +446,14 @@ fun p_exp' par env (e, _) = string ")[", p_exp env e, string "]"] + | ETailCall (n, es, e, _, _) => box [string "Tail(", + p_enamed env n, + string ",", + space, + p_list (p_exp env) es, + string ")[", + p_exp env e, + string "]"] | EKAbs (x, e) => box [string x, space, |