Hoogle Search

Within LTS Haskell 24.4 (ghc-9.10.2)

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

  1. hashFinalizePrefix :: (HashAlgorithmPrefix a, ByteArrayAccess ba) => Context a -> ba -> Int -> Digest a

    crypton Crypto.Hash

    Update the context with the first N bytes of a bytestring and return the digest. The code path is independent from N but much slower than a normal hashUpdate. The function can be called for the last bytes of a message, in order to exclude a variable padding, without leaking the padding length. The begining of the message, never impacted by the padding, should preferably go through hashUpdate for better performance.

  2. hashPrefix :: (ByteArrayAccess ba, HashAlgorithmPrefix a) => ba -> Int -> Digest a

    crypton Crypto.Hash

    Hash the first N bytes of a bytestring, with code path independent from N.

  3. hashPrefixWith :: (ByteArrayAccess ba, HashAlgorithmPrefix alg) => alg -> ba -> Int -> Digest alg

    crypton Crypto.Hash

    Run the hashPrefix function but takes an explicit hash algorithm parameter

  4. class HashAlgorithm a => HashAlgorithmPrefix a

    crypton Crypto.Hash.Algorithms

    Hashing algorithms with a constant-time implementation.

  5. generatePrefix :: MonadRandom m => Int -> m Integer

    crypton Crypto.Number.Generate

    Generate a number for a specific size of bits.

    • generateParams n Nothing False generates bytes and uses the suffix of n bits
    • generatePrefix n generates bytes and uses the prefix of n bits

  6. InfixConstructor :: ConstructorVariant

    th-abstraction Language.Haskell.TH.Datatype

    Constructor without field names that is declared infix

  7. reifyFixityCompat :: Name -> Q (Maybe Fixity)

    th-abstraction Language.Haskell.TH.Datatype

    Backwards compatibility wrapper for Fixity lookup. In template-haskell-2.11.0.0 and later, the answer will always be Just of a fixity. Before template-haskell-2.11.0.0 it was only possible to determine fixity information for variables, class methods, and data constructors. In this case for type operators the answer could be Nothing, which indicates that the answer is unavailable.

  8. resolveInfixT :: Type -> Q Type

    th-abstraction Language.Haskell.TH.Datatype

    Resolve any infix type application in a type using the fixities that are currently available. Starting in `template-haskell-2.11` types could contain unresolved infix applications.

  9. showFixity :: Fixity -> String

    th-abstraction Language.Haskell.TH.Datatype

    Render a Fixity as it would appear in Haskell source. Example: infixl 5

  10. showFixityDirection :: FixityDirection -> String

    th-abstraction Language.Haskell.TH.Datatype

    Render a FixityDirection like it would appear in Haskell source. Examples: infixl infixr infix

Page 59 of many | Previous | Next