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/Utils/index.html

Module Ppx_yojson_lib.UtilsSource

General puprose helper functions

Sourceval remove : idx:int -> 'a list -> 'a list

Return the given list without the element at index idx. If idx is not a valid index in the given list, it is returned as is.

Sourceval permutations : 'a list -> 'a list list

Return all the permutations of the given list

OCaml

Innovation. Community. Security.