We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 62f3c58 commit 8ac1bcdCopy full SHA for 8ac1bcd
1 file changed
examples/test_tail_call_opt.ils
@@ -36,9 +36,9 @@ The result of this call is used as init and applied recursively to the tail of L
36
(let ( ( tail_call_opt (status optimizeTailCall) )
37
res )
38
(sstatus optimizeTailCall t)
39
- (rec function (car l) (cdr l))
+ (setq res (rec function (car l) (cdr l)))
40
(sstatus optimizeTailCall tail_call_opt)
41
- ))
+ res))
42
43
));scheme closure
44
0 commit comments