Open Piping opened 5 years ago
I was planning on creating a similar issue, but I feel discouraged knowing that issues like this are not being replied to -- it had been 3 years since this was created. @evancz Can you at least let us know what your bandwidth is like for looking at issues like this ? A 3-year delay is worse than the US government immigration processing time.
Hi Evan,
I came from a C background and got eye trained to catch the identifier first and then discover what type is associated with it. E.g
void (*foo[])(int a)
foo is the identifier and foo is an array whose elements are pointers to a function take an int as argument and return nothing.But in the elm, I thought the identifier can start in the beginning of line. And apparently the type can have multiple words. For example
foo : List String
. I know foo is a List of String. Is itList<String>
? But how aboutboo : List String A B C
?Can you elaborate more in the
guide
? How does the compiler program parse the input and determined the type.Thank you for this awesome programming language. Best, Robin