FutureLearn uses cookies to enhance your experience of the website. All but strictly necessary cookies are currently disabled for this browser. Turn on JavaScript to exercise your cookie preferences for all non-essential cookies. You can read FutureLearn's Cookie policy here.
Get 30% off one whole year of Unlimited learning. Subscribe for just £249.99 £174.99. T&Cs apply
bind
return
To be an actual monadic type, the implementations ofbind and return must conform to the three monad laws.
The Maybe monad illustrates how to create a simple monad and demonstrates its benefits.
Maybe
Create an account to receive our newsletter, course recommendations and promotions.