Search found 148 matches

by Paul Donnelly
Fri Aug 15, 2008 3:25 pm
Forum: Common Lisp
Topic: Begginer questions
Replies: 4
Views: 10453

Re: Begginer questions

Hello all. Being a begginer in Lisp, I still have some questions related to this language in general. For example: Common Lisp has several implementations, but what is in fact an implementation of Common Lisp? Just like there are lots of C compilers, there are lots of Common Lisp implementations. W...
by Paul Donnelly
Sun Aug 10, 2008 3:10 am
Forum: Books and Resources
Topic: Lisp mailing-list ?
Replies: 13
Views: 67575

Re: Lisp mailing-list ?

xma wrote:Looks like Gnus filtering rules. Is this the case ?
Yes. Perhaps I should have said so, but I figured that it would be obvious to a Gnus user and useless to anyone else.
by Paul Donnelly
Sat Aug 09, 2008 3:53 pm
Forum: Books and Resources
Topic: Lisp mailing-list ?
Replies: 13
Views: 67575

Re: Lisp mailing-list ?

Hmm, I don't find spam filtering to be especially difficult. This does well for me. It's not 100%, but it cuts the spam down to a trickle that barely registers. (("from" ("sneaker" -1000 nil s) ("watches" -1000 nil s) ("sales" -1000 nil s) ("handbags"...
by Paul Donnelly
Thu Aug 07, 2008 2:20 pm
Forum: Common Lisp
Topic: Best program to use lisp on?
Replies: 17
Views: 43012

Re: Best program to use lisp on?

One more thing: Your use of ten assignment statements in a row is also a red flag. There's nothing wrong with SETF per se, but when you're creating a variable to store every step of the equation, you often end up creating a variable that only gets used once—such as... every single one of them, in ...
by Paul Donnelly
Thu Aug 07, 2008 2:07 pm
Forum: Common Lisp
Topic: Best program to use lisp on?
Replies: 17
Views: 43012

Re: Best program to use lisp on?

You should use DEFVAR or DEFPARAMETER to create global variables rather than SETF. Use DEFVAR when you want subsequent re-evaluations to leave the current value alone, and DEFPARAMETER when you want them to take effect. In this case, you want DEFPARAMETER. When you find yourself using variables to r...
by Paul Donnelly
Tue Aug 05, 2008 5:37 pm
Forum: Common Lisp
Topic: How to embed SBCL in a C++ app?
Replies: 5
Views: 15185

Re: How to embed SBCL in a C++ app?

I'm pretty sure this is impossible without major changes to sbcl. The other way around might even be easier. Why not use a Lisp that's meant to be embedded?
by Paul Donnelly
Sun Aug 03, 2008 11:56 pm
Forum: Common Lisp
Topic: Multiple "apps" per sbcl session ?
Replies: 3
Views: 10146

Re: Multiple "apps" per sbcl session ?

It's generally safe, unless you're doing things that could crash your Lisp and you'd like to limit the crash and preserve the rest of the environment. And if you're developing something that you might want to load from scratch more often than the other Lisp programs you're running, it's best to keep...
by Paul Donnelly
Thu Jul 31, 2008 12:27 am
Forum: Common Lisp
Topic: To learn or not to learn, that is the question
Replies: 11
Views: 22768

Re: To learn or not to learn, that is the question

1) Should I really learn Lisp? Or should I get on with C? Short answer: Learn Lisp. Long answer: Depends on what you want to do. Lisp is a better tool for writing most programs than C, but C has its niche. 2) Will it be useful to me in a pragmatic way? (Will I be able to make use of it professional...