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.
hashWithSalt :: Hashable a => Int -> a -> Intclassy-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.
sizeOfArray :: Storable a => Int -> a -> Intstorable-record Foreign.Storable.FixedArray No documentation available.
-
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.
-
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.
-
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.
-
base GHC.IO.SubSystem Infix version of conditional. posix ! windows == conditional posix windows
caseWordSize_32_64 :: a -> a -> abytestring Data.ByteString.Builder.Prim.Internal Select an implementation depending on bitness. Throw a compile time error if bitness is neither 32 nor 64.
-
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.
-
ghc GHC.Prelude.Basic No documentation available.
-
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.