|printing recursive objects? email@example.com (Paul Haahr) (1993-05-03)|
|Re: printing recursive objects? firstname.lastname@example.org (John Lacey) (1993-05-04)|
|printing recursive objects? email@example.com (Tony Kanawati) (1993-05-04)|
|printing recursive objects? firstname.lastname@example.org (1993-05-05)|
|From:||Paul Haahr <email@example.com>|
|Date:||Mon, 3 May 1993 17:10:43 GMT|
Given an arbitrary recursive structure, say a lisp sexpr, how do you print
it in a form that can be read back to create the same structure?
For example, given the scheme expression
(let ((x (cons 'a nil))) (set-cdr! x x) x)
how do I print some scheme expression that, when interpreted, creates the
same structure, rather than just a lot of ``a''s?
I know that there must be some literature on this subject, but I don't
know where it is. Any pointers would be appreciated.
paul haahr adobe systems incorporated
firstname.lastname@example.org ...!decwrl!adobe!haahr +1 415 962 6056
Return to the
Search the comp.compilers archives again.