package chamo

  1. Overview
  2. Docs

The "ocamltop" output, to display output of evaluation of ocaml code.

val output_name : string

The name of the default ocamltop output.

class ocamltop_output : ?on_destroy:(unit -> unit) -> string -> object ... end

Class to create ocamltop output objects (with ocaml syntax highlight).

val ocamltop_output : unit -> ocamltop_output

Return the ocamltop output object. The output is created if it does not exist.

val print_ocaml_output : ?output:Outputs.text_output -> string array -> unit Lwt.t

The original function of the "print_ocaml_output" command.

OCaml

Innovation. Community. Security.