Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/zyrolasting/racket-koans

Learn Racket by doing: Practice language features by fixing topic-oriented unit tests.
https://github.com/zyrolasting/racket-koans

Last synced: 2 months ago
JSON representation

Learn Racket by doing: Practice language features by fixing topic-oriented unit tests.

Awesome Lists containing this project

README

        

Learn and practice the Racket language by fixing broken unit tests.

Test files are named after the topics they cover. When all tests run,
the test topic files will execute in an order based loosely on [The
Racket Guide](https://docs.racket-lang.org/guide/).

## Usage

[Install Racket](https://racket-lang.org/download/) and verify that
the `racket -v` command prints your chosen version.

Open `koans/all.rkt` to see the suggested reading order.

* Run `racket koans/.rkt` to run tests for a single topic.
* Run `racket koans/all.rkt` to run all tests.

The tests checked into this repository are **incorrect by design**.
The idea is to practice reading and writing Racket by making tests
pass. You'll use tests written by the common `rackunit` library, which
uses self-explanatory code.

Some tests use `?` to mark where you should answer. Later tests expect
you to write your own Racket code, and may use concepts from earlier
tests.

Please do not give away answers!