Haskell Foldable Wast

John Wiegley johnw at newartisans.com
Wed Feb 17 19:03:45 UTC 2016

>>>>> amindfv  <amindfv at gmail.com> writes:

> maximum(99, 0) = 0

I don't quite understand; are you saying you expect Foldable to treat a tuple
as a 2-element list?  If it did, would that better or worse?

And if it should, then what would you expect this to mean:

    maximum("Hello", 0)

Or do you want both to be errors?

John Wiegley                  GPG fingerprint = 4710 CF98 AF9B 327B B80F
http://newartisans.com                          60E1 46C4 BD1A 7AC1 4BA2

More information about the Libraries mailing list