package dunolint

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

Module Prompt.ChoiceSource

Sourcetype +'a t
Sourceval create : Base.char -> 'a -> help:Base.string -> 'a t

Use an uppercase char to indicate a default choice. There must be at most only one default for a given prompt, or the prompting function will raise Invalid_argument.

Sourceval default : 'a t -> 'a t

Mark this choice as the default one.

OCaml

Innovation. Community. Security.