[racket] call-with-composable-continuation vs. call/cc

2011-03-20 Thread Gregory Woodhouse
If I write a trivial loop using call/cc (call/cc (lambda (k) (define (loop) (let ([x (read)]) (if (eq? x '()) (k x) (loop (loop))) It does exactly what I expect. If I type anything but () it reads again, but if I type () it prints out '() and quits W

Re: [racket] code to HTML

2011-03-20 Thread Jens Axel
Well, I modified some code Anton wrote. And I think he in turn used code from Sitaram. But that aside, I am not sure where in SVN the code lives now. -- Jens Axel Søgaard Den 18/03/2011 kl. 20.42 skrev Robby Findler : > Isn't that some code you wrote?! > > Robby > > On Fri, Mar 18, 2011 at

Re: [racket] handling "private" objects in FFI

2011-03-20 Thread Matthew Flatt
At Sun, 20 Mar 2011 08:41:50 +0100, "keyd...@gmx.de" wrote: > I wonder how to handle > composite objects (structs) returned by a library function that have > themselves composite objects as fields, but these objects in turn are > considered to be "private", as seen by them being declared like so

[racket] handling "private" objects in FFI

2011-03-20 Thread keyd...@gmx.de
Hi all, I've just started trying to use the FFI, and although I'm much afraid that being a person without any C programming experience and never having used a FFI either, I might not get too far with it, I don't want to give up early :-; The first "bigger" problem that comes up is,- I wonder h