I assumed that the missing `end` keyword was somehow part of the "keyword
chaining"..

On Mon, May 23, 2016 at 2:00 PM, Isaiah Norton <[email protected]>
wrote:

> Also, the given example is already valid syntax... (simply missing a final
> `end`)
>
> On Mon, May 23, 2016 at 1:51 PM, Stefan Karpinski <[email protected]>
> wrote:
>
>> What is "keyword chaining"? Can you provide examples of languages that do
>> something like this?
>>
>> On Mon, May 23, 2016 at 1:43 PM, Ford Ox <[email protected]> wrote:
>>
>>> Why is there no keyword chaining in julia?
>>>
>>> for x in 1:30, y in 1:30
>>>     if x == 5 && y == 5
>>>         dosomething()
>>>     else let obj = array[y, x]  # Chained keywords here
>>>         if obj == FOO
>>>             dosomethingelse()
>>>         end
>>>     end
>>> end
>>>
>>>
>>>
>>
>

Reply via email to