Hoogle Search
Within LTS Haskell 24.52 (ghc-9.10.3)
Note that Stackage only displays results for the latest LTS and Nightly snapshot. Learn more.
rightIdentityOnElemWithEquality :: (a -> b -> a) -> (a -> a -> Bool) -> b -> a -> Boolgenvalidity-property Test.Validity.Property -
genvalidity-property Test.Validity.Property No documentation available.
antisymmetricOnElemsWithEquality :: (a -> a -> Bool) -> (a -> a -> Bool) -> a -> a -> Boolgenvalidity-property Test.Validity.Relations.Antisymmetry -
genvalidity-property Test.Validity.Relations.Antisymmetry No documentation available.
ineqToSubst :: Ineq -> Maybe CoreUnifyghc-typelits-natnormalise GHC.TypeLits.Normalise.Unify Give the smallest solution for an inequality
instantSolveIneq :: Word -> Ineq -> WriterT (Set CType) Maybe Boolghc-typelits-natnormalise GHC.TypeLits.Normalise.Unify Try to instantly solve an inequality by using the inequality solver using 1 <=? 1 ~ True as the given constraint.
solveIneq :: Word -> Ineq -> Ineq -> WriterT (Set CType) Maybe Boolghc-typelits-natnormalise GHC.TypeLits.Normalise.Unify Try to solve inequalities
solvedInEqSmallestConstraint :: [(Bool, Set a)] -> (Bool, Set a)ghc-typelits-natnormalise GHC.TypeLits.Normalise.Unify No documentation available.
subtractIneq :: (CoreSOP, CoreSOP, Bool) -> CoreSOPghc-typelits-natnormalise GHC.TypeLits.Normalise.Unify Subtract an inequality, in order to either:
- See if the smallest solution is a natural number
- Cancel sums, i.e. monotonicity of addition
subtractIneq (2*y <=? 3*x ~ True) = (-2*y + 3*x) subtractIneq (2*y <=? 3*x ~ False) = (-3*x + (-1) + 2*y)
-
A type class for approximate and exact equalilty comparisons and instances for common data types.