Copyright | (C) 2013-2016 Edward Kmett and Eric Mertens |
---|---|
License | BSD-style (see the file LICENSE) |
Maintainer | Edward Kmett <ekmett@gmail.com> |
Stability | experimental |
Portability | non-portable |
Safe Haskell | Safe |
Language | Haskell2010 |
Synopsis
- appsT :: TypeQ -> [TypeQ] -> TypeQ
- appsE1 :: ExpQ -> [ExpQ] -> ExpQ
- toTupleT :: [TypeQ] -> TypeQ
- toTupleE :: [ExpQ] -> ExpQ
- toTupleP :: [PatQ] -> PatQ
- conAppsT :: Name -> [Type] -> Type
- bndrName :: TyVarBndr -> Name
- fromSet :: (k -> v) -> Set k -> Map k v
- newNames :: String -> Int -> Q [Name]
- unfoldType :: Type -> (Type, [Type])
- lensPackageKey :: String
- mkLensName_tc :: String -> String -> Name
- mkLensName_v :: String -> String -> Name
- traversalTypeName :: Name
- traversal'TypeName :: Name
- lensTypeName :: Name
- lens'TypeName :: Name
- isoTypeName :: Name
- iso'TypeName :: Name
- getterTypeName :: Name
- foldTypeName :: Name
- prismTypeName :: Name
- prism'TypeName :: Name
- reviewTypeName :: Name
- wrappedTypeName :: Name
- unwrappedTypeName :: Name
- rewrappedTypeName :: Name
- _wrapped'ValName :: Name
- isoValName :: Name
- prismValName :: Name
- untoValName :: Name
- phantomValName :: Name
- phantom2 :: (Functor f, Contravariant f) => f a -> f b
- composeValName :: Name
- idValName :: Name
- fmapValName :: Name
- pureValName :: Name
- apValName :: Name
- rightDataName :: Name
- leftDataName :: Name
- inlinePragma :: Name -> [DecQ]
Documentation
Generate many new names from a given base name.
unfoldType :: Type -> (Type, [Type]) #
mkLensName_tc :: String -> String -> Name #
mkLensName_v :: String -> String -> Name #
lensTypeName :: Name #
lens'TypeName :: Name #
isoTypeName :: Name #
iso'TypeName :: Name #
getterTypeName :: Name #
foldTypeName :: Name #
prismTypeName :: Name #
prism'TypeName :: Name #
reviewTypeName :: Name #
wrappedTypeName :: Name #
isoValName :: Name #
prismValName :: Name #
untoValName :: Name #
phantomValName :: Name #
phantom2 :: (Functor f, Contravariant f) => f a -> f b #
composeValName :: Name #
fmapValName :: Name #
pureValName :: Name #
rightDataName :: Name #
leftDataName :: Name #
inlinePragma :: Name -> [DecQ] #