Proposal: Add log1p and expm1 to GHC.Float.Floating
Carter Schonwald
carter.schonwald at gmail.com
Thu Apr 17 18:08:52 UTC 2014
+1 :)
On Thu, Apr 17, 2014 at 1:29 PM, Jacques Carette <carette at mcmaster.ca>wrote:
> On 14-04-17 01:15 PM, Edward Kmett wrote:
>
> log1p and expm1 are C standard library functions that are important for
> work with exponentials and logarithms.
>
> I propose adding them to the Floating class where it is defined in
> GHC.Float.
>
> We do not have to export these from Prelude. My knee-jerk reaction is
> that we probably shouldn't. The names are kind of awful, but are standard
> across the rest of the industry. We already have a precedent of not
> exporting clutter in the classes in the existing Data.Functor containing
> (<$), but it not currently coming into scope from the Prelude.
>
>
> +1 to this proposal as a whole.
>
> Jacques
>
> _______________________________________________
> Libraries mailing list
> Libraries at haskell.org
> http://www.haskell.org/mailman/listinfo/libraries
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.haskell.org/pipermail/libraries/attachments/20140417/d1b9e967/attachment-0001.html>
More information about the Libraries
mailing list