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

The state of Scala optional

5 replies
Johannes Rudolph 2
Joined: 2010-02-12,
User offline. Last seen 42 years 45 weeks ago.

From what I've figured out from github you, Paul and Jamie, seem to be
the main contributors of the Scala `optional` library. What's the
current state of it? Is there a 2.9.1 build published somewhere?

extempore
Joined: 2008-12-17,
User offline. Last seen 35 weeks 3 days ago.
Re: The state of Scala optional


On Mon, Jan 16, 2012 at 6:22 AM, Johannes Rudolph <johannes [dot] rudolph [at] googlemail [dot] com> wrote:
From what I've figured out from github you, Paul and Jamie, seem to be
the main contributors of the Scala `optional` library. What's the
current state of it? Is there a 2.9.1 build published somewhere?

There's some monkey in the ointment.  Remember how everyone got all mad when we released 2.9.0 because they couldn't figure out what was in their Option[Int]s like they could in 2.8? That's also how optional did its magic.  So it's sidelined at the moment.  It could be made to work in a variety of ways but since I have no time for it I don't expect to touch it until after we ship reflection.
Johannes Rudolph 2
Joined: 2010-02-12,
User offline. Last seen 42 years 45 weeks ago.
Re: The state of Scala optional

Ok, thanks for the info, this makes sense. So we can't rely on
optional for scala 2.9.1.

Johannes

On Tue, Jan 17, 2012 at 4:39 AM, Paul Phillips wrote:
>
>
> On Mon, Jan 16, 2012 at 6:22 AM, Johannes Rudolph
> wrote:
>>
>> From what I've figured out from github you, Paul and Jamie, seem to be
>> the main contributors of the Scala `optional` library. What's the
>> current state of it? Is there a 2.9.1 build published somewhere?
>
>
> There's some monkey in the ointment.  Remember how everyone got all mad when
> we released 2.9.0 because they couldn't figure out what was in their
> Option[Int]s like they could in 2.8? That's also how optional did its magic.
>  So it's sidelined at the moment.  It could be made to work in a variety of
> ways but since I have no time for it I don't expect to touch it until after
> we ship reflection.
>

Lars Hupel
Joined: 2010-06-23,
User offline. Last seen 44 weeks 3 days ago.
Re: The state of Scala optional

> There's some monkey in the ointment. Remember how everyone got all mad
> when we released 2.9.0 because they couldn't figure out what was in their
> Option[Int]s like they could in 2.8?

I don't remember that, and you made me curious. Is there a discussion on
a list somewhere?

Chris Marshall
Joined: 2009-06-17,
User offline. Last seen 44 weeks 3 days ago.
RE: Re: The state of Scala optional
A sad day indeed :-(
Welcome to Scala version 2.9.1.final (Java HotSpot(TM) Server VM, Java 1.6.0_18).Type in expressions to have them evaluated.Type :help for more information.
scala> List(Some(1), None, Some(2))res0: List[Option[Int]] = List(<<NOT TELLING>>,  <<NOT TELLING>> ,  <<NOT TELLING>> )


> To: scala-debate [at] googlegroups [dot] com
> From: hupel [at] in [dot] tum [dot] de
> Subject: [scala-debate] Re: The state of Scala optional
> Date: Tue, 17 Jan 2012 12:23:52 +0100
>
> > There's some monkey in the ointment. Remember how everyone got all mad
> > when we released 2.9.0 because they couldn't figure out what was in their
> > Option[Int]s like they could in 2.8?
>
> I don't remember that, and you made me curious. Is there a discussion on
> a list somewhere?
>
Jason Zaugg
Joined: 2009-05-18,
User offline. Last seen 38 weeks 5 days ago.
Re: Re: The state of Scala optional
On Tue, Jan 17, 2012 at 12:23 PM, Lars Hupel <hupel [at] in [dot] tum [dot] de> wrote:
> There's some monkey in the ointment.  Remember how everyone got all mad
> when we released 2.9.0 because they couldn't figure out what was in their
> Option[Int]s like they could in 2.8?

I don't remember that, and you made me curious. Is there a discussion on
a list somewhere?

https://issues.scala-lang.org/browse/SI-5255 
http://www.scala-lang.org/node/8888
-jason

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