Last active
January 30, 2017 19:36
-
-
Save deque-blog/0535eab99eeb50deb4d0fafc2221f751 to your computer and use it in GitHub Desktop.
This file contains 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
data Result | |
= Success -- In case of success, no additional information | |
| Failure { | |
seed :: Int, -- The seed used to generate the counter example | |
counterExample :: [String] -- The counter example (failing inputs to string) | |
} deriving (Show, Eq, Ord) -- Useful instances to print and compare Results |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment