Bases: sage.combinat.combinat.CombinatorialClass
Returns l, wrapped as a combinatorial class
EXAMPLES:
sage: F = FiniteCombinatorialClass([1,2,3])
sage: F.list()
[1, 2, 3]
sage: F.cardinality()
3
sage: F.random_element()
1
sage: F.first()
1
sage: F.last()
3
EXAMPLES:
sage: F = FiniteCombinatorialClass([1,2,3])
sage: F.cardinality()
3
TESTS:
sage: F = FiniteCombinatorialClass([1,2,3])
sage: F.list()
[1, 2, 3]