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

Module Output_method.FormatSource

Sourcetype t =
  1. | Atom of string
  2. | Capture of string
  3. | List of t list

A format specifies how the user wants their captured results to be formatted by providing a sexp structure in which the captures will get embedded.

include Sexplib0.Sexpable.S with type t := t
Sourceval t_of_sexp : Sexplib0.Sexp.t -> t
Sourceval sexp_of_t : t -> Sexplib0.Sexp.t
Sourceval ts_of_string : string -> t list
Sourceval all_captures : t -> string list
Sourceval embed_captures : t -> f:(string -> Core.Sexp.t list) -> Core.Sexp.t list
OCaml

Innovation. Community. Security.