package let-if

  1. Overview
  2. Docs
A let%if syntax inspired by Rust's if let syntax

Install

Authors

Maintainers

Sources

let-if-0.3.0.tbz
sha256=eda75b5c3285864f90f06c96a69154b235944207442bb8aa6282c0e032619fa1
sha512=db4c238dd1492632bbce060bab8c99ee5819e968dd6e22eca043ee972a6132e63419e3a987fe0a7e0f5ca60614c01b1872f332d46823920f3693928942c56f06

CHANGES.md.html

v0.3.0

  • Add new if%true that is a if expression that returns the value of the condition.

  • Refactor let%if. Error locations are slightly different.

v0.2.0

  • Remove references to jbuilder and switch to dune completely

  • Do not mute warnings for unused variables. If your let%if pattern matches all cases you should just use a regular let binding.

v0.1.0

  • Initial release!