Arc Forumnew | comments | leaders | submitlogin
2 points by rocketnia 2532 days ago | link | parent

I use them for those cases and for destructuring.

  (iflet (first . rest) args
    ...)
This is practically the same as the rest arg case, and whatever workaround you're considering for rest args will probably work just as well here.

Speaking of which, why not just use another character for dotted lists, like (a b c & d)?

EDIT: Oh, right, you just mentioned that possibility in http://arclanguage.org/item?id=13248.