Ch6 Discussion 05 WIP
Practice with:
- map
- filter
- foldl
- scanl
Be aware of their friends, foldl1
and scanl1
.
- Make a list of the first 200 prime numbers.
- Which of the first 200 prime numbers leave a remainder of 3 when divided by 4?
Extra
A lot of times you want foldr
. We are not going to worry about it.
See the advanced notes.