[racket] CoreMIDI bindings

From: Evan Hanson (vnhnsn at gmail.com)
Date: Wed Jul 21 14:51:03 EDT 2010

In an effort to learn scheme, I ported some bindings for a subset of the OS X CoreMIDI API from a Ruby project of mine to scheme/foreign. I'm posting them (a) in case anyone wants to use them, but more because (b) I'm hoping for some feedback. I'm sure there are places where I could have done things better, more idiomatically, etc. Any advice is appreciated (but file this one under "non-emergency").

-------------- next part --------------
A non-text attachment was scrubbed...
Name: coremidi.rkt
Type: application/octet-stream
Size: 6868 bytes
Desc: not available
URL: <http://lists.racket-lang.org/users/archive/attachments/20100721/96617b4e/attachment.obj>
-------------- next part --------------

Also, is this the kind of thing that should be namespaced? In contrast to other languages where namespacing is used heavily (sometimes even to a fault), it seems that many scheme libraries are quite flat. Is this simply left up to the user to manage, or does the module system take care of this, or is there something else I'm missing altogether? Forgive the na?vet? if this should be clear to me.

Posted on the users mailing list.