package quickterface

  1. Overview
  2. Docs
Quick-to-program app interfaces in OCaml for terminal and web

Install

dune-project
 Dependency

Authors

Maintainers

Sources

quickterface-0.1.0.tbz
sha256=8261e3819564fb5d05f1f313e62b73382152591d7a4349ae5b1b08a4fc2469f3
sha512=e739a971bb0e696ab716c168419c59a3d195922d2d1e4963106a845e3442ffa085b05106f36cceeec9b806bf7d6ef2c31e98db04911fbf73c5ac0ce626449d0f

doc/quickterface.terminal_app/Quickterface_terminal_app/Minimal_terminal_io/index.html

Module Quickterface_terminal_app.Minimal_terminal_ioSource

include Quickterface.Io.S
Sourcetype t
Sourceval input : t -> ('settings, 'a) Quickterface.Io.Input.t -> 'settings -> unit -> 'a Lwt.t
Sourceval input_text : ?prompt:string -> t -> unit -> string Lwt.t
Sourceval input_integer : t -> unit -> int Lwt.t
Sourceval input_single_selection : t -> 'a list -> ('a -> string) -> unit -> 'a Lwt.t
Sourceval input_single_selection_string : t -> string list -> unit -> string Lwt.t
Sourceval input_multi_selection : t -> 'a list -> ('a -> string) -> unit -> 'a list Lwt.t
Sourceval input_multi_selection_string : t -> string list -> unit -> string list Lwt.t
Sourceval output : ?options:'options -> t -> ('options, 'a) Quickterface.Io.Output.t -> 'a -> unit -> unit Lwt.t
Sourceval output_text : ?options:Quickterface.Output_text_options.t -> t -> string -> unit -> unit Lwt.t
Sourceval output_math : ?options:Quickterface.Output_text_options.t -> t -> Quickterface.Math.t -> unit -> unit Lwt.t
Sourceval output_title : t -> string -> unit -> unit Lwt.t
Sourceval with_progress_bar : ?label:string -> t -> maximum:int -> f:(increment_progress_bar:(unit -> unit Lwt.t) -> unit -> 'a Lwt.t) -> unit -> 'a Lwt.t
Sourceval make : unit -> t