Created
July 25, 2019 09:17
-
-
Save zarinfam/ce0f63b5602afea86b94f6d8268eafbf to your computer and use it in GitHub Desktop.
Created with Copy to Gist
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
| getIntOr0 :: Maybe Int -> Int | |
| getIntOr0 = fromMaybe 0 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment