Skip to content

Commit 05d9735

Browse files
authored
Docs: add link to capture syntax (#13828)
This should provide a link for a reader to investigate more about that new syntax shown in the example.
1 parent 400ed5d commit 05d9735

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

lib/elixir/pages/getting-started/recursion.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -128,7 +128,7 @@ iex> Enum.map([1, 2, 3], fn x -> x * 2 end)
128128
[2, 4, 6]
129129
```
130130

131-
Or, using the capture syntax:
131+
Or, using the [capture syntax](`Kernel.SpecialForms.&/1`):
132132

133133
```elixir
134134
iex> Enum.reduce([1, 2, 3], 0, &+/2)

0 commit comments

Comments
 (0)