package alba
Install
dune-project
Dependency
Authors
Maintainers
Sources
sha256=062f33c55ef39706c4290dff67d5a00bf009051fd757f9352be527f629ae21fc
md5=eb4edc4d6b7e15b83d6397bd34994153
doc/alba.core/Alba_core/Context/Pretty/argument-1-P/index.html
Parameter Pretty.P
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.