3 ms·
I think this just flatmap / bind over lazy lists in languages that support it.
by agbell 7y ago
I think this just flatmap / bind over lazy lists in languages that support it.
- tigershark 7y agoNot exactly. I had to use SelectMany (flatmap) in my .csx solution, but the core of the solution is the join (or the for-if in the python list comprehension solution and the if-guard over the list monad in the F#/Haskell solutions)