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

Module Shexp_process.Let_syntax

Open this module when using ppx_let

Open this module when using ppx_let

val return : 'a -> 'a Shexp_process__.Process.t
val (>>=) : 'a Shexp_process__.Process.t -> ('a -> 'b Shexp_process__.Process.t) -> 'b Shexp_process__.Process.t

Same as bind

val (>>|) : 'a Shexp_process__.Process.t -> ('a -> 'b) -> 'b Shexp_process__.Process.t

Same as map

val (>>) : unit Shexp_process__.Process.t -> 'a Shexp_process__.Process.t -> 'a Shexp_process__.Process.t

a >> b is the same as a >>= fun () -> b

val (|-) : unit Shexp_process__.Process.t -> 'a Shexp_process__.Process.t -> 'a Shexp_process__.Process.t

Same as pipe

val (|+) : 'a Shexp_process__.Process.t -> 'b Shexp_process__.Process.t -> ('a * 'b) Shexp_process__.Process.t

Same as pipe_both

module Let_syntax : sig ... end
OCaml

Innovation. Community. Security.