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

adapt method forces the user to explicate a lot of type params #13

Open
sullivan- opened this issue Mar 20, 2017 · 0 comments
Open

adapt method forces the user to explicate a lot of type params #13

sullivan- opened this issue Mar 20, 2017 · 0 comments

Comments

@sullivan-
Copy link
Member

All three of the type arguments to adapt should be inferrable by the compiler. The first and the third argument are inferrable from the argument, fs2Stream, and the second argument should be inferrable from the left-hand side. But I haven't figured out how to get the compiler to infer any of them yet. Can you help? It's not as simple as you might think, because the implicit resolution has to navigate between types with two type parameters, such as Enumerator[Eval,Int], and types with a single type parameter, such as streamadapter.iterateeio.EvalEnumerator[Int].

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