Typecheck a collection of default declarations. These can be either:
Haskell 98 default declarations, of the form
default (Float, Double)Named default declarations, of the form
default Cls(Int, Char). See Note [Named default declarations]
:: a typeCtrl KGHC 9.14.1 · lts/ghc-9.14.x · b2f3bfd · 2026-10-11
Moduleghc-9.14.1GHC2021
Typechecking default declarations
Typecheck a collection of default declarations. These can be either:
Haskell 98 default declarations, of the form default (Float, Double)
Named default declarations, of the form default Cls(Int, Char).
See Note [Named default declarations]
Extend the default environment with the local default declarations and do the action in the extended environment.