package mirage-types

  1. Overview
  2. Docs
type error = [
  1. | `Invalid_console of string
]
type +'a io
type t
type id = string
val connect : id -> [ `Error of error | `Ok of t ] io
val disconnect : t -> unit io
val write : t -> string -> int -> int -> int
val write_all : t -> string -> int -> int -> unit io
val log : t -> string -> unit
val log_s : t -> string -> unit io
OCaml

Innovation. Community. Security.