|
Subject: Re: (append) From: Graydon Hoare <graydon@xxxxxxxxxxxxx> Date: Thu, 18 Jun 1998 16:03:49 -0400 (EDT) |
On Thu, 18 Jun 1998, Chris Maden wrote:
you're doing this:
(append (something-that-makes-a-list) some-number)
some-number is not a list, it's a pointer to a cell holding a number. A
list is a pointer to a cell holding a pair. You have to construct the pair
and put you number in the car field. You want to do:
(format-number-list
(append
(element-number-list (list "appendix"
"sect1")
(current-node))
(list (+ (element-number (ancestor "sect2"))
refentrys)))
'("A" "1" "1") ".")
-graydon
DSSSList info and archive: http://www.mulberrytech.com/dsssl/dssslist
| Current Thread |
|---|
|
| <- Previous | Index | Next -> |
|---|---|---|
| (append), Chris Maden | Thread | RE: (append), Reynolds, Gregg |
| RE: (append), Reynolds, Gregg | Date | Re: (append), Chris Maden |
| Month |