Function
Announces a conditional newline to the pretty printer.
pprint-newline kind stream => ()
#"fill", #"linear", #"miser", #"mandatory".
<stream>.
io
pprint
Announces a conditional newline to the pretty printer. The pretty printer emits a newline depending on the kind and the state of the pretty printer's current line buffer. The kind argument has roughly the following meanings:
#"fill"
#"linear"#"linear" newline in the current section needs to be emitted. That is, if a current section of output cannot fit on one line, and any one of the #"linear" newlines in the section needs to be emitted, then emit them all.
#"miser"#"linear" newline, but only when miser mode is in effect. Miser style is in effect when a logical block starts past a particular column of output.
#"mandatory"#"linear" and #"miser" newlines will be emitted as appropriate.