"I must say that it felt great to solve a problem within several minutes (albeit it was not that hard), since I’m only at the beginning of my journey with ."

@nihilipster and a slightly shorter version using juxt :)

(defn chop-chop [s]
(juxt (comp str first) count)
(partition-by identity s)))

Sign in to participate in the conversation

Fosstodon is an English speaking Mastodon instance that is open to anyone who is interested in technology; particularly free & open source software.