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/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.