Clj and Cljs versions of sequence-m