Macaulay2 » Documentation
Packages » Macaulay2Doc » The Macaulay2 language » system facilities » top level loop » topLevelMode » AfterPrint
next | previous | forward | backward | up | index | toc

AfterPrint -- top level method applied after printing

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.


The source of this document is in Macaulay2Doc/ov_repl.m2:371:0.