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 | ae83d3e44959b43c167ba83736055bf94ace3113 (patch) | |
tree | 9d7a2e3bc1dff89e7399d555415ffae5c45c8b52 /src/reduce.sml | |
parent | bf1a78ce9a5d60f8f4c40d0087f6caf90c10a796 (diff) |
Basic tail recursion introduction seems to be working
Diffstat (limited to 'src/reduce.sml')
-rw-r--r-- | src/reduce.sml | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/reduce.sml b/src/reduce.sml index bcd502cc..137dd02f 100644 --- a/src/reduce.sml +++ b/src/reduce.sml @@ -745,6 +745,8 @@ fun kindConAndExp (namedC, namedE) = | EServerCall (n, es, e, t1, t2) => (EServerCall (n, map (exp env) es, exp env e, con env t1, con env t2), loc) + | ETailCall (n, es, e, t1, t2) => (ETailCall (n, map (exp env) es, exp env e, + con env t1, con env t2), loc) in (*if dangling (edepth' (deKnown env)) r then (Print.prefaces "exp" [("e", CorePrint.p_exp CoreEnv.empty all), |