by arocks · 11y ago · 0 comments
EDIT: Some more corrections:
1. `List.hd []` doesn't raise an error as its return type is an option. So the result is a `None`.
2. `List.map` and `List.filter` arguments should be reversed. First argument should be a list and the second should be the mapping function.
It is probably a good idea to use Core, but for this introduction I wanted as little requirements as possible.
edit: spelling