Aucbvax.4892
fa.editor-p
utzoo!decvax!ucbvax!editor-people
Sun Nov  1 22:36:07 1981
Integrating Editors with Programming Languages
>From EAK@MIT-MC Sun Nov  1 22:26:47 1981
To: ihnss!cbosg!cbosgd!mark at Berkeley

Other people have already replied to your message about data
structures in lisp, but no one has made it clear that in the
mit-origin dialects doing what you want is probably as simple as
saying

(defstruct (node)
   left-child
   parent
   right-child)

and later
   (parent n) or (right-child n) or
   (setf (left-child n) x)

-----------------------------------------------------------------
gopher://quux.org/ conversion by John Goerzen <[email protected]>
of http://communication.ucsd.edu/A-News/


This Usenet Oldnews Archive
article may be copied and distributed freely, provided:

1. There is no money collected for the text(s) of the articles.

2. The following notice remains appended to each copy:

The Usenet Oldnews Archive: Compilation Copyright (C) 1981, 1996
Bruce Jones, Henry Spencer, David Wiseman.