Package patternlib
patternlib
is a toolkit for pattern matching.
That's the intention anyway, the first and only matcher provided here is for generators, allowing peeking into the head elements of a generator.
Sub-modules
patternlib.generator
-
Wrap the generator to allow pattern matching …