Last active
February 8, 2017 14:08
-
-
Save deque-blog/830e2fb84297b5bd2acf7a1543f75c54 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
findFailing :: [a] -> (a -> Result) -> Maybe (a, Result) | |
findFailing smaller runSub = | |
let results = map runSub smaller | |
in find (isFailure . snd) (zip smaller results) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment