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)))
(catch #t (throw 'FOO "Test") (lambda (x . xt) (display x) (display
" . ")
Hi,
Hans Aberg 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 th
On 22 Feb 2010, at 14:22, Ludovic Courtès wrote:
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 ‘ca
I have written a bit on a C++ wrap - has this been done? I use
templates to get a static typed style similar to that of Haskell,
which can be overridden at need. Some example code below.
Hans
#include "src/guile.hh"
#include
#include
#include
int inner_main(std::pair* argp) {
On Mon 22 Feb 2010 15:01, Hans Aberg writes:
> I have written a bit on a C++ wrap - has this been done? I use templates
> to get a static typed style similar to that of Haskell, which can be
> overridden at need. Some example code below.
Looks like fun! You should throw your code up somewhere f
On 22 Feb 2010, at 20:06, Andy Wingo wrote:
I have written a bit on a C++ wrap - has this been done? I use
templates
to get a static typed style similar to that of Haskell, which can be
overridden at need. Some example code below.
Looks like fun! You should throw your code up somewhere for