SICP Exercise 4.11 frame as list of bindings

Exercise 4.11.  Instead of representing a frame as a pair of lists, we can represent a frame as a list of bindings, where each binding is a name-value pair. Rewrite the environment operations to use this alternative representation.

SOLUTION

The code and tests are here.

Comments

Popular posts from this blog

SICP Exercise 4.9 do for while until

SICP Exercise 1.22 search-for-primes

SICP Exercise 3.56 merge streams