Re: example usage for the 5 argument form of subseq?

2011-06-04 Thread Sunil S Nandihalli
aha.. .. thanks Ken. The argument name key got me a little confused. Sunil. On Sat, Jun 4, 2011 at 11:15 AM, Ken Wesson kwess...@gmail.com wrote: On Sat, Jun 4, 2011 at 12:27 AM, Sunil S Nandihalli sunil.nandiha...@gmail.com wrote: Hello everybody, I have not been able to figure out how

Re: example usage for the 5 argument form of subseq?

2011-06-04 Thread Ken Wesson
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

example usage for the 5 argument form of subseq?

2011-06-03 Thread Sunil S Nandihalli
Hello everybody, I have not been able to figure out how to use the 5 argument form of subseq or rsubseq.. can somebody help? Thanks, Sunil -- 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

Re: example usage for the 5 argument form of subseq?

2011-06-03 Thread Ken Wesson
On Sat, Jun 4, 2011 at 12:27 AM, Sunil S Nandihalli sunil.nandiha...@gmail.com wrote: Hello everybody,  I have not been able to figure out how to use the 5 argument form of subseq or rsubseq.. can somebody help? Thanks, Sunil = (subseq (sorted-set 4 8 15 16 23 42) 5 30) (8 15 16 23) ;