It historically contains a lot of partial functions. Generally it has a lot of Bool checks with actions associated with them. I could define something like case-of with ViewPatterns to do both a case check and extract whatever values I need for an associated action.
It historically contains a lot of partial functions. Generally it has a lot of
Bool
checks with actions associated with them. I could define something likecase-of
withViewPatterns
to do both a case check and extract whatever values I need for an associated action.