mirror of
https://github.com/correl/elm.git
synced 2024-12-23 11:15:00 +00:00
7 lines
173 B
Text
7 lines
173 B
Text
module AccumulateExample where
|
|
|
|
accumulate : (a -> b) -> List a -> List b
|
|
accumulate func input = List.map func input
|
|
-- case input of
|
|
-- [] -> []
|
|
-- otherwise ->
|