chalup
04/27/2017, 6:13 AMdefaultValue
lambda be crossinline
?mg6maciej
04/27/2017, 6:39 AMgetOrPut
into your codebase and adding crossinline
. It can't be changed that easily in stdlib as it is a breaking change.mg6maciej
04/27/2017, 6:42 AMbetterXxx
when doing so 😁chalup
04/27/2017, 7:21 AMgetOrPutWithoutSomeExoticGotcha
method though 🙂chalup
04/27/2017, 7:22 AMkirillrakhman
04/27/2017, 9:10 AMmikehearn
05/04/2017, 4:21 PMapply
and not also
?mikehearn
05/04/2017, 4:22 PMmenegatti
05/04/2017, 4:26 PMalso
nowmenegatti
05/04/2017, 4:26 PMapply
mikehearn
05/04/2017, 4:28 PMmikehearn
05/04/2017, 4:28 PMmikehearn
05/04/2017, 4:28 PMmikehearn
05/04/2017, 4:29 PMkirillrakhman
05/04/2017, 5:24 PMapply
was added to the stdlib late in the milestone phase after several people including me asked for it on youtrack. The name was the most popular in the discussioncedric
05/04/2017, 5:31 PMalso
and apply
are subtly differentmr_kay
05/04/2017, 7:00 PMmikehearn
05/09/2017, 2:03 PMmiha-x64
05/11/2017, 1:33 PMdamian
05/11/2017, 1:37 PMmiha-x64
05/11/2017, 1:39 PMorangy
map.entries.associateBy
?miha-x64
05/11/2017, 1:45 PMmg6maciej
05/11/2017, 1:48 PMmap.mapKeys
or map.mapValues
if you want to map just one thing.jw
05/12/2017, 1:17 AMSourceVersion.isName
?ilya.gorbunov
05/12/2017, 1:25 AMilya.gorbunov
05/12/2017, 1:27 AMjw
05/12/2017, 1:29 AMjw
05/12/2017, 3:04 AMlookingAt()
?jw
05/12/2017, 3:04 AM