Skip to content

Instantly share code, notes, and snippets.

@syntacticsugar
Created September 17, 2014 22:09
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
Star You must be signed in to star a gist
Embed
What would you like to do?
tutorial from Nicky Bicky
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