(def flatten1 (partial mapcat identity)) #clojure
0
1
2
0
0