# export -- export symbols from a package

## Synopsis

• Usage:
export {"symbol1", "symbol2", ...}
• Inputs:
• a list, containing strings or options with string keys and values belonging to the package
• Outputs:
• a list, the list of exported symbols
• Consequences:
• the symbols whose names are in the list as strings, which should refer to functions or other symbols defined in the package, are made available to the user of the package, and are marked non-mutable. The strings are converted to symbols with those names in the dictionary of the package. An option of the form "name" => "symbol" creates a symbol with the name name that is a synonym of the symbol symbol.

## Description

A package can contain the code for many functions, only some of which should be made visible to the user. The function export allows one to specify which symbols are to be made visible. For an example see an example of a package.

No single-letter symbol should be exported, since such symbols are reserved as variables for the user.

Use exportMutable to export symbols whose values the user is permitted to modify.

Use importFrom to import private symbols of a package.