Skip to content

Instantly share code, notes, and snippets.

@michelrandahl

michelrandahl/Option0.idr

Last active Mar 12, 2017
Embed
What would you like to do?
-- Attempting to implement my own Maybe monad using the Option type naming from F#
data Option x = None
| Some x
Monad Option where
(>>=) = ?stuff
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment