On 2016-06-20, Phil Boutros <ph...@philb.ca> wrote: > Steven D'Aprano <st...@pearwood.info> wrote: >> >> Quote: >> >> "Why do we have to write x!=y then argue about the status of x<>y when we >> can simply write x≠y?" >> >> "Simply"? >> >> This is how I write x≠y from scratch: ><snip long, arduous process> > > To wrap this back full circle, here's how it's done on vim: > > Ctrl-K, =, ! (last two steps interchangeable). Done. Result: ≠
On any non-broken X11 system it's: <compose> = / I generally configure my system so that the right-hand "windows" key is <compose>. If I used it a lot, I'd probably configure the left hand one to be the same. > It's still probably a horrible idea to have it in a programming > language, though, unless the original behaviour still also works. Definitely. And we should allow overbar for logical inversion. I never did figure out the X11 compose sequence for the XOR symbol... -- Grant Edwards grant.b.edwards Yow! Somewhere in DOWNTOWN at BURBANK a prostitute is gmail.com OVERCOOKING a LAMB CHOP!! -- https://mail.python.org/mailman/listinfo/python-list