Create a gist now

Instantly share code, notes, and snippets.

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.

Show comment Hide comment
@mariussoutier

mariussoutier Sep 13, 2011

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

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