Arc Forumnew | comments | leaders | submitlogin
2 points by evanrmurphy 4854 days ago | link | parent

I noticed recently that Racket's dotted infix notation (unrelated to dotted lists) [1] spills over into arc:

  arc> (1 . < . 2)
  t
  arc> '(1 . < . 2)
  (< 1 2)
So, `(x . y . z)` expands to `(y x z)`, for any x, y, z. Didn't know we had this feature.

---

[1] http://docs.racket-lang.org/guide/Pairs__Lists__and_Racket_S...