> >> > 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 ____________________ Racket Users list: http://lists.racket-lang.org/users