Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revision Previous revision
Last revision Both sides next revision
maybe [2014/09/15 20:17]
nikolaj
maybe [2014/09/15 20:18]
nikolaj
Line 6: Line 6:
  
 instance ​ Monad Maybe  where instance ​ Monad Maybe  where
-    return x  =  Just x 
     (Just x) >>= k      = k x     (Just x) >>= k      = k x
     Nothing ​ >>= _      = Nothing     Nothing ​ >>= _      = Nothing
Link to graph
Log In
Improvements of the human condition