You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
$ OCAMLRUNPARAM=b irmin init --help
irmin: internal error, uncaught exception:
Invalid_argument("equal: functional value")
Raised by primitive operation at file "list.ml", line 155, characters 19-30
Called from file "camlinternalLazy.ml", line 25, characters 17-27
Re-raised at file "camlinternalLazy.ml", line 32, characters 10-11
Called from file "list.ml", line 66, characters 22-25
The text was updated successfully, but these errors were encountered:
This with this is suspicious. You cannot use Cmdliner.Arg.enum with functional values because to print the enum corresponding to the default value in the help it looks up the reverse assoc, so the datums of the assoc lists needs to be comparable. That one should work because you use it with an option that defaults to None. I still think its cleaner to go through a variant for these things. Seems some documentation is lacking in cmdliner. @samoht Could you please fill an issue ?
Yea, as you see, I haven't tested the command-line that much ... most of the focus was on the new API and the doc. I'll fix that soon (but probably after christmas).
The text was updated successfully, but these errors were encountered: