The greencard package
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.
This package supplies the executable, greencard, which needs GHC. For the Foreign.GreenCard library, you need to install this first and then you can install greencard-lib (greencard-lib requires the greencard binary already installed).
[Skip to ReadMe]
|Versions||3.0.1, 220.127.116.11, 3.0.2, 3.0.3, 3.0.4, 18.104.22.168, 22.214.171.124|
|Change log||None available|
|Dependencies||array, base (>3), containers, pretty, process [details]|
|Author||Alastair Reid, Sigbjorn Finne, and Thomas Nordin|
|Maintainer||Alastair Reid <firstname.lastname@example.org>; Sigbjorn Finne <email@example.com>|
|Uploaded||Mon Mar 10 06:22:16 UTC 2008 by GwernBranwen|
|Downloads||1785 total (48 in last 30 days)|
|Status||Docs not available [build log]|
All reported builds failed as of 2015-11-19 [all 5 reports]
For package maintainers and hackage trustees