suggestion: use lazy pattern matching for Monoid instances of tuples

John Wiegley johnw at
Mon Aug 19 06:38:43 CEST 2013

>>>>> Edward Kmett <ekmett at> writes:

> As a result I'm -1 on this proposal.

> That said, some kind of package that provides a well-reasoned
> Data.Tuple.Lazy data type could see use, as using it would imply consent to
> those semantics.

-1 to changing the product tuple instance, and +1 to moving those semantics
into Data.Tuple.Lazy.

John Wiegley
FP Complete                         Haskell tools, training and consulting               johnw on #haskell/

More information about the Libraries mailing list