Hi, Hans Aberg <[email protected]> writes:
> I seem to not get the catch handler called, when using guile
> interactively. Might you provide a small example? Something like:
> (catch 'FOO (throw 'FOO "Test") (lambda (x . xt) (display x) (display
> " . ") (display xt)))
The second argument of ‘catch’ should be a thunk (a zero-argument
procedure):
(catch 'FOO
(lambda ()
(throw 'FOO "test"))
(lambda (key . args)
(display args)))
Thanks,
Ludo’.
