Skip to content

Instantly share code, notes, and snippets.

@amalloy
Created August 27, 2012 23:24
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 amalloy/3493313 to your computer and use it in GitHub Desktop.
Save amalloy/3493313 to your computer and use it in GitHub Desktop.
useful.seq=> (glue conj [] #(< (peek %1) %2) (constantly false)
[1 2 3 0 9 1 5 6])
([1 2 3] [0 9] [1 5 6])
useful.seq=> (apply max-key count *1)
[1 5 6]
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment