View Single Post

   
  #6 (permalink)  
Old 04-11-2008, 06:50 AM
Greg Stark
 
Posts: n/a
Default Re: Some array semantics issues

Tom Lane <tgl@sss.pgh.pa.us> writes:

> Well, in that case what do you think about
> {{1,2},{3,4},{5,6},{7,8}}
> vs
> {{1,2,3,4},{5,6,7,8}}


In the first case the first element is {1,2} and in the second case the first
element is {1,2,3,4} so from my point of view there's no way these are the
same.

None of the three use cases I conjured would want them considered equal, which
isn't to say there isn't some data structure somewhere out there which would,
but I haven't thought of it.

--
greg


---------------------------(end of broadcast)---------------------------
TIP 5: don't forget to increase your free space map settings

Reply With Quote