#4653: Merge sage-words code into Sage
---------------------------+------------------------------------------------
Reporter: saliola | Owner: saliola
Type: enhancement | Status: assigned
Priority: major | Milestone: sage-3.2.2
Component: combinatorics | Resolution:
Keywords: sage-combinat |
---------------------------+------------------------------------------------
Comment (by saliola):
Replying to [comment:6 mabshoff]:
> Replying to [comment:5 saliola]:
> > Hello Michael,
>
> Hi Franco,
>
> > The all.py file imports only a few things into the global namespace:
> > Alphabet
> > Word
> > WordMorphism
> > WordOptions
> > Words
> > words
>
> Ok, that seems acceptable. But what is the difference between words and
Words? I can tell you that there are many people (including William)
around in Sage that absolutely dislike case sensitivity behavior changes,
i.e. think LinAlg in Maple 10 or so.
We got the idea from graphs to put all examples/pre-defined words into a
class. So one could do something like words.FibonacciWord(), for example.
But there is no Graphs class, so this is not a problem with graphs
(although I suspect that if Nicolas reads this, then he'll want to create
a combinatorial class of all graphs). I will change it, but I need a
better name. Perhaps WordExamples or WordConstructor? That has the benefit
of showing up in tab-completion. Is something similar done anywhere
besides in graphs? It would be good to be consistent.
Franco
--
Ticket URL: <http://trac.sagemath.org/sage_trac/ticket/4653#comment:7>
Sage <http://sagemath.org/>
Sage - Open Source Mathematical Software: Building the Car Instead of
Reinventing the Wheel
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups
"sage-trac" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at
http://groups.google.com/group/sage-trac?hl=en
-~----------~----~----~----~------~----~------~--~---