Function templates for input of other self-referential data types

There are infinitely many possible data types you could use in a program, so it's impossible to give templates for all of them here. In practice, whenever you invent a new data type, write a template (both input and output) for it. Fortunately, there are only a few common ways to invent a new data type.
Last modified: Sat Dec 16 13:18:33 EST 2000
Stephen Bloch / sbloch@adelphi.edu