A domonad expression always boils down to a series of m-bind and m-
result calls. That's its definition. You can check out my explanation
of that here:
http://www.clojure.net/2012/02/08/Doing-things/
As such, the stack traces become less helpful. I mostly rely on
thinking about my monad expressio
I guess the use of domonads leaves behind do statements with m_bind's and
m_result's... and since these expressions are not fn's, they don't count as
method calls and are thus not part of the stack trace. But if I'm mistaken
or if anyone has figured out how to use monads and still get detailed s
Here's the code if the list in the original post was too cryptic. None of
the items beginning with "cc" show up in the stack trace by name -- m_bind
shows up instead.
(defn ee [] (show-stack))
(def dd (fn [s] [ (show-stack) s]))
(def cc2
(with-monad sim-m (domonad [_# dd]
I've been experimenting with a state monad. Below is a list of what is
included in my stack trace [+] and what isn't [-]. I've noticed that a call
to a symbol that is bound to the result of a domonad (not sure if that's
the right way to describe it) doesn't end up in my stack trace. I was
plann