Re: [racket] a few questions while reading about racket/draw libray

2012-09-14 Thread Matthew Flatt
At Fri, 14 Sep 2012 13:12:11 -0400, J G Cho wrote: > Q1. Possible syntax error? > > Code that generates Racketeers, ho! (with reflections) near the bottom > of the tutorial, goes like this: > > (define-values (tw th) > (let-values ([(tw th 1 2) > (send dc get-text-extent str the

[racket] a few questions while reading about racket/draw libray (http://docs.racket-lang.org/draw/overview.html)

2012-09-14 Thread J G Cho
Q1. Possible syntax error? Code that generates Racketeers, ho! (with reflections) near the bottom of the tutorial, goes like this: (define-values (tw th) (let-values ([(tw th 1 2) (send dc get-text-extent str the-font)]) (values (inexact->exact (ceiling tw)) (ine