Legend:
Library
Module
Module type
Parameter
Class
Class type
Library
Module
Module type
Parameter
Class
Class type
type 'a parser := 'a t
val file : _ t
Complete using paths relative to the current directory. This can be used with conv
s of any type though care must be taken that the conv knows how to parse paths. This requirement isn't enforced with types as it would be too restrictive to be useful in general.
val values : 'a list -> 'a t
val reentrant : (command_line -> 'a list) -> 'a t
val reentrant_thunk : (unit -> 'a list) -> 'a t
For use in cases the optionality of a value being parsed/completed needs to represented in the value itself.
Flatten the completion information into plain strings. This can be used to supply completion hints that otherwise wouldn't satisfy the type constraints within a conv
, though care must be taken to ensure that the conv
knows how to parse the suggestions as this will no longer be enforced by the type system when this function is used.