On Tuesday, October 28, 2014 10:02:11 PM UTC, Erik Massop wrote:
>
> P.S. Addition (concatenation) of sequences converts to lists. Is that 
> the intended behavior? 


I don't really want to hold up Sequence as the optimal implementation of a 
"coercing container", its just the only one that we have. 

IMHO: 

* adding elements should be allowed to coerce the universe of the container 
(which involves converting all elements to the new universe)

* concatenating the containers should look for the common parent that the 
coercion model finds, and then convert all elements that aren't already in 
that parent (potentially converting the elements from both containers that 
are concatenated)


-- 
You received this message because you are subscribed to the Google Groups 
"sage-devel" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to sage-devel+unsubscr...@googlegroups.com.
To post to this group, send email to sage-devel@googlegroups.com.
Visit this group at http://groups.google.com/group/sage-devel.
For more options, visit https://groups.google.com/d/optout.

Reply via email to