Hoogle Search

Within LTS Haskell 24.10 (ghc-9.10.2)

Note that Stackage only displays results for the latest LTS and Nightly snapshot. Learn more.

  1. deriveToJSONGADT :: Name -> DecsQ

    aeson-gadt-th Data.Aeson.GADT.TH

    No documentation available.

  2. deriveToJSONGADTWithOptions :: JSONGADTOptions -> Name -> DecsQ

    aeson-gadt-th Data.Aeson.GADT.TH

    No documentation available.

  3. deriveAvro :: FilePath -> Q [Dec]

    avro Data.Avro.Deriving

    Same as deriveAvroWithOptions but uses defaultDeriveOptions

    deriveAvro = deriveAvroWithOptions defaultDeriveOptions
    

  4. deriveAvro' :: Schema -> Q [Dec]

    avro Data.Avro.Deriving

    Same as deriveAvroWithOptions' but uses defaultDeriveOptions

    deriveAvro' = deriveAvroWithOptions' defaultDeriveOptions
    

  5. deriveAvroFromByteString :: ByteString -> Q [Dec]

    avro Data.Avro.Deriving

    Same as deriveAvro but takes a ByteString rather than FilePath

  6. deriveAvroWithOptions :: DeriveOptions -> FilePath -> Q [Dec]

    avro Data.Avro.Deriving

    Derives Haskell types from the given Avro schema file. These Haskell types support both reading and writing to Avro. For an Avro schema with a top-level record called com.example.Foo, this generates:

    • a Schema with the name schema'Foo or schemacom'exampleFoo, depending on the namespaceBehavior setting.
    • Haskell types for each named type defined in the schema
    • HasSchema instances for each type
    • FromAvro instances for each type
    • ToAvro instances for each type
    This function ignores namespaces when generated Haskell type and field names. This will fail on valid Avro schemas which contain types with the same base name in different namespaces. It will also fail for schemas that contain types with base names that are the same except for the capitalization of the first letter. The type com.example.Foo will generate a Haskell type Foo. If com.example.Foo has a field named Bar, the field in the Haskell record will be called fooBar.

  7. deriveAvroWithOptions' :: DeriveOptions -> Schema -> Q [Dec]

    avro Data.Avro.Deriving

    Derive Haskell types from the given Avro schema. For an Avro schema with a top-level definition com.example.Foo, this generates:

    • a Schema with the name schema'Foo or schemacom'exampleFoo depending on namespace handling
    • Haskell types for each named type defined in the schema
    • HasSchema instances for each type
    • FromAvro instances for each type
    • ToAvro instances for each type

  8. deriveAll :: Name -> Q [Dec]

    rank2classes Rank2.TH

    No documentation available.

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

    rank2classes Rank2.TH

    No documentation available.

  10. deriveApply :: Name -> Q [Dec]

    rank2classes Rank2.TH

    No documentation available.

Page 23 of many | Previous | Next