extend "in" to all array types

pplantinga plantinga.peter at gmail.com
Wed Jan 15 07:30:33 PST 2014


In python, I really like the ability to check if an element is in 
an array:

if x in array:
   # do something

D has this, but only for associative arrays. Is there any chance 
we could extend this to every kind of array?


More information about the Digitalmars-d mailing list