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.
assertEqual :: (Eq a, Show a, HasCallStack) => String -> a -> a -> Assertiontasty-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.
-
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.)
assertEqual :: (HasCallStack, Eq a, Show a) => String -> a -> a -> AssertionHUnit 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.
assertEqual :: (HasCallStack, Eq a, Show a) => String -> a -> a -> AssertionHUnit 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.
frequency :: HasCallStack => [(Int, Gen a)] -> Gen atasty-quickcheck Test.Tasty.QuickCheck Chooses one of the given generators, with a weighted random distribution. The input list must be non-empty.
seq# :: a -> State# d -> (# State# d, a #)ghc-prim GHC.Prim No documentation available.
-
Comparing underlying pointers for equality. Use GHC.Exts from the base package instead of importing this module directly.
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.
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#.
reallyUnsafePtrEquality# :: a_levpoly -> b_levpoly -> Int#ghc-prim GHC.PrimopWrappers No documentation available.