Arc Forumnew | comments | leaders | submitlogin
1 point by absz 6135 days ago | link | parent

This works in my copy of Anarki; I seem to remember someone mentioning their fix here before. Here's what I got:

  arc> (mac addn (n) (fn (x) (+ x n)))
  #3(tagged mac #<procedure>)
  arc> (= a3 (addn 3))
  #<procedure>
  arc> (a3 3)
  6
  arc> (a3 10)
  13
The global fix, however, is a clever solution.