next | previous | forward | backward | up | top | index | toc | home

Package -- the class of all packages

Description

A package is a body of Macaulay2 source code devoted to a particular topic. Many packages are distributed with Macaulay 2, 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 which are only rarely used.

Methods that use a package :

For the programmer

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