mbonnin
01/13/2021, 4:27 PMSet<T>.map {} returns a List and not a Set ?Zach Klippenstein (he/him) [MOD]
01/13/2021, 4:34 PMIterable so List is the return type that makes the most sense given the generic receiver.mbonnin
01/13/2021, 4:38 PMSet<T>.map {} ...mbonnin
01/13/2021, 4:38 PMIterable<T>.map {}mbonnin
01/13/2021, 4:43 PMRuckus
01/13/2021, 4:44 PMSet, it wouldn't necessarily make sense to return a set, as we don't know if the mapping function will return unique values. So dropping data when mapping to a set should be explicit.mbonnin
01/13/2021, 4:44 PMmbonnin
01/13/2021, 4:45 PMSet of a different size I guessZach Klippenstein (he/him) [MOD]
01/13/2021, 4:48 PMmbonnin
01/13/2021, 4:49 PMjw
01/13/2021, 4:51 PM