HORIZON HASKELLDocslts/ghc-10.0.x8174fa42026-10-11Search names, modules, packages, or :: a typeCtrl K

GHC 10.0.0.20260917 · lts/ghc-10.0.x · 8174fa4 · 2026-10-11

Modulemicrolens-th-0.4.3.18Haskell2010

Lens.Micro.TH.Internal

Functions used by Lens.Micro.TH. This is an internal module and it may go away or change at any time; do not depend on it.

  • 2 classes
  • 14 values

Name utilities

2 declarations
classclass HasName t where
#

Has a Name

Methods

Instances3HasName
  • HasName ConDefined in microlens-th-0.4.3.18 · Lens.Micro.TH.Internal

    On template-haskell-2.11.0.0 or later, if a GadtC or RecGadtC has multiple Names, the leftmost Name will be chosen.

  • HasName NameDefined in microlens-th-0.4.3.18 · Lens.Micro.TH.Internal
  • HasName (TyVarBndr_ flag)Defined in microlens-th-0.4.3.18 · Lens.Micro.TH.Internal

Type variable utilities

3 declarations
classclass HasTypeVars t where
#

Provides for the extraction of free type variables, and alpha renaming.

Instances6HasTypeVars

Miscellaneous utilities

7 declarations
valuequantifyType :: Cxt -> Type -> Type
#

Template Haskell wants type variables declared in a forall, so we find all free type variables in a given type and declare them.

valueunSigT :: Type -> Type
#

Peel off a kind signature from a Type (if it has one).

Lens functions

4 declarations