package binsec

  1. Overview
  2. Docs

doc/binsec.cli/Binsec_cli/Cli/Make/Builder/Variant_choice/index.html

Module Builder.Variant_choiceSource

Variant functors

Functor to map a string choice --- i.e., just one out of a set of possible value --- into a variant type.

Parameters

module P : sig ... end

Signature

Sourcetype t = P.t
Sourceval set : t -> unit
Sourceval get : unit -> t
Sourceval is_set : unit -> bool
Sourceval is_default : unit -> bool