Hoogle Search

Within LTS Haskell 24.15 (ghc-9.10.3)

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

  1. deriveBifunctorOptions :: Options -> Name -> Q [Dec]

    bifunctors Data.Bifunctor.TH

    Like deriveBifunctor, but takes an Options argument.

  2. deriveBitraversable :: Name -> Q [Dec]

    bifunctors Data.Bifunctor.TH

    Generates a Bitraversable instance declaration for the given data type or data family instance.

  3. deriveBitraversableOptions :: Options -> Name -> Q [Dec]

    bifunctors Data.Bifunctor.TH

    Like deriveBitraversable, but takes an Options argument.

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

    persistent Database.Persist.TH

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

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

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

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

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

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

  10. deriveViaOnLoc :: DynFlags -> SrcSpan

    ghc GHC

    No documentation available.

Page 4 of many | Previous | Next