Instance one is right near the end of section 2.9.1:
"This is because report-ns exists in the joy.ch1 namespace and ..."
The correct namespace name is joy.ch2.
Instance two is in 2.9.4:
"It should be noted that :rename also works with the :use directive."
This doesn't seem to be true, at least not for clojure 1.2.0 and the
use function:
user=> (use 'clojure.string :rename '{replace sreplace reverse sreverse})
#<CompilerException java.lang.Exception: Unsupported option(s)
supplied: :rename (NO_SOURCE_FILE:0)>
--
You received this message because you are subscribed to the Google
Groups "Clojure" group.
To post to this group, send email to [email protected]
Note that posts from new members are moderated - please be patient with your
first post.
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