Referenced from lesson Introduction to Data Structures

# A CakeType is a flavor, layers, & is-iceCream
data CakeType:
    | cake(____________________________________________________
           ____________________________________________________
           ____________________________________________________)
      end

To make an instance of this structure, I would write:

cake1 = ____________________________________________________

cake2 = ____________________________________________________

To access the fields of cake2, I would write:

        ____________________________________________________

        ____________________________________________________

        ____________________________________________________

These materials were developed partly through support of the National Science Foundation, (awards 1042210, 1535276, 1648684, and 1738598). CCbadge Bootstrap:Reactive by Emma Youndtsmith, Emmanuel Schanzer, Kathi Fisler, Shriram Krishnamurthi, Joe Politz and Dorai Sitaram is licensed under a Creative Commons 4.0 Unported License. Based on a work at www.BootstrapWorld.org. Permissions beyond the scope of this license may be available by contacting schanzer@BootstrapWorld.org.