Hoogle Search

Within LTS Haskell 24.19 (ghc-9.10.3)

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

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

    avro Data.Avro.Deriving

    Same as deriveAvroWithOptions' but uses defaultDeriveOptions

    deriveAvro' = deriveAvroWithOptions' defaultDeriveOptions
    

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

    avro Data.Avro.Deriving

    Same as deriveAvro but takes a ByteString rather than FilePath

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

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

  5. derivedDelete :: TableDerivable r => (Record Flat r -> Restrict (PlaceHolders p)) -> Delete p

    relational-query Database.Relational

    Deprecated: use delete instead of this.

  6. derivedDelete' :: TableDerivable r => Config -> (Record Flat r -> Restrict (PlaceHolders p)) -> Delete p

    relational-query Database.Relational

    Deprecated: use delete' instead of this.

  7. derivedInsert :: (PersistableWidth r, TableDerivable r) => Pi r r' -> Insert r'

    relational-query Database.Relational

    Deprecated: use insert instead of this.

  8. derivedInsertQuery :: TableDerivable r => Pi r r' -> Relation p r' -> InsertQuery p

    relational-query Database.Relational

    Deprecated: use insertQuery instead of this.

  9. derivedInsertValue :: TableDerivable r => Register r (PlaceHolders p) -> Insert p

    relational-query Database.Relational

    Deprecated: use insertValue instead of this.

  10. derivedInsertValue' :: TableDerivable r => Config -> Register r (PlaceHolders p) -> Insert p

    relational-query Database.Relational

    Deprecated: use insertValue' instead of this.

Page 23 of many | Previous | Next