SLIDE 1
52
Variables in Haskell
- New variables with "let" declaration, lifetime
inside the declaration
- Variables are always initialized
test n = let k = fact n in [1..k]
- Other ways exist, for example "inverted"