From 4541c398a8d6fbc2991c6ffae5aa982812032554 Mon Sep 17 00:00:00 2001 From: Angelika Tyborska Date: Sat, 25 May 2024 13:39:07 +0200 Subject: [PATCH 1/2] Exchange dead link for 'with' --- concepts/with/links.json | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/concepts/with/links.json b/concepts/with/links.json index 1ac3ab0ee..a5a8760e8 100644 --- a/concepts/with/links.json +++ b/concepts/with/links.json @@ -4,8 +4,8 @@ "description": "Getting Started guide - With" }, { - "url": "http://learningelixir.joekain.com/learning-elixir-with/", - "description": "Learning Elixir - Learning Elixir's with" + "url": "https://elixirschool.com/en/lessons/basics/control_structures#with-3", + "description": "Elixir School - With" }, { "url": "https://hexdocs.pm/elixir/Kernel.SpecialForms.html#with/1", From 84f9eb9fcccaa7ffffa0fde4152a45be07539cb0 Mon Sep 17 00:00:00 2001 From: Angelika Tyborska Date: Sun, 26 May 2024 15:43:12 +0200 Subject: [PATCH 2/2] Add antipattern link --- concepts/with/links.json | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/concepts/with/links.json b/concepts/with/links.json index a5a8760e8..63442ecf8 100644 --- a/concepts/with/links.json +++ b/concepts/with/links.json @@ -10,5 +10,9 @@ { "url": "https://hexdocs.pm/elixir/Kernel.SpecialForms.html#with/1", "description": "Kernel.SpecialForms.with/1" + }, + { + "url": "https://hexdocs.pm/elixir/main/code-anti-patterns.html#complex-else-clauses-in-with", + "description": "Anti-pattern: complex else clauses in with" } ]