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
- 15 Dec 2022
- Authors
- Maintainers
Sources
pattern.0.3.2.tar.gz
sha512=1bc7d5c52b5cc4f67615d14cb68c39ba6215b6441ff832d685bd13c8fe3faaefcab4449baa25d8ebd88b4043784531edab26ff69ef28156ecd77549b87982e4f
Dependencies
stdcompat
>= "10"
ocaml-migrate-parsetree
>= "1.5.0"
refl
>= "0.4.1"
metaquot
>= "0.4.0"
metapp
>= "0.4.4"
dune
>= "1.10.0"
ocaml
>= "4.08.0"
Reverse Dependencies