control how a module is rendered in 1-dimensional form - Maple Help

Online Help

All Products    Maple    MapleSim

Home : Support : Online Help : Programming : Modules : Module Exports : ModuleDeconstruct

ModuleDeconstruct - control how a module is rendered in 1-dimensional form

Calling Sequence

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.

See Also

fprintf, lprint, module, ModuleIterator, ModuleLoad, ModulePrint, ModuleType, ModuleUnload, Object, Object,overview, parse, printf, procedure, sprintf

Download Help Document

Was this information helpful?

Please add your Comment (Optional)
E-mail Address (Optional)
What is ? This question helps us to combat spam