Two questions concerning the builtin pretty printing facilities of Poly/ML
5.3 (or pre-5.4 SVN version 1125).
(1) The Poly/ML toplevel pretty prints values nicely, according to the
print functions installed by the user. It seems that PolyML.print (and
PolyML.makestring) produce an unformatted string only via PolyML.uglyPrint
instead of PolyML.prettyPrint.
Is this a fundamental limitation, or could one get regular pretty printed
output here as well?
(2) When mapping Pretty.fbrk (forced break) of Isabelle to the Poly/ML
model we simulate it via a very large regular break, greater than the
usual line length. This produces funny output with
PolyML.print/makestring, because it does not do the formatting as observed
above.
Is it possible to force breaks more directly, apart from embedding a
literal "\n" which is not counted properly?
Makarius