Is there a function to filter a list in the standard library? i could not find anything
You can use List.keepIf: https://www.roc-lang.org/builtins/List#keepIf
List.keepIf
Got it, thanks!
Last updated: Oct 15 2026 at 17:56 UTC