On Tue, Sep 9, 2008 at 8:20 PM, Mike Hinchey <[EMAIL PROTECTED]> wrote:
>
> It doesn't seem *impossible* for require and use to keep a var set of
> namespaces it's loading and check if the current is already in the set
> then give an error.

And that technique is itself open to stack overflow attacks. Oh, we
could play this game all night. =)

> However, I don't think clojure supports circular dependency since
> loading is sequential.  I know there's a trick for functions to be
> circularly dependent, and I suppose that could be done with files, but
> you'd have to load the files manually, not with (ns).
>
> Unless I'm missing something, this is probably something people will
> expect to work, so a friendly error message would be good.
>
> -Mike
>
> On Sep 9, 1:29 am, "[EMAIL PROTECTED]" <[EMAIL PROTECTED]>
> wrote:
>> On Sep 9, 8:48 am, "Brett Morgan" <[EMAIL PROTECTED]> wrote:
>>
>> > You seem to be asking for the
>> > compiler to be able to prove that your computation finishes, and if it
>> > doesn't then give you a sane response.
>>
>> No.
> >
>



-- 

Brett Morgan http://brett.morgan.googlepages.com/

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