This commit is contained in:
parent
aa2ff7b2f0
commit
2f3113f55d
11742 changed files with 1223940 additions and 0 deletions
5
unikernel/duniverse/mirage-crypto/pk/common.ml
Normal file
5
unikernel/duniverse/mirage-crypto/pk/common.ml
Normal file
|
|
@ -0,0 +1,5 @@
|
|||
let rec until p f = let r = f () in if p r then r else until p f
|
||||
|
||||
let guard p err = if p then Ok () else Error err
|
||||
|
||||
let ( let* ) = Result.bind
|
||||
Loading…
Add table
Add a link
Reference in a new issue