Nesting Custom Types
Explore how to define nested custom types in Haskell by extending basic shapes with location data. Learn to write functions that use nested pattern matching to handle these types, and implement shape manipulation such as moving a shape using vectors.
We'll cover the following...
We'll cover the following...
Defining nested types
When ...