dumptruckman
04/14/2020, 7:40 PMmessages.forEach { message ->
recipients.forEach { recipient ->
val m = messagingService.recordMessage(message, listOf(recipient))
}
}dumptruckman
04/14/2020, 7:44 PMdumptruckman
04/14/2020, 7:45 PMdumptruckman
04/14/2020, 7:49 PMMilan Hruban
04/14/2020, 8:43 PMbuildList and just call add(m)Hullaballoonatic
04/14/2020, 10:13 PMKroppeb
04/15/2020, 1:17 AMmap to a flatmap and remove the flattenRoger Home-Martinsen
04/15/2020, 5:56 AMEyeCon
04/16/2020, 9:16 AMPair(first, second)
with
first to second
might be more idiomatic.