| Safe Haskell | None |
|---|
Control.Reference.Examples.TH
Description
An example module that adds references for Template Haskell. These references are used to create the TH functions that generate references.
Documentation
typeVarName :: Simple Lens TyVarBndr NameSource
Reference the name of the type variable inside a type variable binder
nameBaseStr :: Simple Lens Name StringSource
Reference the characters of the name. If changed there is no guarantee that the created name will be unique.
recFields :: Simple Partial Con [(Name, Strict, Type)]Source
Reference the record fields in a constructor.