drom_lib
The drom tool is a wrapper over opam/dune in an attempt to provide a cargo-like user experience
1024" x-on:close-sidebar="sidebar=window.innerWidth > 1024 && true">
Legend:
Library
Module
Module type
Parameter
Class
Class type
Library
Module
Module type
Parameter
Class
Class type
module TYPES : sig ... end
module EZ : sig ... end
include module type of struct include EZ end
val key : string -> Toml.Types.Table.Key.t
val empty : 'a Toml.Types.Table.t
val find : Toml.Types.Table.key -> 'a Toml.Types.Table.t -> 'a
val to_string : Toml.Types.table -> string
val from_file : string -> Toml.Parser.result
val from_string : string -> Toml.Parser.result
val map : ( 'a -> 'b ) -> 'a Toml.Types.Table.t -> 'b Toml.Types.Table.t
val string_of_location : Toml.Parser.location -> string
val from_file_exn : string -> Toml.Types.table
val from_string_exn : string -> Toml.Types.table
val failwith : ( 'a, unit, string, 'b ) format4 -> 'c
val iter : ( string -> 'a -> unit ) -> 'b Toml.Types.Table.t -> unit
val get : TYPES.value Toml.Types.Table.t -> string list -> TYPES.value
val get_string : TYPES.value Toml.Types.Table.t -> string list -> string
val get_string_default :
TYPES.value Toml.Types.Table.t ->
string list ->
string ->
string
val get_string_option :
?default:string ->
TYPES.value Toml.Types.Table.t ->
string list ->
string option
val get_bool : TYPES.value Toml.Types.Table.t -> string list -> bool
val get_bool_option :
?default:bool ->
TYPES.value Toml.Types.Table.t ->
string list ->
bool option
val get_bool_default :
TYPES.value Toml.Types.Table.t ->
string list ->
bool ->
bool
val get_int : TYPES.value Toml.Types.Table.t -> string list -> int
val get_int_default :
TYPES.value Toml.Types.Table.t ->
string list ->
int ->
int
val put :
string list ->
TYPES.value ->
TYPES.value Toml.Types.Table.t ->
TYPES.value Toml.Types.Table.t
val put_string :
string list ->
string ->
TYPES.value Toml.Types.Table.t ->
TYPES.value Toml.Types.Table.t
val put_bool :
string list ->
bool ->
TYPES.value Toml.Types.Table.t ->
TYPES.value Toml.Types.Table.t
val put_bool_option :
string list ->
bool option ->
TYPES.value Toml.Types.Table.t ->
TYPES.value Toml.Types.Table.t
val put_option :
string list ->
bool option ->
TYPES.value Toml.Types.Table.t ->
TYPES.value Toml.Types.Table.t
val put_string_option :
string list ->
string option ->
TYPES.value Toml.Types.Table.t ->
TYPES.value Toml.Types.Table.t
val encoding :
to_toml:( 'a -> TYPES.value ) ->
of_toml:( key:string list -> TYPES.value -> 'b ) ->
'a TYPES.encoding
val put_encoding :
'a TYPES.encoding ->
string list ->
'b ->
TYPES.value Toml.Types.Table.t ->
TYPES.value Toml.Types.Table.t
val put_encoding_option :
'a TYPES.encoding ->
string list ->
'b option ->
TYPES.value Toml.Types.Table.t ->
TYPES.value Toml.Types.Table.t
val get_encoding :
'a TYPES.encoding ->
TYPES.value Toml.Types.Table.t ->
string list ->
'b
val get_encoding_default :
'a TYPES.encoding ->
TYPES.value Toml.Types.Table.t ->
string list ->
'b ->
'c
val get_encoding_option :
?default:'a ->
'b TYPES.encoding ->
TYPES.value Toml.Types.Table.t ->
string list ->
'a option
val get_string_list_option :
?default:string list ->
TYPES.value Toml.Types.Table.t ->
string list ->
string list option
val get_string_list_default :
TYPES.value Toml.Types.Table.t ->
string list ->
string list ->
string list
val put_string_list_option :
string list ->
string list option ->
TYPES.value Toml.Types.Table.t ->
TYPES.value Toml.Types.Table.t
val put_string_list :
string list ->
string list ->
TYPES.value Toml.Types.Table.t ->
TYPES.value Toml.Types.Table.t
val expect_table : key:string list -> name:string -> TYPES.value -> TYPES.table
val expect_string : key:string list -> TYPES.value -> string
val expect_string_list : key:string list -> TYPES.value -> string list
val expect_bool : key:string list -> TYPES.value -> bool
val enum_encoding :
to_string:( 'a -> string ) ->
of_string:( key:string list -> string -> 'b ) ->
'c TYPES.encoding
val string_encoding : string TYPES.encoding
val union : TYPES.value TYPES.Table.t -> TYPES.table -> TYPES.table
module ENCODING : sig ... end
type file_option = {
option_name : string; |
option_value : Toml.Types.value option; |
option_comment : string list option; |
option_default : string option; |
}
val new_file : unit -> file
val add : file -> file_option list -> unit
val string_of_file : file -> string
module CONST : sig ... end