Ok, I got it working with

points.linearRemove(find!(p => p.x > 7)(points[]).take(1));

I thought takeOne would work and didn't thought of trying take(1), but I guess not. I also learned that containers don't accept filter results as a range so no problem, I can accept that. Still, feels quite complicated. I hope it's worth it in the long run :)

Reply via email to