retrieve the exported locals of a module
(optional) one or more of the names instance, typed, static, and string
The procedure exports returns an expression sequence containing the names (symbols) of the exported members of a module m.
By default, the global instances of the exported member names are returned. The instances of the names local to the module can be requested by specifying the option instance as a second (optional) argument.
By default, only the name portion (first operand) of an exported member that has been declared as an expression of type :: is returned. The entire structure, including the type, can be retrieved by passing the optional argument typed.
A module can contain both per-instance and static exports, the latter of which are shared by all instances of a module. By default, the exports function returns only the per-instance exports. Specifying the static option causes it to return only the static exports instead.
The string option causes exports to return the exported names as strings instead of names. In cases where it is necessary to know only the names of the exports and not their values (for example, for reporting purposes), this avoids any danger of accidental unintended evaluation.
The instance or string, typed, and static options may be used separately or together in any single call to exports, and may occur in any order after the first (module) argument.
The instance and string options are contradictory, and may not be used together.
The exports command is thread-safe as of Maple 15.
For more information on thread safety, see index/threadsafe.
m ≔ module_export⁡e1,e2end module:
m ≔ module_export⁡e1::integer,e2::`module`end module:
Download Help Document
What kind of issue would you like to report? (Optional)