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

Implement simple phantom functions #2405

Closed

Conversation

nicolasstucki
Copy link
Contributor

No description provided.

Simple phantom functions are FunctionN/ImplicitFunctionN types
where all parameters are of the same phantom universe. They are
synthesized in the object defining the phantom universe. It main
usage should be through `(MyPhantom) => Int` nothation as it does
not require any imports.
@nicolasstucki
Copy link
Contributor Author

Will not be needed with #3342

odersky added a commit to dotty-staging/dotty that referenced this pull request Nov 27, 2017
odersky added a commit to dotty-staging/dotty that referenced this pull request Nov 27, 2017
smarter pushed a commit to dotty-staging/dotty that referenced this pull request Nov 29, 2017
odersky added a commit to dotty-staging/dotty that referenced this pull request Dec 1, 2017
smarter pushed a commit to smarter/dotty that referenced this pull request Dec 3, 2017
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

Successfully merging this pull request may close these issues.

None yet

2 participants