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

Short AnyVal guide for docs.scala-lang.org #6399

Closed
scabug opened this issue Sep 19, 2012 · 6 comments
Closed

Short AnyVal guide for docs.scala-lang.org #6399

scabug opened this issue Sep 19, 2012 · 6 comments

Comments

@scabug
Copy link

scabug commented Sep 19, 2012

(No description for SI-6399.)

@scabug
Copy link
Author

scabug commented Sep 19, 2012

Imported From: https://issues.scala-lang.org/browse/SI-6399?orig=1
Reporter: @heathermiller
Other Milestones: 2.10.0
Blocks #6397

@scabug
Copy link
Author

scabug commented Sep 19, 2012

@harrah said:
What is the difference between this and SI-6398?

@scabug
Copy link
Author

scabug commented Sep 20, 2012

@heathermiller said:
The idea was that from the point of view of AnyVal as a type (not knowing anything about value classes), you can now in 2.10 suddenly extend AnyVal. So someone who comes across someone else extending AnyVal in some arbitrary code somewhere would need to make the connection between that and value classes, and googling AnyVal doesn't provide anything of use. So, the idea was to bridge the concepts.

However, I realize that since this text would so short, it'd probably be best to just add this info to the AnyVal Scaladoc with a pointer to the short value classes guide that you just wrote.

@scabug
Copy link
Author

scabug commented Sep 20, 2012

@heathermiller said:
That said, I can take this and write the AnyVal Scaladoc.

If anyone would rather it be organized differently- suggestions welcome

@scabug
Copy link
Author

scabug commented Sep 20, 2012

@harrah said:
Makes sense. You can also now extend Any to define a universal trait.

@scabug
Copy link
Author

scabug commented Nov 2, 2012

@heathermiller said:
Added AnyVal and Any docs: scala/scala#1558

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

No branches or pull requests

2 participants