Created
September 17, 2014 22:09
-
-
Save syntacticsugar/2c9dfcb81fd4062ae8ce to your computer and use it in GitHub Desktop.
tutorial from Nicky Bicky
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
type Maybe a = Nothing | Just a | |
type Option a = None | Some a | |
type Result a = Failure | Success a | |
max [] ----> Failure | |
max [1,2,3] -----> Success 3 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment