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.

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

    aeson-typescript Data.Aeson.TypeScript.TH

    Convenience function to generate ToJSON, FromJSON, and TypeScript instances simultaneously, so the instances are guaranteed to be in sync. This function is given mainly as an illustration. If you want some other permutation of instances, such as ToJSON and TypeScript only, just take a look at the source and write your own version.

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

    aeson-typescript Data.Aeson.TypeScript.TH

    No documentation available.

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

    aeson-typescript Data.Aeson.TypeScript.TH

    Generates a TypeScript instance declaration for the given data type.

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

    aeson-typescript Data.Aeson.TypeScript.TH

    Generates a TypeScript instance declaration for the given data type.

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

    aeson-typescript Data.Aeson.TypeScript.TH

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

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

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

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

  7. deriveTermLiteral :: Name -> Q [Dec]

    clash-lib Clash.Core.TermLiteral

    Derive a TermLiteral instance for given type

  8. deriveShowsTypePrec :: Name -> Q Dec

    clash-lib Clash.Core.TermLiteral.TH

    For Maybe, constructs:

    showsTypePrec n _
    = let
    showSpace = showChar ' '
    precCalls = [showsTypePrec 11 (Proxy @a)]
    interspersedPrecCalls = intersperse showSpace precCalls
    showType = foldl (.) (showString "Maybe") (showSpace : interspersedPrecCalls)
    in
    showParen (n > 10) showType
    

  9. deriveTermLiteral :: Name -> Q [Dec]

    clash-lib Clash.Core.TermLiteral.TH

    Derive a TermLiteral instance for given type

  10. deriveTermToData :: Name -> Q Exp

    clash-lib Clash.Core.TermLiteral.TH

    No documentation available.

Page 34 of many | Previous | Next