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)) (+ 1 (raise 'an-error))) . else: not allowed as an expression in: else > (guard (condition (else (display "something went wrong") (newline) 'dont-care)) (+ 1 (raise 'an-error))) . else: not allowed as an expression in: else > Is there any reason I couldn't use 'else'? Thanx.
____________________ Racket Users list: http://lists.racket-lang.org/users