Closed jmeaster30 closed 1 year ago
currently the syntax is:
set foo to transform return "bar" end
which is nice and I want to keep that but I feel the following syntax also makes sense:
set foo to transform begin return "bar" end
The first looks a lot cleaner but the pattern body starts with 'begin' so it would make sense to allow both
This could be for anything with blocks but haven't run into any other cases where it feels off
Added for functions
currently the syntax is:
which is nice and I want to keep that but I feel the following syntax also makes sense:
The first looks a lot cleaner but the pattern body starts with 'begin' so it would make sense to allow both