Re: [Vala] Safe call operator



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]