ghc-lib-parser-9.10.1.20250103: The GHC API, decoupled from GHC versions

Safe Haskell | Ignore
Language | GHC2021

GHC.LanguageExtensions

Contents

- Orphan instances

Description

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`.

# Documentation

module GHC.LanguageExtensions.Type

# Orphan instances

Binary Extension # |
Instance details Methods put :: Extension -> Put # get :: Get Extension # putList :: [Extension] -> Put #