[racket] display problem

From: Roelof Wobben (r.wobben at home.nl)
Date: Sat Apr 14 02:26:37 EDT 2012

Op 13-4-2012 20:53, Stephen Bloch schreef:
> On Apr 13, 2012, at 1:49 PM, Roelof Wobben wrote:
>> I still have to write testcases but it's looking good.
> That's a bad sign: you should be writing test cases BEFORE writing the function :-)
>> (define verwerker (make-editor "aaa" "bbbb"))
>> ; Editor ->  Image
>> ; Function which displays the struct on the screen into a image.
>> (define (render verwerker)
> Again, you've got a function parameter and a global variable with the same name.  This will cause confusion; I recommend renaming one of them.

But how does Racket then now that for example current is the same as 
verwerker ?
In my opinoin I try to read in the "aaa" and "bbb" which I mentioned 
when I did the make-editor.


Posted on the users mailing list.