RedPRL / bantorra

📚 A library for managing libraries and resolving unit paths
https://redprl.org/bantorra/bantorra
Apache License 2.0
17 stars 0 forks source link

UserConfig.write is unsafe #21

Closed favonia closed 3 years ago

favonia commented 4 years ago

The module UserConfig cannot serialize library versions correctly because the underlying OCaml binding of libyaml is serializing the string "1.0" as the floating point 1., "null" as null (unquoted), etc. This means users have to manually edit the configuration files.

The bug report to the upstream: https://github.com/avsm/ocaml-yaml/issues/39

favonia commented 3 years ago

Solved by #28 and #30.