- About Scala
- Documentation
- Code Examples
- Software
- Scala Developers
Sequence->Seq
Fri, 2009-10-02, 21:53
As discussed on the main mailing list, I have reverted Sequence in all
forms back to Seq. For the moment, I have left deprecated aliases
scala.Sequence (both as a type and as a value) in the scala package,
so that IDEs and other tools will not immediately break. I will remove
these aliases in about two weeks, so that everybody has time to
prepare for the final release.
Cheers
Fri, 2009-10-02, 22:17
#2
Re: Sequence->Seq
Hi Jorge,
> Anything that's been deprecated since 2.6.x should be removed. Anything
> deprecated since early 2.7.x should be considered for removal. Anything that
> wasn't in 2.7.x that is now in 2.8 and marked as deprecated should be
> removed (I've seen a few of these).
>
Agreed on all of these.
> Maybe this can happen in two weeks (to fit when Martin said Sequence will be
> removed). I'll volunteer to do the work if no one else wants to.
>
I'd be happy for you to do it, unless anybody else wants to?
Cheers
Fri, 2009-10-02, 22:37
#3
Re: Sequence->Seq
On Fri, Oct 02, 2009 at 02:03:57PM -0700, Jorge Ortiz wrote:
> Anything that's been deprecated since 2.6.x should be removed.
> Anything deprecated since early 2.7.x should be considered for
> removal. Anything that wasn't in 2.7.x that is now in 2.8 and marked
> as deprecated should be removed (I've seen a few of these).
Please, can we remove:
@deprecated("use getOrElse
instead")
def get[B >: A](default: B): B = this match {
case None => default
case Some(x) => x
}
I had a list somewhere, but that's the biggest.
Fri, 2009-10-02, 23:57
#4
Re: Sequence->Seq
Done for NetBeans plugin.
--Caoyuan
On Sat, Oct 3, 2009 at 4:53 AM, martin odersky wrote:
> As discussed on the main mailing list, I have reverted Sequence in all
> forms back to Seq. For the moment, I have left deprecated aliases
> scala.Sequence (both as a type and as a value) in the scala package,
> so that IDEs and other tools will not immediately break. I will remove
> these aliases in about two weeks, so that everybody has time to
> prepare for the final release.
>
> Cheers
>
> -- Martin
>
Anything that's been deprecated since 2.6.x should be removed. Anything deprecated since early 2.7.x should be considered for removal. Anything that wasn't in 2.7.x that is now in 2.8 and marked as deprecated should be removed (I've seen a few of these).
Maybe this can happen in two weeks (to fit when Martin said Sequence will be removed). I'll volunteer to do the work if no one else wants to.
--j
On Fri, Oct 2, 2009 at 1:53 PM, martin odersky <martin.odersky@epfl.ch> wrote: