Matthijs

Results 69 comments of Matthijs

> We don't have to teach everything about case expressions (and indeed, we probably shouldn't). It might surprise you how easy it is to explain (essentially) everything about `case` expressions...

Way I understand it, the concept graph will look something like this. ``` | Simple Pattern Matching / | \ Maybe Either ... (tuples, lists?) \ | / Algebraic Data...

@kytrinyx @ErikSchierboom Before I continue with the last bits of `Maybe` and then `Either` and tuples: what do you think of this style and depth?

The exercise is now visible to students, as is the accompanying concept. However, the syllabus is still hidden. Is this the preferred state?

The solution to Valentine's is feature-complete, so to speak. It matches on a custom ADT (`Activity`), matches on fields (e.g. `Korean`), uses binding patterns (not sure this is the right...

> My gut feeling is that the middle solution is just right at this point in the concept tree. I agree. The third one is not any more complicated (depending...

> I _think_ we'd be good to kick off work on the Valentine's Day exercise itself. It looks like a straightforward translation of F#'s `instructions.md` would be good. > @MatthijsBlom...

It occurs to me that `Maybe`, `Either`, tuples, … do not actually depend on _**Simple Pattern Matching**_.

> So your saying you wouldn't use pattern matching when working with them? I would regularly, but a beginner need not immediately. The utility functions in their respective modules are...

This is taking way longer than expected, and @pwadsworth is being productive in my absence, so I tried to write down my thoughts here below. # Pattern Matching & Data...