5 ms·
I'm not sure I follow. That doesn't seem to be a special property of `main`!
by tome 3y ago
I'm not sure I follow. That doesn't seem to be a special property of `main`!
- TylerE 3y agoIt isn't implicit on anything except main. Lots more ceremony. It very much ceases to be 4 or 5 tokens.
- tome 3y agoI'm still not really sure what you mean. In what sense do you mean it's "implicit on `main`"?
- dllthomas 3y agoprintGreeting = print "Hello, World!" main = printGreeting works every bit as much as main = print "Hello, World" The only difference for main is that it's run because it's the entry point, but that's true of most languages and almost certainly not what you're complaining about I think?