On 9/3/12 8:28 AM, Jacob Carlborg wrote:
On 2012-09-02 17:29, Dmitry Olshansky wrote:
I wouldn't question utility but rather the implementation of the above.
One thing I'd love to see is thing like
handful!("struct", "class", "union")
that does pre-process contents at compile time to speed up search.
In other words it's possible to not only come close to a series of a ==
"struct" || a == "class" || a == "union" but surpass it.
Sounds like an enhanced tuple?
Tuple is the representation of an interval but that's where commonality
stops.
Andrei