Tomek Sowiñski:

> If it's about compile-time, it can be done with template wizardry:
> 
> x in [1, 5, 7]  ->  x.in_!(1, 5, 7)

Or better, as a built in feature of arrays :-) But the asymmetry between 
literals and normal arrays is silly.

Bye,
bearophile

Reply via email to