wiki:HaskellExtensions

Version 20 (modified by john@…, 9 years ago) (diff)

--

Known Haskell Extensions

Support Matrix

Extension NameGHCNHCHUGSJHC
ForeignFunctionInterface True True True True
RecursiveDo True False True False
ParallelListComp True False True False
PatternGuards True False False False
Arrows True False False False
ScopedTypeVariables True False True False
PolymorphicComponents True False True False
Rank2Types True False True False
RankNTypes True False False False
ExistentialQuantification True True True False
NewtypeDeriving True False False True
ImplicitParams True False True False
LinearImplicitParams True False False False
EmptyDataDecls True True True True
NoMonomorphismRestriction True True False True
FlexibleContexts True False True
FlexibleInstances True False True
TypeSynonymInstances True False True True
MultiParamTypeClasses True False True False
OverlappingInstances True False True
IncoherentInstances True False True
UndecidableInstances True False False
FunctionalDependencies True False True
AssociatedTypes False False False
CPP? True True True
TemplateHaskell? True False False
InlinePhase? True False False
ContextStack? True False False
Generics? True False False
NoImplicitPrelude? True False False
NamedFieldPuns? False True False
ExtensibleRecords? False False True
RestrictedTypeSynonyms? False False True
HereDocuments? False False True
Assertions? True ? False
Concurrency True False Coop
KindAnnotations True False False
GADTs True False False
InfixTypeConstructors True False False
LiberalTypeSynonyms True False False
RebindableSyntax? True False False
RecursiveModules? Partial ? False True
RewriteRules? True False False
UnboxedTypes? True False False
CoinductiveDictionaries? ? False False
PartialTypeSigs False False False
Impredicativity? ? False False
ExplicitDictionaries? False False False
KindPolymorphism? False False False
DataKinds? False False False
MagicUnderscore False False False True
NondecreasingIndentation Partial ? False ?
ClassAliases? False False False ?
HierarchicalModules True True True True

Extensions supported by two compilers

Extensions used in fptools

Those mentioned in library .cabal files
CPP 11 libraries
ForeignFunctionInterface 4
MultiParamTypeClasses 3
OverlappingInstances 1
FunctionalDependencies 1
Additional extensions mentioned in source file "Portability" field
Concurrency 3 libraries
Local universal quantification 3
Extended exceptions >1
Existentially quantified data constructors 1
STM 1