+ DenominationKeyAnnouncementPS.bin
This commit is contained in:
parent
a27af0ecf1
commit
c946cb0358
5 changed files with 32 additions and 16 deletions
|
|
@ -1,6 +1,9 @@
|
|||
let ( let* ) o f = match o with Ok v -> f v | Error _ as e -> e
|
||||
let ( let+ ) o f = match o with Ok v -> Ok (f v) | Error _ as e -> e
|
||||
|
||||
(* TODO use polymorphic variant for errors *)
|
||||
let unwrap_err_msg o = match o with Error (`Msg e) -> Error e | Ok v -> Ok v
|
||||
|
||||
let list_iter f l =
|
||||
let err = ref None in
|
||||
try
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue