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. hashWithSalt :: Hashable a => Int -> a -> Int

    classy-prelude-yesod ClassyPrelude.Yesod

    Return a hash value for the argument, using the given salt. The general contract of hashWithSalt is:

    • If two values are equal according to the == method, then applying the hashWithSalt method on each of the two values must produce the same integer result if the same salt is used in each case.
    • It is not required that if two values are unequal according to the == method, then applying the hashWithSalt method on each of the two values must produce distinct integer results. However, the programmer should be aware that producing distinct integer results for unequal values may improve the performance of hashing-based data structures.
    • This method can be used to compute different hash values for the same input by providing a different salt in each application of the method. This implies that any instance that defines hashWithSalt must make use of the salt in its implementation.
    • hashWithSalt may return negative Int values.

  2. sizeOfArray :: Storable a => Int -> a -> Int

    storable-record Foreign.Storable.FixedArray

    No documentation available.

  3. asTypeOf :: a -> a -> a

    base Prelude

    asTypeOf is a type-restricted version of const. It is usually used as an infix operator, and its typing forces its first argument (which is usually overloaded) to have the same type as the second.

  4. asTypeOf :: a -> a -> a

    base GHC.Base

    asTypeOf is a type-restricted version of const. It is usually used as an infix operator, and its typing forces its first argument (which is usually overloaded) to have the same type as the second.

  5. conditional :: a -> a -> a

    base GHC.IO.SubSystem

    Conditionally execute an action depending on the configured I/O subsystem. On POSIX systems always execute the first action. On Windows execute the second action if WINIO as active, otherwise fall back to the first action.

  6. (<!>) :: a -> a -> a

    base GHC.IO.SubSystem

    Infix version of conditional. posix ! windows == conditional posix windows

  7. caseWordSize_32_64 :: a -> a -> a

    bytestring Data.ByteString.Builder.Prim.Internal

    Select an implementation depending on bitness. Throw a compile time error if bitness is neither 32 nor 64.

  8. asTypeOf :: a -> a -> a

    hedgehog Hedgehog.Internal.Prelude

    asTypeOf is a type-restricted version of const. It is usually used as an infix operator, and its typing forces its first argument (which is usually overloaded) to have the same type as the second.

  9. asTypeOf :: a -> a -> a

    ghc GHC.Prelude.Basic

    No documentation available.

  10. asTypeOf :: a -> a -> a

    rio RIO.Prelude

    asTypeOf is a type-restricted version of const. It is usually used as an infix operator, and its typing forces its first argument (which is usually overloaded) to have the same type as the second.

Page 5 of many | Previous | Next