
3 Apr
2006
3 Apr
'06
5:54 p.m.
Nils Anders Danielsson wrote:
A function like this has been suggested for the standard libraries a couple of times before. Someone suggested the name "on", which I quite like:
(*) `on` f = \x y -> f x * f y
Thanks! I always wanted to be someone. :-) Here's the link. http://www.haskell.org//pipermail/haskell-cafe/2004-December/007917.html - Tom