lens-4.4: Lenses, Folds and Traversals

Portabilitynon-portable
Stabilityexperimental
MaintainerEdward Kmett <ekmett@gmail.com>
Safe HaskellTrustworthy

Control.Lens.Internal.TH

Description

 

Synopsis

Documentation

tySynInstD' :: Name -> [TypeQ] -> TypeQ -> DecQSource

Compatibility shim for recent changes to template haskell's tySynInstD

appsT :: TypeQ -> [TypeQ] -> TypeQSource

Apply arguments to a type constructor

appsE1 :: ExpQ -> [ExpQ] -> ExpQSource

Apply arguments to a function

toTupleT :: [TypeQ] -> TypeQSource

Construct a tuple type given a list of types.

toTupleE :: [ExpQ] -> ExpQSource

Construct a tuple value given a list of expressions.

toTupleP :: [PatQ] -> PatQSource

Construct a tuple pattern given a list of patterns.

conAppsT :: Name -> [Type] -> TypeSource

Apply arguments to a type constructor.

bndrName :: TyVarBndr -> NameSource

Return Name contained in a TyVarBndr.

fromSet :: Ord k => (k -> v) -> Set k -> Map k vSource