Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
While the example is interesting in that it shows an example of advanced pattern matching, it is problematic in that the pattern used is not of a valid type for the rest of the code. As it is not really relevant to the issue at hand, and given that it's a relatively advanced example not likely to be relevant to someone first learning the language, I suggest simply removing it. A separate section on advanced pattern matching could potentially cover it. Fixes scala-exercises#34
- Loading branch information