next | previous | forward | backward | up | top | index | toc | Macaulay2 web site
Macaulay2Doc :: AfterPrint

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#{Standard,AfterPrint} = r -> r;
i3 : 3/4

     3
o3 = -
     4

For the programmer

The object AfterPrint is a symbol.