Message397457
In fact, I'm worried about how to explain some behaviors.
Look here:
```python
# `Maybe` here is the same class described in the first message
Nothing = Maybe()
Maybe.empty = Nothing
if __name__ == '__main__':
my_maybe = Maybe()
match my_maybe:
case Nothing:
print('FIRST CASE')
case _:
print('DEFAULT CASE')
```
I can't use `Nothing` to match the values even though it's a variable but using `Maybe.empty` it works. |
|
Date |
User |
Action |
Args |
2021-07-14 02:32:00 | thepabloaguilar | set | recipients:
+ thepabloaguilar, Dennis Sweeney |
2021-07-14 02:31:59 | thepabloaguilar | set | messageid: <1626229919.99.0.308126028714.issue44617@roundup.psfhosted.org> |
2021-07-14 02:31:59 | thepabloaguilar | link | issue44617 messages |
2021-07-14 02:31:59 | thepabloaguilar | create | |
|