Hoogle Search
Within LTS Haskell 24.65 (ghc-9.10.3)
Note that Stackage only displays results for the latest LTS and Nightly snapshot. Learn more.
identityOnArbitrary :: (Show a, Eq a, Arbitrary a) => (a -> a -> a) -> a -> Propertygenvalidity-property Test.Validity.Operations.Identity identityOnArbitrary ((*) :: Int -> Int -> Int) 1
identityOnArbitrary ((+) :: Int -> Int -> Int) 0
identityOnGen :: (Show a, Eq a) => (a -> a -> a) -> a -> Gen a -> (a -> [a]) -> Propertygenvalidity-property Test.Validity.Operations.Identity idempotent :: (Show a, Eq a, GenValid a) => (a -> a) -> Propertygenvalidity-property Test.Validity.Property No documentation available.
idempotentOnArbitrary :: (Show a, Eq a, Arbitrary a) => (a -> a) -> Propertygenvalidity-property Test.Validity.Property id is idempotent for any type:
idempotentOnArbitrary (id :: Int -> Int)
const, given any input, is idempotent for any type as well:\int -> idempotentOnArbitrary (const int :: Int -> Int)
idempotentOnGen :: (Show a, Eq a) => (a -> a) -> Gen a -> (a -> [a]) -> Propertygenvalidity-property Test.Validity.Property No documentation available.
identity :: (Show a, Eq a, GenValid a) => (a -> a -> a) -> a -> Propertygenvalidity-property Test.Validity.Property identity ((*) :: Int -> Int -> Int) 1
identity ((+) :: Int -> Int -> Int) 0
identityOnArbitrary :: (Show a, Eq a, Arbitrary a) => (a -> a -> a) -> a -> Propertygenvalidity-property Test.Validity.Property identityOnArbitrary ((*) :: Int -> Int -> Int) 1
identityOnArbitrary ((+) :: Int -> Int -> Int) 0
identityOnGen :: (Show a, Eq a) => (a -> a -> a) -> a -> Gen a -> (a -> [a]) -> Propertygenvalidity-property Test.Validity.Property identicalIEEE :: IEEE a => a -> a -> Boolieee754 Numeric.IEEE Return True if two values are exactly (bitwise) equal.
identity :: Num a => Int -> Matrix amatrix Data.Matrix O(rows*cols). Identity matrix of the given order.
identity n = n 1 ( 1 0 ... 0 0 ) 2 ( 0 1 ... 0 0 ) ( ... ) ( 0 0 ... 1 0 ) n ( 0 0 ... 0 1 )