This page is no longer maintained — Please continue to the home page at www.scala-lang.org

Sequence->Seq

4 replies
odersky
Joined: 2008-07-29,
User offline. Last seen 45 weeks 6 days ago.

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

Jorge Ortiz
Joined: 2008-12-16,
User offline. Last seen 29 weeks 4 days ago.
Re: Sequence->Seq
Speaking of deprecation... There should be a thorough review of everything marked deprecated in 2.8.

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:
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

odersky
Joined: 2008-07-29,
User offline. Last seen 45 weeks 6 days ago.
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

extempore
Joined: 2008-12-17,
User offline. Last seen 35 weeks 3 days ago.
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.

Caoyuan
Joined: 2009-01-18,
User offline. Last seen 42 years 45 weeks ago.
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
>

Copyright © 2012 École Polytechnique Fédérale de Lausanne (EPFL), Lausanne, Switzerland