Hi all,
I'm wondering how to flush the recent readline history to a file. I need
this feature for an educational project.
The purpose is to permit the REPL user to save his entire history with a
simple command. Something like (flush-history params)
I've read something about (loggin logger) module
2009/8/2 Richard Shann richard.sh...@virgin.net:
Hi,
I want to call a scheme procedure with four arguments from C.
(The example scheme procedure here is just displaying its arguments.)
(define (d-UploadRoutine a b c d)
(display a)
(display b)
(display c)
(display d))
But I can't
On Sun, 2009-08-02 at 06:17 -0500, Linas Vepstas wrote:
2009/8/2 Richard Shann richard.sh...@virgin.net:
Hi,
I want to call a scheme procedure with four arguments from C.
(The example scheme procedure here is just displaying its arguments.)
(define (d-UploadRoutine a b c d)
(display
Richard Shann wrote:
SCM proc = gh_str2scm(d-UploadRoutine, strlen(d-UploadRoutine));
// proc = scm_string_to_symbol(d-UploadRoutine);
// proc = scm_string_to_symbol( gh_str2scm(d-UploadRoutine,
strlen(d-UploadRoutine)));
SCM arg1 = gh_str2scm(hello, strlen(hello));
SCM arg2 =
On Sun, 2009-08-02 at 14:00 +0100, Paul Emsley wrote:
Richard Shann wrote:
SCM proc = gh_str2scm(d-UploadRoutine, strlen(d-UploadRoutine));
// proc = scm_string_to_symbol(d-UploadRoutine);
// proc = scm_string_to_symbol( gh_str2scm(d-UploadRoutine,
strlen(d-UploadRoutine)));
SCM
On Sun, 2009-08-02 at 06:17 -0500, Linas Vepstas wrote:
2009/8/2 Richard Shann richard.sh...@virgin.net:
The gh_* routines are old and deprecated, and have been for about
a decade now .. don't use them.
On the other hand, I notice that the tutorial at
2009/8/2 Mike Gran spk...@yahoo.com:
Oh my oh my. I wrote that doc at lonelycactus.com quite awhile ago. I
keep meaning to take it down, because the way I did things was a little
strange and a little old. But, oddly, there are few other
tutorial-level resources. Someone really ought to
On Sun, 02 Aug 2009 14:00:48 +0100, Paul Emsley wrote:
and p.s. use the new style interface not the gh_* one. e.g. SCM arg1 =
scm_makfrom0str(hello);
I believe scm_makfrom0str is deprecated, and that new code should use
scm_from_locale_string.
Regards,
Peter
2009/8/2 Daniel Kraft d...@domob.eu:
Yeah, X examples are rather anachronistic. I dunno, an OpenGL
version might be fun. Imagine .. 3D programming in scheme ..!
it would not be a bad idea, I don't think.
Hm... Maybe allowing to build a simple 3D scene, like:
(define x (make-scene))
Linas Vepstas wrote:
2009/8/2 Mike Gran spk...@yahoo.com:
Oh my oh my. I wrote that doc at lonelycactus.com quite awhile ago. I
keep meaning to take it down, because the way I did things was a little
strange and a little old. But, oddly, there are few other
tutorial-level resources. Someone
10 matches
Mail list logo