Hello, everyone. I'm currently trying to model an automata using multi-method. So in my code, I have something like:
(defmethod trans :state [state] ; ....... (trans ......)))) In the last line, the trans will be called with some different state. However, it seems that such call still consumes stack and I quickly come to a stack overflow error when the states are reached multiple times. I'm wondering if there is some ways to optimize the code. Thanks! -- 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 Note that posts from new members are moderated - please be patient with your first post. 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