Files
exercism-workspace/tracks-on-tracks-on-tracks/HINTS.md
2025-11-03 21:47:09 +01:00

844 B

Hints

1. Create a new list

  • An empty list can be created using the [] syntax.

2. Define an existing list

  • Lists with multiple elements can be created using the ["a", "b", "c"] syntax.

3. Add a new language to a list

  • The spread syntax ([x, ..list]) can be used to add an element to the beginning of a list.

4. Count the languages in the list

5. Reverse the list

6. Check if list is exciting

  • You can use pattern matching using the list and list spread patterns to match on specific list structures.