git @ Cat's Eye Technologies Decoy / master lib / decoy / r5rsish.scm
master

Tree @master (Download .tar.gz)

r5rsish.scm @masterraw · history · blame

; SPDX-FileCopyrightText: Chris Pressey, the original author of this work, has dedicated it to the public domain.
; For more information, please refer to <https://unlicense.org/>
; SPDX-License-Identifier: Unlicense

(define module "r5rsish")

(import-from "stdenv" (equal? > * + - and or not < sin cos abs floor))
(import-from "list" (car cdr cons list list? null? pair? length list-ref map))

; Now we need to re-export all these things!
; We can do it like this, but obviously, we would want something better.

(define list list)
(define null? null?)
(define car car)
(define cdr cdr)
(define + +)