Hoogle Search
Within LTS Haskell 24.31 (ghc-9.10.3)
Note that Stackage only displays results for the latest LTS and Nightly snapshot. Learn more.
equating :: Eq a => (b -> a) -> b -> b -> BoolCabal Distribution.Simple.Utils No documentation available.
equalPred :: Type -> Type -> Predth-abstraction Language.Haskell.TH.Datatype Construct an equality constraint. The implementation of Pred varies across versions of Template Haskell.
eqLe :: forall (a :: Nat) (b :: Nat) . (a ~ b) :- (a <= b)constraints Data.Constraint.Nat No documentation available.
eqSpec :: (Show a, Eq a, Typeable a, GenValid a) => Specgenvalidity-hspec Test.Validity Standard test spec for properties of Eq instances for valid values Example usage:
eqSpec @Int
eqSpecOnArbitrary :: (Show a, Eq a, Typeable a, Arbitrary a) => Specgenvalidity-hspec Test.Validity Standard test spec for properties of Eq instances for arbitrary values Example usage:
eqSpecOnArbitrary @Int
eqSpecOnGen :: (Show a, Eq a, Typeable a) => Gen a -> String -> (a -> [a]) -> Specgenvalidity-hspec Test.Validity Standard test spec for properties of Eq instances for values generated by a given generator (and name for that generator). Example usage:
eqSpecOnGen ((* 2) <$> genValid @Int) "even"
equivalent :: (Show a, GenValid a, Show b, Eq b) => (a -> b) -> (a -> b) -> Propertygenvalidity-hspec Test.Validity No documentation available.
-
genvalidity-hspec Test.Validity No documentation available.
-
genvalidity-hspec Test.Validity No documentation available.
equivalentOnArbitrary :: (Show a, Arbitrary a, Show b, Eq b) => (a -> b) -> (a -> b) -> Propertygenvalidity-hspec Test.Validity equivalentOnArbitrary ((* 2) . (+ 1)) ((+ 2) . (* 2) :: Int -> Int)