Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

Added missing catch and finally special forms, updated quickref.

  • Loading branch information...
commit 27b77fd32dce6fb9257a6eacc22d832604ef3015 1 parent c8080e2
@zk authored
View
1,114 app/cc_quick_ref.rb
557 additions, 557 deletions not shown
View
1  app/views/main/clojure_core.html.erb
@@ -0,0 +1 @@
+<div class="container_16"><div class="grid_3"><%= render :partial => 'lib_nav', :locals => {:lib => @library} %><div class="toc"><h3>Table of Contents</h3><fieldset class="toc_sphere"><legend>Simple Values</legend><ul><ul class="toc_cat"><li><a href="#Numbers" name="Numbers_toc">Numbers</a><ul class="toc_group"></ul></li></ul><ul class="toc_cat"><li><a href="#Symbols / Keywords" name="Symbols / Keywords_toc">Symbols / Keywords</a><ul class="toc_group"></ul></li></ul><ul class="toc_cat"><li><a href="#Strings / Characters" name="Strings / Characters_toc">Strings / Characters</a><ul class="toc_group"></ul></li></ul><ul class="toc_cat"><li><a href="#Regular Expressions" name="Regular Expressions_toc">Regular Expressions</a><ul class="toc_group"></ul></li></ul></ul></fieldset><fieldset class="toc_sphere"><legend>Operations</legend><ul><ul class="toc_cat"><li><a href="#Flow Control" name="Flow Control_toc">Flow Control</a><ul class="toc_group"></ul></li></ul><ul class="toc_cat"><li><a href="#Type Inspection" name="Type Inspection_toc">Type Inspection</a><ul class="toc_group"></ul></li></ul><ul class="toc_cat"><li><a href="#Concurrency" name="Concurrency_toc">Concurrency</a><ul class="toc_group"></ul></li></ul></ul></fieldset><fieldset class="toc_sphere"><legend>Functions</legend><ul><ul class="toc_cat"><li><a href="#General" name="General_toc">General</a><ul class="toc_group"></ul></li></ul><ul class="toc_cat"><li><a href="#Multifunctions" name="Multifunctions_toc">Multifunctions</a><ul class="toc_group"></ul></li></ul><ul class="toc_cat"><li><a href="#Macros" name="Macros_toc">Macros</a><ul class="toc_group"></ul></li></ul><ul class="toc_cat"><li><a href="#Java Interop" name="Java Interop_toc">Java Interop</a><ul class="toc_group"></ul></li></ul><ul class="toc_cat"><li><a href="#Proxies" name="Proxies_toc">Proxies</a><ul class="toc_group"></ul></li></ul></ul></fieldset><fieldset class="toc_sphere"><legend>Collections / Sequences</legend><ul><ul class="toc_cat"><li><a href="#Collections" name="Collections_toc">Collections</a><ul class="toc_group"></ul></li></ul><ul class="toc_cat"><li><a href="#Vectors" name="Vectors_toc">Vectors</a><ul class="toc_group"></ul></li></ul><ul class="toc_cat"><li><a href="#Lists" name="Lists_toc">Lists</a><ul class="toc_group"></ul></li></ul><ul class="toc_cat"><li><a href="#Maps" name="Maps_toc">Maps</a><ul class="toc_group"></ul></li></ul><ul class="toc_cat"><li><a href="#Sets" name="Sets_toc">Sets</a><ul class="toc_group"></ul></li></ul><ul class="toc_cat"><li><a href="#Structs" name="Structs_toc">Structs</a><ul class="toc_group"></ul></li></ul><ul class="toc_cat"><li><a href="#Sequences" name="Sequences_toc">Sequences</a><ul class="toc_group"></ul></li></ul><ul class="toc_cat"><li><a href="#Transients" name="Transients_toc">Transients</a><ul class="toc_group"></ul></li></ul></ul></fieldset><fieldset class="toc_sphere"><legend>Code Structure</legend><ul><ul class="toc_cat"><li><a href="#Varibles" name="Varibles_toc">Varibles</a><ul class="toc_group"></ul></li></ul><ul class="toc_cat"><li><a href="#Namespaces" name="Namespaces_toc">Namespaces</a><ul class="toc_group"></ul></li></ul><ul class="toc_cat"><li><a href="#Hierarchies" name="Hierarchies_toc">Hierarchies</a><ul class="toc_group"></ul></li></ul><ul class="toc_cat"><li><a href="#User Defined Types" name="User Defined Types_toc">User Defined Types</a><ul class="toc_group"></ul></li></ul><ul class="toc_cat"><li><a href="#Metadata" name="Metadata_toc">Metadata</a><ul class="toc_group"></ul></li></ul></ul></fieldset><fieldset class="toc_sphere"><legend>Environment</legend><ul><ul class="toc_cat"><li><a href="#Require / Import" name="Require / Import_toc">Require / Import</a><ul class="toc_group"></ul></li></ul><ul class="toc_cat"><li><a href="#Code" name="Code_toc">Code</a><ul class="toc_group"></ul></li></ul><ul class="toc_cat"><li><a href="#IO" name="IO_toc">IO</a><ul class="toc_group"></ul></li></ul><ul class="toc_cat"><li><a href="#REPL" name="REPL_toc">REPL</a><ul class="toc_group"></ul></li></ul><ul class="toc_cat"><li><a href="#Misc" name="Misc_toc">Misc</a><ul class="toc_group"></ul></li></ul></ul></fieldset></div><%= render :partial => '/lib_namespaces' %>&nbsp;</div><div class="grid_10"><div class="clear"></div><div class="quick_ref"><div class="sphere"><div class="sphere_header"><h3><a href="#Simple Values_toc" name="Simple Values">Simple Values</a></h3><span><a class="top" href="#top">top</a></span><div class="clear"></div></div><div class="categories"><div class="cat"><div class="cat_header"><h4><a href="#Numbers_toc" name="Numbers">Numbers</a></h4></div><div class="clear"></div><div class="group"><table><tr><td class="var"><span><a name="NumbersArithmetic">Arithmetic:</a></span></td><td><span class="var">+</span><span class="var">-</span><span class="var">*</span><span class="var">/</span><span class="var">quot</span><span class="var">rem</span><span class="var">mod</span><span class="var">inc</span><span class="var">dec</span><span class="var">max</span><span class="var">min</span><span class="var">with-precision</span></td></tr></table></div><div class="group"><table><tr><td class="var"><span><a name="NumbersCompare">Compare:</a></span></td><td><span class="var">=</span><span class="var">==</span><span class="var">not=</span><span class="var"><</span><span class="var">></span><span class="var"><=</span><span class="var">>=</span></td></tr></table></div><div class="group"><table><tr><td class="var"><span><a name="NumbersBitwise Operations">Bitwise Operations:</a></span></td><td><span class="var">bit-and</span><span class="var">bit-or</span><span class="var">bit-xor</span><span class="var">bit-flip</span><span class="var">bit-not</span><span class="var">bit-clear</span><span class="var">bit-set</span><span class="var">bit-shift-left</span><span class="var">bit-shift-right</span><span class="var">bit-test</span></td></tr></table></div><div class="group"><table><tr><td class="var"><span><a name="NumbersCast">Cast:</a></span></td><td><span class="var">byte</span><span class="var">short</span><span class="var">int</span><span class="var">long</span><span class="var">float</span><span class="var">double</span><span class="var">bigint</span><span class="var">bigdec</span><span class="var">num</span><span class="var">rationalize</span></td></tr></table></div><div class="group"><table><tr><td class="var"><span><a name="NumbersTest">Test:</a></span></td><td><span class="var">nil?</span><span class="var">identical?</span><span class="var">zero?</span><span class="var">pos?</span><span class="var">neg?</span><span class="var">even?</span><span class="var">odd?</span></td></tr></table></div></div><div class="cat"><div class="cat_header"><h4><a href="#Symbols / Keywords_toc" name="Symbols / Keywords">Symbols / Keywords</a></h4></div><div class="clear"></div><div class="group"><table><tr><td class="var"><span><a name="Symbols / KeywordsCreate">Create:</a></span></td><td><span class="var">keyword</span><span class="var">symbol</span></td></tr></table></div><div class="group"><table><tr><td class="var"><span><a name="Symbols / KeywordsUse">Use:</a></span></td><td><span class="var">name</span><span class="var">intern</span><span class="var">namespace</span></td></tr></table></div><div class="group"><table><tr><td class="var"><span><a name="Symbols / KeywordsTest">Test:</a></span></td><td><span class="var">keyword?</span><span class="var">symbol?</span></td></tr></table></div></div><div class="cat"><div class="cat_header"><h4><a href="#Strings / Characters_toc" name="Strings / Characters">Strings / Characters</a></h4></div><div class="clear"></div><div class="group"><table><tr><td class="var"><span><a name="Strings / CharactersCreate">Create:</a></span></td><td><span class="var">str</span><span class="var">print-str</span><span class="var">println-str</span><span class="var">pr-str</span><span class="var">prn-str</span><span class="var">with-out-str</span></td></tr></table></div><div class="group"><table><tr><td class="var"><span><a name="Strings / CharactersUse">Use:</a></span></td><td><span class="var">count</span><span class="var">get</span><span class="var">subs</span><span class="var">format</span></td></tr></table></div><div class="group"><table><tr><td class="var"><span><a name="Strings / CharactersCast / Test">Cast / Test:</a></span></td><td><span class="var">char</span><span class="var">char?</span><span class="var">string?</span></td></tr></table></div></div><div class="cat"><div class="cat_header"><h4><a href="#Regular Expressions_toc" name="Regular Expressions">Regular Expressions</a></h4></div><div class="clear"></div><div class="group"><table><tr><td class="var"><span><a name="Regular ExpressionsCreate">Create:</a></span></td><td><span class="var">re-pattern</span><span class="var">re-matcher</span></td></tr></table></div><div class="group"><table><tr><td class="var"><span><a name="Regular ExpressionsUse">Use:</a></span></td><td><span class="var">re-find</span><span class="var">re-matches</span><span class="var">re-seq</span><span class="var">re-groups</span></td></tr></table></div></div></div></div><div class="sphere"><div class="sphere_header"><h3><a href="#Operations_toc" name="Operations">Operations</a></h3><span><a class="top" href="#top">top</a></span><div class="clear"></div></div><div class="categories"><div class="cat"><div class="cat_header"><h4><a href="#Flow Control_toc" name="Flow Control">Flow Control</a></h4></div><div class="clear"></div><div class="group"><table><tr><td class="var"><span><a name="Flow ControlNormal">Normal:</a></span></td><td><span class="var">if</span><span class="var">if-not</span><span class="var">if-let</span><span class="var">when</span><span class="var">when-not</span><span class="var">when-let</span><span class="var">when-first</span><span class="var">cond</span><span class="var">condp</span><span class="var">case</span><span class="var">do</span><span class="var">eval</span><span class="var">loop</span><span class="var">recur</span><span class="var">trampoline</span><span class="var">while</span></td></tr></table></div><div class="group"><table><tr><td class="var"><span><a name="Flow ControlExceptional">Exceptional:</a></span></td><td><span class="var">try</span><span class="var">catch</span><span class="var">finally</span><span class="var">throw</span><span class="var">assert</span></td></tr></table></div><div class="group"><table><tr><td class="var"><span><a name="Flow ControlDelay">Delay:</a></span></td><td><span class="var">delay</span><span class="var">delay?</span><span class="var">deref</span><span class="var">force</span></td></tr></table></div><div class="group"><table><tr><td class="var"><span><a name="Flow ControlFunction Based">Function Based:</a></span></td><td><span class="var">repeatedly</span><span class="var">iterate</span></td></tr></table></div><div class="group"><table><tr><td class="var"><span><a name="Flow ControlSequence Based">Sequence Based:</a></span></td><td><span class="var">dotimes</span><span class="var">doseq</span><span class="var">for</span></td></tr></table></div><div class="group"><table><tr><td class="var"><span><a name="Flow ControlLaziness">Laziness:</a></span></td><td><span class="var">lazy-seq</span><span class="var">lazy-cat</span><span class="var">doall</span><span class="var">dorun</span></td></tr></table></div></div><div class="cat"><div class="cat_header"><h4><a href="#Type Inspection_toc" name="Type Inspection">Type Inspection</a></h4></div><div class="clear"></div><div class="group"><table><tr><td class="var"><span><a name="Type InspectionClojure Types">Clojure Types:</a></span></td><td><span class="var">type</span><span class="var">extends?</span><span class="var">satisfies?</span></td></tr></table></div><div class="group"><table><tr><td class="var"><span><a name="Type InspectionJava Types">Java Types:</a></span></td><td><span class="var">class</span><span class="var">bases</span><span class="var">supers</span><span class="var">class?</span><span class="var">instance?</span><span class="var">isa?</span><span class="var">cast</span></td></tr></table></div></div><div class="cat"><div class="cat_header"><h4><a href="#Concurrency_toc" name="Concurrency">Concurrency</a></h4></div><div class="clear"></div><div class="group"><table><tr><td class="var"><span><a name="ConcurrencyGeneral">General:</a></span></td><td><span class="var">deref</span><span class="var">get-validator</span><span class="var">set-validator!</span></td></tr></table></div><div class="group"><table><tr><td class="var"><span><a name="ConcurrencyAtoms">Atoms:</a></span></td><td><span class="var">atom</span><span class="var">swap!</span><span class="var">reset!</span><span class="var">compare-and-set!</span></td></tr></table></div><div class="group"><table><tr><td class="var"><span><a name="ConcurrencyRefs">Refs:</a></span></td><td><span class="var">ref</span><span class="var">sync</span><span class="var">dosync</span><span class="var">ref-set</span><span class="var">alter</span><span class="var">commute</span><span class="var">ensure</span><span class="var">io!</span><span class="var">ref-history-count</span><span class="var">ref-max-history</span><span class="var">ref-min-history</span></td></tr></table></div><div class="group"><table><tr><td class="var"><span><a name="ConcurrencyAgents">Agents:</a></span></td><td><span class="var">agent</span><span class="var">send</span><span class="var">send-off</span><span class="var">await</span><span class="var">await-for</span><span class="var">agent-error</span><span class="var">restart-agent</span><span class="var">shutdown-agents</span><span class="var">*agent*</span><span class="var">error-handler</span><span class="var">set-error-handler!</span><span class="var">error-mode</span><span class="var">set-error-mode!</span><span class="var">release-pending-sends</span></td></tr></table></div><div class="group"><table><tr><td class="var"><span><a name="ConcurrencyFutures">Futures:</a></span></td><td><span class="var">future</span><span class="var">future-call</span><span class="var">future-done?</span><span class="var">future-cancel</span><span class="var">future-cancelled?</span><span class="var">future?</span></td></tr></table></div><div class="group"><table><tr><td class="var"><span><a name="ConcurrencyThread Local Values">Thread Local Values:</a></span></td><td><span class="var">bound-fn</span><span class="var">bound-fn*</span><span class="var">get-thread-bindings</span><span class="var">push-thread-bindings</span><span class="var">pop-thread-bindings</span><span class="var">thread-bound?</span></td></tr></table></div><div class="group"><table><tr><td class="var"><span><a name="ConcurrencyMisc">Misc:</a></span></td><td><span class="var">locking</span><span class="var">pcalls</span><span class="var">pvalues</span><span class="var">pmap</span><span class="var">seque</span><span class="var">promise</span><span class="var">deliver</span><span class="var">add-watch</span><span class="var">remove-watch</span></td></tr></table></div></div></div></div><div class="sphere"><div class="sphere_header"><h3><a href="#Functions_toc" name="Functions">Functions</a></h3><span><a class="top" href="#top">top</a></span><div class="clear"></div></div><div class="categories"><div class="cat"><div class="cat_header"><h4><a href="#General_toc" name="General">General</a></h4></div><div class="clear"></div><div class="group"><table><tr><td class="var"><span><a name="GeneralCreate">Create:</a></span></td><td><span class="var">fn</span><span class="var">defn</span><span class="var">defn-</span><span class="var">definline</span><span class="var">identity</span><span class="var">constantly</span><span class="var">memfn</span><span class="var">comp</span><span class="var">complement</span><span class="var">partial</span><span class="var">juxt</span><span class="var">memoize</span></td></tr></table></div><div class="group"><table><tr><td class="var"><span><a name="GeneralCall">Call:</a></span></td><td><span class="var">-></span><span class="var">->></span><span class="var">apply</span></td></tr></table></div><div class="group"><table><tr><td class="var"><span><a name="GeneralTest">Test:</a></span></td><td><span class="var">fn?</span><span class="var">ifn?</span></td></tr></table></div></div><div class="cat"><div class="cat_header"><h4><a href="#Multifunctions_toc" name="Multifunctions">Multifunctions</a></h4></div><div class="clear"></div><div class="group"><table><tr><td class="var"><span><a name="MultifunctionsCreate">Create:</a></span></td><td><span class="var">defmulti</span><span class="var">defmethod</span></td></tr></table></div><div class="group"><table><tr><td class="var"><span><a name="MultifunctionsInspect and Modify">Inspect and Modify:</a></span></td><td><span class="var">get-method</span><span class="var">methods</span><span class="var">prefer-method</span><span class="var">prefers</span><span class="var">remove-method</span><span class="var">remove-all-methods</span></td></tr></table></div></div><div class="cat"><div class="cat_header"><h4><a href="#Macros_toc" name="Macros">Macros</a></h4></div><div class="clear"></div><div class="group"><table><tr><td class="var"><span><a name="MacrosCreate">Create:</a></span></td><td><span class="var">defmacro</span><span class="var">macroexpand</span><span class="var">macroexpand-1</span><span class="var">gensym</span></td></tr></table></div></div><div class="cat"><div class="cat_header"><h4><a href="#Java Interop_toc" name="Java Interop">Java Interop</a></h4></div><div class="clear"></div><div class="group"><table><tr><td class="var"><span><a name="Java InteropUse">Use:</a></span></td><td><span class="var">doto</span><span class="var">..</span><span class="var">set!</span></td></tr></table></div><div class="group"><table><tr><td class="var"><span><a name="Java InteropArrays">Arrays:</a></span></td><td><span class="var">make-array</span><span class="var">object-array</span><span class="var">boolean-array</span><span class="var">byte-array</span><span class="var">char-array</span><span class="var">short-array</span><span class="var">int-array</span><span class="var">long-array</span><span class="var">float-array</span><span class="var">double-array</span><span class="var">aclone</span><span class="var">to-array</span><span class="var">to-array-2d</span><span class="var">into-array</span></td></tr></table></div><div class="group"><table><tr><td class="var"><span><a name="Java InteropUse">Use:</a></span></td><td><span class="var">aget</span><span class="var">aset</span><span class="var">aset-boolean</span><span class="var">aset-char</span><span class="var">aset-byte</span><span class="var">aset-int</span><span class="var">aset-long</span><span class="var">aset-short</span><span class="var">aset-float</span><span class="var">aset-double</span><span class="var">alength</span><span class="var">amap</span><span class="var">areduce</span></td></tr></table></div><div class="group"><table><tr><td class="var"><span><a name="Java InteropCast">Cast:</a></span></td><td><span class="var">booleans</span><span class="var">bytes</span><span class="var">chars</span><span class="var">ints</span><span class="var">shorts</span><span class="var">longs</span><span class="var">floats</span><span class="var">doubles</span></td></tr></table></div></div><div class="cat"><div class="cat_header"><h4><a href="#Proxies_toc" name="Proxies">Proxies</a></h4></div><div class="clear"></div><div class="group"><table><tr><td class="var"><span><a name="ProxiesCreate">Create:</a></span></td><td><span class="var">proxy</span><span class="var">get-proxy-class</span><span class="var">construct-proxy</span><span class="var">init-proxy</span></td></tr></table></div><div class="group"><table><tr><td class="var"><span><a name="ProxiesMisc">Misc:</a></span></td><td><span class="var">proxy-mappings</span><span class="var">proxy-super</span><span class="var">update-proxy</span></td></tr></table></div></div></div></div><div class="sphere"><div class="sphere_header"><h3><a href="#Collections / Sequences_toc" name="Collections / Sequences">Collections / Sequences</a></h3><span><a class="top" href="#top">top</a></span><div class="clear"></div></div><div class="categories"><div class="cat"><div class="cat_header"><h4><a href="#Collections_toc" name="Collections">Collections</a></h4></div><div class="clear"></div><div class="group"><table><tr><td class="var"><span><a name="CollectionsGeneric Operations">Generic Operations:</a></span></td><td><span class="var">count</span><span class="var">empty</span><span class="var">not-empty</span><span class="var">into</span><span class="var">conj</span></td></tr></table></div><div class="group"><table><tr><td class="var"><span><a name="CollectionsContent Tests">Content Tests:</a></span></td><td><span class="var">contains?</span><span class="var">distinct?</span><span class="var">empty?</span><span class="var">every?</span><span class="var">not-every?</span><span class="var">some</span><span class="var">not-any?</span></td></tr></table></div><div class="group"><table><tr><td class="var"><span><a name="CollectionsCapabilities">Capabilities:</a></span></td><td><span class="var">sequential?</span><span class="var">associative?</span><span class="var">sorted?</span><span class="var">counted?</span><span class="var">reversible?</span></td></tr></table></div><div class="group"><table><tr><td class="var"><span><a name="CollectionsType Tests">Type Tests:</a></span></td><td><span class="var">coll?</span><span class="var">seq?</span><span class="var">vector?</span><span class="var">list?</span><span class="var">map?</span><span class="var">set?</span></td></tr></table></div></div><div class="cat"><div class="cat_header"><h4><a href="#Vectors_toc" name="Vectors">Vectors</a></h4></div><div class="clear"></div><div class="group"><table><tr><td class="var"><span><a name="VectorsCreate">Create:</a></span></td><td><span class="var">vec</span><span class="var">vector</span><span class="var">vector-of</span></td></tr></table></div><div class="group"><table><tr><td class="var"><span><a name="VectorsUse">Use:</a></span></td><td><span class="var">conj</span><span class="var">peek</span><span class="var">pop</span><span class="var">get</span><span class="var">assoc</span><span class="var">subvec</span><span class="var">rseq</span></td></tr></table></div></div><div class="cat"><div class="cat_header"><h4><a href="#Lists_toc" name="Lists">Lists</a></h4></div><div class="clear"></div><div class="group"><table><tr><td class="var"><span><a name="ListsCreate">Create:</a></span></td><td><span class="var">list</span><span class="var">list*</span></td></tr></table></div><div class="group"><table><tr><td class="var"><span><a name="ListsUse">Use:</a></span></td><td><span class="var">cons</span><span class="var">conj</span><span class="var">peek</span><span class="var">pop</span><span class="var">first</span><span class="var">rest</span></td></tr></table></div></div><div class="cat"><div class="cat_header"><h4><a href="#Maps_toc" name="Maps">Maps</a></h4></div><div class="clear"></div><div class="group"><table><tr><td class="var"><span><a name="MapsCreate">Create:</a></span></td><td><span class="var">hash-map</span><span class="var">array-map</span><span class="var">zipmap</span><span class="var">sorted-map</span><span class="var">sorted-map-by</span><span class="var">bean</span><span class="var">frequencies</span></td></tr></table></div><div class="group"><table><tr><td class="var"><span><a name="MapsUse">Use:</a></span></td><td><span class="var">assoc</span><span class="var">assoc-in</span><span class="var">dissoc</span><span class="var">find</span><span class="var">key</span><span class="var">val</span><span class="var">keys</span><span class="var">vals</span><span class="var">get</span><span class="var">get-in</span><span class="var">update-in</span><span class="var">select-keys</span><span class="var">merge</span><span class="var">merge-with</span></td></tr></table></div><div class="group"><table><tr><td class="var"><span><a name="MapsUse (Sorted Maps)">Use (Sorted Maps):</a></span></td><td><span class="var">rseq</span><span class="var">subseq</span><span class="var">subseq</span><span class="var">rsubseq</span><span class="var">rsubseq</span></td></tr></table></div></div><div class="cat"><div class="cat_header"><h4><a href="#Sets_toc" name="Sets">Sets</a></h4></div><div class="clear"></div><div class="group"><table><tr><td class="var"><span><a name="SetsCreate">Create:</a></span></td><td><span class="var">hash-set</span><span class="var">set</span><span class="var">sorted-set</span><span class="var">sorted-set-by</span></td></tr></table></div><div class="group"><table><tr><td class="var"><span><a name="SetsUse">Use:</a></span></td><td><span class="var">conj</span><span class="var">disj</span><span class="var">get</span></td></tr></table></div></div><div class="cat"><div class="cat_header"><h4><a href="#Structs_toc" name="Structs">Structs</a></h4></div><div class="clear"></div><div class="group"><table><tr><td class="var"><span><a name="StructsCreate">Create:</a></span></td><td><span class="var">defstruct</span><span class="var">create-struct</span><span class="var">struct</span><span class="var">struct-map</span><span class="var">accessor</span></td></tr></table></div><div class="group"><table><tr><td class="var"><span><a name="StructsUse">Use:</a></span></td><td><span class="var">get</span><span class="var">assoc</span></td></tr></table></div></div><div class="cat"><div class="cat_header"><h4><a href="#Sequences_toc" name="Sequences">Sequences</a></h4></div><div class="clear"></div><div class="group"><table><tr><td class="var"><span><a name="SequencesCreate">Create:</a></span></td><td><span class="var">seq</span><span class="var">sequence</span><span class="var">repeat</span><span class="var">replicate</span><span class="var">range</span><span class="var">repeatedly</span><span class="var">iterate</span><span class="var">lazy-seq</span><span class="var">lazy-cat</span><span class="var">cycle</span><span class="var">interleave</span><span class="var">interpose</span><span class="var">tree-seq</span><span class="var">xml-seq</span><span class="var">enumeration-seq</span><span class="var">iterator-seq</span><span class="var">file-seq</span><span class="var">line-seq</span><span class="var">resultset-seq</span></td></tr></table></div><div class="group"><table><tr><td class="var"><span><a name="SequencesUse (General)">Use (General):</a></span></td><td><span class="var">first</span><span class="var">second</span><span class="var">last</span><span class="var">rest</span><span class="var">next</span><span class="var">ffirst</span><span class="var">nfirst</span><span class="var">fnext</span><span class="var">nnext</span><span class="var">nth</span><span class="var">nthnext</span><span class="var">rand-nth</span><span class="var">butlast</span><span class="var">take</span><span class="var">take-last</span><span class="var">take-nth</span><span class="var">take-while</span><span class="var">drop</span><span class="var">drop-last</span><span class="var">drop-while</span><span class="var">keep</span><span class="var">keep-indexed</span></td></tr></table></div><div class="group"><table><tr><td class="var"><span><a name="SequencesUse ('Modification')">Use ('Modification'):</a></span></td><td><span class="var">conj</span><span class="var">concat</span><span class="var">distinct</span><span class="var">group-by</span><span class="var">partition</span><span class="var">partition-all</span><span class="var">partition-by</span><span class="var">split-at</span><span class="var">split-with</span><span class="var">filter</span><span class="var">remove</span><span class="var">replace</span><span class="var">shuffle</span></td></tr></table></div><div class="group"><table><tr><td class="var"><span><a name="SequencesUse (Iteration)">Use (Iteration):</a></span></td><td><span class="var">for</span><span class="var">doseq</span><span class="var">map</span><span class="var">map-indexed</span><span class="var">mapcat</span><span class="var">reduce</span><span class="var">reductions</span><span class="var">max-key</span><span class="var">min-key</span><span class="var">doall</span><span class="var">dorun</span></td></tr></table></div></div><div class="cat"><div class="cat_header"><h4><a href="#Transients_toc" name="Transients">Transients</a></h4></div><div class="clear"></div><div class="group"><table><tr><td class="var"><span><a name="TransientsCreate">Create:</a></span></td><td><span class="var">transient</span><span class="var">persistent!</span></td></tr></table></div><div class="group"><table><tr><td class="var"><span><a name="TransientsUse (General)">Use (General):</a></span></td><td><span class="var">conj!</span><span class="var">pop!</span><span class="var">assoc!</span><span class="var">dissoc!</span><span class="var">disj!</span></td></tr></table></div><div class="group"><table><tr><td class="var"><span><a name="TransientsUse ('Modification')">Use ('Modification'):</a></span></td><td><span class="var">conj</span><span class="var">concat</span><span class="var">distinct</span><span class="var">group-by</span><span class="var">partition</span><span class="var">partition-all</span><span class="var">partition-by</span><span class="var">split-at</span><span class="var">split-with</span><span class="var">filter</span><span class="var">remove</span><span class="var">replace</span><span class="var">shuffle</span></td></tr></table></div><div class="group"><table><tr><td class="var"><span><a name="TransientsUse (Iteration)">Use (Iteration):</a></span></td><td><span class="var">for</span><span class="var">doseq</span><span class="var">map</span><span class="var">map-indexed</span><span class="var">mapcat</span><span class="var">reduce</span><span class="var">reductions</span><span class="var">max-key</span><span class="var">min-key</span><span class="var">doall</span><span class="var">dorun</span></td></tr></table></div></div></div></div><div class="sphere"><div class="sphere_header"><h3><a href="#Code Structure_toc" name="Code Structure">Code Structure</a></h3><span><a class="top" href="#top">top</a></span><div class="clear"></div></div><div class="categories"><div class="cat"><div class="cat_header"><h4><a href="#Varibles_toc" name="Varibles">Varibles</a></h4></div><div class="clear"></div><div class="group"><table><tr><td class="var"><span><a name="VariblesCreate">Create:</a></span></td><td><span class="var">def</span><span class="var">defonce</span><span class="var">intern</span><span class="var">declare</span></td></tr></table></div><div class="group"><table><tr><td class="var"><span><a name="VariblesUse">Use:</a></span></td><td><span class="var">set!</span><span class="var">alter-var-root</span><span class="var">binding</span><span class="var">with-bindings</span><span class="var">with-bindings*</span><span class="var">with-local-vars</span><span class="var">letfn</span><span class="var">gensym</span></td></tr></table></div><div class="group"><table><tr><td class="var"><span><a name="VariblesInspect">Inspect:</a></span></td><td><span class="var">var</span><span class="var">find-var</span><span class="var">var-get</span><span class="var">var?</span><span class="var">bound?</span><span class="var">resolve</span><span class="var">ns-resolve</span><span class="var">special-symbol?</span></td></tr></table></div></div><div class="cat"><div class="cat_header"><h4><a href="#Namespaces_toc" name="Namespaces">Namespaces</a></h4></div><div class="clear"></div><div class="group"><table><tr><td class="var"><span><a name="NamespacesCreate &amp;amp; Delete">Create &amp; Delete:</a></span></td><td><span class="var">ns</span><span class="var">create-ns</span><span class="var">remove-ns</span></td></tr></table></div><div class="group"><table><tr><td class="var"><span><a name="NamespacesInspect">Inspect:</a></span></td><td><span class="var">*ns*</span><span class="var">ns-name</span><span class="var">all-ns</span><span class="var">the-ns</span><span class="var">find-ns</span><span class="var">ns-publics</span><span class="var">ns-interns</span><span class="var">ns-refers</span><span class="var">ns-aliases</span><span class="var">ns-imports</span><span class="var">ns-map</span></td></tr></table></div><div class="group"><table><tr><td class="var"><span><a name="NamespacesUse">Use:</a></span></td><td><span class="var">in-ns</span><span class="var">ns-resolve</span><span class="var">ns-unalias</span><span class="var">ns-unmap</span><span class="var">alias</span></td></tr></table></div><div class="group"><table><tr><td class="var"><span><a name="NamespacesMisc">Misc:</a></span></td><td><span class="var">namespace-munge</span><span class="var">print-namespace-doc</span></td></tr></table></div></div><div class="cat"><div class="cat_header"><h4><a href="#Hierarchies_toc" name="Hierarchies">Hierarchies</a></h4></div><div class="clear"></div><div class="group"><table><tr><td class="var"><span><a name="HierarchiesGeneral">General:</a></span></td><td><span class="var">make-hierarchy</span><span class="var">derive</span><span class="var">underive</span><span class="var">parents</span><span class="var">ancestors</span><span class="var">descendants</span><span class="var">isa?</span></td></tr></table></div></div><div class="cat"><div class="cat_header"><h4><a href="#User Defined Types_toc" name="User Defined Types">User Defined Types</a></h4></div><div class="clear"></div><div class="group"><table><tr><td class="var"><span><a name="User Defined TypesGeneral">General:</a></span></td><td><span class="var">defprotocol</span><span class="var">defrecord</span><span class="var">deftype</span><span class="var">reify</span><span class="var">extend</span><span class="var">extend-protocol</span><span class="var">extend-type</span><span class="var">extenders</span></td></tr></table></div></div><div class="cat"><div class="cat_header"><h4><a href="#Metadata_toc" name="Metadata">Metadata</a></h4></div><div class="clear"></div><div class="group"><table><tr><td class="var"><span><a name="MetadataGeneral">General:</a></span></td><td><span class="var">meta</span><span class="var">with-meta</span><span class="var">vary-meta</span><span class="var">reset-meta!</span><span class="var">alter-meta!</span></td></tr></table></div></div></div></div><div class="sphere"><div class="sphere_header"><h3><a href="#Environment_toc" name="Environment">Environment</a></h3><span><a class="top" href="#top">top</a></span><div class="clear"></div></div><div class="categories"><div class="cat"><div class="cat_header"><h4><a href="#Require / Import_toc" name="Require / Import">Require / Import</a></h4></div><div class="clear"></div><div class="group"><table><tr><td class="var"><span><a name="Require / ImportGeneral">General:</a></span></td><td><span class="var">use</span><span class="var">require</span><span class="var">import</span><span class="var">refer-clojure</span><span class="var">refer</span></td></tr></table></div></div><div class="cat"><div class="cat_header"><h4><a href="#Code_toc" name="Code">Code</a></h4></div><div class="clear"></div><div class="group"><table><tr><td class="var"><span><a name="CodeGeneral">General:</a></span></td><td><span class="var">*compile-files*</span><span class="var">*compile-path*</span><span class="var">*file*</span><span class="var">*warn-on-reflection*</span><span class="var">compile</span><span class="var">load</span><span class="var">load-file</span><span class="var">load-reader</span><span class="var">load-string</span><span class="var">read</span><span class="var">read-string</span><span class="var">gen-class</span><span class="var">gen-interface</span><span class="var">loaded-libs</span><span class="var">test</span></td></tr></table></div></div><div class="cat"><div class="cat_header"><h4><a href="#IO_toc" name="IO">IO</a></h4></div><div class="clear"></div><div class="group"><table><tr><td class="var"><span><a name="IOGeneral">General:</a></span></td><td><span class="var">*in*</span><span class="var">*out*</span><span class="var">*err*</span><span class="var">print</span><span class="var">printf</span><span class="var">println</span><span class="var">pr</span><span class="var">prn</span><span class="var">print-str</span><span class="var">println-str</span><span class="var">pr-str</span><span class="var">prn-str</span><span class="var">newline</span><span class="var">flush</span><span class="var">read-line</span><span class="var">slurp</span><span class="var">spit</span><span class="var">with-in-str</span><span class="var">with-out-str</span><span class="var">with-open</span></td></tr></table></div></div><div class="cat"><div class="cat_header"><h4><a href="#REPL_toc" name="REPL">REPL</a></h4></div><div class="clear"></div><div class="group"><table><tr><td class="var"><span><a name="REPLGeneral">General:</a></span></td><td><span class="var">*1</span><span class="var">*2</span><span class="var">*3</span><span class="var">*e</span><span class="var">*print-dup*</span><span class="var">*print-length*</span><span class="var">*print-level*</span><span class="var">*print-meta*</span><span class="var">*print-readably*</span></td></tr></table></div></div><div class="cat"><div class="cat_header"><h4><a href="#Misc_toc" name="Misc">Misc</a></h4></div><div class="clear"></div><div class="group"><table><tr><td class="var"><span><a name="MiscGeneral">General:</a></span></td><td><span class="var">*clojure-version*</span><span class="var">clojure-version</span><span class="var">*command-line-args*</span><span class="var">time</span></td></tr></table></div></div></div></div></div></div><div class="grid_3">&nbsp;</div></div>
View
10 db/migrate/20101015063351_add_special_forms.rb
@@ -88,6 +88,16 @@ def self.up
ns,
'set!',
'Please see http://clojure.org/special_forms#set')
+
+ add_special_form(lib,
+ ns,
+ 'catch',
+ 'Please see http://clojure.org/special_forms#try')
+
+ add_special_form(lib,
+ ns,
+ 'finally',
+ 'Please see http://clojure.org/special_forms#finally')
end
def self.down
Please sign in to comment.
Something went wrong with that request. Please try again.