package inquire

  1. Overview
  2. Docs
An OCaml library to create beautiful interactive CLIs

Install

Dune Dependency

Authors

Maintainers

Sources

inquire-0.2.1.tbz
sha256=0b88d89e24d4cbc0560a7c8d8ec51388990e1b27f24685029997afa52a7c720f
sha512=8b62860a8d15e41528a404a6f1b9968c3d79755607b5ea319af2e3e45516e672a785361d278279910928db4054e1800e87bcee0210ff3eabfb330713b368c827

doc/inquire.zed/Zed_rope/Buffer/index.html

Module Zed_rope.BufferSource

Sourcetype t

Type of rope buffers.

Sourceval create : unit -> t

Create a new empty buffer.

Sourceval add : t -> Zed_char.t -> unit

add buffer zChar add zChar at the end of buffer.

Sourceval add_uChar : t -> Uchar.t -> unit

add buffer uChar add uChar at the end of buffer.

Sourceval add_rope : t -> rope -> unit

add buffer rope add rope at the end of buffer.

Sourceval add_string : t -> Zed_string.t -> unit

add buffer str add str at the end of buffer.

Sourceval contents : t -> rope

contents buffer returns the contents of buffer as a rope.

Sourceval reset : t -> unit

reset buffer resets buffer to its initial state.

OCaml

Innovation. Community. Security.