+1 :) 


On Thu, Apr 17, 2014 at 1:29 PM, Jacques Carette <carette@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@haskell.org
http://www.haskell.org/mailman/listinfo/libraries