GHC 8.0.1
May 2016GHC 8.0.1Mailing list: GHC 8.0.1 releasedGHC blog: GHC 8.0.1 releasedRelease notes for GHC 8.0.1
New language extensions:
- ApplicativeDo
- DeriveLift
DuplicateRecordFields
TypeFamilyDependencies
MonadFailDesugaring
OverloadedLabels
Strict
StrictData
TemplateHaskellQuotes
- TypeApplications — This motivated the addition of the :type +v GHCi command in GHC 8.2.
TypeInType
UndecidableSuperClasses
This GHC version corresponds to base
version 4.9.0.0
.base-4.9.0.0
- Some constraints in
Control.Monad
forever in base-4.9 were generalized fromMonad
toApplicative
, taking advantage of the recent decision to makeApplicative
a superclass ofMonad
in GHC 7.10. - The
Data.List.NonEmpty
andData.Semigroup
modules, previously available in a package calledsemigroups
, are now incorporated into thebase
package.Semigroup
will later be made a superclass ofMonoid
and added toPrelude
in GHC 8.4. - Added the
TypeError
classCustom compile-time errors in GHC 8.0 which makes it possible to define custom error messages for when compilation fails due to a missing typeclass instance.