Zulip Chat Archive

Stream: Is there code for X?

Topic: Remove all elements satisfying P from a list


Vivek Rajesh Joshi (May 12 2024 at 07:55):

Is there a function to remove all elements that satisfy a certain proposition from a list? I'm unable to get anything for loogle or moogle, if anyone shows me how to search for this on these platforms that too would work.

Joachim Breitner (May 12 2024 at 07:59):

List.filter with the condition negated?

Vivek Rajesh Joshi (May 12 2024 at 10:26):

Thanks, I'll try it out


Last updated: May 02 2025 at 03:31 UTC