Add 'e' to Floating typeclass

Brent Yorgey byorgey at gmail.com
Sun Feb 17 15:30:46 UTC 2019


Because it would cause a shadowing warning with every program that ever
used the variable name 'e'.  This doesn't really seem worth it.

On Sat, Feb 16, 2019 at 11:14 PM chessai . <chessai1996 at gmail.com> wrote:

> We have the 'pi' constant in the floating typeclass and some trigonometric
> functions, as well as things like exp/log/expm1/log1p.
>
> Why not provide an 'e' constant?
>
> A default implementation could just be 'exp 1'.
> _______________________________________________
> Libraries mailing list
> Libraries at haskell.org
> http://mail.haskell.org/cgi-bin/mailman/listinfo/libraries
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.haskell.org/pipermail/libraries/attachments/20190217/6da76321/attachment.html>


More information about the Libraries mailing list