Well, * My reluctance to change the draft H98 report is rising sharply. * I don't think the H98 report has ever had laws about mzero etc. * And the whole laws business is flaky because people can and do make instances of Monad that don't obey the laws. * Lastly, where does one stop?
Still, I have no concrete objection to adding the four "laws" below to the Monad library spec, with the same vague status as the other laws mentioned in the report. Comments, anyone? Even if the consensus is to add these four lines, I'm not going to reset the clock. I'm going to freeze in early July if nothing substantial arises before then. Simon | -----Original Message----- | From: Jon Fairbairn [mailto:[EMAIL PROTECTED]] | Sent: 20 June 2002 16:27 | To: Simon Peyton-Jones | Subject: Library report, monad zero laws | | | The old report used to include | | m >> zero = zero | zero >>= m = zero | m ++ zero = m | zero ++ m = m | | after the other monad laws. Now mzero and mplus are in the | library, shouldn't there be some mention of these laws there? | I'd be particularly keen to see a remark about | | _|_ >> zero | | inevitably being _|_ | | Cheers, | | Jón | | | | -- | Jón Fairbairn | [EMAIL PROTECTED] | 31 Chalmers Road | [EMAIL PROTECTED] | Cambridge CB1 3SZ +44 1223 570179 (after 14:00 | only, please!) | | | _______________________________________________ Haskell mailing list [EMAIL PROTECTED] http://www.haskell.org/mailman/listinfo/haskell