[Haskell-cafe] Distributing monadic(?) functions across dyadic functions

tpledger at ihug.co.nz tpledger at ihug.co.nz
Mon Apr 3 17:54:31 EDT 2006

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.


- Tom

More information about the Haskell-Cafe mailing list