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.process/Shexp_process/Prim/index.html

Module Shexp_process.Prim

type ('a, 'b) t = ('a, 'b) Prim.t

Description of a primitive

module Args : sig ... end
val sexp_of_call : ('a, 'b) t -> ('a, 'b) Args.t -> Shexp_sexp.Std.Sexp.t

Return an s-expression representation of a primitive call

val sexp_of_result : ('a, 'b) t -> 'b -> Shexp_sexp.Std.Sexp.t option

Returns None if the result is Unit or Env

OCaml

Innovation. Community. Security.