
March 20, 2014
9:04 p.m.
On Thu, Mar 20, 2014 at 4:14 PM, Ron Adam <ron3200@gmail.com> wrote:
def foo(...): symbol b
s = 'a' b 'c'
Actually makes me think of decorators, which means that you wouldn't even need new tokens or keywords: from functools import make_operator bop = make_operator(b) s = 'a' bop 'b' class Ops: @make_operator def cat(left, right): return left + right t = 'a' Ops.cat 'b' It reduces the grit, but also reduces certain kinds of obviousness. bwm