Re:The Soft Side of Software
by tempodox on Saturday May 13, 2017 @05:42AM
(#14330148)
> ... prove that this type forms a monad.
How do I “prove” a type forms a monad? I only have to implement `lift` and `bind` with the correct behavior, and I have a monadic interface. Did I prove then that the type forms a monad?
How do I “prove” a type forms a monad? I only have to implement `lift` and `bind` with the correct behavior, and I have a monadic interface. Did I prove then that the type forms a monad?