|
|
|
|
|
by dllthomas
2401 days ago
|
|
I'm not sure what your experience is, but this seems to differ from mine (lots of recent Haskell experience, some dated OCaml). I agree that matching on multiple levels in one statement isn't common, if that's what you were talking about. But performing bindings in a match is very common, and not something that's part of a switch statement (except in those languages where a switch statement is doing pattern matching more generally anyway). |
|