On Wednesday, 13 August 2014 at 21:22:31 UTC, Nordlöw wrote:
    return range.find(a => a != element);
What have I done wrong?

You forgot the !, making the predicate a function argument. It should be

    return range.find!(a => a != element);

- Jonathan M Davis

Reply via email to