Hello,

Sorry for coming in late on this.  One should really use the
Combinations constructor as it is much better behaved as it doesn't
use the GAP interface.

sage: Combinations([1,2,3,4],2).list()
[[1, 2], [1, 3], [1, 4], [2, 3], [2, 4], [3, 4]]
sage: Combinations([1,2,3,4],2).count()
6

We should really get around to deprecating the lowercase names.

--Mike

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

Reply via email to