let-if

This ppx brings a `let%if` construct similar Rust's `if let`.
README

This ppx adds a construct similar to let if in Rust.
The following two snippets are equivalent:

let%if Some x = Sys.getenv_opt "HELLO" in
print_endline x
match Sys.getenv_opt "HELLO" with
| Some x -> print_endline x
| _ -> ()
Install
Published
07 Aug 2018
Sources
v0.1.0.tar.gz
md5=556643437208196daaf97f511a57db1d
Dependencies
ppxlib
< "0.9.0"
jbuilder
>= "1.0+beta7"
Reverse Dependencies