PEP309 - built-in curry class (revisions)

Peter Harris scav at blueyonder.co.uk
Fri Feb 28 10:10:18 EST 2003


Erik Max Francis <max at alcyone.com> wrote in message news:<3E5F304D.7743C953 at alcyone.com>...
> Peter Harris wrote:
> 
> > Maybe I got confused. I thought the notation (F o G)(x) in maths
> > meant the result of applying F to x and then applying G to that.
> > Am I just thinking of UNIX pipes or something?
> > 
> > Somebody with more clue than me: please confirm one way or the other?
> 
> What's confusing you is the order varies.  Sometimes (f circle g) means
> f(g(x)), sometimes it means g(f(x)) [where circle is the function
> composition operator].  Which one it means is dependent on the
> conventions used by the writer, so you need to check first.

Oh well, we could go with the f(g(x)) convention from the Mathworld entry.
But it's not even part of the PEP (yet?) so, no debate from me.


Peter




More information about the Python-list mailing list