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 result = 
| Exc of string
| Ok of string * string
| Handled_error of string * string
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