Skip to content

Instantly share code, notes, and snippets.

@levicole
Last active August 29, 2015 13:58
Show Gist options
  • Save levicole/9957438 to your computer and use it in GitHub Desktop.
Save levicole/9957438 to your computer and use it in GitHub Desktop.
(defn elipse-maker [n]
(fn [p]
(str/join " " (conj (vec (take n (str/split p #"\W+"))) "..."))))
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment