> I keep wanting to say
> if (val in somearray) {
> }
Me too.
For example, in Python I can write
if val in ('off','disable','no')
and in D I have to write
if (val == "off" || val == "disable" || val == "no")
which is less readable (to me, at least).
--
Egor