|
|
|
|
|
by Retra
3966 days ago
|
|
That's actually the more 'normal' way of doing it. In type theory (or mathematics in general), you almost always write value: Type. (For instance F: A -> B.) This is how it is done in ML, Haskell, Erlang, Rust, Smalltalk, etc... It's mostly just C-like languages that do it the other way. |
|
Go types syntax is well done, IMO, even though I'm not into Go language that much (I rather Rust).