Visa version
Version skapad av Johan Montelius 2019-01-17 17:21
Visa
< föregående
|
nästa >
Jämför
< föregående
|
nästa >
Lists and recursion
In these two lectures we will look at how to work with lists structures. Since lists are defined recursively it is natural to use recursion when defining functions over them. Recursively defined functions are very powerful in that they are easier to verify and analyze.
You should also have done the following exercises.
Elixir concepts
- Elixir: Linked lists
- Elixir: Tuples
- Elixir: Case, cond and if
- Elixir: Modules and functions
- Elixir: Recursion
After the lecture
Work with the first assignment .