All notable changes to this project will be documented in this file.
The format is based on Keep a Changelog, and this project adheres to Semantic Versioning.
- Default flags have changed to padding with zeros, with separators and prefixes, and zero printing behaves just like non-zero printing. Since the primary purpose of this library is debugging, this should help.
*.{make_pp_int,make_to_string}
no longer take an optionalflags
parameter, and instead takes optional boolean parameterszero_padding
,left_padding
,separators
,prefix
,suffix
,zero_special
.- Renamed
*.{pp_binary_int}
to*.{pp_int_with}
for consistency.
- Padding with zeros no longer assumes prefixes are always 2 characters long.
- Support for
int32
,int64
, andnativeint
. *.{make_pp_int,make_to_string}
with optional arguments.
- Separators are now always respected, even when printing zero and
zero_printing
is set toOCaml
. InStdlib
, padding with zeros means you pad with zeros without separators, but previously we thought this was only the case for printing zero. This has been fixed to always respect the separators flag.
Initial release.