package ppx_optint

  1. Overview
  2. Docs
Literals for Optint integers

Install

Dune Dependency

Authors

Maintainers

Sources

ppx_optint-0.1.0.tbz
sha256=8c1487d9062fba259371c81adbe7884f4886ed98c6df5f04e7f7c4a0ae34e0b9
sha512=6525b7876a51ccfebc05fcd109684f61d89b66b200dac34fa0e3a6233089ad559d8f0d4af2d2a77c7e8ef71817e1c859710ad7535213d65760fad7605f0fec6e

README.md.html

ppx_optint

A ppx for [Optint.t][optint] and [Optint.Int63.t][optint] integer literals. If the integer literal ends in i it is interpreted as a Optint.t while for I it is interpreted as a Optint.Int63.t.

# 1i;;
- : Optint.t = 1
# Optint.add 1023i 1i;;
- : Optint.t = 1024
# -1I;;
- : Optint.Int63.t = -1
# 4611686018427387903I;;
- : Optint.Int63.t = 4611686018427387903

optint

OCaml

Innovation. Community. Security.