package drom_lib

  1. Overview
  2. Docs

Module Drom_lib.EzTomlSource

Sourcemodule TYPES : sig ... end
Sourcemodule EZ : sig ... end
include module type of struct include EZ end
Sourceval key : string -> TomlTypes.Table.Key.t
Sourceval to_string : TomlTypes.value TomlTypes.Table.t -> string
Sourceval from_file : string -> Toml.Parser.result
Sourceval from_string : string -> Toml.Parser.result
Sourceval string_of_location : Toml.Parser.location -> string
Sourceval from_file_exn : string -> TomlTypes.table
Sourceval from_string_exn : string -> TomlTypes.table
Sourceval failwith : ('a, unit, string, 'b) format4 -> 'a
Sourceval key2str : string list -> string
Sourceval iter : (string -> 'a -> unit) -> 'a TomlTypes.Table.t -> unit
Sourceval get : TYPES.value TomlTypes.Table.t -> string list -> TYPES.value
Sourceval get_string : TYPES.value TomlTypes.Table.t -> string list -> string
Sourceval get_string_default : TYPES.value TomlTypes.Table.t -> string list -> string -> string
Sourceval get_string_option : ?default:string -> TYPES.value TomlTypes.Table.t -> string list -> string option
Sourceval get_bool : TYPES.value TomlTypes.Table.t -> string list -> bool
Sourceval expecting_type : string -> string list -> 'a
Sourceval get_bool_option : ?default:bool -> TYPES.value TomlTypes.Table.t -> string list -> bool option
Sourceval get_bool_default : TYPES.value TomlTypes.Table.t -> string list -> bool -> bool
Sourceval put_string : string list -> string -> TYPES.value TomlTypes.Table.t -> TYPES.value TomlTypes.Table.t
Sourceval put_bool : string list -> bool -> TYPES.value TomlTypes.Table.t -> TYPES.value TomlTypes.Table.t
Sourceval put_bool_option : string list -> bool option -> TYPES.value TomlTypes.Table.t -> TYPES.value TomlTypes.Table.t
Sourceval put_option : string list -> bool option -> TYPES.value TomlTypes.Table.t -> TYPES.value TomlTypes.Table.t
Sourceval put_string_option : string list -> string option -> TYPES.value TomlTypes.Table.t -> TYPES.value TomlTypes.Table.t
Sourceval encoding : to_toml:('a -> TYPES.value) -> of_toml:(key:string list -> TYPES.value -> 'a) -> 'a TYPES.encoding
Sourceval put_encoding : 'a TYPES.encoding -> string list -> 'a -> TYPES.value TomlTypes.Table.t -> TYPES.value TomlTypes.Table.t
Sourceval put_encoding_option : 'a TYPES.encoding -> string list -> 'a option -> TYPES.value TomlTypes.Table.t -> TYPES.value TomlTypes.Table.t
Sourceval get_encoding : 'a TYPES.encoding -> TYPES.value TomlTypes.Table.t -> string list -> 'a
Sourceval get_encoding_default : 'a TYPES.encoding -> TYPES.value TomlTypes.Table.t -> string list -> 'a -> 'a
Sourceval get_encoding_option : ?default:'a -> 'a TYPES.encoding -> TYPES.value TomlTypes.Table.t -> string list -> 'a option
Sourceval get_string_list_option : ?default:string list -> TYPES.value TomlTypes.Table.t -> string list -> string list option
Sourceval get_string_list_default : TYPES.value TomlTypes.Table.t -> string list -> string list -> string list
Sourceval put_string_list_option : string list -> string list option -> TYPES.value TomlTypes.Table.t -> TYPES.value TomlTypes.Table.t
Sourceval put_string_list : string list -> string list -> TYPES.value TomlTypes.Table.t -> TYPES.value TomlTypes.Table.t
Sourceval expect_table : key:string list -> name:string -> TYPES.value -> TYPES.table
Sourceval expect_string : key:string list -> TYPES.value -> string
Sourceval enum_encoding : to_string:('a -> string) -> of_string:(key:string list -> string -> 'a) -> 'a TYPES.encoding
Sourceval string_encoding : string TYPES.encoding