next | previous | forward | backward | up | top | index | toc | Macaulay2 web site
Macaulay2Doc :: Bag

Bag -- the class of all bags


A bag can be used for enclosing something in a container to prevent it from being printed, in normal circumstances. Any mutable list can be used for this purpose, but bags are designed for this purpose. In comparison and sorting, they are declared to be incomparable.

See also

Methods that use a bag :

For the programmer

The object Bag is a self initializing type, with ancestor classes MutableList < BasicList < Thing.