On 18.05.2009, at 21:54, Stuart Halloway wrote: > When working through Part 3 of the monad tutorial [1], I am seeing the > following behavior for fib-trace: > > (fib-trace 3) > => [2 [[[[[[[1 1] [[[0 0] []]]]]] [[2 1] [[[1 1] []]]]]]]] > > According to the tutorial, it should be: > > (fib-trace 3) > => [2 [[1 1] [0 0] [2 1] [1 1]]] > > Am I doing something wrong?
No. This is due to a recently introduced bug in clojure.contrib.accumulators. I just fixed it, so if you use the current revision of contrib, you should get the expected result. Konrad. --~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---