CSE 341 Spring 2015 : Unit 3

Notes

Unit 3 Reading

Videos

Introduction to First-Class Functions

Functions as Arguments

Types and Functions as Arguments

Anonymous Functions

Unnecessary Function Wrapping

Map and Filter

Generalizing Prior Topics

Lexical Scope

Lexical Scope and Higher-Order Functions

Why Lexical Scope

Closures and Recomputation

Fold and More Closures

Closure Idiom: Combining Functions

Closure Idiom: Currying

Partial Application

Currying Wrapup

Mutable References

Closure Idiom: Callbacks

Standard-Library Documentation

Optional: Abstract Data Types With Closures

Optional: Closure Idioms Without Closures

Optional: Java Without Closures

Optional: C Without Closures


341 Main