More powerful flatten, can pick single result instead of dumping them all
0.2.0 -> 0.3.0