Documentation: DatatypeContexts is NOT on by default in 7.4.1
This page: http://www.haskell.org/ghc/docs/7.4.1/html/users_guide/data-type-extensions.html
Claims that data type contexts are on by default, but this does not seem to be the case.
For example:
$ ghci
GHCi, version 7.4.1: http://www.haskell.org/ghc/ :? for help
Loading package ghc-prim ... linking ... done.
Loading package integer-gmp ... linking ... done.
Loading package base ... linking ... done.
Prelude> data (Functor f) => Blah f = Blah f
<interactive>:2:6:
Illegal datatype context (use -XDatatypeContexts): Functor f =>
Trac metadata
| Trac field | Value |
|---|---|
| Version | 7.4.1 |
| Type | Bug |
| TypeOfFailure | OtherFailure |
| Priority | normal |
| Resolution | Unresolved |
| Component | Documentation |
| Test case | |
| Differential revisions | |
| BlockedBy | |
| Related | |
| Blocking | |
| CC | |
| Operating system | |
| Architecture |