Follow

"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 ."

savo.rocks/posts/a-random-job-

@nihilipster and a slightly shorter version using juxt :)

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

Sign in to participate in the conversation
Fosstodon

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