Closed lucasteles closed 2 years ago
I think for most part it should work, but I'm not sure you will be able to unwrap the option/result to get the inner value. But please try to make some examples and submit as a PR. PEP634 is not a matching protocol which would have made it easier for us (if it had been).
This will be fixed in the next release
@lucasteles Thanks for asking about this. I decided to remove the legacy custom pattern matching in favor of python 3.10. Expression should be lot better because of this. I'm upgrading all projects to use Python 3.10 because of this.
Will we have support for
Option
andResult
with PEP634 ?