Questions tagged [practical-common-lisp]

Practical Common Lisp is a book about Common Lisp written by Peter Seibel.

Practical Common Lisp is a book about Common Lisp written by Peter Seibel and published by Apress.

The full text of the book can be found on its website.

31 questions
-2
votes
4 answers

a function in lisp called xtoy which returns a list from x to y

I am very new to lisp. I am trying to write a function named x2y which takes 2 arguments x and y which are integers and return a list of integers which starts from x and ends at y (defun xtoy (X Y) (cond ((> X Y) (list nil)) ((= X Y)…
Deepak
  • 1,503
  • 3
  • 22
  • 45
1 2
3