Re: Thread and guile environment

2010-07-12 Thread Linas Vepstas
Hi, On 10 July 2010 03:22, Andy Wingo wrote: > Hi, > > On Fri 09 Jul 2010 22:23, Neil Jerram writes: > >> Andy Wingo writes: >> >>> Interestingly, the first thread has you in (guile-user), but the second >>> has you in (guile). So you don't see the full definition of format, nor >>> do you see

EOF (C-d) behavior in guile + readline.

2010-07-12 Thread Andrew Bagdanov
Hi everyone, First of all, fantastic work on bringing Guile ever closer to the 2.0 release. I'm having lots of fun playing with all of the new features. I'm using the latest git master, and am a bit puzzled about the behavior of C-d (EOF) on recursive repls when readline is active. On a recursi

Re: Thread and guile environment

2010-07-12 Thread Cedric Cellier
This works if I explicitely define a module _and_ export the hug symbol. (define-module (bug)) (export hug) (use-modules (ice-9 format)) (define (hug x) (format #t "HUG ~a !\n" x)) #include #include #include static void *load_file_with_guile(void *filename) { scm_c_primitive_load((char *)fil