package ppx_matches
All checked builds passInstall
dune-project
Dependency
Authors
Maintainers
Sources
sha256=9d9630cd912e2483af1bae545f9bec53aa926be894667e43406b105bed1d60ae
sha512=542e838ca4a6c9045bc6574cdecb4a21cc444f248172ca9b7429b775c28019a358218a93fce2341a389a3d230c5b3e5f369dd2be7870c9900839a6001fc1fc03
Description
Added to opam-repository:
README
🔥 ppx-matches
Install
This library has not yet been released to opam. To install it, first
opam install ppx_matchesUsers of dune can then use this PPX on their libraries and executables by adding the appropriate stanza field:
(library
...
(preprocess (pps ppx_matches)))Syntax
In short:
[%matches? pat [when cond]]expands tofunction | pat [when cond] -> true | _ -> false[%matches? pat [when cond]] matcheeexpands to the inlined version:match matchee with | pat [when cond] -> true | _ -> false
Dev Dependencies (1)
-
odoc
with-doc
Optional Dependencies
None
Used by
None
Conflicts
None
Build status
Results of building ppx_matches with each compiler on check.ci.ocaml.org, run of against opam-repository 78c202b. All results for this package.
Each result links to its build log. To keep crawlers from overloading the site, build logs require a GitHub sign-in (see ocurrent/opam-health-check). On your first log, GitHub asks you to “Authorize opam-health-check”, the OCurrent app that runs these checks; it sees only your public profile, not your repositories. The sign-in lasts 30 days.
| Version | OCaml 4.11 | OCaml 4.14 | OCaml 5.2 | OCaml 5.4 | OCaml 5.5 |
|---|---|---|---|---|---|
| 0.2.0 (this version) | n/a | good | good | good | good |
| 0.1 | good | good | good | n/a | n/a |
- good Package successfully built
- partial One of the dependencies failed to build
- bad Package failed to build
- n/a Package is not available in this environment
- internal Internal failure