package textutils

  1. Overview
  2. Docs
type 'a t
type 'a fmt
type out_channel
include Core.Monad.S with type 'a t := 'a t
val (>>=) : 'a t -> ('a -> 'b t) -> 'b t
val (>>|) : 'a t -> ('a -> 'b) -> 'b t
module Monad_infix : sig ... end
val bind : 'a t -> f:('a -> 'b t) -> 'b t
val return : 'a -> 'a t
val map : 'a t -> f:('a -> 'b) -> 'b t
val join : 'a t t -> 'a t
val ignore_m : 'a t -> unit t
val all : 'a t list -> 'a list t
val all_unit : unit t list -> unit t
module Let_syntax : sig ... end
val output_string : out_channel -> string -> unit
val output : out_channel -> buf:bytes -> pos:int -> len:int -> unit
val stderr : out_channel
val stdout : out_channel
val flush : out_channel -> unit t
val print_string : string -> unit
val fprintf : attrs:string -> out_channel -> 'a fmt -> 'a
val fold_left : 'a Core.List.t -> init:'b -> f:('b -> 'a -> 'b t) -> 'b t
val stdout_isatty : unit -> bool t
val capable : unit -> bool t
OCaml

Innovation. Community. Security.