▲ | frumplestlatz 4 days ago | ||||||||||||||||||||||||||||||||||||||||
Those three laws are the mathematical definition. Yes, they’re encoded in Haskell, but they’re the same monad laws from category theory. | |||||||||||||||||||||||||||||||||||||||||
▲ | charcircuit 4 days ago | parent [-] | ||||||||||||||||||||||||||||||||||||||||
Haskell doesn't encode them. And other concepts can be given a mathematical definition if someone wanted to formalize them. | |||||||||||||||||||||||||||||||||||||||||
|