Hoogle Search

Within LTS Haskell 24.28 (ghc-9.10.3)

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

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

  2. deriveDecrypt :: EllipticCurveDH curve => proxy curve -> Point curve -> Scalar curve -> CryptoFailable SharedSecret

    crypton Crypto.PubKey.ECIES

    Derive the shared secret with the receiver key and the R point of the scheme.

  3. deriveEncrypt :: (MonadRandom randomly, EllipticCurveDH curve) => proxy curve -> Point curve -> randomly (CryptoFailable (Point curve, SharedSecret))

    crypton Crypto.PubKey.ECIES

    Generate random a new Shared secret and the associated point to do a ECIES style encryption

  4. deriveTerminalCapababilities :: Settings -> IO TerminalCapabilities

    sydtest Test.Syd.OptParse

    No documentation available.

  5. deriveDecrypt :: EllipticCurveDH curve => proxy curve -> Point curve -> Scalar curve -> CryptoFailable SharedSecret

    cryptonite Crypto.PubKey.ECIES

    Derive the shared secret with the receiver key and the R point of the scheme.

  6. deriveEncrypt :: (MonadRandom randomly, EllipticCurveDH curve) => proxy curve -> Point curve -> randomly (CryptoFailable (Point curve, SharedSecret))

    cryptonite Crypto.PubKey.ECIES

    Generate random a new Shared secret and the associated point to do a ECIES style encryption

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

    generic-deriving Generics.Deriving.TH

    A backwards-compatible synonym for deriveAll0.

  8. deriveAll0 :: 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, and the Representable0 instance.

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

  10. deriveAll0And1Options :: Options -> Name -> Q [Dec]

    generic-deriving Generics.Deriving.TH

    Like deriveAll0And1, but takes an Options argument.

Page 5 of many | Previous | Next