Arc Forumnew | comments | leaders | submitlogin
1 point by evanrmurphy 3439 days ago | link | parent

That should work in Clojure, you're right. + But the analogous code in an arc-like would not work because (. (a b)) is not a valid list (since it has no car).


+ Technically, it would be:

  (defn baz [& [a b]]

1 point by akkartik 3439 days ago | link

There's a lot more wrong with it :) You can't have non-atoms after the dot either.

I was taking for granted that you have to change the reader, or replace dot with a different token.