package bonsai

  1. Overview
  2. Docs
Legend:
Library
Module
Module type
Parameter
Class
Class type
val return : 'result -> (_, 'result) t
include module type of Infix
val (>>>) : ('i1, 'r1) t -> ('r1, 'r2) t -> ('i1, 'r2) t

a >>> b is compose a b

val (>>|) : ('input, 'r1) t -> ('r1 -> 'r2) -> ('input, 'r2) t

a >>| f is map a ~f

val (@>>) : ('i1 -> 'i2) -> ('i2, 'result) t -> ('i1, 'result) t

f @>> a is map_input a ~f

module Let_syntax : sig ... end
OCaml

Innovation. Community. Security.