Hoogle Search
Within LTS Haskell 24.28 (ghc-9.10.3)
Note that Stackage only displays results for the latest LTS and Nightly snapshot. Learn more.
deriveShowFields :: [UnboundEntityDef] -> Q [Dec]persistent-documentation Database.Persist.Documentation Given a list of entity definitions, derives Show for all their fields. This is necessary for using this library for internal reasons, unfortunately.
deriveBoth :: Options -> Name -> Q [Dec]servant-elm Servant.Elm Equivalent to running both deriveJSON and deriveElmDef with the same options, so as to ensure the code on the Haskell and Elm size is synchronized.
deriveElmDef :: Options -> Name -> Q [Dec]servant-elm Servant.Elm Just derive the elm-bridge definitions for generating the serialization/deserialization code. It must be kept synchronized with the Haskell code manually.
deriveEnumerable :: Name -> Q [Dec]size-based Control.Enumerable No documentation available.
deriveEnumerable' :: ConstructorDeriv -> Q [Dec]size-based Control.Enumerable Derive an instance of Enumberable with Template Haskell, with rules for some specific constructors
deriveByParam :: Int -> Fix SRTree -> Fix SRTreesrtree Data.SRTree.Derivative Symbolic derivative by a parameter
deriveByVar :: Int -> Fix SRTree -> Fix SRTreesrtree Data.SRTree.Derivative Symbolic derivative by a variable
-
symmetry-operations-symbols Data.Matrix.SymmetryOperationsSymbols.Calc No documentation available.
deriveJSON' :: Name -> Q [Dec]telegram-bot-api Telegram.Bot.API.Internal.Utils No documentation available.
deriveGTraversable :: Name -> Q [Dec]traverse-with-class Data.Generics.Traversable.TH Example usage:
data MyType = MyType deriveGTraversable ''MyType
It tries to create the necessary instance constraints, but is not very smart about it For tricky types, it may fail or produce an overconstrained instance. In that case, write the instance declaration yourself and use gtraverseExpr to derive the implementation:data MyType a = MyType instance GTraversable (MyType a) where gtraverse = $(gtraverseExpr ''MyType)