package stog

  1. Overview
  2. Docs

Types for interfacing stog and ocaml-session.

type input = {
  1. in_phrase : string;
}
type output = {
  1. stdout : string;
  2. stderr : string;
  3. topout : string;
}
type result =
  1. | Exc of string
  2. | Ok of output
  3. | Handled_error of output
val read_input : in_channel -> input
val write_input : out_channel -> input -> unit
val read_result : in_channel -> result
val write_result : out_channel -> result -> unit