Hoogle Search

Within LTS Haskell 24.4 (ghc-9.10.2)

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

  1. deriveUnifiedSymOrd1 :: DeriveConfig -> Name -> Q [Dec]

    grisette Grisette.Internal.TH.Derivation.DeriveUnifiedSymOrd

    Derive UnifiedSymOrd1 instance for a data type.

  2. deriveUnifiedSymOrd2 :: DeriveConfig -> Name -> Q [Dec]

    grisette Grisette.Internal.TH.Derivation.DeriveUnifiedSymOrd

    Derive UnifiedSymOrd2 instance for a data type.

  3. deriveWith :: DeriveConfig -> [Name] -> [Name] -> Q [Dec]

    grisette Grisette.TH

    Derive the specified classes for a data type with the given name. Support the following classes for both vanilla data types and GADTs.

    Note that the following type classes cannot be derived for GADTs with existential type variables.

  4. deriveTypeToText :: DeriveType -> Text

    haskoin-store-data Haskoin.Store.Data

    No documentation available.

  5. derivePersistField :: String -> Q [Dec]

    hledger-web Hledger.Web.Import

    Automatically creates a valid PersistField instance for any datatype that has valid Show and Read instances. Can be very convenient for Enum types.

  6. derivePersistFieldJSON :: String -> Q [Dec]

    hledger-web Hledger.Web.Import

    Automatically creates a valid PersistField instance for any datatype that has valid ToJSON and FromJSON instances. For a datatype T it generates instances similar to these:

    instance PersistField T where
    toPersistValue = PersistByteString . L.toStrict . encode
    fromPersistValue = (left T.pack) . eitherDecodeStrict' <=< fromPersistValue
    instance PersistFieldSql T where
    sqlType _ = SqlString
    

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

    large-hashable Data.LargeHashable

    No documentation available.

  8. deriveLargeHashableCtx :: Name -> ([TypeQ] -> [PredQ]) -> Q [Dec]

    large-hashable Data.LargeHashable

    Derive a LargeHashable instance with extra constraints in the context of the instance.

  9. deriveLargeHashableCustomCtx :: Name -> ([TypeQ] -> [PredQ] -> [PredQ]) -> Q [Dec]

    large-hashable Data.LargeHashable

    Derive a LargeHashable instance with a completely custom instance context.

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

    large-hashable Data.LargeHashable

    Derive a LargeHashable instance with no constraints in the context of the instance.

Page 48 of many | Previous | Next