In porting my modelling library Cells to Clojure I managed to get a stack 
overflow when the printer tried to print a recursive data structure* I have 
used in the Common Lisp version.

* Basically, a ref holds a map in which some values are maps in which some 
values are the ref.

In Lisp we have *print-depth* as well as *print-length* to deal with just 
this case.

Is there some way I can deal with this, or are recursive data structures 
not really supported by Clojure?**

** I would consider them effectively not supported if they cannot be 
printed.

I'll start looking for a non-recursive solution, but I thought I would ask 
in case I am missing something.

thx, kt

-- 
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
--- 
You received this message because you are subscribed to the Google Groups 
"Clojure" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to clojure+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to