RosettaCodeData/Task/Higher-order-functions/Clean/higher-order-functions-1.clean
2023-07-01 13:44:08 -04:00

2 lines
48 B
Text

map f [x:xs] = [f x:map f xs]
map f [] = []