Hmm. might be mixing two versions of clojure on my system than. Thanks
for correcting me!

On Mar 12, 11:47 am, Frantisek Sodomka <fsodo...@gmail.com> wrote:
> Latest SVN r1327 works ok:
>
> user=> (mod 9 -3)
> 0
> user=> (map #(mod % 3) (range -10 10))
> (2 0 1 2 0 1 2 0 1 2 0 1 2 0 1 2 0 1 2 0)
>
> Test-clojure runs ok too.
>
> Frantisek
>
> On Mar 12, 10:30 am, bOR_ <boris.sch...@gmail.com> wrote:
>
>
>
> > Mod seems to have broken again
>
> > (mod 9 -3)  gives -3
>
> > (map #(mod % 3) (range -10 10))
> > (2 3 1 2 3 1 2 3 1 2 0 1 2 0 1 2 0 1 2 0)
>
> > svn 1372.
>
> > Chouser wrote:
> > > On Sat, Feb 14, 2009 at 12:45 AM, Stephen C. Gilardi <squee...@mac.com> 
> > > wrote:
>
> > > > The new mod isn't working properly though:
>
> > > >        Testing clojure.contrib.test-clojure.numbers
>
> > > >        FAIL in (test-mod) (numbers.clj:104)
> > > >        expected: (= (mod 9 -3) 0)
> > > >          actual: (not (= -3 0))
>
> > > >        FAIL in (test-mod) (numbers.clj:104)
> > > >        expected: (= (mod -9 3) 0)
> > > >          actual: (not (= 3 0))
>
> > > So true:
> > >http://groups.google.com/group/clojure/browse_thread/thread/2a0ee4d24...
>
> > > > It will need a fix.
>
> > > Indeed it will.  Fortunately it already has one:
> > >http://code.google.com/p/clojure/issues/detail?id=23#c6
>
> > > --Chouser
--~--~---------~--~----~------------~-------~--~----~
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 
clojure+unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/clojure?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to