Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
Re: [golo-dev] Option type as a standard Golo Type ?

It's an ongoing work (see my feat/error branch): plain Result type
(similar to Haskell Either or Rust Result) and java.util.Optional
augmentation to make it a plain monad/applicative functor.


Philippe Charrière (2016-01-02 12:09):
> perhaps an Optional type with more things than J8 Optional ...
> and what about Result type ? (an other debate?)
> 
> 
> On Sat, Jan 2, 2016 at 11:31 AM, Julien Ponge <julien.ponge@xxxxxxxxxxxx>
> wrote:
> 
> > That’s a good question.
> >
> > On one hand we could provide such monads, on the other hand java.util has
> > Optional in JDK8.
> >
> > So that’s a good debate to have ;-)
> >
> > - Julien
> >
> > > On 02 Jan 2016, at 10:51, Philippe Charrière <ph.charriere@xxxxxxxxx>
> > wrote:
> > >
> > > Hi!
> > > A little question, why not to provide Option type directly in Golo ?
> > (rather than as a simple example)
> > > _______________________________________________
> > > golo-dev mailing list
> > > golo-dev@xxxxxxxxxxx
> > > To change your delivery options, retrieve your password, or unsubscribe
> > from this list, visit
> > > https://dev.eclipse.org/mailman/listinfo/golo-dev
> >
> > _______________________________________________
> > golo-dev mailing list
> > golo-dev@xxxxxxxxxxx
> > To change your delivery options, retrieve your password, or unsubscribe
> > from this list, visit
> > https://dev.eclipse.org/mailman/listinfo/golo-dev
> >

> _______________________________________________
> golo-dev mailing list
> golo-dev@xxxxxxxxxxx
> To change your delivery options, retrieve your password, or unsubscribe from this list, visit
> https://dev.eclipse.org/mailman/listinfo/golo-dev

Attachment: signature.asc
Description: PGP signature


Back to the top