Hoogle Search

Within LTS Haskell 24.41 (ghc-9.10.3)

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

  1. data PatchOrReplacement p

    patch Data.Patch.PatchOrReplacement

    Either a patch or a replacement value. A good patch type will describe small changes very efficiently, but that often comes at the cost of describing large change rather inefficiently. PatchOrReplacement can be used as an escape hatch: when the change as a patch would be too big, just provide a new value to replace the old one with instead.

  2. PatchOrReplacement_Patch :: p -> PatchOrReplacement p

    patch Data.Patch.PatchOrReplacement

    No documentation available.

  3. PatchOrReplacement_Replacement :: PatchTarget p -> PatchOrReplacement p

    patch Data.Patch.PatchOrReplacement

    No documentation available.

  4. data PCREOption

    pcre-heavy Text.Regex.PCRE.Heavy

    A type for PCRE compile-time options. These are newtyped CInts, which can be bitwise-or'd together, using (.|.)

  5. type PersistableRecordWidth a = ProductConst Sum Int a

    persistable-record Database.Record

    Proposition to specify width of Haskell type a. The width is length of database value list which is converted from Haskell type a.

  6. data PersistableSqlType q

    persistable-record Database.Record

    Proposition to specify type q is database value type, contains null value

  7. class Eq q => PersistableType q

    persistable-record Database.Record

    Interface of derivation rule for PersistableSqlType.

  8. class PersistableWidth a

    persistable-record Database.Record

    PersistableWidth a is implicit rule to derive PersistableRecordWidth a width proposition for type a. Generic programming (https://downloads.haskell.org/~ghc/latest/docs/html/users_guide/glasgow_exts.html#generic-programming) with default signature is available for PersistableWidth class, so you can make instance like below:

    {-# LANGUAGE DeriveGeneric #-}
    import GHC.Generics (Generic)
    --
    data Foo = Foo { ... } deriving Generic
    instance PersistableWidth Foo
    

  9. data Primary

    persistable-record Database.Record

    Constraint type. Primary key.

  10. type PrimaryColumnConstraint = ColumnConstraint Primary

    persistable-record Database.Record

    Specialized primary constraint.

Page 633 of many | Previous | Next