Hoogle Search
Within LTS Haskell 24.42 (ghc-9.10.3)
Note that Stackage only displays results for the latest LTS and Nightly snapshot. Learn more.
deriveAutoReg :: Name -> DecsQclash-prelude Clash.Class.AutoReg.Internal Automatically derives an AutoReg instance for a product type Usage:
data Pair a b = MkPair { getA :: a, getB :: b } deriving (Generic, NFDataX) data Tup3 a b c = MkTup3 { getAB :: Pair a b, getC :: c } deriving (Generic, NFDataX) deriveAutoReg ''Pair deriveAutoReg ''Tup3NB: Because of the way template haskell works the order here matters, if you try to deriveAutoReg ''Tup3 before Pair it will complain about missing an instance AutoReg (Pair a b).deriveAutoRegTuples :: [Int] -> DecsQclash-prelude Clash.Class.AutoReg.Internal No documentation available.
deriveBitPackTuples :: Name -> Name -> Name -> Name -> DecsQclash-prelude Clash.Class.BitPack.Internal.TH Contruct all the tuple (starting at size 3) instances for BitPack.
deriveAutoReg :: Name -> DecsQclash-prelude Clash.Prelude Automatically derives an AutoReg instance for a product type Usage:
data Pair a b = MkPair { getA :: a, getB :: b } deriving (Generic, NFDataX) data Tup3 a b c = MkTup3 { getAB :: Pair a b, getC :: c } deriving (Generic, NFDataX) deriveAutoReg ''Pair deriveAutoReg ''Tup3NB: Because of the way template haskell works the order here matters, if you try to deriveAutoReg ''Tup3 before Pair it will complain about missing an instance AutoReg (Pair a b).deriveHFunctor :: (Infinite (Q Type) -> Q Type) -> DataInfo -> Q [Dec]data-effects-th Data.Effect.HFunctor.TH.Internal Derive an instance of HFunctor for a type constructor of any higher-order kind taking at least two arguments.
deriveHFunctor :: (Infinite (Q Type) -> Q Type) -> DataInfo -> Q [Dec]data-effects-th Data.Effect.TH Derive an instance of HFunctor for a type constructor of any higher-order kind taking at least two arguments.
-
Derive Storable instances with GHC.Generics. Derive Storable instances with GHC.Generics. The derived Storable instances have the same alignment as C structs.
deriveBoth :: Options -> Name -> Q [Dec]elm-bridge Elm.Derive 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]elm-bridge Elm.Derive Just derive the elm-bridge definitions for generating the serialization/deserialization code. It must be kept synchronized with the Haskell code manually.
derived :: Context s t a b => Iso s t a bgeneric-lens-core Data.Generics.Internal.Wrapped No documentation available.