[plt-scheme] libusb FFI binding

From: Eli Barzilay (eli at barzilay.org)
Date: Mon Mar 5 11:50:02 EST 2007

On Mar  5, Noel Welsh wrote:
> ----- Original Message ----
> From: Jakub Piotr C$,1 b(Bapa <jpc at pld-linux.org>
> 
> > It's copy and paste from foreign.ss _enum definition. 
> 
> I can summarise my reaction as: !!!!!
> 
> It looked like the kind of code I'd expect from a newbie functional
> programmer coming from an imperative background sans pattern
> matching,

None of the above.

* The reason for the weird syntax is to make it easy to paste in large
  chunks of constants from C with little modification

* The reason for the imperativeness is that the original code builds
  two translation tables -- see the original source, it makes more
  sense there.

-- 
          ((lambda (x) (x x)) (lambda (x) (x x)))          Eli Barzilay:
                  http://www.barzilay.org/                 Maze is Life!


Posted on the users mailing list.