add result.ml; polymorphic variant errors + refacto

This commit is contained in:
swrup 2026-03-26 06:23:42 +01:00 committed by Swrup
parent 9fd3b5a3cc
commit 42b0ec1445
36 changed files with 949 additions and 954 deletions

7
src/libtool_version.mli Normal file
View file

@ -0,0 +1,7 @@
type t
val mte_protocol_version : t
val is_compatible : implementation:t -> t -> bool
val of_string : string -> (t, string) result
val pp : Format.formatter -> t -> unit
val jsont : t Jsont.t