|
From: | Ivan Raikov |
Subject: | Re: [Chicken-users] catching exceptions |
Date: | Tue, 29 Jul 2008 18:06:34 +0900 |
User-agent: | Gnus/5.11 (Gnus v5.11) Emacs/22.2 (gnu/linux) |
What version of Chicken is this on? Your code works fine on my system (Chicken 3.3.0): $ ./tg condition-case-does-a-better-job-than-guard Jörg "F. Wittenberger" <address@hidden> writes: > > Now I tried: > > --- %< tg.scm ---- > (require-extension ports) > (print (condition-case > (call-with-input-string ")" read) > (var () 'condition-case-does-a-better-job-than-guard))) > --- %< ---- > > And here the result: > > $ csc -o tg tg.scm > $ ./tg > Error: unexpected list terminator: #\) > > Call history: > > ##sys#require > call-with-current-continuation > with-exception-handler > ##sys#call-with-values > call-with-input-string <-- >
[Prev in Thread] | Current Thread | [Next in Thread] |