GHC 6.10.1
November 2008GHC 6.10.1Mailing list: GHC 6.10.1 releasedGHC blog: GHC 6.10.1 releasedRelease notes for GHC 6.10.1
Introduced the QuasiQuotes language extension.
- This syntax was not entirely new; expressions of the form
[|...|]
,[d|...|]
, and[t|...|]
had previouslyTemplate Haskell in GHC 6.8.3Template Haskell in GHC 6.10.1 existed as part of Template Haskell and were referred to as “Oxford brackets”. The new feature was described at the time as “generalized quasi-quotes”, because it expanded upon Oxford brackets to allow users to define their own quasi-quoters in addition to just the built-in Template Haskell ones. - This feature had previously been presented in Why it’s nice to be quoted.
- This release supportsQuasiQuoter API documentation in GHC 6.10.1 quasi-quotes in the two contexts given in the paper: expresssions and patterns. This will be expanded upon in GHC 7.0.1.
The new language extension PostfixOperators
is now required to use postfix operators.
- This feature was previously enabled by default since its introduction in GHC 6.6.
The new language extension ImpredicativeTypes
is nowImpredicative polymorphism in GHC 6.8.3Impredicative polymorphism in GHC 6.10.1 required to use impredicative polymorphism.
- This feature was previously enabled by default when it was introduced in GHC 6.8.1.
Other new language extensions:
PackageImports
TransformListComp
ViewPatterns
This GHC version corresponds to base
version 4.0.0.0.base-4.0.0.0
- Most of the
Data.Generics
module (added in GHC 6.0) is moved to a new package calledsyb
,The syb package named for the Scrap Your Boilerplate paper that introduced it. The core primitives, including notably theData
typeclass,The Data.Data module in base 4.0.0.0 remain in thebase
package within a new module calledData.Data
.