Sean, thanks.
--

Chouser. Thank you very much. Vestigial, I suppose means: surpassed or
left behind as you explained below. Thanks for your deep insights.



On Dec 27, 8:21 pm, Chouser <chou...@gmail.com> wrote:
> On Sun, Dec 27, 2009 at 3:29 PM, Liam <liam.ga...@gmail.com> wrote:
> > In the clojure source, on the JVM side, under "lang/LispReader.java"
> > line 873, link below.
>
> > What is this CtorReader? Why isn't it referenced anywhere in the code
> > file, i.e. no reader macro?
>
> > Does someone know?
>
> I think it's vestigial code, meant to support a reader syntax
> demonstrated in the comments:
>
>     // #<class classname>
>     // #<classname args*>
>     // #<classname/staticMethod args*>
>
> As far as I can tell, no version was ever checked in that
> actually used that code.  You can see the commit where it was
> first introduced, but even there it appears to have already been
> superceded:
>
>     git show 2faa08e4
>
> The current format for similar effect is handled by EvalReader.
> For example:
>
>     #=(java.lang.Integer. "5")
>
> This is (intentionally, I think) undocumented.  It's used
> internally as part of AOT compilation, produced by prn and
> friends when *print-dup* is true, and read by the regular reader.
>
> The CtorReader class itself is as you noted apparently unused.
> Presumably it will fade away as part of Clojure-in-Clojure.
>
> --Chouser
> --
> -- I funded Clojure 2010, did you?

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