On Saturday, 25 January 2014 at 10:15:30 UTC, Peter Alexander wrote:

You always want the overload.

If this works:

    contains("hello", "el");

then this should work:

    contains([1, 2, 3, 4, 5], [2, 3]);

Special cases are pure evil. There's nothing special about strings in this case.

I agree. Since strings are just a kind of array, it would be stupid to not allow the above.

--
/Jacob Carlborg

Reply via email to