6th May 2022, 6:48 AM
(This post was last modified: 6th May 2022, 6:51 AM by .....|::|::::|.... Edited 2 times in total.)
TIL that
Code:
-- Haskell
(>>=): Maybe a -> (a -> Maybe b) -> Maybe b
Nothing >>= _ = Nothing
Just x >>= f = f x