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

Package -- the class of all packages


A package is a body of Macaulay2 source code devoted to a particular topic. Many packages are distributed with Macaulay2, and others are available from various users on the internet.

See packages for an overview about using and writing packages.

Available packages

Functions useful when using packages.

Parts of a package. See creating a package.
  • newPackage -- package item: start a new package
  • export -- package item: export functions
  • exportMutable -- package item: export writable variables
  • beginDocumentation -- package item: start documentation section
  • document -- package item: documentation node
  • TEST -- package item: register a test of the package
Functions useful while writing and debugging a package. Functions that are only rarely used.

Functions and methods returning a package :

Methods that use a package :

For the programmer

The object Package is a type, with ancestor classes MutableHashTable < HashTable < Thing.