
On 23.03.2014 19:25, Henning Thielemann wrote:
I found the infix operator names (^^) and (**) not very intuitive and defined (^-) and (^/) in NumericPrelude, in order to show, that the first one allows negative exponents and the second one allows fractional exponents. Unfortunately the first one looks like power function with negated exponent and I had no better idea for an identifier so far.
Ah, so x ^- 2 (or is it x ^- 2.0) is not the square root of x? Maybe you should change this identifier indeed! Maybe use ^+- instead. This looks a bit confusing, but ^- is outright misleading. Cheers, Andreas -- Andreas Abel <>< Du bist der geliebte Mensch. Department of Computer Science and Engineering Chalmers and Gothenburg University, Sweden andreas.abel@gu.se http://www2.tcs.ifi.lmu.de/~abel/