control how a module is rendered in 1-dimensional form
module() export ModuleDeconstruct, ...; ... end module;
The ModuleDeconstruct routine is used to render a module in 1-dimensional form, that is, the format used when the module is passed to lprint or when the object is passed to printf, sprintf or fprintf with the %a or %A formats.
When the value returned by ModuleDeconstruct is printed, the output could be capable of being parsed to the original module. When used with an object, ModuleDeconstruct can return an unevaluated call to a constructor to achieve this.
ModuleDeconstruct differs from ModulePrint as ModulePrint is intended for pretty printing, and may suppress some content that is necessary for ModuleDeconstruct's return value.
The ModuleDeconstruct command was introduced in Maple 16.
For more information on Maple 16 changes, see Updates in Maple 16.
Download Help Document
What kind of issue would you like to report? (Optional)