package merlin-lib
sectionYPositions = computeSectionYPositions($el), 10)"
x-init="setTimeout(() => sectionYPositions = computeSectionYPositions($el), 10)"
>
On This Page
Merlin's libraries
Install
dune-project
Dependency
Authors
Maintainers
Sources
merlin-5.6-504.tbz
sha256=82d648a4180d6d5aa3a083218e28bf197f4e9f147884de9302bb6811ad98b77f
sha512=e21c96db754a289462677e6985181902ddd90bab9e9cebbbb739d92d94b5aee7ef7a134da70ae384291d9bfaccfecd26d37b48f8d75c5d36b9eda18f6e5afd3d
doc/merlin-lib.utils/Merlin_utils/Format_doc/Doc/index.html
Module Format_doc.DocSource
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
*)Formatprinter used to provide backward-compatibility for user-defined printer (from the#install_printertoplevel 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
Alignment functions
Align the right side of one "@{<ralign>...@}" tag box by inserting spaces at the beginning of boxes. Those function do nothing if the tag box appears after a break hint.
sectionYPositions = computeSectionYPositions($el), 10)"
x-init="setTimeout(() => sectionYPositions = computeSectionYPositions($el), 10)"
>
On This Page