HORIZON HASKELLDocslts/ghc-9.10.xc74966e2026-09-27Search names, modules, packages, or :: a typeCtrl K

GHC 9.10.3 · lts/ghc-9.10.x · c74966e · 2026-09-27

Modulemicrolens-th-0.4.3.16Haskell2010

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.16 · 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.16 · Lens.Micro.TH.Internal
  • HasName (TyVarBndr_ flag)Defined in microlens-th-0.4.3.16 · 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