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?

Stu

[1] 
http://onclojure.com/2009/03/23/a-monad-tutorial-for-clojure-programmers-part-3/

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