Module Mode.Make
Parameters
Signature
module KeyTrie : sig ... endtype name= Name.ttype action=|Switch of name|Key of Key.t|KeySeq of Key.t Stdlib.Queue.t|Custom of unit -> unittype t={name : name;timeout : float option;bindings : action KeyTrie.node;}
module Modes : sig ... endval name : t -> nameval timeout : t -> float optionval bindings : t -> action KeyTrie.nodeval compare : t -> t -> intval default_mode : 'a Modes.t -> Modes.key * 'aval bind : t -> KeyTrie.path -> action -> unitval unbind : t -> KeyTrie.path -> unit