types must be specified, i.e. types are only inferred locally. `return` returns early, using it at the end of a function is not idiomatic.
|
|
||
|
1 |
|
|
|
2 |
|
|
|
3 |
|
|
|
4 |
|
|
|
5 |
|
|
|
6 |
|
|
|
7 |
|
|
|
8 |
|
|
| 1 |
|
9 |
|
| 2 |
|
10 |
|
| 3 |
|
11 |
|
|
|
||
| 7 |
|
15 |
|
| 8 |
|
16 |
|
| 9 |
|
17 |
|
|
18 |
|
|
|
19 |
|
|
|
20 |
|
|
|
21 |
|
|
|
22 |
|
|
| 10 |
|
23 |
|