Re: Getting a type of a variable

2008-07-19 Thread Andy Wingo
On Fri 18 Jul 2008 23:48, "Maciek Godek" <[EMAIL PROTECTED]> writes: > Hello, > I'm looking for an efficient way to check the > type of an SCM variable. I imagine that I > could write something like: > (define (type? x) > (cond ((integer? x) 'int) > (cond ((real? x) 'double) > ... > ) (oop go

Re: What new libraries or functionality does Guile need?

2008-07-19 Thread Kjetil S. Matheussen
"Jose A. Ortega Ruiz": Hi- If you could ask someone to write a library or package a set of functionality for Guile that it doesn't currently have, what would it be? (My personal projects are near completion, and I may have some Saturdays free.) Bindings for OpenGL/GLU/GLUT would be great.

Re: What new libraries or functionality does Guile need?

2008-07-19 Thread Bill Schottstaedt
> that it could be wiser to write a semi > automatic tool for making guile bindings from C headers For gl.c in the snd (or libxm) tarball, that's tools/makegl.scm, using the predigested header info in gldata.scm. gl.c needs only xen.[ch], I think, so you could easily extract it from Snd. There's