language package:ghc-lib-parser

The language extensions implied by the various language variants. When updating this be sure to update the flag documentation in docsusers_guideexts.
This module re-exports the Extension type along with an orphan Binary instance for it. Note that the ghc-boot package has a large set of dependencies; for this reason the Extension type itself is defined in the GHC.LanguageExtensions.Type module provided by the ghc-boot-th package, which has no dependencies outside of base. For this reason template-haskell depends upon ghc-boot-th, not ghc-boot.
Language extensions known to GHC
The default Language is used if one is not specified explicitly, by both GHC and GHCi.
Foreign language of the phase if the phase deals with a foreign code
Is the Safe Haskell safe language in use
The Language used in the module, for example Haskell2010.