Return Styles: Pseud0ch, Terminal, Valhalla, NES, Geocities, Blue Moon. Entire thread

(second), (third), etc. in common lisp

Name: shitting lollybox 2012-10-15 5:45

so if I want to express the third element of some list I can write
(third '(a b c))
This works all the way up to (tenth).

WTF? Why would they include built in functions like this? Seems insane coming from C and Java

Name: Anonymous 2012-10-15 23:00

>>18
I was talking about:

((if foo + -) 42 13)
Will either be 55 or 29 depending on the value of foo. As for the order of evaluation, I'm pretty sure functors first then arguments.

Newer Posts
Don't change these.
Name: Email:
Entire Thread Thread List