chibi-scheme/tests/basic/test03-nested-closure.scm
Alex Shinn 44a6c530d9 EVAL save/restores the current exception handler.
It doesn't really make sense for an exception to pass
outside of EVAL.  Fixes issue #17.
2009-12-28 23:18:04 +09:00

8 lines
140 B
Scheme

((lambda (a b)
((lambda (c d e)
(write (+ e (* c 1000) (* a 100) (* b 10) d))
(newline))
(- a 2) (+ b 2) 10000))
3 5)