[racket] on-key question

From: John Clements (clements at brinckerhoff.org)
Date: Wed Mar 14 13:32:18 EDT 2012

On Mar 14, 2012, at 9:05 AM, Roelof Wobben wrote:

> As far as I can see I have three different things.
> 1) Input is a character.    Append it to the world.
> 2) Input is a  like this one /t . Do nothing.
> 3) Input is a  double or more string like right. Do nothing.
> I have to figure out how i can distinct the 1 and 2 from each other.  They both have lenght 1.

I'm a bit confused by this message, but I'm going to go out on a limb and suggest that both this question and your prior one will be self-answered if you write down test cases for your situations 1, 2, and 3 above.

John Clements

-------------- next part --------------
A non-text attachment was scrubbed...
Name: smime.p7s
Type: application/pkcs7-signature
Size: 4624 bytes
Desc: not available
URL: <http://lists.racket-lang.org/users/archive/attachments/20120314/8ecd09a5/attachment.p7s>

Posted on the users mailing list.