Search found 447 matches

by findinglisp
Wed Jan 26, 2011 3:45 pm
Forum: User Groups and Conferences
Topic: Lisp users in Austin, TX
Replies: 1
Views: 7915

Lisp users in Austin, TX

Now that I have moved from California to Austin, Texas, I'm looking to hook up with Lispers in the area. If something exists already, drop me a note and point me in the right direction. If not and you'd like to get together, drop me a note and let me know that, too.
by findinglisp
Mon Dec 13, 2010 2:55 pm
Forum: Common Lisp
Topic: Symbols in defpackage
Replies: 3
Views: 2143

Re: Symbols in defpackage

(Wild speculation) Is using a keyword in an export going to cause the package to put its function inside the symbol in the keyword package? (Which would then mean potential clashes if another package used the same symbol for one of its functions) Ding, ding, ding! We have a winner! Yes, essentially...
by findinglisp
Mon Dec 13, 2010 2:48 pm
Forum: Common Lisp
Topic: Just learning- Syntax Help please?
Replies: 9
Views: 4077

Re: Just learning- Syntax Help please?

I would recommend both ANSI Common Lisp (ACL) and Practical Common Lisp (PCL) as good first Common Lisp books, as long as you are familiar with programming in some other language already. I don't even really agree with Ramarren that Graham doesn't like Common Lisp. I think he does; he just designed ...
by findinglisp
Mon Dec 13, 2010 2:33 pm
Forum: Common Lisp
Topic: Package dependencies
Replies: 4
Views: 2310

Re: Package dependencies

In order to grok problems that have one or more of the words “package”, “import”, and “symbol” in them, I strongly recommend reading Ron Garret's Complete Idiot's Guide to Common Lisp Packages . I have found it to be very useful. Highly, highly recommended. I never really grok'd package...
by findinglisp
Thu Dec 02, 2010 3:39 pm
Forum: Common Lisp
Topic: Ewww! Dependencies.
Replies: 5
Views: 3051

Re: Ewww! Dependencies.

Yea, this is an old problem. I blogged about my similar experience a while ago: http://www.findinglisp.com/blog/2009/10/holy-needless-asdf-install-batman.html The short of it is, people grab one little utility routine out of a larger library and then that library pulls in another dependency, and so ...
by findinglisp
Mon Nov 29, 2010 9:29 pm
Forum: Common Lisp
Topic: making built-in functions (as length) inline
Replies: 3
Views: 2251

Re: making built-in functions (as length) inline

To add on to Ramarren's comments, most common, "small" functions in the standard library will be inlined (what is often termed "open coded") by the compiler of most implementations. This is not guaranteed, but most every implementation is smart enough to know that it will be a big performance hit if...
by findinglisp
Mon Nov 29, 2010 9:25 pm
Forum: Common Lisp
Topic: pprint doesn't work with LispWorks
Replies: 2
Views: 1919

Re: pprint doesn't work with LispWorks

To follow-up on Paul's post, most pretty printers won't start to indent things until such time as the data gets close to a line length. If it all fits on a single line, per Paul's comment, it's pretty by definition. If you're looking for specific indentation behavior, you might have to write things ...
by findinglisp
Mon Nov 29, 2010 9:02 pm
Forum: Common Lisp
Topic: Land of Lisp recursion understanding problem
Replies: 7
Views: 3855

Re: Land of Lisp recursion understanding problem

OK Dave I think Im almost there . I passed 10 to a and returned 15 and its all making sense. At the moment Im using GNU CLISP 2.49 on win7 system, is there anywhere i can get list of keystrokes ie how can you delete or would you recommend another a program Many thanks to all If you're typing this d...
by findinglisp
Sat Nov 20, 2010 7:05 pm
Forum: Common Lisp
Topic: Land of Lisp recursion understanding problem
Replies: 7
Views: 3855

Re: Land of Lisp recursion understanding problem

I should have also said that Lisp is very different than other infix languages. It doesn't use parenthesis to group terms in arithmetic equations. Rather, it uses them to indicate lists and functions (because code = data in Lisp). So, whereas in C you might write: int f(int a, int b) { return g(42 +...
by findinglisp
Sat Nov 20, 2010 6:57 pm
Forum: Common Lisp
Topic: Land of Lisp recursion understanding problem
Replies: 7
Views: 3855

Re: Land of Lisp recursion understanding problem

Thanks Paul and Ramareen, I am just about to turn 59 and decided to try and reacticate a few neurons. I have in the past programmed in Basic VB Pascal C C++ Cobol and PHP. Of course I had of lisp a long time ago but never thougfht one way or another about it. Only recently while do some work on E-H...