Hoogle Search
Within LTS Haskell 24.31 (ghc-9.10.3)
Note that Stackage only displays results for the latest LTS and Nightly snapshot. Learn more.
derivePersistFieldJSON :: String -> Q [Dec]persistent Database.Persist.TH 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
derivePersistField :: String -> Q [Dec]persistent Database.Persist.TH.Internal 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]persistent Database.Persist.TH.Internal 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
deriveTerminalCapababilities :: Settings -> IO TerminalCapabilitiessydtest Test.Syd.OptParse No documentation available.
-
cryptonite Crypto.PubKey.ECIES Derive the shared secret with the receiver key and the R point of the scheme.
-
cryptonite Crypto.PubKey.ECIES Generate random a new Shared secret and the associated point to do a ECIES style encryption
-
generic-deriving Generics.Deriving.TH A backwards-compatible synonym for deriveAll0.
-
generic-deriving Generics.Deriving.TH Given the type and the name (as string) for the type to derive, generate the Data instance, the Constructor instances, the Selector instances, and the Representable0 instance.
deriveAll0And1 :: Name -> Q [Dec]generic-deriving Generics.Deriving.TH Given the type and the name (as string) for the type to derive, generate the Data instance, the Constructor instances, the Selector instances, the Representable0 instance, and the Representable1 instance.
deriveAll0And1Options :: Options -> Name -> Q [Dec]generic-deriving Generics.Deriving.TH Like deriveAll0And1, but takes an Options argument.