greencard: GreenCard, a foreign function pre-processor for Haskell.
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.
For an example of a simple GreenCard module, have a look at
Along with the
greencard application binary, this package also supplies the
library/package, consisting of the single module
Foreign.GreenCard containing the default
GreenCard marshalling functions.
[Skip to Readme]
|Versions [RSS] [faq]||3.0.1, 18.104.22.168, 3.0.2, 3.0.3, 3.0.4, 22.214.171.124, 126.96.36.199|
|Dependencies||array, base (<3 || >=4), containers, pretty [details]|
|Author||Alastair Reid <firstname.lastname@example.org>, Sigbjorn Finne <sof@forkIO.com>, Thomas Nordin.|
|Maintainer||Sigbjorn Finne <sof@forkIO.com>|
|Uploaded||by SigbjornFinne at 2009-04-19T21:42:04Z|
|Downloads||6471 total (34 in the last 30 days)|
|Rating||(no votes yet) [estimated by Bayesian average]|
Docs uploaded by user
Build status unknown [no reports yet]
Old, monolithic base
Use -f <flag> to enable a flag, or -f -<flag> to disable that flag. More info
For package maintainers and hackage trustees
- No Candidates