Skip to content

exercism/racket

Repository files navigation

Exercism Racket Track

Configlet Status Exercise Test Status

Exercism exercises in Racket.

Contributing

Please see the contributing guide. We welcome both improvements to the existing exercises and the addition of new exercises.

Code Style

The Racket code in this repo is meant to conform with the conventions set forth in How to Program Racket.

Dependencies

Try to avoid external dependencies.

Suuport

For support with Racket in Exercism, please visit the Racket subcategory on the official Exercism forum.

Submitting a Pull Request

Pull requests should be focused on a single exercise, issue, or conceptually cohesive change. Please refer to Exercism's pull request guidelines. If you plan to make significant or breaking changes, please open an issue so we can discuss it first.

Prior to submitting a pull request, ensure that your test requires the stub file, and not the example file - like so:

#lang racket/base

(require "perfect-numbers.rkt")

(module+ test
  (require rackunit rackunit/text-ui)

  (define suite
    (test-suite
     "perfect numbers tests"

     (test-equal? "no perfect numbers in 1 - 5"
                  (perfect-numbers 5)
                  '())))

  (run-tests suite))

Racket icon

The Racket logo was created by Matthew Butterick and released under the Creative Commons Attribution-Share Alike 3.0 Unported license. We have adapted it, changing the colour scheme for use on Exercism.