Thanks again!
Is is correct to say that function does the same thing that symbol-function does only in the current environment instead of the global environment?
Search found 4 matches
- Mon Nov 16, 2009 2:38 pm
- Forum: Common Lisp
- Topic: Help with functions that return functions
- Replies: 7
- Views: 26161
- Mon Nov 16, 2009 1:31 pm
- Forum: Common Lisp
- Topic: Help with functions that return functions
- Replies: 7
- Views: 26161
Re: Help with functions that return functions
CL-USER> ((setf head) *x* 100) Will it call the function called (setf head) ? Or will it try to evaluate the expression (setf head) and use its return value as the function to call, as you're suggesting? I'd say either interpretation would make sense. And in fact, the spec doesn't favour one interp...
- Fri Nov 13, 2009 12:26 pm
- Forum: Books and Resources
- Topic: What's your favorite book about Lisp?
- Replies: 34
- Views: 2124549
Re: What's your favorite book about Lisp?
I started out reading Practical Common Lisp, but I didn't really like his style of explaining things. Then I tried ANSI Common Lisp and I think it's great. It may be a little hard to follow for complete programming beginners but for people who have already programmed in other languages it's just rig...
- Thu Nov 12, 2009 7:43 pm
- Forum: Common Lisp
- Topic: Help with functions that return functions
- Replies: 7
- Views: 26161
Help with functions that return functions
Hello! Another Lisp beginner here. I'm currently reading ANSI Common Lisp by Paul Graham (PG). I've come to the chapter on functions and the sub chapter on closures. There are some things that confuse me. *Thought about it for a while.* Hm, now that I have thought about it I think that I have pretty...