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.

  1. deriveJSONAndTypeScript' :: Options -> Name -> ExtraTypeScriptOptions -> Q [Dec]

    aeson-typescript Data.Aeson.TypeScript.TH

    No documentation available.

  2. deriveTypeScript :: Options -> Name -> Q [Dec]

    aeson-typescript Data.Aeson.TypeScript.TH

    Generates a TypeScript instance declaration for the given data type.

  3. deriveTypeScript' :: Options -> Name -> ExtraTypeScriptOptions -> Q [Dec]

    aeson-typescript Data.Aeson.TypeScript.TH

    Generates a TypeScript instance declaration for the given data type.

  4. deriveTypeScriptLookupType :: Name -> String -> Q [Dec]

    aeson-typescript Data.Aeson.TypeScript.TH

    Generates a TypeScript declaration for a closed type family as a lookup type.

  5. deriveApiFieldJSON :: Name -> Q [Dec]

    api-field-json-th Data.Aeson.APIFieldJsonTH

    レコード名を落としてjsonインスタンス化

  6. deriveAnnotation :: Derivator -> Q Type -> Q [Dec]

    clash-prelude Clash.Annotations.BitRepresentation.Deriving

    No documentation available.

  7. 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.

  8. deriveBlueSpecAnnotation :: Q Type -> Q [Dec]

    clash-prelude Clash.Annotations.BitRepresentation.Deriving

    Derives bit representation corresponding to the default manner in which BlueSpec stores types.

  9. deriveDefaultAnnotation :: Q Type -> Q [Dec]

    clash-prelude Clash.Annotations.BitRepresentation.Deriving

    Derives bit representation corresponding to the default manner in which Clash stores types.

  10. derivePackedAnnotation :: Q Type -> Q [Dec]

    clash-prelude Clash.Annotations.BitRepresentation.Deriving

    No documentation available.

Page 34 of many | Previous | Next