On Nov 6, 2008, at 7:05 AM, [EMAIL PROTECTED] wrote:

>
> On Nov 6, 12:43 pm, Rich Hickey <[EMAIL PROTECTED]> wrote:
>> On Nov 6, 5:23 am, "[EMAIL PROTECTED]" <[EMAIL PROTECTED]>
>> wrote:
>>
>>> To answer my own question - AFn.java implements  
>>> java.util.Comparator.
>>
>> That is documented here:
>>
>> http://clojure.org/special_forms
>
> "IFns implement the Java Callable, Runnable and Comparator
> interfaces."
>
> Pedantically speaking IFn extends Callable and Runnable, and AFn
> implements IFn and additionally Comparator (and Serializable). I was
> checking IFn.java first but couldn't see the Comparator interface
> being listed there which made me writing my initial post. Now reading
> the sentence above I wonder if it counts as a bug that IFn doesn't
> extend from Comparator?
>

It's a documentation bug - it should say fns and not IFns, and now does.

Rich

--~--~---------~--~----~------------~-------~--~----~
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