From our last release, yocaml must have a conflict with result.1.5 to be installable via opam in any switches (see this commit b58cc7d). This error is not really related to yocaml (as a well known issue from opam-repository's maintainers). @xvw proposed to use Result from preface which should be nice and should fix the initial issue:
A quick fix on YOCaml part can be replacing Result.map_error by Preface.Result.Bifunctor.map_snd. It is a little bit heavy but it should work.
Even if Bifunctor.map_snd is iso to Result.map_error, I suggest to add to Try a function map_error. I'll take in the following days!
Thanks for the release!
From our last release,
yocaml
must have a conflict withresult.1.5
to be installable viaopam
in any switches (see this commit b58cc7d). This error is not really related toyocaml
(as a well known issue fromopam-repository
's maintainers). @xvw proposed to useResult
frompreface
which should be nice and should fix the initial issue: