Re: [racket] on the arity of the composition of procedures with different arities

2012-08-11 Thread Robby Findler
Glad to hear you're all set. I've submitted a PR anyways, so hopefully this will be fixed for others. Thanks for letting us know! Robby On Sat, Aug 11, 2012 at 12:59 AM, Erik Dominikus wrote: > After looking at collects/racket/private/list.rkt, I think this issue > might be too hard to deal wit

Re: [racket] Bootstrapping an FFI

2012-08-11 Thread Peter Braun
Hi Ian, unfortunately I can't help you with automatic code generation but i've written a binding for libSDL (and libSDL_image) manually. It's not complete but covers quite a usable part of SDL (video, events, joystick and some more). If it helps you in any way, feel free to use / fork the cod

Re: [racket] Bootstrapping an FFI

2012-08-11 Thread Ian Tegebo
Wow, looks great! I'm still looking at FFIs for both Graphviz and a more recent version of OpenGL, so I'd appreciate anyone's tips/code for translating C. On Sat, Aug 11, 2012 at 5:29 AM, Peter Braun wrote: > Hi Ian, > > unfortunately I can't help you with automatic code generation but i've > wr

Re: [racket] Bootstrapping an FFI

2012-08-11 Thread Jay McCarthy
Regarding a more recent version of OpenGL, there's RacketGL (on planet) by Stephan that is automatically generated from Khronos' spec files and is "perfect". Jay On Sat, Aug 11, 2012 at 8:01 AM, Ian Tegebo wrote: > Wow, looks great! > > I'm still looking at FFIs for both Graphviz and a more rece

Re: [racket] Bindings' differences between 5.2.1 and 5.3

2012-08-11 Thread Gustavo Massaccesi
Thanks! It works. I'm still trying to be sure that I understand correctly all the technical details. When I see the code in the macro-stepper, in both versions the "auto-req-lang.rkt" is painted with the same color (black). (I suspect that the macro-stepper is using only the syntax marks, but not

[racket] [bug?] Racklog cut differs from Prolog cut

2012-08-11 Thread Erik Dominikus
Racket version: 5.2. Output of 'uname -a': Linux kire 2.6.32-41-generic #91-Ubuntu SMP Wed Jun 13 11:43:55 UTC 2012 x86_64 GNU/Linux Symptom: In SWI Prolog (or any Prolog interpreter I think), querying a(X) gives X=1 and X=2. Racklog only gives x=1. How to reproduce: Download 'a.pl' (attache