NAME
GreenCard-nhc98 - Haskell C-Interface Preprocessor
SYNOPSIS
greencard-nhc98 [options] filename
DESCRIPTION
greencard-nhc98 is a preprocessor for Haskell which allows Haskell functions to call C. (Incidentally, nhc98 also has the ability to call Haskell code from C using GreenCard to set up the interface.) Greencard is generally called automatically by nhc98 when it is given a file with the extension ".gc".
GreenCard-nhc98 will read from standard input if no filename is given.
OPTIONS
- -t, --target TARGET
-
Generate code for a particular Haskell compiler.
- --version
-
Prints the version number, then exit successfully.
- -h, --help
-
Print a usage message listing all available options.
- -v, --verbose
-
Print more information while processing the input.
- -d, --debug
-
Print even more information while processing the input.
- -i DIRS, -PDIRS, --include-dir DIRS
-
Search the directories named in the colon (':') separated list for imported files. The directories will be searched in a left-to-right order, after the current directory.
- -g, --fgc-safe
-
Generates code that can use callbacks to Haskell. This makes the generated code slower.
SEE ALSO
AUTHORS
Based on text by Thomas Nordin, Simon Peyton Jones, Alastair Reid, and Malcolm Wallace.