Initial commit

This commit is contained in:
2023-12-17 00:26:14 -05:00
commit 59d97be20c
89 changed files with 3184 additions and 0 deletions

View File

@@ -0,0 +1,13 @@
defmodule LanguageList do
def new(), do: []
def add(list, language), do: [language | list]
def remove(list), do: tl(list)
def first(list), do: hd(list)
def count(list), do: length(list)
def functional_list?(list), do: "Elixir" in list
end