[Python-Dev] accumulator display syntax

Greg Ewing greg at cosc.canterbury.ac.nz
Wed Oct 22 23:37:11 EDT 2003

> >     pipe = source
> >     for p in predicates:
> >         pipe = e for e in pipe if ^p(e)
> Bah.  Arbitrary semantics bound to line-noise characters.  Guess what
> that reminds me of. :-)

If anyone can think of anything less line-noisy, I'm
open to suggestions. The important thing is the idea of
explicitly capturing an enclosing binding, however it's

Greg Ewing, Computer Science Dept, +--------------------------------------+
University of Canterbury,	   | A citizen of NewZealandCorp, a	  |
Christchurch, New Zealand	   | wholly-owned subsidiary of USA Inc.  |
greg at cosc.canterbury.ac.nz	   +--------------------------------------+

More information about the Python-Dev mailing list