Skip to content

Commit

Permalink
Fix deletion hints for Erlang Extraction
Browse files Browse the repository at this point in the history
  • Loading branch information
rokf authored and lpil committed Oct 16, 2023
1 parent ed58728 commit c7b257a
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions exercises/concept/erlang-extraction/.docs/hints.md
Original file line number Diff line number Diff line change
Expand Up @@ -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.

0 comments on commit c7b257a

Please sign in to comment.