[racket] why is the comparimng always false

From: Stephen Bloch (bloch at adelphi.edu)
Date: Fri Jun 29 18:07:31 EDT 2012

> 
>> 
> make-person ; string string number -> person 
> person-forename ; person -> string 
>                ^
>                |
>                +------ please do notice the semicolon here; the rest of these lines are comments 
> 
> This will ensure he gets the names right.

Interesting idea.  It doesn't ensure that he gets the contracts right -- he still needs to actually TRY the functions for that -- but it will give him an error message if he gets the names wrong, which is helpful.

Stephen Bloch

Posted on the users mailing list.