If you identify scalars with zero-dimensional arrays, then this behavior falls 
out naturally. In Julia those *are* different things, but it still makes sense 
for them to behave similarly. To make a hard break between a zero-dimensional 
array and a scalar seems to me to require some argument – how are they 
different and why?

> On Sep 7, 2014, at 9:34 PM, Tim Holy <[email protected]> wrote:
> 
> With a sufficiently compelling argument, I imagine it might be conceivable---
> there are other equally-fundamental decisions that are viewed as being 
> in-play 
> during the 0.4 series. You might start by disabling that behavior and then 
> seeing what aspects, if any, of `make testall` break.
> 
> But as an argument for change, "cripes!" doesn't cut it :-).
> 
> --Tim
> 
>> On Sunday, September 07, 2014 12:16:19 PM [email protected] wrote:
>> Thanks for the response.
>> 
>>> It's both less bad and weirder than that. Integers are iterable.
>> 
>> Cripes! I've found the relevant mailing list thread you mentioned:
>> https://groups.google.com/forum/#!msg/julia-users/bNDcBnF5hd0/q2GL2UtbmVIJ
>> . Stefan mentions this decision could be revisited, so I'm hopeful this
>> will eventually change. Julia isn't yet at a stage where backwards
>> compatibility is critical, I presume?
> 

Reply via email to