kirillrakhman
03/31/2017, 2:04 PMKCLass<out ChessPiece>
kirillrakhman
03/31/2017, 2:46 PMdoMove<Something>
which isn't even useduser
03/31/2017, 4:22 PMDmitry Kandalov
03/31/2017, 6:30 PMfun
? 😰bob
03/31/2017, 10:38 PMtrue
or false
.. not null.
So in a way there's less sense in having a Boolean?
type at all.
And if we compare with java the primitive boolean
has false
as default value. As per say if it’s not explicitly sat to true
it is in fact false
.
But I see where you’re coming from and I understand, I was just hoping that something that is used often might be in consideration some syntactic sugaring to get rid of verboseness.alexp11223
04/01/2017, 8:29 AM[WARNING] The POM for org.jetbrains.kotlin:kotlin-maven-plugin:jar:1.1.1 is missing, no dependency information available
[INFO] Downloading: <https://repo.maven.apache.org/maven2/org/codehaus/plexus/plexus-utils/1.1/plexus-utils-1.1.jar>
[INFO] Downloaded: <https://repo.maven.apache.org/maven2/org/codehaus/plexus/plexus-utils/1.1/plexus-utils-1.1.jar> (165 KB at 2457.0 KB/sec)
[WARNING] Error injecting: org.jetbrains.kotlin.maven.K2JVMCompileMojo
java.lang.NoClassDefFoundError: com/intellij/util/Processor
https://travis-ci.org/AlexP11223/minic/jobs/217293085
Is it Travis issue? Or I am doing something wrong?igor.wojda
04/01/2017, 7:40 PMsreich
04/02/2017, 12:31 AMmg6maciej
04/02/2017, 6:58 AMchansek
04/02/2017, 12:18 PMgroostav
04/03/2017, 6:29 AMasIterable()
extension function on your external class?ross_a
04/03/2017, 9:38 AMwhen
perform == check or === check when comparing objects? It doesn’t mention on the docs
when (message) {
removeMessage -> removeItem(subject)
else -> sendItem(subject, message)
}
companion object {
val removeMessage = Message { mapOf<String, String>() }
}
^^ Answered myself by converting to if
if (it.second == removeMessage) removeItem(subject)
else sendItem(subject, message)
orangy
04/03/2017, 9:44 AMsreich
04/03/2017, 10:59 AMigor.wojda
04/03/2017, 3:28 PMorangy
04/03/2017, 5:33 PMwhen (val x = expr()) { is Foo -> x.fooMember() }
, but that’s quite complexcy
04/03/2017, 6:01 PMsreich
04/03/2017, 8:38 PMcapitalizeSmart
?raulraja
04/03/2017, 10:22 PMsreich
04/03/2017, 10:50 PMtopdirFile.walk().onEnter { file-> file.path == topdir}
gbaldeck
04/04/2017, 1:44 AMorangy
04/04/2017, 8:49 AMmichaelzinn
04/04/2017, 10:43 AMbadlogic
04/04/2017, 1:19 PMraulraja
04/04/2017, 2:07 PMinterface X {
typealias F
fun x() : F
}
class Y : X {
typealias F = String
fun x() : String = "hello dependent types!"
}
jackmiras
04/04/2017, 8:34 PMmasted
04/05/2017, 7:04 AMfun something()
and fun something(arg: Int)
and I want to link em each other in a docs. Is it possible and how can I do it?wineluis
04/06/2017, 12:05 PMviliusk
04/06/2017, 12:10 PMorangy
04/07/2017, 10:34 AMorangy
04/07/2017, 10:34 AMmasted
04/07/2017, 10:49 AMorangy
04/07/2017, 10:52 AMmasted
04/07/2017, 11:16 AMelizarov
04/07/2017, 11:26 AMorangy
04/07/2017, 12:04 PMcedric
04/07/2017, 1:57 PM