by Peaker · 8y ago · 0 comments
instance Monad Maybe where return = Just Nothing >>= _ = Nothing Just x >>= f = f x