Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Lin: support tuple combinators #261

Open
jmid opened this issue Dec 12, 2022 · 0 comments
Open

Lin: support tuple combinators #261

jmid opened this issue Dec 12, 2022 · 0 comments

Comments

@jmid
Copy link
Collaborator

jmid commented Dec 12, 2022

As listed in Lin's current limitations in the manual page https://ocaml-multicore.github.io/multicoretests/0.1/qcheck-lin/#current-limitations it currently doesn't have combinators for tuples akin to the usual * type syntax.

This hasn't been much of a problem so far, since OCaml Stdlib functions are generally curried.
For the first time, I hit this limitation in practice for a result type in Weak as part of #214 which contains following function signature:

Weak.S.stats : t -> int * int * int * int * int * int

We should experiment with tuple combinator syntax to see how close we can come to the above 🤔

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant