exercism/elixir/language-list/HINTS.md

1.2 KiB

Hints

General

1. Define a function to return an empty language list

  • The function needs to return [].

2. Define a function to add a language to the list

  • An element can be prepended to a list using |.

3. Define a function to remove a language from the list

4. Define a function to return the first item in the list

5. Define a function to return how many languages are in the list

6. Define a function to determine if the list includes a functional language

  • Your function should return a boolean value indicating whether "Elixir" is a member of the list. Elixir provides a function to test list membership.