Hoogle Search
Within LTS Haskell 24.6 (ghc-9.10.2)
Note that Stackage only displays results for the latest LTS and Nightly snapshot. Learn more.
deriveJSONAndTypeScript' :: Options -> Name -> ExtraTypeScriptOptions -> Q [Dec]aeson-typescript Data.Aeson.TypeScript.TH No documentation available.
deriveTypeScript :: Options -> Name -> Q [Dec]aeson-typescript Data.Aeson.TypeScript.TH Generates a TypeScript instance declaration for the given data type.
deriveTypeScript' :: Options -> Name -> ExtraTypeScriptOptions -> Q [Dec]aeson-typescript Data.Aeson.TypeScript.TH Generates a TypeScript instance declaration for the given data type.
deriveTypeScriptLookupType :: Name -> String -> Q [Dec]aeson-typescript Data.Aeson.TypeScript.TH Generates a TypeScript declaration for a closed type family as a lookup type.
deriveApiFieldJSON :: Name -> Q [Dec]api-field-json-th Data.Aeson.APIFieldJsonTH レコード名を落としてjsonインスタンス化
deriveAnnotation :: Derivator -> Q Type -> Q [Dec]clash-prelude Clash.Annotations.BitRepresentation.Deriving No documentation available.
deriveBitPack :: Q Type -> Q [Dec]clash-prelude Clash.Annotations.BitRepresentation.Deriving Derives BitPack instances for given type. Will account for custom bit representation annotations in the module where the splice is ran. Note that the generated instance might conflict with existing implementations (for example, an instance for Maybe a exists, yielding conflicts for any alternative implementations). Usage:
data Color = R | G | B {-# ANN module (DataReprAnn $(liftQ [t|Color|]) 2 [ ConstrRepr 'R 0b11 0b00 [] , ConstrRepr 'G 0b11 0b01 [] , ConstrRepr 'B 0b11 0b10 [] ]) #-} deriveBitPack [t| Color |] data MaybeColor = JustColor Color | NothingColor deriving (Generic,BitPack)
NB: Because of the way template haskell works the order here matters, if you try to derive MaybeColor before deriveBitPack Color it will complain about missing an instance BitSize Color.deriveBlueSpecAnnotation :: Q Type -> Q [Dec]clash-prelude Clash.Annotations.BitRepresentation.Deriving Derives bit representation corresponding to the default manner in which BlueSpec stores types.
deriveDefaultAnnotation :: Q Type -> Q [Dec]clash-prelude Clash.Annotations.BitRepresentation.Deriving Derives bit representation corresponding to the default manner in which Clash stores types.
derivePackedAnnotation :: Q Type -> Q [Dec]clash-prelude Clash.Annotations.BitRepresentation.Deriving No documentation available.