rm non-NBO Bin.t; rename time modules
This commit is contained in:
parent
7053607c72
commit
104666b7ea
13 changed files with 306 additions and 359 deletions
|
|
@ -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)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue