package ppx_yojson

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

Install

Dune Dependency

Authors

Maintainers

Sources

ppx_yojson-1.2.0.tbz
sha256=d12b59c88b8866d38a40d0e3eb3465727db35a19b27fdea739e9875628a10651
sha512=d3ec6e18e60eff1c3a7fbbadb852fbe2953f26735034c8aea494a7f1af3620a8d3a05e38d8ad7427871451e439fa359e1b96cf7a3ff936071e91e48a9fa4831f

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.