Skip to content

Instantly share code, notes, and snippets.

@francoisdevlin
Created December 18, 2009 02:28
Show Gist options
  • Select an option

  • Save francoisdevlin/259239 to your computer and use it in GitHub Desktop.

Select an option

Save francoisdevlin/259239 to your computer and use it in GitHub Desktop.
user=>(same take 2 "abcdef")
"ab"
user=>(same drop 2 "abcdef")
"cdef"
user=>(same map name [:a :b :c])
["a" "b" "c"]
user=>(same filter (set "ab") {\a \b \c \d})
{\a \b}
user=>(same remove (set "ab") {\a \b \c \d})
{\c \d}
user=>(same remove (set "ab") "abcd")
"cd"
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment