Created
November 28, 2022 10:43
-
-
Save dminuoso/04a8f69c6950babafa1c0ad869213e56 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
:{ | |
my_filter f (x:xs) = if f x | |
then x:my_filter f xs | |
else my_filter f xs | |
my_filter f [] = [] | |
:} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment