List Ops in Racket
Implement basic list operations
exercism fetch racket list-ops
Implement basic list operations.
In functional languages list operations like
reduce are very common. Implement a series of basic list operations,
without using existing functions.
For installation and learning resources, refer to the exercism Racket page.
You can run the provided tests through DrRacket, or via the command line.
To run the test through DrRacket, simply open the test file and click the 'Run' button in the upper right.
To run the test from the command line, run the test from the exercise directory with the following command:
raco test list-ops-test.rkt
which will display the following:
raco test: (submod "list-ops-test.rkt" test) 2 success(es) 0 failure(s) 0 error(s) 2 test(s) run 0 2 tests passed
Submitting Incomplete Solutions
It's possible to submit an incomplete solution so you can see how others have completed the exercise.