diff --git a/exercises/concept/erlang-extraction/src/erlang_extraction.gleam b/exercises/concept/erlang-extraction/src/erlang_extraction.gleam index beadcdfcd..e22a2966e 100644 --- a/exercises/concept/erlang-extraction/src/erlang_extraction.gleam +++ b/exercises/concept/erlang-extraction/src/erlang_extraction.gleam @@ -8,10 +8,10 @@ pub fn insert(tree: GbTree(k, v), key: k, value: v) -> GbTree(k, v) { todo } -pub fn delete(tree: GbTree(k, v), key: k) -> GbTree(k, v) { +fn do_insert(key: k, value: v, tree: GbTree(k, v)) -> GbTree(k, v) { todo } -fn do_delete(key: k, tree: GbTree(k, v)) -> GbTree(k, v) { +pub fn delete(tree: GbTree(k, v), key: k) -> GbTree(k, v) { todo }