Introduced the QuasiQuotes language extension.
- This syntax was not entirely new; expressions of the form
[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.
- This feature was previously enabled by default when it was introduced in GHC 6.8.1.
Other new language extensions:
This GHC version corresponds to
base version 184.108.40.206.base-220.127.116.11
- Most of the
Data.Genericsmodule (added in GHC 6.0) is moved to a new package called
syb,The syb package named for the Scrap Your Boilerplate paper that introduced it. The core primitives, including notably the
Datatypeclass,The Data.Data module in base 18.104.22.168 remain in the
basepackage within a new module called