Noogλe

search input

Function of the day

  • 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