Monads: Difference between revisions

From Rosetta Code
Content added Content deleted
(Created Monads page)
 
(redirect to Category:Monads)
 
(25 intermediate revisions by 5 users not shown)
Line 1: Line 1:
#REDIRECT [[:Category:Monads]]
Demonstrate in your programming language the following:

1. Construct a Monad (preferably the Option/Maybe Monad)
2. Make two functions, each which take a number and return a wrapped number, and bind the two functions
3. Retrieve the result of calling the result of the bind

Latest revision as of 03:29, 1 February 2016

Redirect to: