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