package shexp

  1. Overview
  2. Docs

Open this module when using ppx_let

val return : 'a -> 'a t
include module type of Infix
val (>>=) : 'a t -> ('a -> 'b t) -> 'b t

Same as bind

val (>>|) : 'a t -> ('a -> 'b) -> 'b t

Same as map

val (>>) : unit t -> 'a t -> 'a t

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

val (|-) : unit t -> 'a t -> 'a t

Same as pipe

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

Same as pipe_both

module Let_syntax : sig ... end
OCaml

Innovation. Community. Security.