File size: 358 Bytes
d8a7ddd
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
match foo:
    case _: ...
match 1:
    case _: ...
match 1.0:
    case _: ...
match 1j:
    case _: ...
match "foo":
    case _: ...
match f"foo {x}":
    case _: ...
match {1, 2}:
    case _: ...
match ~foo:
    case _: ...
match ...:
    case _: ...
match not foo:
    case _: ...
match await foo():
    case _: ...
match lambda foo: foo:
    case _: ...