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 ?

not sure I really understand between orElse and orElseGet ... and getOrElse ... learning functional programming is hard for my little brain

On Sat, Jan 2, 2016 at 12:09 PM, Philippe Charrière <ph.charriere@xxxxxxxxx> wrote:
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



Back to the top