Search found 4 matches
- Sat Nov 01, 2008 6:10 pm
- Forum: Common Lisp
- Topic: Avoiding evaluation without quote
- Replies: 6
- Views: 12390
Re: Avoiding evaluation without quote
Thank you I believe my mental hangup was being caused by not understanding how multiple levels of quoting/commas worked (like the ',unquoted-list in your example).
- Sat Nov 01, 2008 4:50 pm
- Forum: Common Lisp
- Topic: Avoiding evaluation without quote
- Replies: 6
- Views: 12390
Avoiding evaluation without quote
Hello, I was wondering if there is a way to define a function/macro that can accept arbitrary forms as arguments, without having to QUOTE said forms in the calling code. (Basically, I'm looking to replicate the behavior of many built-in functions/macros that let you say things like (foo (x y) ... ) ...
- Wed Oct 22, 2008 10:00 pm
- Forum: Common Lisp
- Topic: Why aren't these equivalent?
- Replies: 2
- Views: 7399
Re: Why aren't these equivalent?
Ah, I see your point, I was clobbering my initial value before making use of it with the other variable's increment statement.
Thanks!
Thanks!
- Wed Oct 22, 2008 1:56 pm
- Forum: Common Lisp
- Topic: Why aren't these equivalent?
- Replies: 2
- Views: 7399
Why aren't these equivalent?
Hello, noob question here. I'm coding up some DO loop examples to help me understand it. I eventually got my example working, but I'm curious why a previous version did NOT work. The working one: (defun add-inputs () "Add a series of numbers from input" (do ((input (get-integer-from-input)...