chicken-users
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Chicken-users] catching exceptions


From: Elf
Subject: Re: [Chicken-users] catching exceptions
Date: Tue, 29 Jul 2008 03:21:00 -0700 (PDT)

#;1> (use srfi-34)
; loading /usr/lib/chicken/3/srfi-34.scm ...
; loading /usr/lib/chicken/3/syntax-case.so ...
; loading /usr/lib/chicken/3/syntax-case-chicken-macros.scm ...
; loading library srfi-18 ...
#;2> (print (guard (ex (else 'success)) (with-input-from-string ")" read)))
success
#;3> (condition-case (with-input-from-string ")" read) (val () "no prob"))
"no prob"
#;4> (condition-case (call-with-input-string ")" read) (val () "no prob"))
"no prob"
#;5>

wasnt srfi-34.

-elf


On Tue, 29 Jul 2008, Jörg F. Wittenberger wrote:

ERR

RRRR

Double checked: it's SRFI-34, which is in the way!

I accidentally left (require-extension srfi-34) in the code I compiled
to test condition-case.  Once removed, the error get caught.  So we have
the bug in srfi-34.egg - definately.

Am Dienstag, den 29.07.2008, 11:35 +0200 schrieb Jörg F. Wittenberger:
Am Dienstag, den 29.07.2008, 18:06 +0900 schrieb Ivan Raikov:
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

thanks anyway.

still wondering about the way .deb's are build.

/Jörg


_______________________________________________
Chicken-users mailing list
address@hidden
http://lists.nongnu.org/mailman/listinfo/chicken-users

reply via email to

[Prev in Thread] Current Thread [Next in Thread]