On Sat, Jun 4, 2011 at 6:24 AM, Sunil S Nandihalli
<sunil.nandiha...@gmail.com> wrote:
> aha.. .. thanks Ken.

You're welcome.

> The argument name key got me a little confused.

It also works on sorted maps, sorting on their keys and returning a
seq of entries, hence "key".

=> (subseq (sorted-map 4 :x 8 :y 15 :a 16 :b 23 :q 42 :r) > 5 < 30)
([8 :y] [15 :a] [16 :b] [23 :q])

-- 
Protege: What is this seething mass of parentheses?!
Master: Your father's Lisp REPL. This is the language of a true
hacker. Not as clumsy or random as C++; a language for a more
civilized age.

-- 
You received this message because you are subscribed to the Google
Groups "Clojure" group.
To post to this group, send email to clojure@googlegroups.com
Note that posts from new members are moderated - please be patient with your 
first post.
To unsubscribe from this group, send email to
clojure+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/clojure?hl=en

Reply via email to