rm non-NBO Bin.t; rename time modules

This commit is contained in:
swrup 2026-02-24 17:51:30 +01:00 committed by Swrup
parent 7053607c72
commit 104666b7ea
13 changed files with 306 additions and 359 deletions

View file

@ -110,14 +110,6 @@ let make_exn value fraction currency =
| Ok v -> v
let bin =
let open Bin in
record make_exn
|+ field neint64 (fun t -> t.value)
|+ field neint32 (fun t -> t.fraction)
|+ field (bytes currency_len) (fun t -> pad_currency_string t.currency)
|> sealr
let bin_nbo =
let open Bin in
record make_exn
|+ field beint64 (fun t -> t.value)