title: Is there an Elixir function which is equivalent to Python's itertools.accumulate?
body: <p>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,</p>
  <pre><code>iex&gt; accumulate([1,3,7], &amp;Kernel.+)
  [1, 4, 11]
  </code></pre>
  <p>For an explanation, it's equal to <code>[1, 1+2, 1+4+7]</code>. Does such a function exist in Elixir's standard library?</p>