This commit is contained in:
pena 2022-02-18 02:40:04 +01:00 committed by Swrup
parent cb9bd385dd
commit 17242a0777
7 changed files with 41 additions and 127 deletions

View file

@ -11,7 +11,4 @@ let ( let^ ) o f =
| Error e -> Error (Format.sprintf "db error: %s" (Caqti_error.show e))
| Ok x -> f x
let ( let* ) o f =
match o with
| Error e -> Error e
| Ok x -> f x
let ( let* ) o f = match o with Error e -> Error e | Ok x -> f x