2 ms·
Couldn't you write a macro to call functions using whatever mixture of keyword and non-keyword params you wanted? Or perhaps using some CLOS magic do to do thi
by arethuza 15y ago
Couldn't you write a macro to call functions using whatever mixture of keyword and non-keyword params you wanted?
Or perhaps using some CLOS magic do to do this behind the scenes, e.g. no-applicable-method
http://www.lispworks.com/documentation/HyperSpec/Body/f_no_app.htm#no-applicable-method http://www.lispworks.com/documentation/HyperSpec/Body/f_no_a...
[NB It's been a long time since I did much Lisp]
- akkartik 15y agoYes, that's basically what my repo does. It started out as an attempt to build 'arc using macros atop Common Lisp' like the original critics claimed could be done. I pretty much succeeded (and I've been told it's very readable) except that I ended up with a lisp-2. (Lately I've been building it in naked C to get out of that constraint: http://github.com/akkartik/wart/tree/unstable http://github.com/akkartik/wart/tree/unstable) I wasn't aware of no-applicable-method; thanks for that pointer.