mikehearn
02/07/2017, 4:19 PMorangy
orangy
dammy_abayomi
02/07/2017, 4:42 PMdammy_abayomi
02/07/2017, 4:43 PMbenleggiero
02/07/2017, 5:08 PMhackerham
02/07/2017, 5:14 PMbenleggiero
02/07/2017, 5:22 PMorangy
dnguyenminh
02/07/2017, 5:31 PMdnguyenminh
02/07/2017, 5:32 PMdnguyenminh
02/07/2017, 5:32 PMorangy
dnguyenminh
02/07/2017, 5:34 PMbenleggiero
02/07/2017, 7:22 PMinout
style parameter possible?dalexander
02/07/2017, 7:24 PMPair
or data class is the expected means of returning multiple values from a function.dalexander
02/07/2017, 7:25 PMgroostav
02/07/2017, 7:30 PMgroostav
02/07/2017, 7:30 PMval (a, b) = something.expression()
) can help with thisgroostav
02/07/2017, 7:31 PMapply
, which is a pretty nifty method, flies in the face of thisbenleggiero
02/07/2017, 7:44 PMbenleggiero
02/07/2017, 7:45 PMmg6maciej
02/08/2017, 12:55 AMclass A<T>(val f: (T) -> Unit) {
}
mg6maciej
02/08/2017, 12:56 AMUnit
is like void
in Java.functor
02/08/2017, 12:56 AMfunctor
02/08/2017, 12:57 AMmg6maciej
02/08/2017, 12:57 AM() -> Int
.functor
02/08/2017, 12:57 AMbody: () -> T
functor
02/08/2017, 12:57 AMmg6maciej
02/08/2017, 12:58 AM