On Fri, Dec 30, 2016 at 4:55 PM, Timothy Baldridge <tbaldri...@gmail.com>
wrote:

> I can see that, and even spec has this use case. In Spec it's solved by
> having both A and B in one namespace and using declare to forward-declare
> the constructors (or defns in this case).
>
> So I guess the way I see it the tradeoff is a declare and
> all-in-one-namespace vs a massive complexity addition to the compiler and
> the redefinition of compilation units. The declare method seems like the
> cleaner route.
>
>
I wonder whether there could be something like an `external-declare` that
would satisfy Rich's concerns about knowing how to intern unencountered
vars, while allowing cyclical references when needed.

-- 
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