Monad Laws
Standard monad laws.
I acknowledge that stdpp/base.v
may not be the best home for the main typeclasses.
Merge request reports
Activity
Thanks for the MR. But I have doubts whether we want to have this:
- I think this MR is incompatible with !555. We will have
list
as non-applied argument of theLawful
classes, so the universes oflist
will again be fixed. - For many monads we don't have the laws up to Leibniz equality
=
(saylistset
, state, reader), but only up to some equivalence relation. This means we need to parametrize the class byEquiv
and andProper
fields for the operations.
- I think this MR is incompatible with !555. We will have
Please register or sign in to reply