package sexp

  1. Overview
  2. Docs
S-expression swiss knife

Install

Dune Dependency

Authors

Maintainers

Sources

sexp-v0.16.0.tar.gz
sha256=bde6acfd2814bcc38a0d3cacb42e513d8932595152dd9798419559fb0e026f4e

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.