Distributing monadic(?) functions across dyadic functions

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
6987
Age (days ago)
6987
Last active (days ago)
0 comments
1 participants
participants (1)
-
tpledger@ihug.co.nz