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. assertEqual :: (Eq a, Show a, HasCallStack) => String -> a -> a -> Assertion

    tasty-hunit Test.Tasty.HUnit

    Asserts that the specified actual value is equal to the expected value. The output message will contain the prefix, the expected value, and the actual value. If the prefix is the empty string (i.e., ""), then the prefix is omitted and only the expected and actual values are output.

  2. ptrEq :: a -> a -> Bool

    unordered-containers Data.HashMap.Internal

    Check if two the two arguments are the same value. N.B. This function might give false negatives (due to GC moving objects.)

  3. assertEqual :: (HasCallStack, Eq a, Show a) => String -> a -> a -> Assertion

    HUnit Test.HUnit.Base

    Asserts that the specified actual value is equal to the expected value. The output message will contain the prefix, the expected value, and the actual value. If the prefix is the empty string (i.e., ""), then the prefix is omitted and only the expected and actual values are output.

  4. assertEqual :: (HasCallStack, Eq a, Show a) => String -> a -> a -> Assertion

    HUnit Test.HUnit.Lang

    Asserts that the specified actual value is equal to the expected value. The output message will contain the prefix, the expected value, and the actual value. If the prefix is the empty string (i.e., ""), then the prefix is omitted and only the expected and actual values are output.

  5. frequency :: HasCallStack => [(Int, Gen a)] -> Gen a

    tasty-quickcheck Test.Tasty.QuickCheck

    Chooses one of the given generators, with a weighted random distribution. The input list must be non-empty.

  6. seq# :: a -> State# d -> (# State# d, a #)

    ghc-prim GHC.Prim

    No documentation available.

  7. module GHC.Prim.PtrEq

    Comparing underlying pointers for equality. Use GHC.Exts from the base package instead of importing this module directly.

  8. reallyUnsafePtrEquality :: a -> a -> Int#

    ghc-prim GHC.Prim.PtrEq

    Compare the underlying pointers of two values for equality. Returns 1 if the pointers are equal and 0 otherwise. The two values must be of the same type, of kind Type. See also reallyUnsafePtrEquality#, which doesn't have such restrictions.

  9. unsafePtrEquality# :: forall (a :: UnliftedType) (b :: UnliftedType) . a -> b -> Int#

    ghc-prim GHC.Prim.PtrEq

    Compare the underlying pointers of two unlifted values for equality. This is less dangerous than reallyUnsafePtrEquality, since the arguments are guaranteed to be evaluated. This means there is no risk of accidentally comparing a thunk. It's however still more dangerous than e.g. sameArray#.

  10. reallyUnsafePtrEquality# :: a_levpoly -> b_levpoly -> Int#

    ghc-prim GHC.PrimopWrappers

    No documentation available.

Page 141 of many | Previous | Next