package stog

  1. Overview
  2. Docs

Module Stog_base.Ocaml_typesSource

Types for interfacing stog and ocaml-session.

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