Functional Problem Solving (CSC 151 2015S) : Outlines
Primary: [Front Door] [Schedule] - [Academic Honesty] [Disabilities] [Email] - [FAQ] [Teaching & Learning] [Grading] [Taking Notes] [Rubric] - [Calendar]
Current: [Assignment] [EBoard am] [EBoard pm] [Lab] [Outline] [Reading]
Sections: [Assignments] [EBoards am] [EBoards pm] [Labs] [Outlines] [Readings] - [Examples] [Handouts]
Reference: [Setup] [VM] [Errors] - [Functions A-Z] [Functions By Topic] - [Racket] [Scheme Report (R5RS)] [R6RS] [TSPL4]
Related Courses: [Davis (2013F)] [Rebelsky (2014F)] [Weinman (2014F)]
Misc: [Submit Questions] - [SamR] [Glimmer Labs] [CS@Grinnell] [Grinnell] - [Book Office Hours] - [Issue Tracker (Course)]
Held: Friday, 20 February 2015
Back to Outline 18 - Programming the GIMP Tools. On to Outline 20 - Anonymous Procedures, Revisited.
Summary
We begin to explore Scheme's conditional control structures,
particularly if, when, and cond.
Related Pages
Overview
if.when.cond.Administrivia
Remember those? We did them early on in the semester.
How many of these do we know? Almost all of them.
if(if TEST CONSEQUENT ALTERNATE)when(when TEST CONSEQUENT_1 CONSEQUENT_2 ... CONSEQUENT_n)condForm
(cond
[TEST_1 CONSEQUENT CONSEQUENT ... CONSEQUENT]
[TEST_2 CONSEQUENT CONSEQUENT ... CONSEQUENT]
...
[TEST_n CONSEQUENT CONSEQUENT ... CONSEQUENT]
[else ALTERNATE_1 ALTERNATE_2 ALTERNATE_n])
Meaning
cond and if.when and cond.cond and if.