package shexp

  1. Overview
  2. Docs
Process library and s-expression based shell

Install

Dune Dependency

Authors

Maintainers

Sources

shexp-v0.12.0.tar.gz
sha256=b2ca616e5384d517a3bef878ed2fd364b2c51993f7f57f223954422e2eea0e1d
md5=d48e292eaa2f7e4f66fa5381eddc86a9

doc/shexp.sexp/Shexp_sexp/Sexp/index.html

Module Shexp_sexp.Sexp

Mini S-expression library

type t = Base.Sexp.t =
  1. | Atom of string
  2. | List of t list
val to_string : t -> string
val int : int -> t

Combinators

val int32 : int32 -> t
val int64 : int64 -> t
val float : float -> t
val string : string -> t
val char : char -> t
val bool : bool -> t
val exn : exn -> t
val pair : ('a -> t) -> ('b -> t) -> ('a * 'b) -> t
val list : ('a -> t) -> 'a list -> t
val option : ('a -> t) -> 'a option -> t
val record : (string * t) list -> t
val cstr : string -> t list -> t
val cstr_record : string -> (string * t) list -> t
val cstr_list : string -> ('a -> t) -> 'a list -> t
val register_exn_converter : extension_constructor -> (exn -> t) -> unit
OCaml

Innovation. Community. Security.