
in the original GitHub fork: https://github.com/ntoronto/racket Some things about this are known to be broken (most egregious is that the array tests DO NOT RUN because of a problem in typed/rackunit), about half has no coverage in the tests, and half has no documentation. Fixes and docs are coming. This is committed now to allow others to find errors and inconsistency in the things that appear to be working, and to give the author a (rather incomplete) sense of closure.
34 lines
957 B
Racket
34 lines
957 B
Racket
#lang at-exp racket/base
|
|
|
|
(require scribble/eval
|
|
scribble/manual)
|
|
|
|
(provide author-neil
|
|
author-jens-axel
|
|
make-math-eval
|
|
make-untyped-math-eval)
|
|
|
|
(define (author-neil)
|
|
@author{@(author+email "Neil Toronto" "ntoronto@racket-lang.org")})
|
|
|
|
(define (author-jens-axel)
|
|
@author{@(author+email "Jens Axel Søgaard" "jensaxel@soegaard.net")})
|
|
|
|
(define (make-math-eval)
|
|
(define eval (make-base-eval))
|
|
(eval '(require typed/racket/base))
|
|
(eval '(require math))
|
|
(eval '(require math/scribblings/rename-defines))
|
|
(λ (v)
|
|
(cond [(syntax? v) (eval #`(rename-defines #,v))]
|
|
[(list? v) (eval `(rename-defines ,v))]
|
|
[else (eval v)])))
|
|
|
|
(define (make-untyped-math-eval)
|
|
(define eval (make-base-eval))
|
|
(eval '(require math))
|
|
(eval '(require (rename-in (except-in plot plot plot3d)
|
|
[plot-bitmap plot]
|
|
[plot3d-bitmap plot3d])))
|
|
eval)
|