Package green-card
Details
Version: 2.03
Architectures: pc.i86.linux
Maintainer: Andrew Baumann <andrewb@cse>
Website: http://www.haskell.org/greencard/
Category: development
Sources: http://www.galois.com/~sof/gc/gc-2.03-src.tar.gz
Description
Green Card is a foreign function interface preprocessor for
Haskell, simplifying the task of interfacing Haskell programs to external
libraries (which are normally exposed via C interfaces).
To interface to an external function using Green Card, you write a small
procedure specification. The specification tells Green Card what (Haskell)
type you want to give the function together with details of how the
arguments (and results) to the Haskell function should be marshalled to
and from the data representation used by the external function. Green Card
will then generate gobs of low-level boilerplate code that takes care of
all the details.
|