Lecture overview -- Keyboard shortcut: 'u'  Previous page: Jumps in Functional Programs -- Keyboard shortcut: 'p'  Next page: Iterative Control -- Keyboard shortcut: 'n'  Lecture notes - all slides and notes together  slide -- Keyboard shortcut: 't'  Help page about these notes  Alphabetic index  Course home  Lecture 3 - Page 16 : 43
Programming Paradigms
Simulation of other Paradigms and Continuations
Selection Control

Conditionals are fundamental and both the functional and the imperative programming paradigm

  • (if C E1 E2)

    • Considered a core primitive in applicative functional programming languages

    • Only one of the expressions E1 and E2 should be evaluated

    • Similar to the if control structure in imperative programming languages