Macaulay2 » Documentation
Packages » Macaulay2Doc :: AfterPrint
next | previous | forward | backward | up | index | toc

AfterPrint -- top level method applied after printing

Synopsis

Description

This method is used to print the type of the result of a computation.
i1 : 3/4

     3
o1 = -
     4

o1 : QQ
We could suppress that output for a single type as follows.
i2 : QQ#{topLevelMode,AfterPrint} = r -> r;
i3 : 3/4

     3
o3 = -
     4

For the programmer

The object AfterPrint is a symbol.