Merge pull request #16 from ajmcmiddlin/fix-intOrLengthEven-test
Use function rather than solution in intOrLengthEven tests.
This commit is contained in:
commit
c137586b23
1 changed files with 3 additions and 3 deletions
|
@ -783,13 +783,13 @@ intOrP =
|
|||
|
||||
-- |
|
||||
--
|
||||
-- >> over intOrP (even . length) (IntOrIsNot "abc")
|
||||
-- >> intOrLengthEven (IntOrIsNot "abc")
|
||||
-- IntOrIsNot False
|
||||
--
|
||||
-- >>> over intOrP (even . length) (IntOrIsNot "abcd")
|
||||
-- >>> intOrLengthEven (IntOrIsNot "abcd")
|
||||
-- IntOrIsNot True
|
||||
--
|
||||
-- >>> over intOrP (even . length) (IntOrIs 10)
|
||||
-- >>> intOrLengthEven (IntOrIs 10)
|
||||
-- IntOrIs 10
|
||||
intOrLengthEven ::
|
||||
IntOr [a]
|
||||
|
|
Loading…
Reference in a new issue