-
Notifications
You must be signed in to change notification settings - Fork 11
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Pattern matching: What, where, how #13
Comments
Good learning materials on all the forms of pattern matching are spread out all over the place Having all forms of pattern matching covered by Haskell School would fill a role that isn't currently filled very well in my opinion. Lesson OrderIn tutorials, list matching patterns generally get introduced fairly early; often earlier than ADTs. We'd be tying our hands too much to only show pattern matching until after ADTs, On talking with @Kleidukos, IIRC we felt that the appropriate order was to introduce pattern matching on lists early as nessecary, Maybe we ought to have a styled "interesting note" box in the ADT section that points out that the More topicsHere are some more pattern matching topics we might want to cover:
All of the topics we cover will need an appropriate home in the lesson order, and any topics covering language extension features need to appropriately inform the user. |
Fixed by #32 |
Basically, there are two types of pattern matching techniques that we want to cover:
The first type should be mentioned in the lesson about user-defined ADTs.
The second type will need its own lesson.
cc @DrewFenwick
The text was updated successfully, but these errors were encountered: