Use function rather than solution in intOrLengthEven tests.
This commit is contained in:
parent
489d235be1
commit
bf94e2bbee
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
|
-- IntOrIsNot False
|
||||||
--
|
--
|
||||||
-- >>> over intOrP (even . length) (IntOrIsNot "abcd")
|
-- >>> intOrLengthEven (IntOrIsNot "abcd")
|
||||||
-- IntOrIsNot True
|
-- IntOrIsNot True
|
||||||
--
|
--
|
||||||
-- >>> over intOrP (even . length) (IntOrIs 10)
|
-- >>> intOrLengthEven (IntOrIs 10)
|
||||||
-- IntOrIs 10
|
-- IntOrIs 10
|
||||||
intOrLengthEven ::
|
intOrLengthEven ::
|
||||||
IntOr [a]
|
IntOr [a]
|
||||||
|
|
Loading…
Reference in a new issue