News for hackers. Stuff that matters.
Re:The Kotlin Language: 1.0 Beta Is Here by edgyswingset on Monday November 02, 2015 @12:44PM (#10493525)
(disclaimer: I think Kotlin is cool)

And non-lazy map/reduce/filter. Which I almost see as a deal-breaker.

Re:The Kotlin Language: 1.0 Beta Is Here by yole on Monday November 02, 2015 @01:05PM (#10493716)
Kotlin does have lazy map/reduce/filter: those are available through the Sequence interface.
Re:The Kotlin Language: 1.0 Beta Is Here by edgyswingset on Monday November 02, 2015 @02:10PM (#10494242)
It's very limited. Many of the functions you use when operating with collections also return lists, not sequences.
Re:The Kotlin Language: 1.0 Beta Is Here by mike_hearn on Monday November 02, 2015 @04:07PM (#10495242)
Sequence has much the same extensions available on it as other collections.

I did a tutorial a week or so ago (it's not online yet, unfortunately) on FP in Kotlin. We wrote a little app to do IntelliSense style autocompletion on an n-gram model. The core code was purely functional and used lazyness as well.

I suspect "does Kotlin support FP" is one of those questions that's doomed to turn into a no-true-scotsman thing: whatever support is available will be considered insufficient by true FP fans :-) But it's good enough to let you write code in a typical functional style in many cases, with little cost.

Re:The Kotlin Language: 1.0 Beta Is Here by icholy on Monday November 02, 2015 @01:01PM (#10493677)
It's not that hard to implement your own stream abstraction.