Search found 2 matches

by bnor
Mon Mar 30, 2009 5:21 pm
Forum: Common Lisp
Topic: more newbie help...
Replies: 10
Views: 16834

more newbie help...

Hello, I am trying to make a suffix function, that takes a variable amount of args and prints out the last 'x'. For example, if I said (suffix 3 '(a b c d e f)) I would get D E F back... But I can't get this to work. Here is what I have so far... HELP! Thanks. (defun suffix (x &rest args) setq f...
by bnor
Sat Mar 28, 2009 12:57 pm
Forum: Common Lisp
Topic: newbie help
Replies: 2
Views: 4906

newbie help

Hello, I am trying to learn LISP for the first time. What I am trying to do seems basic to me but I am having trouble since I don' t have the experience. I would like to create a function to accept a list of variable arguments, and then iterate through it, printing the first n values. Here is what I...