You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: lib/index.mld
+58-35Lines changed: 58 additions & 35 deletions
Original file line number
Diff line number
Diff line change
@@ -10,9 +10,11 @@ The library provides four main functions.
10
10
11
11
{ul
12
12
{- {!module-Pp_binary_ints.module-Int.val-to_string} converts ints to strings.}
13
-
{- {!module-Pp_binary_ints.module-Int.val-to_string_with} converts ints to strings, customizing the output with the [~flags] and [~min_width] named arguments.}
13
+
{- {!module-Pp_binary_ints.module-Int.val-make_to_string} converts ints to strings, customizing the output with the optional arguments.}
14
14
{- {!module-Pp_binary_ints.module-Int.val-pp_int} is a simple {!module-Format} module style pretty printer.}
15
-
{- {!module-Pp_binary_ints.module-Int.val-pp_binary_int} is a customizable {!module-Format} module style pretty printer which takes in named arguments [~flags] and [~min_width].}
15
+
{- {!module-Pp_binary_ints.module-Int.val-make_pp_int} is a customizable {!module-Format} pretty printer with the customization controlled by the optional arguments.}
16
+
{- {!module-Pp_binary_ints.module-Int.val-to_string_with} is a lower level function converts ints to strings, customizing the output with the [~flags] and [~min_width] named arguments.}
17
+
{- {!module-Pp_binary_ints.module-Int.val-pp_int_with} is a lower level customizable {!module-Format} module style pretty printer which takes in named arguments [~flags] and [~min_width].}
16
18
}
17
19
18
20
The options to customize the outputs can be found in {!module-Pp_binary_ints.Flags}.
@@ -25,66 +27,87 @@ the following modules.
25
27
{- {!module-Pp_binary_ints.module-Nativeint}}
26
28
}
27
29
30
+
The following demonstrates using the library in a toplevel/REPL.
0 commit comments