between and among: worth Phobosization?

bearophile bearophileHUGS at lycos.com
Mon Dec 16 15:19:40 PST 2013


Andrei Alexandrescu:

> Too much sophistication for too trivial work. One between would 
> be fine. Four would be probably overdoing it. So I'm retracting 
> my proposal for between.

Regarding "between", in Bugzilla I suggested to add "in" operator 
overloading to iota:

5 in iota(5, 12)

And elsewhere in Bugzilla I suggested to give the "[]" to iota:

5 in iota!"[]"(5, 12)

https://d.puremagic.com/issues/show_bug.cgi?id=11252
https://d.puremagic.com/issues/show_bug.cgi?id=10466

Bye,
bearophile


More information about the Digitalmars-d mailing list