Skip to content

Commit f7e1380

Browse files
authored
Update lib/elixir/lib/enum.ex
1 parent 78fe023 commit f7e1380

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

lib/elixir/lib/enum.ex

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2903,6 +2903,7 @@ defmodule Enum do
29032903
Passes the given `acc` as the second argument for the `fun` with the first element.
29042904
29052905
## Examples
2906+
29062907
iex> Enum.scan(["a", "b", "c", "d", "e"], "_", &(&1 <> String.first(&2)))
29072908
["a_", "ba", "cb", "dc", "ed"]
29082909

0 commit comments

Comments
 (0)