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

So you've baked extend into def and mac? This is very interesting!

Should = gets the same benefits? Since wart is a lisp-2 I guess it doesn't really apply [1], but if it were a lisp-1 would you treat (= fact (fn(n) ...)) the same way?

---

[1] Or does it? I'm not yet well-versed in the ways of lisp-2-ness...



1 point by akkartik 4807 days ago | link

That's a good question. My immediate reaction is to make = clear the overload table..

And yes, in a lisp-2 assigning a function is different from defining one. But you can assign to (symbol-function f) in common lisp, which would have the same effect as def.

-----