summaryrefslogtreecommitdiff
path: root/src/core_print.sml
diff options
context:
space:
mode:
authorGravatar Adam Chlipala <adamc@hcoop.net>2009-09-17 16:35:11 -0400
committerGravatar Adam Chlipala <adamc@hcoop.net>2009-09-17 16:35:11 -0400
commitae83d3e44959b43c167ba83736055bf94ace3113 (patch)
tree9d7a2e3bc1dff89e7399d555415ffae5c45c8b52 /src/core_print.sml
parentbf1a78ce9a5d60f8f4c40d0087f6caf90c10a796 (diff)
Basic tail recursion introduction seems to be working
Diffstat (limited to 'src/core_print.sml')
-rw-r--r--src/core_print.sml8
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,