True, but what I am concerned about is cognitive load in understanding  
the language. Right now, there is some set of functions that work on  
seq-able things, and another set of functions that work only on actual  
seqs. Is there a reason that sort belongs in the latter camp?

Stuart

>
> You could sort this way:
> user> (apply str (sort (seq "bac")))
> "abc"
>
> On Oct 2, 11:58 am, Stuart Halloway <[EMAIL PROTECTED]> wrote:
>> Right. So, should sort work?
>>
>> user=> (sort "bca")
>> java.lang.IncompatibleClassChangeError: Class java.lang.String does
>> not implement the requested interface java.util.Collection
>>
>> Stuart
>>
>
> >


--~--~---------~--~----~------------~-------~--~----~
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
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/clojure?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to