On Sep 7, 10:23 am, "Stephen C. Gilardi" <[EMAIL PROTECTED]> wrote:
> On Sep 3, 2008, at 7:11 PM, Rich Hickey wrote:
>
>
>
> >>> On the subject of shorter, the name "clojure/load" is already in
> >>> use, but
> >>> would be a better name for "load-resources" than "load-resources".
> >>> I think
> >>> we should consider changing the name of the former to something
> >>> else like
> >>> "load-reader" and using "load" for what is now load-resources
> >>> (and :load for
> >>> what is now :load-resources).
>
> >> I have no objection to this.
>
> > Me neither, other than the breakage for people using load, most of
> > whom I presume are loading from strings to do evals, and may be
> > placated with a load-string.
>
> I've enclosed a patch to implement this.
>
> Changes:
>
> renamed clojure/load to clojure/load-reader
> added clojure/load-string
> renamed clojure/load-resources to clojure/load
> fixed up doc strings accordingly
>
> These changes are all at the Clojure level--the load method of
> Compiler is not changed.
>
Patch applied (rev 1019) - thanks!
Rich
--~--~---------~--~----~------------~-------~--~----~
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
-~----------~----~----~----~------~----~------~--~---