PPT Slide
( list a1 a2 . . . an ) constructs
and returns a list with elements
a1 , a2 , … , an , in that order.
( list ’a ’b ’c ) produces ( a b c )
( list ’+ 8 9 ) produces ( + 8 9 )
( list (list ’a ’b)(list ’c ’d) ) produces ((a b)(c d))
Note: most Lisps, capitalize everything, so
( list ’a ’b ’c ) = ( list ’A ’B ’C )
and actually produces ( A B C ) !