Lecture overview -- Keyboard shortcut: 'u'  Previous page: Closures -- Keyboard shortcut: 'p'  Next page: Function definition in Scheme -- Keyboard shortcut: 'n'  Lecture notes - all slides and notes together  slide -- Keyboard shortcut: 't'  Help page about these notes  Alphabetic index  Course home  Lecture 1 - Page 33 : 49
Programming Paradigms
Introduction to Functional Programming in Scheme
More forms of lambda expressions in Scheme


(lambda (formal-parameter-list) expression)


(lambda formal-parameters-name expression)

  • Lambda expression characteristics in Scheme:

    • Positional and required parameters

      • (lambda (x y z) expr) accepts exactly three parameters

    • Required and rest parameters

      • (lambda (x y z . r) expr) accepts three or more parameters

    • Rest parameters only

      • (lambda r expr) accepts an arbitrary number of parameters

Go to exerciseParameter passing in Scheme