Thanks to Junsong and Matthew; that was *very *helpful.

I see your point Junsong; this is just a list (it's a LIST! for heaven's 
sake) and so can be handled like a list (i.e. without any global variable 
to track mutation). In part I led astray I think by modeling my solution to 
this problem on how I've handled footnotes in plaintext (i.e. put in a 
numbered footnote marker, and collect note text in a global list, that can 
be appended to the end of the document); footnotes, unless I'm still 
misunderstanding something, are most easily handled through 
mutation--because, unlike items in a list, they have no single container 
(i.e. they could occur anywhere in a document). I think that's right... 
(the irony of being confused by how to handle *lists *in a LISP is not lost 
on me.)

Thanks very much for the for/list code and in-indexed hint, Matthew; that's 
great. And thanks Junsong for the excellent explanation. It is appreciated.

-- 
You received this message because you are subscribed to the Google Groups 
"Pollen" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
For more options, visit https://groups.google.com/d/optout.

Reply via email to