Sample sequence structure
The sequence structure is implemented in the instance function named doSomething, and I will discuss that function here.
The doSomethng function is shown in it entirety in Listing 1.