Skip to content

Instantly share code, notes, and snippets.

@peterschwarz
Created July 29, 2016 18:40
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save peterschwarz/20437b468405b76aa27b260b7de5c8ae to your computer and use it in GitHub Desktop.
Save peterschwarz/20437b468405b76aa27b260b7de5c8ae to your computer and use it in GitHub Desktop.
Cool clojure
(let [bisect-by (juxt filter remove)]
(bisect-by odd? [1 2 3 4 5]))
; => [(1 3 5) (2 4)]
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment