![]() |
Tries to match any of a sequence of patterns.
Inherits From: Pattern
oryx.experimental.matching.matcher.Choice(
*patterns, name: Optional[str] = None
)
Methods
match
match(
expr: Expr,
bindings: oryx.experimental.matching.jax_rewrite.Bindings
,
succeed: oryx.experimental.matching.jax_rewrite.Continuation
) -> oryx.experimental.matching.jax_rewrite.Success
__eq__
__eq__(
other
)
Return self==value.