From 9808e14e38c08ac7dbcabde8f7ac35681896289e Mon Sep 17 00:00:00 2001 From: Rok Fajfar Date: Sun, 15 Oct 2023 22:01:09 +0200 Subject: [PATCH] Fix deletion hints for Erlang Extraction --- exercises/concept/erlang-extraction/.docs/hints.md | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/exercises/concept/erlang-extraction/.docs/hints.md b/exercises/concept/erlang-extraction/.docs/hints.md index 6f58b13c6..9229ef1fa 100644 --- a/exercises/concept/erlang-extraction/.docs/hints.md +++ b/exercises/concept/erlang-extraction/.docs/hints.md @@ -16,6 +16,7 @@ ## 4. Define the `delete` function -- The function should use the `gb_trees:delete_any/3`. -- The `gb_trees:delete/3` function will crash if the key is not found, so it should not be used. +- The external function can be a private function that is called by the `delete` function in order to change the order of the arguments. +- The function should use the `gb_trees:delete_any/2`. +- The `gb_trees:delete/2` function will crash if the key is not found, so it should not be used.