package ppx_interact

  1. Overview
  2. Docs
Opens a REPL in context

Install

Dune Dependency

Authors

Maintainers

Sources

ppx_interact-0.1.1.tbz
sha256=878ae55f224d9ca5ac888cf85b3a32cc3f8b72347fafddf0beae204584266943
sha512=d887b86bc9391c76dadb51d18cc15fe2fef461f6d2378412ce911067b3c7ab73f4df93d03522493ab6e50b1ce94515be72c9dd0d9b84faf0dd2db1ad16afa2c4

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

OCaml

Innovation. Community. Security.