From bddc8df09595a39adc92c733754448bc1bce5861 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=C5=81ukasz=20Niemier?= Date: Sat, 14 Sep 2024 22:29:59 +0200 Subject: [PATCH] docs: add link to capture syntax This should provide a link for a reader to investigate more about that new syntax shown in the example. --- lib/elixir/pages/getting-started/recursion.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/elixir/pages/getting-started/recursion.md b/lib/elixir/pages/getting-started/recursion.md index 68877e76b73..d6406a8a4b1 100644 --- a/lib/elixir/pages/getting-started/recursion.md +++ b/lib/elixir/pages/getting-started/recursion.md @@ -128,7 +128,7 @@ iex> Enum.map([1, 2, 3], fn x -> x * 2 end) [2, 4, 6] ``` -Or, using the capture syntax: +Or, using the [capture syntax](`Kernel.SpecialForms.&/1`): ```elixir iex> Enum.reduce([1, 2, 3], 0, &+/2)