patma icon indicating copy to clipboard operation
patma copied to clipboard

Pattern Matching

Results 92 patma issues
Sort by recently updated
recently updated
newest added

There are two schools of thought about this: - do nothing (similar to current `if-elif-elif` syntax without `else`) - raise an exception (I think this is common in functional languages)...

accepted
fully pepped

A "guard" is a Boolean expression which can be combined with a case. For example, you could write ``` match [randint(1, 6), randint(1, 6)]: case [a, b] if a ==...

accepted
fully pepped