[plt-scheme] class.ss: init-field - renamed-id w/o default gives error, while ranamed-id w/default does not.

From: Matthew Flatt (mflatt at cs.utah.edu)
Date: Sun Apr 29 18:51:41 EDT 2007

At Sun, 29 Apr 2007 15:38:49 +0000 (UTC), Kyle Smith wrote:
>     (init-field
>      (int-id ext-id))

To distinguish internal and external names when there's no
default-value expression, you still need a pair of parens (i.e., an
extra pair) around the two identifiers:

    (init-field
     ((int-id ext-id)))

Matthew



Posted on the users mailing list.