GHC 7.10.1
March 2015GHC 7.10.1Mailing list: GHC 7.10.1 releasedRelease notes for GHC 7.10.1
In a wholehearted embrace of applicative functors and related classes, there were significant changes to the base library:
Applicativeis now included in thePreludemodule, and it is nowMonad in GHC 7.10 a superclass ofMonad.Commit making Applicative a superclass of MonadFoldableandTraversableare now included in thePreludemodule.Foldable/Traversable in Prelude Many list functions inPreludewere replaced with more genericFoldablevariants. For example, the type oflengthchanged from[a] -> InttoFoldable t => t a -> Int. This change was referred to in discussions as "Foldable/Traversable in Prelude" (abbreviated as "FTP").
This GHC version corresponds to base version 4.8.0.0.base-4.8.0.0
Some other changes to base:
- Bifunctor,Bifunctor in GHC 7.10 previously available from the bifunctors package, is now included in
base. - The
Voidtype is now defined inbase.Void in GHC 7.10 - The toIntegralSized functiontoIntegralSized in GHC 7.10 is added to the
Data.Bitsmodule, permitting more efficient safe integer conversion.
New language extensions:
BinaryLiteralsDeriveAnyClassNamedWildCards- PartialTypeSignatures
StaticPointers
The Typeable class is now derived for all types by default.
- Deriving declarations for
Typeableare still permitted, but they have no effect.Deriving Typeable in GHC 7.10 - All mention of the
AutoDeriveTypeableextension disappears from the GHC User’s Guide.


