On Thursday, September 3, 2015 at 12:20:51 PM UTC-4, [email protected] wrote:
>
> "Why is [1:10...] a puzzle?"
>
> Just that a new user might expect to see or use the ellipsis in its 
> conventional position:
>
>     [1...10]
>

[1...10] may be conventional outside of julia (is that done in other 
programming languages, or just in math?), but 1:10... does seem very 
consistent with the rest of julia's uses of the splat operator and unit 
ranges, so it doesn't seem at all surprising to me.
When I saw it, I knew immediately what it meant.


> rather than at the end:
>
>     [1:10...]
>
>
>

Reply via email to