CSE 341 Spring 2015 : Unit 5

Notes

Unit 5 Reading

Videos

Introduction to Racket

Racket Definitions, Functions, Conditionals

Racket Lists

Syntax and Parentheses

Parentheses Matter! (Debugging Practice)

Dynamic Typing

Cond

Local Bindings

Toplevel Bindings

Mutation with set!

The Truth About Cons

mcons For Mutable Pairs

Delayed Evaluation and Thunks

Avoiding Unnecessary Computations

Delay and Force

Using Streams

Defining Streams

Memoization

Macros: The Key Points

Tokenization, Parenthesization, and Scope

Racket Macros With define-syntax

Variables, Macros, and Hygiene

More Macros Examples


341 Main