#4954: Words_over_Alphabet should check the type of input alphabet
---------------------------+------------------------------------------------
 Reporter:  slabbe         |       Owner:  slabbe        
     Type:  defect         |      Status:  new           
 Priority:  major          |   Milestone:  sage-4.1.1    
Component:  combinatorics  |    Keywords:  words alphabet
 Reviewer:                 |      Author:                
   Merged:                 |  
---------------------------+------------------------------------------------

Comment(by slabbe):

 This problem was solved by #6519 :

 {{{
 sage: from sage.combinat.words.words import Words_over_Alphabet
 sage: W = Words_over_Alphabet([1,2,3])
 sage: W.alphabet()
 [1, 2, 3]
 sage: W([1,1,1,2,1,3])
 word: 111213
 }}}

 {{{
 sage: Y = Words_over_Alphabet('abcde')
 sage: Y.alphabet()
 'abcde'
 sage: Y('abababacde')
 word: abababacde
 }}}

 So, I propose that this ticket be closed.

-- 
Ticket URL: <http://trac.sagemath.org/sage_trac/ticket/4954#comment:3>
Sage <http://sagemath.org/>
Sage: Creating a Viable Open Source Alternative to Magma, Maple, Mathematica, 
and MATLAB

--~--~---------~--~----~------------~-------~--~----~
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
-~----------~----~----~----~------~----~------~--~---

Reply via email to