Skip to content

Latest commit

 

History

History
 
 

week4

Folders and files

NameName
Last commit message
Last commit date

parent directory

..
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Week 4: Higher order functions

1. Functional Expressions

video slides

  1. Lambda expressions as values

2. Functions as First-Class Values

video slides

  1. Using first class functions

3. Functions with Multiple Arguments

video slides

  1. Functions returning functions

4. Partial Function Application

video slides

  1. Optimizing partial applications
  2. A small arithmetic interpreter

5. Mapping Functions on Lists

video slides

  1. Using and writing the map function

6. Folding Functions on Lists

video slides

  1. Using fold to produce lists
  2. Using fold to check predicates