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

map() #6

Closed
robrix opened this issue Oct 10, 2014 · 1 comment · Fixed by #7
Closed

map() #6

robrix opened this issue Oct 10, 2014 · 1 comment · Fixed by #7

Comments

@robrix
Copy link
Owner

robrix commented Oct 10, 2014

func map<T, U>(Box<T>, T -> U) -> Box<U>
@robrix
Copy link
Owner Author

robrix commented Oct 11, 2014

This can’t be typed generically over BoxType 😭 In short, you can’t vary B.Value independently of B: BoxType.

@robrix robrix mentioned this issue Oct 18, 2014
Merged
@robrix robrix closed this as completed in #7 Oct 18, 2014
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant