[Haskell-cafe] Comments on Haskell 2010 Report

Julian Fleischer julian.fleischer at fu-berlin.de
Fri Jul 9 18:12:15 EDT 2010


Hi,

> 8. [...] Saying 0**0 is undefined seems reasonable,
> but why 0**y?
I agree on 0**y being 0 (not undefined), but why should 0**0 be undefined? x**0 := 1, by convention. Of course this is a still ongoing debate (regarding analysis of functions etc.), but the most usefull approach for /any/ programming language (and BTW for many mathematical proofs, too).

-Julian

-------------- next part --------------
A non-text attachment was scrubbed...
Name: smime.p7s
Type: application/pkcs7-signature
Size: 3633 bytes
Desc: not available
Url : http://www.haskell.org/pipermail/haskell-cafe/attachments/20100709/379572ea/smime.bin


More information about the Haskell-Cafe mailing list