package shexp

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

Install

Dune Dependency

Authors

Maintainers

Sources

shexp-v0.13.0.tar.gz
sha256=ff0e6ed52adf66dc1a1a9c85577dac043a0821feacfab09a5b8bea8f99ff3ba5
md5=13002fde6249703d06ff820906cd96c9

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.