| ▲ | boxed 7 hours ago | |
> for v in values: { Both colon and {... why? And it seems very mixed in the example. | ||
| ▲ | OJFord 6 hours ago | parent [-] | |
I have no knowledge of lily, but a good reason could be for example that you can do `: print(v)`, but need braces for a multi-line block. Or that braces are the difference between creating a new scope and not. It's not necessarily just syntax for the sake of it. | ||