by gergo_barany · 2y ago · 0 comments
Plus the restriction that the left hand side must be linear, that is, must not contain any variable more than once. So you usually can't write a pattern match like
match list with
| [x, y, x] -> ...
but languages with pattern matching usually allow you to add side conditions like this: match list with
| [x, y, x'] if x = x' -> ...No comments yet.