2014-09-06 10:06 UTC+01:00, Dima Pasechnik <dimp...@gmail.com>: > OK, sorry, perhaps, I am too used to GAP, which allows things like > a:=(1,2)(3,4); > b:=(3,4,5);
GAP is very cool to work with permutations. But this is not possible to be as smart in Sage as (1,2,3) is a tuple. > Yes, I must agree that in Pythonic world > sage: Permutation((1,2,3)) > > must be equal to > sage: Permutation([1,2,3]) +1 It would be particularly dangerous to have different behavior in that case (think about the semantic of an iterator that changes from iterating through list to iterating through tuples). > And if you mean the cyclic permutation (1,2,3) this should be > sage: Permutation([(1,2,3)]) +1 Vincent -- 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.