On Mon, Mar 16, 2009 at 4:18 PM, David Nolen <dnolen.li...@gmail.com> wrote:

> On Mon, Mar 16, 2009 at 4:08 PM, Paul Stadig <p...@stadig.name> wrote:
>
>> I may be missing something, but how does having to (declare) vars fix
>> typos? I don't think anyone is suggesting *creating* a var that is
>> referenced before it is defined. What people are asking for is that the
>> compiler looks-ahead to verify that the var will eventually be defined, and
>> then go on its merry way. Typos would still be discovered, and people
>> wouldn't have to stop and (declare).
>>
>
> Yeah I wasn't suggesting that vars should be created, sorry if it sounded
> like I was (I mentioned declare because this came up in another thread about
> declare and someone had hacked the reader to not bail immediately on
> undefined symbols).
>

Sorry, my fault. I was just responding in general, not to you specifically.


>
> In CL, if you have definitions out of order in the compiler will issue
> warnings.
>
>
>>
>> I'm not saying it's an easy change...
>>
>>
>> Paul
>>
>
Could someone post the link to the previous discussion? I searched the group
for declare, but didn't turn up anything.


Paul

--~--~---------~--~----~------------~-------~--~----~
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 
clojure+unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/clojure?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to