Nick Coghlan <[EMAIL PROTECTED]> wrote: ... > Perhaps something like: > > accepts_func( (def (a, b, c) to f(a) + o(b) - o(c)) )
Nice, except I think 'as' would be better than 'to'. 'as' should be a full keyword in 3.0 anyway (rather than a surprisingly-NOT-keyword like today), and "define something as somethingelse" seems marginally more readable to me than "define something to somethingelse" anyway. Alex -- http://mail.python.org/mailman/listinfo/python-list