package sexp

  1. Overview
  2. Docs
S-expression swiss knife

Install

Dune Dependency

Authors

Maintainers

Sources

v0.17.0.tar.gz
sha256=c0ad559a13c4eed11f25446016fc776ea147527d186d5b713fcc8d201d26ce6b

doc/sexp.sexp_app_pattern/Sexp_app_pattern/Query/Set_kind/index.html

Module Query.Set_kindSource

Sourcetype t = {
  1. optional : bool;
    (*

    If optional is true then the whole Set query may match a list even if the optional term doesn't match any elements of the list. But if the term does match some element then there is no trivial match where the term does not capture anything.

    *)
  2. first_only : bool;
    (*

    If first_only is true then the term only returns matches for the first element of the list that it successfully matches in at least one way.

    *)
}

Specifies how a term in a Set should be matched

include Sexplib0.Sexpable.S with type t := t
Sourceval t_of_sexp : Sexplib0.Sexp.t -> t
Sourceval sexp_of_t : t -> Sexplib0.Sexp.t
OCaml

Innovation. Community. Security.