Last active
May 3, 2019 06:58
-
-
Save useronym/bb8caf725ce75ea7fdf17b1371cd388c 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
case (f, g, h) of | |
(Just a, _, _) -> doActionA a | |
(_, Just b, _) -> doActionB b | |
(_, _, Just c) -> doActionC c | |
Nothing -> error "" |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment