package ppx_interact

  1. Overview
  2. Docs
Opens a REPL in context

Install

dune-project
 Dependency

Authors

Maintainers

Sources

ppx_interact-0.2.0.tbz
sha256=980af59c34b9892c33e5f8c48a133bb42c3b66035afd5118b344bbecaa4d2fa0
sha512=a5c1206fd74ff297cf0f6585f0d79439d30e88960ae459a8ebd54028e3d5d66690d8455e7522e30fdd95cde3c3d43a75cf70e82234d6165de51ba7c3e1c8363a

doc/ppx_interact.runtime/Ppx_interact_runtime/index.html

Module Ppx_interact_runtimeSource

Sourceval box_h : string
Sourceval box_v : string
Sourceval box_t : string
Sourceval box_bot : string
Sourceval view_file : ?context:(int * int) -> int -> string -> unit
Sourceval eval : show:bool -> string -> unit
Sourceexception Found of Env.t
Sourceexception Term of int
Sourcetype value =
  1. | V : string * _ -> value
Sourceval walk : string -> init:'a -> f:(string -> 'a -> 'a) -> 'a
Sourcemodule Toploop2 : sig ... end

https://github.com/ocaml/ocaml/blob/trunk/toplevel/toploop.ml

Sourceval linenoise_prompt : string list -> unit
Sourceval interact : ?search_path:string list -> ?build_dir:string -> unit:string -> loc:(string * int * int * 'a) -> ?init:string list -> values:value list -> unit -> unit

see https://github.com/ocaml-community/utop/blob/master/src/lib/uTop_main.ml