3.10 got a new statement type for pattern matching. Too bad it wasn't an expression or we could just put it in brackets. But Lisp macros are easily powerful enough to do this. Like the other statement macros, this should follow Python's form and semantics as closely as reasonably possible.
3.10 got a new statement type for pattern matching. Too bad it wasn't an expression or we could just put it in brackets. But Lisp macros are easily powerful enough to do this. Like the other statement macros, this should follow Python's form and semantics as closely as reasonably possible.