RE: findinglisp- Okay, I'm sorry about that.
RE: nuntius and gugamilare-
Thank you for the help. I didn't realize first was a built-in function and following with your advice got my program to work. Now I'm just working on getting a new function to print the tail of each list, but it should be easy.
Search found 2 matches
- Sun Jul 26, 2009 4:41 pm
- Forum: Common Lisp
- Topic: Help with a simple LISP function in LispBox
- Replies: 4
- Views: 13652
- Fri Jul 24, 2009 1:50 pm
- Forum: Common Lisp
- Topic: Help with a simple LISP function in LispBox
- Replies: 4
- Views: 13652
Help with a simple LISP function in LispBox
Greetings, I'm a beginner in Lisp and I have this small function which is supposed to print out the head of every list (including lists within lists). However, when I run the program, it only prints out the very first head, like so: CL-USER> (first y) New Y: (1.(2.3)) 1 Here is what my program looks...