Note that this version of Generic_Stack is composable. Since this version supports assignment (:=) and equality (=), we can create stacks of stacks. Even if you never create a stack of stacks, checking to see if a reusable component is composable is a good way to check on the generality of a resuable component [Wheeler 1992].
You may go to the next section.
You may also:
Go back to the question | Go up to the outline of lesson 12 |
---|
David A. Wheeler (dwheeler@dwheeler.com)
The master copy of this file is at
"http://www.adahome.com/Tutorials/Lovelace/s12sfr2.htm".