|
|
|
|
|
by munificent
5557 days ago
|
|
ML type annotations use that syntax, so it's probably the grandaddy of them all. It's easier to parse if your type syntax uses juxtaposition. "Some int" is a valid type, so it would make "<type> <var>" harder to parse. It's hard to tell when the type ends and the variable name starts without backtracking. |
|