feat[core]: Function Property: Argument modification
This commit is contained in:
parent
a38a20a546
commit
c78ed4ac90
12 changed files with 138 additions and 3 deletions
5
test/Test/QuickCheck/Isomorphic.hs
Normal file
5
test/Test/QuickCheck/Isomorphic.hs
Normal file
|
@ -0,0 +1,5 @@
|
|||
{-# LANGUAGE Safe #-}
|
||||
module Test.QuickCheck.Isomorphic (isomorphic) where
|
||||
|
||||
isomorphic :: Eq a => (t -> a) -> (t -> a) -> t -> Bool
|
||||
isomorphic f g x = f x == g x
|
Loading…
Add table
Add a link
Reference in a new issue