Yeah, I surmised as much. The thing is, I'm writing a YAML library in
Clojure, and YAML allows circular recursion like that:

  ---
  &x
  - 3
  - 2
  - 1
  - *x

...So I'm wondering what I should do if a document like that were
loaded. Ah well, I'll worry about that later.

On Nov 14, 4:05 pm, notallama <[EMAIL PROTECTED]> wrote:
> you can have a collection that contains a ref to itself.
>
> or you could cook something up with lazy-cons, having it produce a
> copy of itself when needed. (this will be a lazy seq, though)
--~--~---------~--~----~------------~-------~--~----~
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 [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/clojure?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to