package down

  1. Overview
  2. Docs
An OCaml toplevel (REPL) upgrade

Install

Dune Dependency

Authors

Maintainers

Sources

down-0.1.0.tbz
sha512=f09d34f9a21d6a65ce85d9f6c267ee811d85cc0a91ab9dd76ed6ca0e8183df09a2e77331484e54661d154465d64fc31adb4be4a94615ef735c772d56b409a9e3

Description

Down is an unintrusive user experience upgrade for the ocaml toplevel (REPL).

Simply load the zero dependency Down library in the ocaml toplevel and you get line edition, history, session support and identifier completion and documentation (courtesy of ocp-index).

Add this to your ~/.ocamlinit:

#use "down.top"

tty

Down is distributed under the ISC license.

Homepage: http://erratique.ch/software/down

Tags

dev toplevel repl org:erratique

Published: 27 Jan 2022

README

down — An OCaml toplevel (REPL) upgrade

v0.1.0

Down is an unintrusive user experience upgrade for the ocaml toplevel (REPL).

Simply load the zero dependency Down library in the ocaml toplevel and you get line edition, history, session support and identifier completion and documentation (courtesy of ocp-index).

Add this to your ~/.ocamlinit:

#use "down.top"

Down is distributed under the ISC license.

Homepage: http://erratique.ch/software/down

Installation

down can be installed with opam:

opam install down

If you don't use opam consult the opam file for build instructions.

Quick start

Simply run ocaml and load the library:

> ocaml
...
# #use "down.top";;
Down loaded. Type Down.help () for more info.
# List.con^t
  List.cons : 'a -> 'a list -> 'a list
  List.concat : 'a list list -> 'a list
# List.con

You can add this #use "down.top" invocation to your ~/.ocamlinit file.

For ocamlnat you will likely have to invoke it with -noinit and you must issue #use "down.nattop".

Documentation

The manual can be consulted online or via odig doc down.

Dependencies (4)

  1. topkg build & >= "1.0.3"
  2. ocamlbuild build
  3. ocamlfind build
  4. ocaml >= "4.14.0"

Dev Dependencies (1)

  1. uucp dev

Used by

None

Conflicts

None