| Safe Haskell | None |
|---|
FlagOpts
- data Flag
- = BangPatterns
- | Boehm
- | Controlled
- | Cpp
- | Customthread
- | Debug
- | Defaulting
- | Exists
- | Ffi
- | Forall
- | FullInt
- | GlobalOptimize
- | InlinePragmas
- | Jgc
- | Lint
- | M4
- | MonomorphismRestriction
- | Negate
- | Nothread
- | Prelude
- | Profile
- | Pthread
- | Raw
- | Rules
- | Standalone
- | TypeAnalysis
- | TypeFamilies
- | UnboxedTuples
- | UnboxedValues
- | UserKinds
- | Wrapper
- process :: Set Flag -> [[Char]] -> (Set Flag, [[Char]])
- helpMsg :: [Char]
- helpFlags :: [[Char]]
Documentation
Flags
Constructors
| BangPatterns |
|
| Boehm | use Boehm garbage collector |
| Controlled | with the '-f' flag, the following options are availible, you can |
| Cpp | pass haskell source through c preprocessor |
| Customthread | use your own thread mechanism |
| Debug | enable debugging code in generated executable |
| Defaulting | perform defaulting of ambiguous types |
| Exists |
|
| Ffi | support foreign function declarations |
| Forall |
|
| FullInt | extend Int and Word to 32 bits on a 32 bit machine (rather than 30) |
| GlobalOptimize | perform whole program E optimization |
| InlinePragmas | use inline pragmas |
| Jgc | use the jgc garbage collector |
| Lint | perform lots of extra type checks |
| M4 | pass haskell source through m4 preprocessor |
| MonomorphismRestriction | enforce monomorphism restriction |
| Negate | any particular one by prepending 'no-' to it. |
| Nothread | do not support thread |
| Prelude | implicitly import Prelude |
| Profile | enable profiling code in generated executable |
| Pthread | use pthread for concurrency |
| Raw | just evaluate main to WHNF and nothing else. |
| Rules | use rules |
| Standalone | compile to a standalone executable |
| TypeAnalysis | perform a basic points-to analysis on types right after method generation |
| TypeFamilies | type/data family support |
| UnboxedTuples | allow unboxed tuple syntax to be recognized |
| UnboxedValues | allow unboxed value syntax |
| UserKinds | user defined kinds |
| Wrapper | wrap main in exception handler |