Syntax style inconsistency
supercooldave opened this issue · comments
Task creation has syntax
async { expr }
Nowhere else in the language are squiggly parentheses used.
Does it make sense to change this before we become too task-oriented?
But you can also write it like this, no?
async
expr
end
Squiggly parentheses can be used for single line blocks elsewhere as well:
if true then
{println("foo"); println("bar")}
end
I don't think there are any inconsistencies here.
My bad. I thought they were eliminated.
I'll deissue this.