| ▲ | marckerbiquet 17 hours ago | |
Author here. The language has still many inconsistencies but not these ones. Import functions is done the same way:
May be the doc is outdated.The multiple declaration is consistent with assignment:
The syntax
is unusual compared to many other languages because it just use a simple syntax:
The type is prefixed only to resolve literals:
It can be useful in generic functions:
But to create uninitialized variables I had to keep the syntax: | ||
| ▲ | RX14 3 hours ago | parent [-] | |
Have you considered the syntax crystal uses i.e. 42_i32 and 42_u8? | ||