- About Scala
- Documentation
- Code Examples
- Software
- Scala Developers
filter/withFilter deprecation
Sun, 2011-03-13, 02:50
The for-comprehension rewriting falls back to filter if withFilter
isn't defined, issuing a deprecation warning.
Is this a candidate for removal for 2.9? Or does it fall in the same
category as case-class inheritance, delaying it for one more major
revision?
-jason
Sun, 2011-03-13, 11:47
#2
Re: filter/withFilter deprecation
On Sun, Mar 13, 2011 at 3:56 AM, Daniel Sobral <dcsobral@gmail.com> wrote:
As a user, I'd say delay, based simply on the amount of material -- including books -- that mention only filter. Better the user get a warning with an indication of where to go, than see it simply not work at all.I agree. We intend to keep it deprecated until the next major release after 2.9.
Cheers
-- Martin
On Sat, Mar 12, 2011 at 22:49, Jason Zaugg <jzaugg@gmail.com> wrote:The for-comprehension rewriting falls back to filter if withFilter
isn't defined, issuing a deprecation warning.
Is this a candidate for removal for 2.9? Or does it fall in the same
category as case-class inheritance, delaying it for one more major
revision?
-jason
--
Daniel C. Sobral
I travel to the future all the time.
--
----------------------------------------------
Martin Odersky
Prof., EPFL and CEO, Scala Solutions
PSED, 1015 Lausanne, Switzerland
On Sat, Mar 12, 2011 at 22:49, Jason Zaugg <jzaugg@gmail.com> wrote:
--
Daniel C. Sobral
I travel to the future all the time.