package alba
Install
dune-project
Dependency
Authors
Maintainers
Sources
sha256=4817038301d3e45bac9edf7e6f2fc8bf0a6d78e76e02ad7ea33ef69bcc17df3b
md5=25234357587126685d64f16236167937
doc/alba.fmlib/Fmlib/Position/Print/argument-1-PP/index.html
Parameter Print.PP
val empty : tThe printer which prints nothing.
val substring : string -> int -> int -> tsubstring s pos len: pretty printer printing a substring of s starting at pos and having length len.
val string : string -> tstring s: pretty printer printing the string s.
val char : char -> tchar s: pretty printer printing the character c.
val fill : int -> char -> tfill n c: pretty printer printing the character c n times.
val line : string -> ttext s: pretty printer printing an optional line break with the alternative text s.
val cut : tpretty printer printing an optional line break with no alternative text.
val space : tpretty printer printing an optional line break with a blank as alternative text.
nest i pp: pretty printer printing the same content as pp but doing an additional indent of i at each line break.
nest i pp: pretty printer printing the same content as pp but doing an additional indent of i relative to the current position at each line break.
group pp: treat all line breaks appearing in pp consistently i.e. either output all as line breaks or all with their alternative text.
val wrap_words : string -> twrap_words s: Print the string s with all the words in it potentially wrapped.
val fill_paragraph : string -> tfill_paragraph s: Print the string s as a paragraph i.e. putting as many words on a line as possible.