List.keydelete/3
defmodule List do
def keydelete(list, key, index)
end
Receives a list of tuples and deletes the first tuple where the index
-th element is the given key
.
defmodule List do
def keydelete(list, key, index)
end
Receives a list of tuples and deletes the first tuple where the index
-th element is the given key
.