package quill

  1. Overview
  2. Docs

Module Quill_topSource

Sourcetype execution_result = {
  1. output : string;
  2. error : string option;
  3. status : [ `Error | `Success ];
}
Sourceval initialize_toplevel : unit -> unit
Sourceval ensure_terminator : string -> string
Sourceval execute : bool -> Format.formatter -> Format.formatter -> string -> bool
Sourceval format_output : string -> string

Format execution output appropriately based on content type. Returns the output wrapped in markdown code blocks for regular code output, or as-is for markdown content like images.

OCaml

Innovation. Community. Security.