On Sat, Nov 07, 2009 at 08:44:11PM -0800, Nick Alexander wrote:
> 
> 
> Sets are unordered.  Why does the display order changing worry you?
> 

Of course they are.  So mathematically speaking everything is fine.
However, unless there's a good reason for Set(['a', 'b', 'c']) to
result in {'a', 'c', 'b'}, I would prefer to not be kept on my toes
like this.

Questions that come to mind when I see this:

1. Can the display order change between different sessions of Sage on
the same machine?

2. Is the display order machine-dependent in any way?


In fact, the reason this is bothering me right now is that I'm writing
code for working with free groups on sets, and I end up with something
like

sage: G.<a, b, c> = FreeGroup()
sage: G
Free Group on the Set {a, c, b}
sage: b
c

This is probably due more to crappy programming on my part rather than
the Set issue, but the latter did confuse me.


Best,
Alex


-- 
Alex Ghitza -- Lecturer in Mathematics -- The University of Melbourne
-- Australia -- http://www.ms.unimelb.edu.au/~aghitza/

--~--~---------~--~----~------------~-------~--~----~
To post to this group, send an email to sage-devel@googlegroups.com
To unsubscribe from this group, send an email to 
sage-devel-unsubscr...@googlegroups.com
For more options, visit this group at http://groups.google.com/group/sage-devel
URL: http://www.sagemath.org
-~----------~----~----~----~------~----~------~--~---

Reply via email to