[ANN] ppx_optint

I’m pleased to announce the release of ppx_optint.0.2.0, a small ppx for optint literals. Instead of writing Optint.minus_one or Optint.Int63.minus_one you can write -1i or -1I respectively. It may be handy if you write code with a lot of optint literals.

Version 0.2.0 tries to be smarter and will use Optint.of_unsigned_int32 and Optint.Int63.of_unsigned_int over _.of_string when possible.

4 Likes