Is there an Elixir function which is equivalent to Python's itertools.accumulate?

后端 未结 0 1084
慢半拍i
慢半拍i 2020-12-29 10:25

I would like to use a function that takes an enumerable and a function and does the same thing as Python\'s itertools.accumulate. For example,

iex> accumul         


        
相关标签:
回答
  • 消灭零回复
提交回复
热议问题