Quick Search
Browse
Pages
Blog
Labels
Attachments
Mail
Advanced
What’s New
Space Directory
Feed Builder
Keyboard Shortcuts
Confluence Gadgets
Log In
Sign Up
Dashboard
Clojure Design
Copy Page
You are not logged in. Any changes you make will be marked as
anonymous
. You may want to
Log In
if you already have an account. You can also
Sign Up
for a new account.
This page is being edited by
.
Paragraph
Paragraph
Heading 1
Heading 2
Heading 3
Heading 4
Heading 5
Heading 6
Preformatted
Quote
Bold
Italic
Underline
Colour
More colours
Strikethrough
Subscript
Superscript
Monospace
Clear Formatting
Bullet list
Numbered list
Outdent
Indent
Align left
Align center
Align right
Link
Table
Insert
Insert Content
Image
Link
Attachment
Symbol
Emoticon
Wiki Markup
Horizontal rule
tinymce.confluence.insert_menu.macro_desc
Info
JIRA Issue
Status
Gallery
Tasklist
Table of Contents
Other Macros
Undo
Redo
Keyboard Shortcuts Help
<p>This is a meta-issue spread across many patches and mailing-list discussions.</p><h2>Problems</h2><ul><li>New users are frequently confused by the differences among require, use, import, and ns</li><li>Ahead-of-time-compiled Clojure sources break when internal Clojure APIs change</li></ul><h2>Tickets</h2><ul><li><a href="http://dev.clojure.org/jira/browse/CLJ-879">CLJ-879</a>: Allow :require to support a :refer clause</li><li><a href="http://dev.clojure.org/jira/browse/CLJ-461">CLJ-461</a>: require namespace implicitly</li><li><a href="http://dev.clojure.org/jira/browse/CLJ-322">CLJ-322</a>: Enhance AOT compilation process to emit classfiles only for explicitly-specified namespaces</li><li><a href="http://dev.clojure.org/jira/browse/CLJ-272">CLJ-272</a>: load/ns/require/use overhaul</li><li><a href="http://dev.clojure.org/jira/browse/CLJ-148">CLJ-148</a>: Poor reporting of symbol conflicts when using (ns)</li><li><a href="http://dev.clojure.org/jira/browse/CLJ-42">CLJ-42</a>: GC Issue 38: When using AOT compilation, "load"ed files are not reloaded on (require :reload 'name.space)</li><li><a href="http://dev.clojure.org/jira/browse/CLJ-8">CLJ-8</a>: GC Issue 3: Re-enable detection of circular loads</li></ul><h2>Discussions</h2><ul><li><a href="http://groups.google.com/group/clojure/browse_thread/thread/6584dca7fad37985">ns/use/require/import inconsistent and confusing</a>, Clojure thread started 11/30/2011</li><li><a href="http://groups.google.com/group/clojure-dev/browse_thread/thread/91b708ddb909affd">simplifying the require/use situation</a>, clojure-dev thread started 11/16/2011</li><li><a href="https://groups.google.com/d/topic/clojure-dev/4CtSVWcD15A/discussion">Namespace loading upon deftype/defrecord class init?</a>, clojure-dev thread started 1/1/2011</li><li><a href="http://groups.google.com/group/leiningen/browse_thread/thread/4690aab4bcccea25">Bugfix release for 1.4</a>, leiningen thread started 12/12/2010</li><li><a href="http://groups.google.com/group/clojure/browse_thread/thread/6ebaf57016766791">AOT, CLJ-322, Leiningen, and you</a>, Clojure thread started 12/12/2010</li><li><a href="http://groups.google.com/group/clojure-dev/browse_thread/thread/69823ce63dd94a0c">require namesapces implicitly</a>, clojure-dev thread started 9/26/2010</li><li><a href="http://groups.google.com/group/clojure-dev/browse_thread/thread/2198a6cb6f4f7a60">"need" - add to contrib?</a>, clojure-dev thread started 4/27/2010</li><li><a href="http://groups.google.com/group/clojure-dev/browse_thread/thread/b1c6971c3b3394">Suggestion: alias for single part namespaces</a>, clojure-dev thread started 4/7/2010</li><li><a href="http://onclojure.com/2010/02/17/managing-namespaces/">Managing Namespaces</a>, blog post by khinsen, 2/17/2010</li><li><a href="http://groups.google.com/group/clojure-dev/browse_thread/thread/46559fd9eb127bdd">ns/load/require/use overhaul</a>, clojure-dev thread started 2/13/2010</li><li><a href="http://groups.google.com/group/clojure/browse_frm/thread/9bbc290321fd895f/e6a967250021462a">Issue request: RT.load's "don't load if already loaded" mechanism breaks ":reload-all"</a>, clojure-dev thread started 2/6/2010</li><li><a href="http://groups.google.com/group/clojure/msg/3e9cbbe1a26af584">Datatypes and protocols - update</a>, clojure message 12/12/2009</li><li><a href="http://groups.google.com/group/clojure/browse_thread/thread/dbcfb0dc6699ec41">Better documentation and error messages are needed for the ns macro</a>, clojure thread started 11/10/2009</li></ul><h2>Sample Code</h2><ul><li><a href="http://code.google.com/p/clj-nstools/">clj-nstools</a>: permits any namespace to serve as a template for constructing other namespaces</li><li><a href="https://github.com/stuartsierra/need">need</a>: a macro to load Clojure namespaces</li></ul>
Attachments
Labels
Location
< Edit
Preview >
Loading…
Save
Cancel
Next hint
search
attachments
weblink
advanced