Assembling lists start-to-end

Mark Carroll mark@chaos.x-philes.com
Sat, 21 Jun 2003 08:38:48 -0400 (EDT)


I am assembling a list from start to end. I can add elements to the end
with "previous ++ [current]" or I can add them with "current : previous"
and reverse it when I'm done. Or, maybe I should use some other data
structure. (I don't know the length in advance.) Any thoughts?

-- Mark