Re: [racket] SRFI-34's guard

2014-01-31 Thread 亀田馬志
Thanks for telling me. This time, I'd just given up and I used Racket's with-handlers for my brainf*ck interpreter. Thanx. 2014-01-31 Matthew Flatt : > The SRFI-34 port is old and was defined to recognize `else` as an > unbound identifier, compatible with the old `mzscheme` language. > > I've

Re: [racket] SRFI-34's guard

2014-01-31 Thread Matthew Flatt
The SRFI-34 port is old and was defined to recognize `else` as an unbound identifier, compatible with the old `mzscheme` language. I've pushed a repair to make `srfi/34` work with `racket` (but maintaining backward compatibility, too). Meanwhile, you can work around the problem by using `#t` inst

[racket] SRFI-34's guard

2014-01-28 Thread 亀田馬志
Hello. I'd like to use SRFI-34 on Racket, but it says else is not allowed eventhough I copied and paseted sample codes stated in SRFI-34. > (require srfi/34) > (guard (condition (else (display "condition: ") (write condition) (newline) 'exception))