[plt-scheme] Defining structures

From: Grant Rettke (grettke at acm.org)
Date: Wed Feb 18 11:45:38 EST 2009

On Wed, Feb 18, 2009 at 10:22 AM, Stephen Bloch <sbloch at adelphi.edu> wrote:
> "define-struct" is an INVENTOR.  It doesn't produce phonebook entries, but
> one of the things it produces is a FACTORY (named "make-entry") which can
> then be used to churn out as many phonebook entries as you wish.

By analogue, a variable is a MAP with one item on it; it shows you the
location of that thing that the factory just churned out.

Posted on the users mailing list.