The law harness: hand it your type's unit and an equality, get back the
functor and monad laws as runnable assertions. The constraint is the
entry fee — your type must already be the capabilities it claims. The
shipped containers prove themselves with it in their own suites; a type
you mint yourself proves its laws the same way.
The law harness: hand it your type's unit and an equality, get back the functor and monad laws as runnable assertions. The constraint is the entry fee — your type must already be the capabilities it claims. The shipped containers prove themselves with it in their own suites; a type you mint yourself proves its laws the same way.