pattern
Run-time patterns that explain match failures
Description
pattern is a PPX extension that generates functions from patterns that explain match failures by returning the common context and the list of differences between a pattern and a value.
Install
copied = false, 2000)"
:class="{ 'border-gray-700': !copied, 'text-gray-100': !copied, 'focus:ring-orange-500': !copied, 'focus:border-orange-500': !copied, 'border-green-600': copied, 'text-green-600': copied, 'focus:ring-green-500': copied, 'focus:border-green-500': copied }">
- Published
- 07 Oct 2021
- Authors
- Maintainers
Sources
v0.3.1.tar.gz
sha512=7aca3237073dd353c728e38c075946e57eb9d9a4440221e240509ceac96172d2e37d99c95d7a80865a9525e9e575e1fcc6e7b149a2311c5dc657341ed0901784
Dependencies
stdcompat
>= "10"
ocaml-migrate-parsetree
>= "1.5.0"
refl
>= "0.3.0" & < "0.4.1"
metaquot
>= "0.3.0"
metapp
>= "0.3.0"
dune
>= "1.10.0"
ocaml
>= "4.08.0"
Reverse Dependencies