http://code.activestate.com/recipes/384122-infix-operators/
The code there overrides | to construct arbitrary operators that are used by wrapping an object in |, like:
a |x| b