add 'require' to the begin keywords

and tweak the example for the color schemes
This commit is contained in:
Robby Findler 2013-09-20 15:56:48 -05:00
parent cd004fd9ce
commit bece398a63
2 changed files with 3 additions and 3 deletions

View File

@ -597,8 +597,8 @@
(string-append
"#lang racket ; draw a graph of\n"
"(require plot) ; cos and log\n"
"(plot (list (function cos -5 5)\n"
" (function log -5 5)))\n"
"(plot #:label \"y = cos(x) & y = log(x)\"\n"
" (list (function cos -5 5) (function log -5 5)))\n"
"\"an unclosed string is an error"))
(struct color-scheme (name button-label white-on-black-base? mapping example) #:transparent)

View File

@ -360,7 +360,7 @@
cond
delay
unit compound-unit compound-unit/sig
public private override
public private override require
inherit sequence))
(for-each (λ (x) (hash-set! defaults-ht x 'lambda))
`(