package scfg

  1. Overview
  2. Docs
Legend:
Library
Module
Module type
Parameter
Class
Class type

Module providing functions to parse a config from various kind of inputs.

val from_lexbuf : Sedlexing.lexbuf -> (Types.config, string) Stdlib.result

Parse a config from a lexing buffer.

val from_string : string -> (Types.config, string) Stdlib.result

Parse a config from a string.

val from_channel : Stdlib.in_channel -> (Types.config, string) Stdlib.result

Parse a config from a channel.

val from_file : string -> (Types.config, string) Stdlib.result

Parse a config from a file.

OCaml

Innovation. Community. Security.