Skip to content

exercism/racket

This branch is up to date with main.

Folders and files

NameName
Last commit message
Last commit date

Latest commit

627d8e8 · Mar 3, 2025
Jun 18, 2021
Mar 3, 2025
Jul 9, 2024
Nov 9, 2023
Mar 3, 2025
Feb 5, 2021
Aug 19, 2015
Feb 2, 2024
Jul 6, 2021
Sep 11, 2023
Mar 3, 2025

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.