Hacker News
new
|
past
|
comments
|
ask
|
show
|
jobs
|
submit
login
JBiserkov
on Sept 8, 2009
|
parent
|
context
|
favorite
| on:
The List of N Things
How to make a
list of n elements
?
(defun list-of (n elt) (if (zerop n) nil (cons elt (list-of (- n 1) elt))))
ANSI Common Lisp, Paul Graham, page 38
1996 by Prentice Hall
Consider applying for YC's Summer 2026 batch! Applications are open till May 4
Guidelines
|
FAQ
|
Lists
|
API
|
Security
|
Legal
|
Apply to YC
|
Contact
Search:
1996 by Prentice Hall