Good fences make good neighbors.
      -- Robert Frost (old New England saying)
A combination or function call in Scheme is a list of a function name followed by arguments of the function. A list is written by enclosing the elements of the list in parentheses.
(+ x y)In Lisp, all computation is specified by function calls.(sqrt x)
(+ (* x x) (* 3 x) 2)
(write "Dear Dad: Please send money!")
Combinations can be nested, as shown in the third example above. The arguments of a function are evaluated before the function is called, so innermost expressions are evaluated first.
Contents    Page-10    Prev    Next    Page+10    Index