Distribution.Extension

| Haskell Core Libraries (Cabal package) | Contents | Index
Distribution.Extension |
Portability | portable
Stability | alpha
Maintainer | Isaac Jones <ijones@syntaxpolice.org>
Description
Haskell language extensions
Synopsis
data Extension
= OverlappingInstances
| UndecidableInstances
| IncoherentInstances
| RecursiveDo
| ParallelListComp
| MultiParamTypeClasses
| NoMonomorphismRestriction
| FunctionalDependencies
| Rank2Types
| RankNTypes
| PolymorphicComponents
| ExistentialQuantification
| ScopedTypeVariables
| ImplicitParams
| FlexibleContexts
| FlexibleInstances
| EmptyDataDecls
| CPP
| TypeSynonymInstances
| TemplateHaskell
| ForeignFunctionInterface
| InlinePhase
| ContextStack
| Arrows
| Generics
| NoImplicitPrelude
| NamedFieldPuns
| PatternGuards
| GeneralizedNewtypeDeriving
| ExtensibleRecords
| RestrictedTypeSynonyms
| HereDocuments
type Opt = String
extensionsToNHCFlag :: [Extension] -> ([Extension], [Opt])
extensionsToGHCFlag :: [Extension] -> ([Extension], [Opt])
extensionsToHugsFlag :: [Extension] -> ([Extension], [Opt])
Documentation
data Extension
This represents language extensions beyond Haskell 98 that are supported by some implementations, usually in some special mode.
Constructors
OverlappingInstances |
UndecidableInstances |
IncoherentInstances |
RecursiveDo |
ParallelListComp |
MultiParamTypeClasses |
NoMonomorphismRestriction |
FunctionalDependencies |
Rank2Types |
RankNTypes |
PolymorphicComponents |
ExistentialQuantification |
ScopedTypeVariables |
ImplicitParams |
FlexibleContexts |
FlexibleInstances |
EmptyDataDecls |
CPP |
TypeSynonymInstances |
TemplateHaskell |
ForeignFunctionInterface |
InlinePhase |
ContextStack |
Arrows |
Generics |
NoImplicitPrelude |
NamedFieldPuns |
PatternGuards |
GeneralizedNewtypeDeriving |
ExtensibleRecords |
RestrictedTypeSynonyms |
HereDocuments |
Instances
Eq Extension
Read Extension
Show Extension
type Opt = String
extensionsToNHCFlag :: [Extension] -> ([Extension], [Opt])
NHC: Return the unsupported extensions, and the flags for the supported extensions
extensionsToGHCFlag :: [Extension] -> ([Extension], [Opt])
GHC: Return the unsupported extensions, and the flags for the supported extensions
extensionsToHugsFlag :: [Extension] -> ([Extension], [Opt])
Hugs: Return the unsupported extensions, and the flags for the supported extensions
Produced by Haddock version 0.7