Guido van Rossum <guido@python.org> writes: > > 2r/3 would be nicer IMO. > > Or 2/3r. (The r binds only to the 3, but of course the binary > operator rules kick in with the same effect.) > > Frankly, this is the only sane notation for rationals I've seen so far > in this discussion. I liked 2r/3 because it gives the sense that r/ is the rational division operator, where // is the whatever-the-hell-it-is division operator. I don't know if it works in the grammar to be able to say x r/ y though. Does it? -- David Abrahams * Boost Consulting dave@boost-consulting.com * http://www.boost-consulting.com
RetroSearch is an open source project built by @garambo | Open a GitHub Issue
Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo
HTML:
3.2
| Encoding:
UTF-8
| Version:
0.7.4