- About Scala
- In the Enterprise
- Scala Community
- Language Research
- In the Press
- The Scala Team
- Scala's Prehistory
- Contact Us
- Learning Scala
- Tour of Scala
- Scala API
- Setup & Getting Started
- Programming Guides
- Other Guides
- Code Examples
- Scala Developers
Fwd: what it means to contain something
The following mail was accidentally sent to Viktor only.
I have just committed a patch that changes WithDefault.get.
I think it's the right thing and that the previous behavior can be
classified as a bug. So I would argue there are no migration issues --
since `m get k' was the same as `Some(m apply k)', nobody who depended
on that behavior would have called it. They would have called `apply'
directly. And nobody would have used a constant `contains' either.