Skip to main content

You are not logged in. Your edit will be placed in a queue until it is peer reviewed.

We welcome edits that make the post easier to understand and more valuable for readers. Because community members review edits, please try to make the post substantially better than how you found it, for example, by fixing grammar or adding additional resources and hyperlinks.

Required fields*

2
  • 4
    Hi, Rob. Just curiosity: since we are not using thing in switch` in any of the cases above, what would be the use here using thing? I failed to see it. Thanks. Commented Apr 27, 2015 at 22:45
  • 4
    thing is the value being tested in each case. So if thing is a Movie, it's value will be bound to the symbol movie. Commented Apr 27, 2015 at 23:39