'chain' and atom argument

2009-04-22 Thread Tomas Hlavaty
Hi Alex, (chain 'lst ..) - lst is there a reason 'chain' does not work with atoms? : (make (link 1)) - (1) : (make (link 1) (chain 2)) - (1) : (make (link 1) (chain (cons 2 3))) - (1 2 . 3) : (make (link 1) (chain 2) (chain (cons 3 4))) - (1 3 . 4) : (make (link 1) (chain 2) (chain (cons 3

Re: 'chain' and atom argument

2009-04-22 Thread Tomas Hlavaty
Hi Alex, I would expect: : (make (link 1) (chain 2)) - (1 . 2) In this respect, 'chain' is analogous, it simply processes the cell arguments, and does not preserve any CDRs, as it cannot not know if later more elements will be added with 'link' or 'chain'. Yes, I think the behaviour