[plt-scheme] Student parsing problem

From: David Van Horn (dvanhorn at ccs.neu.edu)
Date: Tue Jun 2 19:15:19 EDT 2009

Carl Eastlund wrote:
> I have had students run into the same problem with #; comments, that a
> #; before whitespace or another comment could be forgotten.  I think
> all of the s-expression-eating reader forms should have the "no
> whitespace/comment" restriction in the student languages.

I frequently use the pattern

    (define (f x) ...)

in student language programs.  It preserves the indentation of the 
definition and this program should be acceptable, IMO.


Posted on the users mailing list.