Instantly share code, notes, and snippets.

Embed
What would you like to do?
;; marius' solution to Compress a Sequence
;; https://4clojure.com/problem/30
#(map last (partition-by str %))
@mariussoutier

This comment has been minimized.

Copy link
Owner

mariussoutier commented Sep 13, 2011

If it weren't for the code golf, I'd change str to identity.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment