Skip to content

Instantly share code, notes, and snippets.

@francoisdevlin
Created August 3, 2009 19:58
Show Gist options
  • Save francoisdevlin/160796 to your computer and use it in GitHub Desktop.
Save francoisdevlin/160796 to your computer and use it in GitHub Desktop.
(defn str-drop-while
[pred coll]
(apply str (drop-while pred coll)))
(defn str-take-while
[pred coll]
(apply str (take-while pred coll)))
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment