[julia-users] Re: What's new in 0.3?

2014-08-25 Thread Ed Scheinerman
Thanks again for the pointer to the release notes. 

The issue I raised was not dealt with in the release notes: namely, 1:5 == 
[1:5] evaluates as true in Julia 0.2 but as false in Julia 0.3. 

I think the new behavior is a problem. I was happy with the old behavior, 
but if this is a bad idea for some reason, I would prefer that Julia raised 
an error in this situation rather than give a result that (in my opinion) 
is wrong. Certainly Julia compares objects of different type for equality 
(e.g. 0==0.0) so the fact that 1:5 and [1:5] are different types is not the 
issue. 
 


 On Saturday, August 23, 2014 9:06:50 AM UTC-4, Valentin Churavy wrote:

 There is https://github.com/JuliaLang/julia/blob/v0.3.0/NEWS.md 

 On Saturday, 23 August 2014 15:02:56 UTC+2, Ed Scheinerman wrote:

 Is there a document describing new features and significant changes 
 between versions 0.2 and 0.3? 

 One item I noticed is that in 0.2 the express 1:5 == [1:5] evaluated as 
 true, but in 0.3 it's false. 



Re: [julia-users] Re: What's new in 0.3?

2014-08-25 Thread John Myles White
The NEWS.md file does cover this:

• Ranges and arrays with the same elements are now unequal. This allows hashing 
and comparing ranges to be faster. (#5778)

On Aug 25, 2014, at 8:45 AM, Ed Scheinerman edward.scheiner...@gmail.com 
wrote:

 Thanks again for the pointer to the release notes. 
 
 The issue I raised was not dealt with in the release notes: namely, 1:5 == 
 [1:5] evaluates as true in Julia 0.2 but as false in Julia 0.3. 
 
 I think the new behavior is a problem. I was happy with the old behavior, but 
 if this is a bad idea for some reason, I would prefer that Julia raised an 
 error in this situation rather than give a result that (in my opinion) is 
 wrong. Certainly Julia compares objects of different type for equality (e.g. 
 0==0.0) so the fact that 1:5 and [1:5] are different types is not the issue. 
  
 
 On Saturday, August 23, 2014 9:06:50 AM UTC-4, Valentin Churavy wrote:
 There is https://github.com/JuliaLang/julia/blob/v0.3.0/NEWS.md 
 
 On Saturday, 23 August 2014 15:02:56 UTC+2, Ed Scheinerman wrote:
 Is there a document describing new features and significant changes between 
 versions 0.2 and 0.3? 
 
 One item I noticed is that in 0.2 the express 1:5 == [1:5] evaluated as true, 
 but in 0.3 it's false. 



Re: [julia-users] Re: What's new in 0.3?

2014-08-25 Thread Ed Scheinerman
My bad. Didn't read this carefully enough to realize this comment applied
to my issue.


On Mon, Aug 25, 2014 at 11:47 AM, John Myles White johnmyleswh...@gmail.com
 wrote:

 The NEWS.md file does cover this:

 • Ranges and arrays with the same elements are now unequal. This allows
 hashing and comparing ranges to be faster. (#5778)

 On Aug 25, 2014, at 8:45 AM, Ed Scheinerman edward.scheiner...@gmail.com
 wrote:

  Thanks again for the pointer to the release notes.
 
  The issue I raised was not dealt with in the release notes: namely, 1:5
 == [1:5] evaluates as true in Julia 0.2 but as false in Julia 0.3.
 
  I think the new behavior is a problem. I was happy with the old
 behavior, but if this is a bad idea for some reason, I would prefer that
 Julia raised an error in this situation rather than give a result that (in
 my opinion) is wrong. Certainly Julia compares objects of different type
 for equality (e.g. 0==0.0) so the fact that 1:5 and [1:5] are different
 types is not the issue.
 
 
  On Saturday, August 23, 2014 9:06:50 AM UTC-4, Valentin Churavy wrote:
  There is https://github.com/JuliaLang/julia/blob/v0.3.0/NEWS.md
 
  On Saturday, 23 August 2014 15:02:56 UTC+2, Ed Scheinerman wrote:
  Is there a document describing new features and significant changes
 between versions 0.2 and 0.3?
 
  One item I noticed is that in 0.2 the express 1:5 == [1:5] evaluated as
 true, but in 0.3 it's false.




-- 
Ed Scheinerman (e...@scheinerman.net)


[julia-users] Re: What's new in 0.3?

2014-08-23 Thread Valentin Churavy
There is https://github.com/JuliaLang/julia/blob/v0.3.0/NEWS.md 

On Saturday, 23 August 2014 15:02:56 UTC+2, Ed Scheinerman wrote:

 Is there a document describing new features and significant changes 
 between versions 0.2 and 0.3? 

 One item I noticed is that in 0.2 the express 1:5 == [1:5] evaluated as 
 true, but in 0.3 it's false. 



[julia-users] Re: What's new in 0.3?

2014-08-23 Thread Ed Scheinerman
THANKS!

On Saturday, August 23, 2014 9:06:50 AM UTC-4, Valentin Churavy wrote:

 There is https://github.com/JuliaLang/julia/blob/v0.3.0/NEWS.md 

 On Saturday, 23 August 2014 15:02:56 UTC+2, Ed Scheinerman wrote:

 Is there a document describing new features and significant changes 
 between versions 0.2 and 0.3? 

 One item I noticed is that in 0.2 the express 1:5 == [1:5] evaluated as 
 true, but in 0.3 it's false.