Arc Forumnew | comments | leaders | submitlogin
Plain Arc can drop to Scheme
16 points by rocketnia 5079 days ago | 1 comment
I was coding along, minding my business, when I found an awesome quasiquote bug/feature:

  Use (quit) to quit, (tl) to return here after an interrupt.
  arc> (mac $ (x) (list 'cdr (list 'quasiquote (list nil 'unquote x))))
  #(tagged mac #<procedure: $>)
  arc> ($.ac ($.ac-denil '(a b)) $.null)
  (ar-funcall1 _a _b)
  arc> (let foo 2 ($:set! foo 4) foo)
  4
  arc>
Look Ma, no hacking ac.scm!

I've verified this on Arc 2, Arc 3, Arc 3.1, and Anarki (using a name other than $ in Anarki just in case).



4 points by conanite 5078 days ago | link

Damn. I don't know how to implement this in rainbow :))

-----