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

Add means to specify name of the type parameter #38

Closed
paulp opened this issue Oct 5, 2016 · 3 comments
Closed

Add means to specify name of the type parameter #38

paulp opened this issue Oct 5, 2016 · 3 comments

Comments

@paulp
Copy link
Contributor

paulp commented Oct 5, 2016

Experience shows that while nine times out of ten you can get away with not being to refer to the name of the type parameter, on the tenth time you need it. Usually the cause is a situation where you are forced by scala inference to specify a type parameter, and the type A with its unknown name also must be given, because scala offers no way to specify one type argument without specifying them all.

@TomasMikula
Copy link
Collaborator

See #54. The examples in polyval.scala show several examples of natural transformations referring to the type parameter.

@SethTisue
Copy link
Member

I think at this point we should probably just close this as not-gonna-happen in Scala 2. In Scala 3 a possible future is https://dotty.epfl.ch/docs/reference/other-new-features/named-typeargs.html

@SethTisue
Copy link
Member

Come to think of it, the repo readme here already outright says "No new features are developed"

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

3 participants