Re: Bug in isa??

2008-10-08 Thread Rich Hickey



On Oct 8, 2:24 am, mb <[EMAIL PROTECTED]> wrote:
> Hello Rich,
>
> in the definition of isa? in boot.clj in the last line (no. 2879),
> there isa? recurs into the contents of the vectors. It uses
> implicitely the global-hierarchy instead of the provided
> one.
>

Fixed - thanks for the report,

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



Re: Bug in isa??

2008-10-08 Thread mb

Hello again,

another thing I noticed: the loop could also stop
as soon as ret is false. Because at that point
it stays so due to the (and).

I assume that the vectors are likely small. So
this is maybe not much of a difference...

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



Bug in isa??

2008-10-07 Thread mb

Hello Rich,

in the definition of isa? in boot.clj in the last line (no. 2879),
there isa? recurs into the contents of the vectors. It uses
implicitely the global-hierarchy instead of the provided
one.

Shouldn't it be
  (isa? h (child i) (parent i))

instead of
  (isa? (child i) (parent i))

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