Chapter 2
Getting Started with Haskell
Section 6
Pattern Matching
Now we've created our new data-type, how do we manipulate the data inside it? In this video, you'll learn how to calculate the Expression values that we created in the previous video, and look at how to do pattern matching on lists. - Understand basic pattern matching, and the importance of matching all patterns - Process a recursive data structure with pattern matching - Perform pattern matching on lists