Let expressions, inferring pattern type from expression.

Edit Package ocaml-ppx_tydi
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.

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
No comments available
openSUSE Build Service is sponsored by