haskellfoundation / haskellfoundation/HaskellSchool
Pattern matching: What, where, how
Open
- Dominant language
- SCSS
- Stars
- 51
- Forks
- 11
- PR merge metrics
- No merged PRs in 30d
Description
Basically, there are two types of pattern matching techniques that we want to cover:
1. Destructuring ADTs and lists (and especially user-defined datatypes
2. Other techniques for pattern matching, such as:
* Functions Guards
* Pattern Guards
* As-patterns
* View Patterns
The first type should be mentioned in the lesson about user-defined ADTs.
The second type will need its own lesson.
---
cc @DrewFenwick
Contributor guide
Assessment
This issue has not been assessed yet.