AH
Size: a a a
AH
МП
M<'a> -> ('a -> M<'b>) -> M<'b>
. Я понял?'a -> M<'a>
, я получу свою монаду или нет?AH
AH
'a -> M<'a>
, я получу свою монаду или нет?AH
AH
МП
AH
AH
AH
AH
AH
МП
МП
МП
AH
Law 1: return x >>= f behaves the same as f x.
Law 2: m >>= return behaves the same as m.
Law 3: (m >>= f) >>= g behaves the same as m >>= (fun x -> f x >>= g).