Using Generics

In this example, we use a List generic interface to implement a set abstraction, and the Table generic interface to implement a mapping from names to action procedures. The main module, Generics uses an AtomList to keep track of names. This package creates its own instance of a Table which maps Atom to Action. The table is instantiated using the table() call in the makefile for this package.

See the Interface Index for more information on various kinds of generics.