package sexp_select

  1. Overview
  2. Docs
Legend:
Library
Module
Module type
Parameter
Class
Class type

same as select, but the parsing of the selection expression is done once so the parsed result can be shared across the evaluation of multiple sexps.

val select_single_exn : Base.string -> Base.Sexp.t -> Base.Sexp.t

Like select, but returns a single element. Raises if that is not possible (e.g. if there are no matches or if there are multiple matches)

val format_program_outputs : Base.Sexp.t -> Base.string Base.list -> Base.string

run a list of programs on an input sexp and nicely format the programs and their corresponding outputs when run on the given sexp, for use in -help output and expect tests.

invert the behavior of select; drop the fields matching the selection expression.

same as deselect, but the parsing of the selection expression is done once so the parsed result can be shared across the evaluation of multiple sexps.

module For_testing : sig ... end

Reference implementations of select and deselect that are linked, to verify that operations are inversions of each other.

OCaml

Innovation. Community. Security.