- Explain terms/concepts:
- Subclasses of data
- Mixed data
- Class input belongs
- Bad use of data
- List the predicates for classes of data that we know.
- What does struct? consume and produce?
- For each structure definition you write, Scheme introduces constructors, selectors and what else?
- Write a data definition for a pixel where it is either a number or a posn.
- Write a proram that finds the distance-to-0 that consumes a pixel with mixed data.