[plt-scheme] Default (define-struct ...) behavior

From: Matthew Flatt (mflatt at cs.utah.edu)
Date: Thu Sep 20 14:41:31 EDT 2007

At Thu, 20 Sep 2007 13:13:46 -0400, "Matt Jadud" wrote:
> I have a question about the default behavior of (define-struct ...):
> Why isn't (make-inspector) implicit in the definition of all structures?

The default reflects the opinion that programmers should keep datatypes
as abstract/encapsulated as possible by default.


Posted on the users mailing list.