Search found 9 matches
- Sat Aug 09, 2008 10:12 am
- Forum: Common Lisp
- Topic: Define macro alias?
- Replies: 4
- Views: 16220
Re: Define macro alias?
It sounds like you want to be able to write something like (<-> 45 my-list) where "<->" is some funky character, instead of (push 45 my-list) Is that correct? If so, you can just define another macro or transfer the macro function. ;; Wrapper macro which may provide nicer contextual help i...
- Fri Aug 08, 2008 4:49 am
- Forum: Common Lisp
- Topic: Favorite "underrated" Lisp feature?
- Replies: 13
- Views: 37791
Re: Favorite "underrated" Lisp feature?
Compiler Macros Interesting. Care to say why? I have never really had an occasion to use a compiler macro. Regular macros, yes, all the time. Compiler macros, never. Compiler macros are one of those things that you don't appreciate until you need them. That's why they are my favourite underrated fe...
- Sun Aug 03, 2008 6:09 am
- Forum: Common Lisp
- Topic: Best program to use lisp on?
- Replies: 17
- Views: 52836
Re: Best program to use lisp on?
Hi im new to using lisp and need to do some assignments, unfortunately ive not got any software on my computer to do so, Im wondering whats the most user friendly software that i could use. As a beginner ive got some pretty complex code to try get my head around, so any links would be greatly appre...
- Sun Aug 03, 2008 5:56 am
- Forum: Common Lisp
- Topic: define-compiler-macro
- Replies: 11
- Views: 34650
Re: define-compiler-macro
yes, i know that ... but then there is no huge impact in real programs if you can only optimize literal arguments ? As nikodemus pointed out, there are certainly ways to use them in "real programs", but they can also be used in other interesting ways. In my research, I used compiler macro...
- Mon Jul 21, 2008 6:30 pm
- Forum: Common Lisp
- Topic: Creating args from list
- Replies: 6
- Views: 18430
Re: Creating args from list
Hey, that's what we're here for.
If you have questions about what #'format really means, feel free to ask.

If you have questions about what #'format really means, feel free to ask.
- Mon Jul 21, 2008 6:21 pm
- Forum: Common Lisp
- Topic: Creating args from list
- Replies: 6
- Views: 18430
Re: Creating args from list
You want to use apply.
See if that does what you want.
Code: Select all
(apply #'format t format-str args)
- Sun Jul 20, 2008 4:18 pm
- Forum: User Groups and Conferences
- Topic: International Lisp Conference 2009
- Replies: 3
- Views: 12855
Re: International Lisp Conference 2009
Excellent! Now I know when to book some vacation time.
- Sun Jul 20, 2008 4:15 pm
- Forum: Books and Resources
- Topic: What's your favorite book about Lisp?
- Replies: 34
- Views: 2124493
Re: What's your favorite book about Lisp?
I picked The Art of the Metaobject Protocol simply because I learned more about programming from that book than any other I've ever read. I've read most of them (even CLTL2!) and they're all enjoyable. I'd have to pick Norvig's PAIP as my second.
- Sun Jul 20, 2008 2:45 pm
- Forum: Common Lisp
- Topic: CLOS usage
- Replies: 22
- Views: 75560
Re: CLOS usage
Please correct me if I'm wrong, but I thought that the major difference between "functions" and "methods" -- with respect to Lisp and/or CLOS -- was that for methods, CLOS first looks up the most suitable (specialized) version of a method in regard to the given parameters, where...