[Haskell-cafe] Data.Foldable.all and empty list
tonymorris at gmail.com
Tue Sep 29 22:54:12 UTC 2015
All the spiders in my hand are purple. There are no spiders in my hand.
On 30/09/15 07:33, Lana Black wrote:
> Is there any particular reason why the 'all' function returns True when
> supplied with an empty list (or any other foldable)? I'm aware that it
> is implemented via All monoid instance, my question is whether this
> behaviour is intentional or it can be considered a bug.
> Haskell-Cafe mailing list
> Haskell-Cafe at haskell.org
More information about the Haskell-Cafe