Arc Forumnew | comments | leaders | submitlogin
3 points by CatDancer 5710 days ago | link | parent

Just noticed this morning as I was doing some programming using intersperse:

  arc> (intersperse 'x '())
  (nil)


3 points by pg 5698 days ago | link

Oops.

    (def intersperse (x ys)
      (and ys (cons (car ys)
                    (mappend [list x _] (cdr ys)))))

-----