mg6maciej
04/07/2017, 7:04 AMlistOf(A, B)
=> listOf(emptyList(), listOf(A), listOf(B), listOf(A, B))
voddan
04/07/2017, 7:14 AMvoddan
04/07/2017, 7:14 AMmg6maciej
04/07/2017, 7:25 AMlistOf(B, A), listOf(A, B))
Combination is a bit closer, but I always think of it as selecting k elements from n-set, like lotto. Maybe this term can be used more broadly to name all k-combinations, where k is 0 to set size.voddan
04/07/2017, 7:25 AMvoddan
04/07/2017, 7:26 AMvoddan
04/07/2017, 7:26 AMvoddan
04/07/2017, 7:27 AMmiha-x64
04/07/2017, 7:31 AMallSublistsOf(List)
? 🙃masted
04/07/2017, 8:25 AM2^S
is only a notation in a case where S set is finite set, because |P(S)| = 2^n 🙂 actually, in math, it's called power set
> #randommg6maciej
04/07/2017, 9:02 AMpower set
, but this is exactly what it is.