Stog library reference documentation : Stog_ocaml_types

Module Stog_ocaml_types

module Stog_ocaml_types: sig .. end
Types for interfacing stog and ocaml-session.

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