Arc Forumnew | comments | leaders | submitlogin
2 points by almkglor 6085 days ago | link | parent

Here's an implementation of lists which work mostly as arrays, until you actually use scdr. This seamlessly handles dotted lists and is optimized for proper lists.

http://www.arclanguage.com/item?id=4146

Edit: arrays are unrolled lists where m=inf, while standard Lisp cons cells are unrolled lists where m=1.

Edit 2: remember, (isnt implementation interface)