racket/collects/tests/mzscheme/embed-me7.ss
Matthew Flatt a45251d272 369.10
svn: r6003
2007-04-20 01:16:15 +00:00

16 lines
313 B
Scheme

(module embed-me7 mzscheme
(require (lib "plot.ss" "plot")
(lib "mred.ss" "mred")
(lib "class.ss"))
(define img (plot (line (lambda (x) x))))
(define e (new text%))
(send e insert img)
(with-output-to-file "stdout"
(lambda ()
(printf "plotted\n"))
'append))