Last active
February 1, 2017 22:19
-
-
Save deque-blog/0d7e5bd000847a647b599485e018632d 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
instance Monoid Result where | |
mempty = Success | |
mappend lhs@Failure{} _ = lhs | |
mappend _ rhs = rhs |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment