package pp-binary-ints
Pretty Printing Binary Integers
Install
Dune Dependency
Authors
Maintainers
Sources
pp-binary-ints-1.0.0.tbz
sha256=4840fc294cf861bddecdbb3218f0ef26d37d2207d45a45d19d01f14e5528cd1b
sha512=123ec3a792e5148d324ac1406d62fcee798af8ec7a75d23986ac18018ea816d954a71e01d8edbb734fb9f5855686f63e22765da49c72802e67acb9749e6d6616
doc/pp-binary-ints/Pp_binary_ints/Flags/index.html
Module Pp_binary_ints.Flags
Source
The Flags module contains types to modify how binary integers are printed.
Source
type flags = {
padding : padding;
separators : bool;
prefix_non_zero : bool;
suffix : bool;
zero_printing : zero_printing;
}
flags
are passed to pretty printing functions to customize the output.
Source
val make_flags :
?zero_padding:bool ->
?left_padding:bool ->
?separators:bool ->
?prefix:bool ->
?suffix:bool ->
?zero_special:bool ->
unit ->
flags
A function for creating flags. The left_padding
prameter is ignored if zero_padding
is set to true
. The default values are as follows.
zero_padding=true
left_padding=false
separators=true
prefix=true
suffix=true
zero_special=false
sectionYPositions = computeSectionYPositions($el), 10)"
x-init="setTimeout(() => sectionYPositions = computeSectionYPositions($el), 10)"
>