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 18 2025 at 12:13 UTC