I have a similar problem with deftype/defecord

If I need to mutually defined types...

(declare new-a)


(deftype B....

  ... (new-a)...))

(deftype A)

(defn new-a [] (A.))



On Sat, Aug 14, 2010 at 8:21 AM, Mark Engelberg
<mark.engelb...@gmail.com> wrote:
> On Fri, Aug 13, 2010 at 9:39 PM, Eric Lavigne <lavigne.e...@gmail.com> wrote:
>> This is not a rare problem for me. Like Mike Anderson, I work around
>> it by putting extra thought into which package-level dependencies I
>> will allow, which sometimes necessitates creating more or fewer
>> packages than I otherwise would have created.
>
> Me three.  I find it to be a *lot* of work to avoid circular dependencies.
>
> --
> 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 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

Reply via email to