CSC151.02 2016S, Class 21: Anonymous Procedures, Revisited
==========================================================

_Overview_

* Preliminaries.
    * Admin.
    * Upcoming Work.
    * Extra Credit.
    * Questions.
* What is a procedure?
* Describing procedures.
* Anonymous procedures.
* Anonymous procedures through lambda expressions.
* Other kinds of anonymous procedures.

Preliminaries
-------------

### Admin

* New partners!
* Prof. Curtsinger will be teaching class for the rest of the week.
    * If anyone wants to take notes for eboards, I'll provide extra credit.
* Things I owe you.
    * I will mail you your exams on Tuesday night.
    * I will mail you sample answers to HW4 and HW5 on Wednesday night.
    * I will mail you current grades later in the week.
* Some of you have been asking whether you have to be in class on the day
  before spring break.  I know that the end of the day right before break
  is a horrible time.  You can miss class.  However, (a) you should
  arrange to take the quiz on Thursday and (b) I will still record it
  as an excused absence.

### Reminders

* Office hours this week: M 10-11
    * Sign up at <http://rebelsky.youcanbook.me>.
    * I'll do a lot of email or text Q&A this week.
* Tutor hours
    * Sunday, 3-5 p.m.
    * Sunday-Thursday, 7-10 p.m.
* Weekly review sessions:
    * Wednesday at 8pm in the CS Commons with 
    * No Thursday review session next week .... )-:
    * Thursday at 8pm in the CS Commons with 

### Upcoming Work:

* Reading for Tuesday
    * [Building Images by Iterating Over Positions](../readings/iterate-positions-reading.html)
* Exam 2 to be distributed on Wednsday.
* Lab Writeup: Exercise 5cdef
    * Send email titled __CSC 151 Lab Writeup 21 (Your Names)__
    * Do not include the underscores.
    * Send to <CSC151-02-grader@grinnell.edu>
    * Due before class on Wednesday.

### Extra Credit

* Send your reports to <rebelsky@grinnell.edu> with subject 
  "CSC 151 Extra Credit".  (Do not include the quotation marks.)
* Send opportunities to me before class with subject
  "CSC 151 EXTRA CREDIT OPPORTUNITY!"

#### Academic / Artistic

* Wes Moore talk tonight at 7:00 in Bucksbaum on leading a meaningful life.
* CS Table, Tuesday, Apple vs. the FBI.
* Met Opera Simulcast, Saturday, March 5.

#### Peer

* Vote for SGA positions. (Today)
* Pub Quiz Wednesday at 10, hosted by Neuro/Psych SEPC.  You can
  eat food, or pay to participate in the quiz ($3/team).

#### Regular Peer

* Social Dance Workshop Tuesdays 7:00-8:00 in Bucksbaum Dance Studio
* Pun club Saturdays at 4pm in Younker 
* Electronic Potpourri on KDIC Fridays at Five 
* Space Odyssey KDIC Fridays at Six

#### Misc

* Christine Tran show in Smith Gallery.
* Thursday evening Pub talk on Plans - Grinnell's own contribution to
  social media

#### Far in the Future

* Lords of the Flies, April.

### No Extra Credit, But Still Good

### Questions

_How do we document procedures defined within lets?_

   (let (; (square x) - squares x.  duh
         [square (lambda (x) (* x x))])

> But I'm also okay if you don't document, as long as the name is clear.

> And if they are anonymnous, don't worry about it at all.

Lab
---

   (l-s - 5) => (section - 5 <>)
   (r-s - 5) => (section - <> 5)

Writeup: 5cdef (class 21)
