Age | Commit message (Collapse) | Author |
|
Basepath is better be a command line option, since when it's really needed,
having it in the config is pretty much useless.
This reverts commit 377de9472716266bb932813a8f7a7ba9aa1630fb.
|
|
Right now the primary motivation is ease of testing without installing
any appliance on a real system, but in real appliances, this may be handy
for those who want things in /opt, even if I'm not a fan of /opt
|
|
If we are going to use batteries for numeric_compare, why not take
advantage of the rest.
|
|
|
|
|
|
It's the only type it exports.
|
|
|
|
Use of the Result module from a compatibility library came from using Yojson
for config parsing, which uses it for compatibility with older OCaml, since
the ('a, 'b) result type appeared in Pervasives only in OCaml 4.03
All projects using vyconf library, however, by definition will be new projects,
and will not have any reasons to use older compilers.
|
|
Add an example of the file too.
|
|
Yojson now uses the Result.result type for its decoding functions
instead of polymorphic variants.
|
|
|