Summary: This adds `let*/+`, `and*/+` operators for Option. See [the manual](https://caml.inria.fr/pub/docs/manual-ocaml/manual046.html) for more information. Example usage: ``` let foo = let open IOption.Let_syntax in let* a = get_optional () in let* b = get_another_optional () in return (a + b) ``` Reviewed By: jvillard Differential Revision: D19880033 fbshipit-source-id: c7998b0c6master
parent
44f41d2929
commit
b41064149b
Loading…
Reference in new issue