package toml

  1. Overview
  2. Docs
val key : string -> Types.Table.Key.t

Turns a string into a table key.

  • raises Types.Table.Key.Bad_key

    if the key contains invalid characters.

  • since 2.0.0
val of_key_values : (Types.Table.Key.t * Types.value) list -> Types.table

Builds a Toml table out of a list of (key, value) tuples.

  • since 4.0.0
OCaml

Innovation. Community. Security.