package utop

  1. Overview
  2. Docs
val main : unit -> unit

Start utop.

exception Term of int

Exception raised when a signal that should terminate the process is received. The argument is the signal number.

utop raises this exception for SIGHUP and SIGTERM by default.

type value =
  1. | V : string * _ -> value
val interact : ?search_path:string list -> ?build_dir:string -> unit:string -> loc:(string * int * int * int) -> values:value list -> unit -> unit