importTOML
lib.trivial.importTOML
Docs pulled from | This Revision | 17 minutes ago
Reads a TOML file.
Examples
lib.trivial.importTOML
usage example
example.toml
title = "TOML Example"
[hello]
world = "foo"
[hello.bar]
foobar = true
importTOML ./example.toml
=> {
title = "TOML Example";
hello = {
world = "foo";
bar = {
foobar = true;
};
};
}
Inputs
path
-
1. Function argument
Type
importTOML :: path -> any