
26 Oct
2009
26 Oct
'09
12:16 p.m.
On Oct 26, 2009, at 01:00 , michael rice wrote:
I looked for an exponential operator and grabbed the first one I found. In the Prelude (**) is under the heading Methods, while (^^) is under the heading Numeric Functions. Reasoning?
It's correct if perhaps not ideal for someone who doesn't think in terms of Haskell. (**) is a member of a typeclass, whereas (^^) is an independent function; you are expected to check that the typeclass is appropriate for what you're doing. -- brandon s. allbery [solaris,freebsd,perl,pugs,haskell] allbery@kf8nh.com system administrator [openafs,heimdal,too many hats] allbery@ece.cmu.edu electrical and computer engineering, carnegie mellon university KF8NH