KennyTM~:
> Make "x in y" returns a bool and works for arrays.

That's something more useful than the sum of usefulness of opDispatch, opPow 
and opLength. You use it all the time in code, and in D it's even more useful 
than in Python because in D a small linear scan can be very fast. To do that in 
my dlibs I use the function isIn(item, items), where items can be an AA too of 
course.

Bye,
bearophile

Reply via email to