package colombe

  1. Overview
  2. Docs
type ('a, 'err) t =
  1. | Read of {
    1. buffer : bytes;
    2. off : int;
    3. len : int;
    4. k : [ `End | `Len of int ] -> ('a, 'err) t;
    }
  2. | Write of {
    1. buffer : string;
    2. off : int;
    3. len : int;
    4. k : int -> ('a, 'err) t;
    }
  3. | Return of 'a
  4. | Error of 'err
val reword_error : ('a -> 'b) -> ('v, 'a) t -> ('v, 'b) t
val join : (('a, 'err) t, 'err) t -> ('a, 'err) t
val to_result : ('a, 'err) t -> (('a, 'err) result, _) t
module Context : sig ... end
module type S = sig ... end
module type C = sig ... end
module Scheduler (Context : C) (Value : S with type encoder = Context.encoder and type decoder = Context.decoder) : sig ... end
OCaml

Innovation. Community. Security.