Right. So why is being able to abstract over "thing that can be flat_mapped" bad?
So why is the first better than the second? https://gist.github.com/sgrif/f967116241999765e3f46506215ad8ae …
-
-
also objectively this is the best x.flatMap { (y) in do_stuff(y) .flatMap { do_more_stuff(y, $0) }}
-
Also that should probably be `flattenIntoSingleLevelAfterMappingWith: (y) in ...`
- 11 more replies
New conversation -
Loading seems to be taking a while.
Twitter may be over capacity or experiencing a momentary hiccup. Try again or visit Twitter Status for more information.