[Haskell-cafe] Comments on Haskell 2010 Report

C. McCann cam at uptoisomorphism.net
Mon Jul 12 20:40:02 EDT 2010


On Sat, Jul 10, 2010 at 6:40 PM, Julian Fleischer
<julian.fleischer at fu-berlin.de> wrote:
> I guess I'm actually messing things up using the word "natural" - how can "expand the multiplication of zero with itself zero times" be natural?

How could it not be?

That is to say, what initial value would make sense for folding (*)
over a list of numbers to compute the product?

- C.

p.s. -- [[mconcat]] = [[foldr mappend mempty]]


More information about the Haskell-Cafe mailing list