package merlin-lib
Merlin's libraries
Install
Dune Dependency
Authors
Maintainers
Sources
merlin-5.4.1-503.tbz
sha256=49b3b4c778c12125fc7405e73790b0b312d5d79749dd73d4838b6562a2533022
sha512=6350ff076ac61727c48bc098a05520c5d343f3323b2f3b6d7d69fdd568e51abca6945cbcbc3a6ae97fd198bd7bbdcae823fbd0f3f14a37972fe713da2ed14f2d
doc/merlin-lib.utils/Merlin_utils/Format_doc/Doc/index.html
Module Format_doc.Doc
Source
Definitions and immutable API for composing documents
Type definitions and core functions
Format box types
Source
type element =
| Text of string
| With_size of int
| Open_box of {
kind : box_type;
indent : int;
}
| Close_box
| Open_tag of Format.stag
| Close_tag
| Open_tbox
| Tab_break of {
}
| Set_tab
| Close_tbox
| Simple_break of {
}
| Break of {
}
| Flush of {
}
| Newline
| If_newline
| Deprecated of Format.formatter -> unit
(*Escape hatch: a
*)Format
printer used to provide backward-compatibility for user-defined printer (from the#install_printer
toplevel directive for instance).
Base formatting instruction recognized by Format
Immutable document type
format ppf doc
sends the format instruction of doc
to the Format's formatter doc
.
Fold over a document as a sequence of instructions
The functions below mirror Format
printers, without the pp_print_
prefix naming convention
sectionYPositions = computeSectionYPositions($el), 10)"
x-init="setTimeout(() => sectionYPositions = computeSectionYPositions($el), 10)"
>
On This Page