Name: greencard Version: 3.0.3 Synopsis: GreenCard, a foreign function pre-processor for Haskell. 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. . For an example of a simple GreenCard module, have a look at @examples\/world\/World.gc@ . Along with the @greencard@ application binary, this package also supplies the @greencard@ library/package, consisting of the single module @Foreign.GreenCard@ containing the default GreenCard marshalling functions. Category: Foreign License: BSD3 License-file: LICENSE Author: Alastair Reid , Sigbjorn Finne , Thomas Nordin. Maintainer: Sigbjorn Finne Cabal-version: >= 1.2 Build-type: Simple Extra-source-files: README INSTALL ANNOUNCE Makefile examples/Makefile examples/world/Makedefs.ghc examples/world/Makefile.hugs-linux examples/world/Makefile.hugs-win32 examples/world/Makefile.ghc-win32 examples/world/Makefile.ghc-linux examples/world/World.gc examples/world/README.txt examples/world/Makedeps examples/world/Main.hs examples/Gdbm/Makefile examples/Gdbm/Main.hs examples/Gdbm/Gdbm.gc examples/Gdbm/diffs examples/Gdbm/gdbmplus.h examples/Gdbm/README lib/package.conf.in lib/Makefile src/greencard.hugs.in src/greencard.ghc.in src/Parse.ly src/Package.lhs.in src/Makefile flag old-base description: Old, monolithic base default: False library { hs-source-dirs: lib Exposed-Modules: Foreign.GreenCard include-dirs: lib install-includes: GreenCard.gc if flag(old-base) Build-Depends: base < 3 else Build-Depends: base >= 4 } executable greencard { main-is: GreenCard.lhs if flag(old-base) Build-Depends: base < 3 else Build-Depends: base >= 4 build-depends: pretty, containers, array hs-source-dirs: src c-sources: src/ErrorHook.c other-modules: Process Package Lex Proc Parse Type Target PrettyUtils MarshallMonad ListUtils LexM FillIn ErrMonad DIS Decl Casm GCToken NameSupply FillInMonad Name }