[plt-scheme] Defining structures
I have a doubt the concept of defining structures.In htdp chapter 6 its
given as
A STRUCTURE DEFINITION is, as the term says, a new form of definition. Here
is DrScheme's definition of posn: i have modified the example here
(define-struct entry (name zip phone))
Now a few lines later it says
If we give the structure a name,
(define phonebook (make-entry 'PeterLee 15270 '606-7771))
Now my question here is phonebook the name of the structure or it is a
structure of type entry?
Aditya
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.racket-lang.org/users/archive/attachments/20090217/0553d277/attachment.html>