wiki:BoxesCowan
Last modified 20 months ago Last modified on 09/23/2010 10:05:56 AM

Boxes

This is a trivial module, providing mutable and immutable boxes. Most Schemes have something like it, sometimes called cells. Boxes are a disjoint type.

Procedures

  • box: constructor
  • immutable-box: constructor
  • box?: predicate
  • immutable-box?: predicate
  • unbox: accessor
  • set-box!: mutator