You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
That is too ambiguous to handle and some consider parameter names a nice form of documentation... However, in the works are type descriptions using the same syntax as expressions:
int * int # short for tuple[a, b: int]
int -> int # short for proc (a: int): int
Hm, now that makes int * int -> int a proc (a: tuple[a,b:int]): int
Damn. Any idea?
--> Discussion in forum (http://force7.de/heimdall/).
In the tutorial there's the example "procedural type":
Why is it necessary to give parameters names when only declaring a type?
I feel like I should be able to do:
Is this in the works?
The text was updated successfully, but these errors were encountered: