Let expressions, inferring pattern type from expression.
https://opam.ocaml.org/packages/ppx_tydi
Provides a ppx for [let%%tydi]: type-directed [let] bindings.
In [let%%tydi a = b in ...], [a]'s type is inferred from [b] rather than the other way around. This is convenient for record patterns whose fields are not in scope.
- Sources inherited from project devel:languages:ocaml
- Download package
-
Checkout Package
osc -A https://api.opensuse.org checkout devel:languages:haxe/ocaml-ppx_tydi && cd $_ - Create Badge
Refresh
Source Files
| Filename | Size | Changed |
|---|---|---|
| _service | 0000000716 716 Bytes | |
| ocaml-ppx_tydi-0.16.0.tar.xz | 0000004328 4.23 KB | |
| ocaml-ppx_tydi.changes | 0000000142 142 Bytes | |
| ocaml-ppx_tydi.spec | 0000002040 1.99 KB |
Comments 0