package ppx_yojson

  1. Overview
  2. Docs
PPX extension for Yojson literals and patterns

Install

Dune Dependency

Authors

Maintainers

Sources

ppx_yojson-1.1.0.tbz
sha256=cf33d358237bdddceec22bdb67cfc6d7a311bfcd18ec60b743426796bad92547
sha512=38414025ad0495fe5e6ac049e9b2a96c557bc358af556c56a41c8e8e2da4badc1f8db98257f2f435711089e4799f95de17de23264114dafc37a4162357f596c4

doc/ppx_yojson._lib/Ppx_yojson_lib/Integer_const/index.html

Module Ppx_yojson_lib.Integer_constSource

Helper functions to deal with AST's integer literals

Sourceval is_binary : string -> bool

Return whether this integer string representation is in binary form. i.e. if its in the form 0b100101.

Sourceval is_octal : string -> bool

Return whether this integer string representation is in octal form. i.e. if its in the form 0o1702.

Sourceval is_hexadecimal : string -> bool

Return whether this integer string representation is in hexadecimal form. i.e. if its in the form 0ox1a9f.

OCaml

Innovation. Community. Security.