[Home]LISP programming language/Talk

HomePage | LISP programming language | Recent Changes | Preferences

Difference (from prior minor revision) (major diff)

Removed: 1,6d0
Actually Fortran is older by about 2 years, and is still in serious use. Not many (if any) modern Fortran programs are actually compatible with the original version of Fortran, but that is probably true for LISP as well.



Yes, I deliberately stuck my neck out on that one. It did cause me to go and do some research though. You didn't even attempt to back up your Fortran claim but it appears to be true! --drj

This article no longer states that LISP is older. Programming language timeline actually places ALGOL and LISP before FORTRAN. Reasoning should be continued on that page's /Talk.


Function CAR in LISP program returns the first element in a list.

   (car '(a b c d))
   Returns a
Function CDR would return everything but the first element in a list.
   (cdr '(a b c d))
   returns (b c d)
There are of course many variations of this.
   (cadr '(a b c d))
   Returns b
Working from the inside out is the same as (car (cdr '(a b c d)))


HomePage | LISP programming language | Recent Changes | Preferences
This page is read-only | View other revisions
Last edited September 21, 2001 4:48 pm by 203.37.81.xxx (diff)
Search: