let-if

AuthorReynir Björnsson <reynir@reynir.dk>
LicenseBSD-2-clause
Homepagehttps://github.com/reynir/let-if/
Issue Trackerhttps://github.com/reynir/let-if/issues/
MaintainerReynir Björnsson <reynir@reynir.dk>
Dependencies
&jbuilder
ppxlib
PublishedAug 5, 2018
Source [http] https://github.com/reynir/let-if/archive/v0.1.0.tar.gz
556643437208196daaf97f511a57db1d
StatisticsInstalled 2 times last month.
Edithttps://github.com/ocaml/opam-repository/tree/master/packages/let-if/let-if.0.1.0/opam

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

A let-expression decorated with [%%if ] is like a regular let-expression except () is returned if the bound expression doesn't match the pattern.

No package is dependent