Implement basic list operations.
In functional languages, list operations like length
, map
, and
reduce
are very common. Implement a series of basic list operations,
without using existing functions.
Execute the tests with:
$ mix test
Or, use the test watcher with:
$ mix test.watch
Verify the typespecs are accurate with:
$ mix dialyzer