Macaulay2 » Documentation
Packages » Macaulay2Doc :: Bag
next | previous | forward | backward | up | index | toc

Bag -- the class of all bags

Description

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.