package ecaml

  1. Overview
  2. Docs
Legend:
Library
Module
Module type
Parameter
Class
Class type

Prompts for input, with completion from a static collection of suggestions.

module Initial_input : sig ... end
module Require_match : sig ... end
val read : prompt:string -> collection:string list -> ?annotation_function:(string -> string) -> ?display_sort_function:(string list -> string list) -> ?require_match:Require_match.t -> ?initial_input:Initial_input.t -> ?default:string -> history:Minibuffer.History.t -> unit -> string Async.Deferred.t

(describe-function 'completing-read) *

val read_map_key : prompt:string -> collection:'a Core.String.Map.t -> ?annotation_function:(string -> string) -> ?display_sort_function:(string list -> string list) -> ?initial_input:Initial_input.t -> ?default:string -> history:Minibuffer.History.t -> unit -> 'a Async.Deferred.t
val read_function_name : prompt:string -> history:Minibuffer.History.t -> string Async.Deferred.t

Read a function name in the same manner as describe-function.

val read_variable_name : prompt:string -> history:Minibuffer.History.t -> string Async.Deferred.t

Read a variable name in the same manner as describe-variable.

val read_multiple : prompt:string -> collection:string list -> ?require_match:Require_match.t -> ?separator_regexp:string -> ?initial_input:Initial_input.t -> ?default:string -> history:Minibuffer.History.t -> unit -> string list Async.Deferred.t

(describe-function 'completing-read-multiple) *

val read_multiple_map_keys : prompt:string -> collection:'a Core.String.Map.t -> ?separator_regexp:string -> ?initial_input:Initial_input.t -> ?default:string -> history:Minibuffer.History.t -> unit -> 'a list Async.Deferred.t
OCaml

Innovation. Community. Security.