Hoogle Search

Within LTS Haskell 24.52 (ghc-9.10.3)

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

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

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

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

    large-hashable Data.LargeHashable

    No documentation available.

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

    large-hashable Data.LargeHashable

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

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

    large-hashable Data.LargeHashable

    Derive a LargeHashable instance with a completely custom instance context.

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

    large-hashable Data.LargeHashable

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

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

    large-hashable Data.LargeHashable.TH

    No documentation available.

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

    large-hashable Data.LargeHashable.TH

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

    Derive a LargeHashable instance with a completely custom instance context.

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

    large-hashable Data.LargeHashable.TH

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

Page 48 of many | Previous | Next