python3-pampy
An alternate pattern matching for Python
For patterns, a developer can use any Python type, any class, or any Python value. The operator `_` and built-in types like `int` or `str`, extract variables that are passed to functions. Types and Classes are matched via `instanceof(value, pattern)`. `Iterable` Patterns match recursively through all their elements. The same goes for dictionaries.
MITcloud_download Downloads
To download packages, you need to log in and have a valid subscription.
Please select a product to see the available package versions:
Loading...
Loading package downloads...