Wait, I'm an idiot. Ignore my last message ...

On Jan 3, 9:39 am, Mike Hogye <stacktra...@gmail.com> wrote:
> Roger,
>
> What Clojure version are you using? When I run your snippet with HEAD,
> I get:
>
> FAIL in clojure.lang.persistentlist$emptyl...@1 (blah2.clj:11)
> test alias function
> expected: (= 1 (do (alias (quote c) (quote coretest))))
>   actual: (not (= 1 nil))
>
> Which is presumably what you want to see.
>
> On Jan 3, 9:28 am, Roger Gilliar <ro...@gilliar.de> wrote:
>
>
>
> > > As I understand it, the Clojure reader expects to be able to resolve
> > > namespace references as soon as it sees them. Since "alias" is a
> > > function, the "c" alias doesn't exist until sometime after the reader
> > > has already run.  I think you will encounter a similar problem with
> > > the import macro.
>
> > Ok,
>
> > that makes sense somehow. Thanks for the explanation.
>
> > Regards
> >   Roger

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