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.
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.
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
deriveLargeHashable :: Name -> Q [Dec]large-hashable Data.LargeHashable No documentation available.
deriveLargeHashableCtx :: Name -> ([TypeQ] -> [PredQ]) -> Q [Dec]large-hashable Data.LargeHashable Derive a LargeHashable instance with extra constraints in the context of the instance.
deriveLargeHashableCustomCtx :: Name -> ([TypeQ] -> [PredQ] -> [PredQ]) -> Q [Dec]large-hashable Data.LargeHashable Derive a LargeHashable instance with a completely custom instance context.
deriveLargeHashableNoCtx :: Name -> Q [Dec]large-hashable Data.LargeHashable Derive a LargeHashable instance with no constraints in the context of the instance.
deriveLargeHashable :: Name -> Q [Dec]large-hashable Data.LargeHashable.TH No documentation available.
deriveLargeHashableCtx :: Name -> ([TypeQ] -> [PredQ]) -> Q [Dec]large-hashable Data.LargeHashable.TH Derive a LargeHashable instance with extra constraints in the context of the instance.
deriveLargeHashableCustomCtx :: Name -> ([TypeQ] -> [PredQ] -> [PredQ]) -> Q [Dec]large-hashable Data.LargeHashable.TH Derive a LargeHashable instance with a completely custom instance context.
deriveLargeHashableNoCtx :: Name -> Q [Dec]large-hashable Data.LargeHashable.TH Derive a LargeHashable instance with no constraints in the context of the instance.