Re: [Vala] Safe call operator
- From: Luca Bruno <lethalman88 gmail com>
- To: lomereiter gmail com
- Cc: vala-list <vala-list gnome org>
- Subject: Re: [Vala] Safe call operator
- Date: Tue, 31 Jan 2012 13:58:40 +0100
On Tue, Jan 31, 2012 at 1:34 PM, Artem Tarasov <lomereiter googlemail com>wrote:
There's so-called 'safe call operator' in Kotlin programming language
which, when used in chains, resembles 'Maybe' monad from Haskell. Thus it
makes easier to work with nullable types in some cases. Is it possible to
add such a feature to Vala?
Adding a feature is always possible, but it must be discussed first :-)
As a starter, Java rejected that syntax.
--
www.debian.org - The Universal Operating System
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]