diff options
author | Tom Faulhaber <git_net@infolace.com> | 2010-08-20 07:15:04 -0700 |
---|---|---|
committer | Tom Faulhaber <git_net@infolace.com> | 2010-08-20 07:15:04 -0700 |
commit | 4a44d6c75533e0a13b1a6e9c206f0d0a87f63fef (patch) | |
tree | d01bae80ab2f4820388d3cf7b7a01e0e77cbb9cb | |
parent | f9f9c9242b61ed3ac1edf3d8db51e3f7d54b9778 (diff) |
Autodoc commit for 1.2.x/e4ea06c9, master/202e81e9, 1.1.x/d132c5f1
87 files changed, 33 insertions, 23984 deletions
diff --git a/api-index.html b/api-index.html index e9b27da2..2ea7803c 100644 --- a/api-index.html +++ b/api-index.html @@ -56,7 +56,7 @@ namespace. <div id="right-sidebar"></div> <div id="content-tag"><h1 id="overview">Index of Public Functions and Variables - <span id="header-project">clojure-contrib</span> <span id="header-version">v1.2</span> (<span id="header-status">beta 1</span>)</h1> This page has an alphabetical index of all the documented functions and variables -in <span class="project-name-span">no project name specified</span>. +in <span class="project-name-span">clojure-contrib</span>. <!-- TODO: enable this functionality on github? diff --git a/branch-1.1.x/api-index.html b/branch-1.1.x/api-index.html index 1e4e4d4d..95ecbc1d 100644 --- a/branch-1.1.x/api-index.html +++ b/branch-1.1.x/api-index.html @@ -56,7 +56,7 @@ namespace. <div id="right-sidebar"></div> <div id="content-tag"><h1 id="overview">Index of Public Functions and Variables - <span id="header-project">clojure-contrib</span> <span id="header-version">v1.1</span> (<span id="header-status">stable</span>)</h1> This page has an alphabetical index of all the documented functions and variables -in <span class="project-name-span">no project name specified</span>. +in <span class="project-name-span">clojure-contrib</span>. <!-- TODO: enable this functionality on github? diff --git a/branch-master/accumulators-api.html b/branch-master/accumulators-api.html deleted file mode 100644 index ff5cddd7..00000000 --- a/branch-master/accumulators-api.html +++ /dev/null @@ -1,330 +0,0 @@ -<html> - <head> - <title>accumulators - clojure-contrib next API documentation</title> - <link href="../static/favicon.png" rel="icon" /> - <link href="../static/favicon.png" rel="shortcut icon" /> - <link media="all" type="text/css" href="../static/clojure.css" rel="stylesheet" /> - <link media="all" type="text/css" href="../static/wiki.css" rel="stylesheet" /> - <link media="all" type="text/css" href="../static/internal.css" rel="stylesheet" /> - <!-- TODO: are we using these (from clojure.org)? If so, add the files --> - <script src="file/view/code_highlighter.js" type="text/javascript"></script> - <script src="file/view/clojure.js" type="text/javascript"></script> - <style>.menuWrapper{height: 36px;}</style> - <!--[if lte IE 6]> - <link rel="stylesheet" href="http://www.wikispaces.com/_/2009051601/s/internal_ie.css" type="text/css" /> - <![endif]--> - </head> -<!-- -This document was auto-generated from the source by the clojure autodoc system. -To report errors or ask questions about the overall documentation structure, formatting, -etc., contact Tom Faulhaber (google mail name: tomfaulhaber). -For errors in the documentation of a particular namespace, contact the author of that -namespace. ---> - <body> - <div id="AllContentContainer"> - <div id="Header"> - <a id="Logo" href="index.html"><img alt="Clojure" height="100" width="100" src="../static/clojure-icon.gif" /></a> - <h1><a title="page header title" id="page-header" href="index.html">Clojure-contrib API Reference</a></h1> - </div> - <div id="leftcolumn"><div style="text-align: center;"></div> -<div class="menu"> - <div class="WikiCustomNav WikiElement wiki"> - <span class="toc-header"><span id="project-name">clojure-contrib</span> <span id="version">next</span> API</span><br /> - <ul> - <li><a class="wiki_link" href="index.html">Overview</a></li> - <li><a class="wiki_link" href="api-index.html">API Index</a></li> - </ul> - <span class="toc-header">Namespaces</span> - <ul id="left-sidebar-list"> - <li><a href="accumulators-api.html" class="wiki_link">accumulators</a></li><li><a href="agent-utils-api.html" class="wiki_link">agent-utils</a></li><li><a href="apply-macro-api.html" class="wiki_link">apply-macro</a></li><li><a href="base64-api.html" class="wiki_link">base64</a></li><li><a href="classpath-api.html" class="wiki_link">classpath</a></li><li><a href="combinatorics-api.html" class="wiki_link">combinatorics</a></li><li><a href="command-line-api.html" class="wiki_link">command-line</a></li><li><a href="complex-numbers-api.html" class="wiki_link">complex-numbers</a></li><li><a href="cond-api.html" class="wiki_link">cond</a></li><li><a href="condition-api.html" class="wiki_link">condition</a></li><li><a href="core-api.html" class="wiki_link">core</a></li><li><a href="dataflow-api.html" class="wiki_link">dataflow</a></li><li><a href="datalog-api.html" class="wiki_link">datalog</a></li><li><a href="def-api.html" class="wiki_link">def</a></li><li><a href="duck-streams-api.html" class="wiki_link">duck-streams</a></li><li><a href="error-kit-api.html" class="wiki_link">error-kit</a></li><li><a href="except-api.html" class="wiki_link">except</a></li><li><a href="fcase-api.html" class="wiki_link">fcase</a></li><li><a href="find-namespaces-api.html" class="wiki_link">find-namespaces</a></li><li><a href="fnmap-api.html" class="wiki_link">fnmap</a></li><li><a href="gen-html-docs-api.html" class="wiki_link">gen-html-docs</a></li><li><a href="generic.arithmetic-api.html" class="wiki_link">generic.arithmetic</a></li><li><a href="generic.collection-api.html" class="wiki_link">generic.collection</a></li><li><a href="generic.comparison-api.html" class="wiki_link">generic.comparison</a></li><li><a href="generic.functor-api.html" class="wiki_link">generic.functor</a></li><li><a href="generic.math-functions-api.html" class="wiki_link">generic.math-functions</a></li><li><a href="graph-api.html" class="wiki_link">graph</a></li><li><a href="greatest-least-api.html" class="wiki_link">greatest-least</a></li><li><a href="http.agent-api.html" class="wiki_link">http.agent</a></li><li><a href="http.connection-api.html" class="wiki_link">http.connection</a></li><li><a href="import-static-api.html" class="wiki_link">import-static</a></li><li><a href="io-api.html" class="wiki_link">io</a></li><li><a href="jar-api.html" class="wiki_link">jar</a></li><li><a href="java-utils-api.html" class="wiki_link">java-utils</a></li><li><a href="javadoc.browse-api.html" class="wiki_link">javadoc.browse</a></li><li><a href="jmx-api.html" class="wiki_link">jmx</a></li><li><a href="json-api.html" class="wiki_link">json</a></li><li><a href="lazy-seqs-api.html" class="wiki_link">lazy-seqs</a></li><li><a href="lazy-xml-api.html" class="wiki_link">lazy-xml</a></li><li><a href="logging-api.html" class="wiki_link">logging</a></li><li><a href="macro-utils-api.html" class="wiki_link">macro-utils</a></li><li><a href="macros-api.html" class="wiki_link">macros</a></li><li><a href="map-utils-api.html" class="wiki_link">map-utils</a></li><li><a href="math-api.html" class="wiki_link">math</a></li><li><a href="miglayout-api.html" class="wiki_link">miglayout</a></li><li><a href="mmap-api.html" class="wiki_link">mmap</a></li><li><a href="mock-api.html" class="wiki_link">mock</a></li><li><a href="monadic-io-streams-api.html" class="wiki_link">monadic-io-streams</a></li><li><a href="monads-api.html" class="wiki_link">monads</a></li><li><a href="ns-utils-api.html" class="wiki_link">ns-utils</a></li><li><a href="pprint-api.html" class="wiki_link">pprint</a></li><li><a href="priority-map-api.html" class="wiki_link">priority-map</a></li><li><a href="probabilities.finite-distributions-api.html" class="wiki_link">probabilities.finite-distributions</a></li><li><a href="probabilities.monte-carlo-api.html" class="wiki_link">probabilities.monte-carlo</a></li><li><a href="probabilities.random-numbers-api.html" class="wiki_link">probabilities.random-numbers</a></li><li><a href="profile-api.html" class="wiki_link">profile</a></li><li><a href="properties-api.html" class="wiki_link">properties</a></li><li><a href="prxml-api.html" class="wiki_link">prxml</a></li><li><a href="reflect-api.html" class="wiki_link">reflect</a></li><li><a href="repl-ln-api.html" class="wiki_link">repl-ln</a></li><li><a href="repl-utils-api.html" class="wiki_link">repl-utils</a></li><li><a href="seq-api.html" class="wiki_link">seq</a></li><li><a href="seq-utils-api.html" class="wiki_link">seq-utils</a></li><li><a href="server-socket-api.html" class="wiki_link">server-socket</a></li><li><a href="set-api.html" class="wiki_link">set</a></li><li><a href="shell-api.html" class="wiki_link">shell</a></li><li><a href="shell-out-api.html" class="wiki_link">shell-out</a></li><li><a href="singleton-api.html" class="wiki_link">singleton</a></li><li><a href="sql-api.html" class="wiki_link">sql</a></li><li><a href="str-utils-api.html" class="wiki_link">str-utils</a></li><li><a href="str-utils2-api.html" class="wiki_link">str-utils2</a></li><li><a href="stream-utils-api.html" class="wiki_link">stream-utils</a></li><li><a href="string-api.html" class="wiki_link">string</a></li><li><a href="strint-api.html" class="wiki_link">strint</a></li><li><a href="swing-utils-api.html" class="wiki_link">swing-utils</a></li><li><a href="test-is-api.html" class="wiki_link">test-is</a></li><li><a href="trace-api.html" class="wiki_link">trace</a></li><li><a href="types-api.html" class="wiki_link">types</a></li><li><a href="with-ns-api.html" class="wiki_link">with-ns</a></li><li><a href="zip-filter-api.html" class="wiki_link">zip-filter</a></li> - </ul> - <div class="BranchTOC"> - <span class="toc-header">Other Versions</span> - <ul id="left-sidebar-branch-list"> - <li><a href="../index.html" class="wiki_link">v1.2 (beta 1)</a></li><li><a href="../branch-1.1.x/index.html" class="wiki_link">v1.1 (stable)</a></li> - </ul> - </div> - <a href="http://clojure.org" class="wiki_link">Clojure Home</a> - </div> -</div> -</div> - <div id="rightcolumn"> - <div id="Content"> - <div class="contentBox"><div class="innerContentBox"> - <div id="content_view" class="wiki wikiPage"> - <div id="right-sidebar"><div id="toc"> - <h1 class="nopad">Table of Contents</h1> - <div style="margin-left: 1em;" class="toc-section"> - <a href="#toc0">Overview</a> - <div style="margin-left: 1em;" class="toc-entry"> - <a href="#clojure.contrib.accumulators/add">add</a> - </div><div style="margin-left: 1em;" class="toc-entry"> - <a href="#clojure.contrib.accumulators/add-items">add-items</a> - </div><div style="margin-left: 1em;" class="toc-entry"> - <a href="#clojure.contrib.accumulators/combine">combine</a> - </div><div style="margin-left: 1em;" class="toc-entry"> - <a href="#clojure.contrib.accumulators/empty-counter">empty-counter</a> - </div><div style="margin-left: 1em;" class="toc-entry"> - <a href="#clojure.contrib.accumulators/empty-counter-with-total">empty-counter-with-total</a> - </div><div style="margin-left: 1em;" class="toc-entry"> - <a href="#clojure.contrib.accumulators/empty-list">empty-list</a> - </div><div style="margin-left: 1em;" class="toc-entry"> - <a href="#clojure.contrib.accumulators/empty-map">empty-map</a> - </div><div style="margin-left: 1em;" class="toc-entry"> - <a href="#clojure.contrib.accumulators/empty-maximum">empty-maximum</a> - </div><div style="margin-left: 1em;" class="toc-entry"> - <a href="#clojure.contrib.accumulators/empty-mean-variance">empty-mean-variance</a> - </div><div style="margin-left: 1em;" class="toc-entry"> - <a href="#clojure.contrib.accumulators/empty-min-max">empty-min-max</a> - </div><div style="margin-left: 1em;" class="toc-entry"> - <a href="#clojure.contrib.accumulators/empty-minimum">empty-minimum</a> - </div><div style="margin-left: 1em;" class="toc-entry"> - <a href="#clojure.contrib.accumulators/empty-product">empty-product</a> - </div><div style="margin-left: 1em;" class="toc-entry"> - <a href="#clojure.contrib.accumulators/empty-queue">empty-queue</a> - </div><div style="margin-left: 1em;" class="toc-entry"> - <a href="#clojure.contrib.accumulators/empty-set">empty-set</a> - </div><div style="margin-left: 1em;" class="toc-entry"> - <a href="#clojure.contrib.accumulators/empty-string">empty-string</a> - </div><div style="margin-left: 1em;" class="toc-entry"> - <a href="#clojure.contrib.accumulators/empty-sum">empty-sum</a> - </div><div style="margin-left: 1em;" class="toc-entry"> - <a href="#clojure.contrib.accumulators/empty-tuple">empty-tuple</a> - </div><div style="margin-left: 1em;" class="toc-entry"> - <a href="#clojure.contrib.accumulators/empty-vector">empty-vector</a> - </div> - <br /> - </div> -</div> -</div> - <div id="content-tag"><h1 id="overview">API for <span id="namespace-name">accumulators</span> - - <span id="header-project">clojure-contrib</span> <span id="header-version">next</span> (<span id="header-status">in development</span>) - </h1> -<span id="author-line">by <span id="author-name">Konrad Hinsen</span><br /></span> -<br />Usage: -<pre> -(ns your-namespace - (:require <span id="long-name">clojure.contrib.accumulators</span>)) -</pre><pre> -</pre><h2>Overview</h2> -<pre id="namespace-docstr">A generic accumulator interface and implementations of various -accumulators.</pre> - - -<br /> -<h2>Public Variables and Functions</h2> -<div id="var-entry"> - <br /> - <hr /> - <h2 id="clojure.contrib.accumulators/add">add</h2> - <span id="var-type">multimethod</span><br /> - <pre id="var-usage">Usage: (add acc item) -</pre> - <pre id="var-docstr">Add item to the accumulator acc. The exact meaning of adding an -an item depends on the type of the accumulator.</pre> - - - <a href="http://github.com/richhickey/clojure-contrib/blob/7188a51605136f36524e4091fe806859114d6056/src/main/clojure/clojure/contrib/accumulators.clj#L31" id="var-source">Source</a> -</div><div id="var-entry"> - <br /> - <hr /> - <h2 id="clojure.contrib.accumulators/add-items">add-items</h2> - <span id="var-type">function</span><br /> - <pre id="var-usage">Usage: (add-items acc items) -</pre> - <pre id="var-docstr">Add all elements of a collection coll to the accumulator acc.</pre> - - - <a href="http://github.com/richhickey/clojure-contrib/blob/7188a51605136f36524e4091fe806859114d6056/src/main/clojure/clojure/contrib/accumulators.clj#L37" id="var-source">Source</a> -</div><div id="var-entry"> - <br /> - <hr /> - <h2 id="clojure.contrib.accumulators/combine">combine</h2> - <span id="var-type">multimethod</span><br /> - <pre id="var-usage">Usage: (combine & accs) -</pre> - <pre id="var-docstr">Combine the values of the accumulators acc1 and acc2 into a -single accumulator of the same type.</pre> - - - <a href="http://github.com/richhickey/clojure-contrib/blob/7188a51605136f36524e4091fe806859114d6056/src/main/clojure/clojure/contrib/accumulators.clj#L42" id="var-source">Source</a> -</div><div id="var-entry"> - <br /> - <hr /> - <h2 id="clojure.contrib.accumulators/empty-counter">empty-counter</h2> - <span id="var-type">var</span><br /> - <pre id="var-usage"></pre> - <pre id="var-docstr">An empty counter accumulator. Its value is a map that stores for -every item the number of times it was added.</pre> - - - <a href="http://github.com/richhickey/clojure-contrib/blob/7188a51605136f36524e4091fe806859114d6056/src/main/clojure/clojure/contrib/accumulators.clj#L271" id="var-source">Source</a> -</div><div id="var-entry"> - <br /> - <hr /> - <h2 id="clojure.contrib.accumulators/empty-counter-with-total">empty-counter-with-total</h2> - <span id="var-type">var</span><br /> - <pre id="var-usage"></pre> - <pre id="var-docstr">An empty counter-with-total accumulator. It works like the counter -accumulator, except that the total number of items added is stored as the -value of the key :total.</pre> - - - <a href="http://github.com/richhickey/clojure-contrib/blob/7188a51605136f36524e4091fe806859114d6056/src/main/clojure/clojure/contrib/accumulators.clj#L292" id="var-source">Source</a> -</div><div id="var-entry"> - <br /> - <hr /> - <h2 id="clojure.contrib.accumulators/empty-list">empty-list</h2> - <span id="var-type">var</span><br /> - <pre id="var-usage"></pre> - <pre id="var-docstr">An empty list accumulator. Adding an item appends it at the beginning.</pre> - - - <a href="http://github.com/richhickey/clojure-contrib/blob/7188a51605136f36524e4091fe806859114d6056/src/main/clojure/clojure/contrib/accumulators.clj#L88" id="var-source">Source</a> -</div><div id="var-entry"> - <br /> - <hr /> - <h2 id="clojure.contrib.accumulators/empty-map">empty-map</h2> - <span id="var-type">var</span><br /> - <pre id="var-usage"></pre> - <pre id="var-docstr">An empty map accumulator. Items to be added must be [key value] pairs.</pre> - - - <a href="http://github.com/richhickey/clojure-contrib/blob/7188a51605136f36524e4091fe806859114d6056/src/main/clojure/clojure/contrib/accumulators.clj#L145" id="var-source">Source</a> -</div><div id="var-entry"> - <br /> - <hr /> - <h2 id="clojure.contrib.accumulators/empty-maximum">empty-maximum</h2> - <span id="var-type">var</span><br /> - <pre id="var-usage"></pre> - <pre id="var-docstr">An empty maximum accumulator. Only numbers can be added.</pre> - - - <a href="http://github.com/richhickey/clojure-contrib/blob/7188a51605136f36524e4091fe806859114d6056/src/main/clojure/clojure/contrib/accumulators.clj#L185" id="var-source">Source</a> -</div><div id="var-entry"> - <br /> - <hr /> - <h2 id="clojure.contrib.accumulators/empty-mean-variance">empty-mean-variance</h2> - <span id="var-type">var</span><br /> - <pre id="var-usage"></pre> - <pre id="var-docstr">An empty mean-variance accumulator, combining sample mean and -sample variance. Only numbers can be added.</pre> - - - <a href="http://github.com/richhickey/clojure-contrib/blob/7188a51605136f36524e4091fe806859114d6056/src/main/clojure/clojure/contrib/accumulators.clj#L232" id="var-source">Source</a> -</div><div id="var-entry"> - <br /> - <hr /> - <h2 id="clojure.contrib.accumulators/empty-min-max">empty-min-max</h2> - <span id="var-type">var</span><br /> - <pre id="var-usage"></pre> - <pre id="var-docstr">An empty min-max accumulator, combining minimum and maximum. -Only numbers can be added.</pre> - - - <a href="http://github.com/richhickey/clojure-contrib/blob/7188a51605136f36524e4091fe806859114d6056/src/main/clojure/clojure/contrib/accumulators.clj#L207" id="var-source">Source</a> -</div><div id="var-entry"> - <br /> - <hr /> - <h2 id="clojure.contrib.accumulators/empty-minimum">empty-minimum</h2> - <span id="var-type">var</span><br /> - <pre id="var-usage"></pre> - <pre id="var-docstr">An empty minimum accumulator. Only numbers can be added.</pre> - - - <a href="http://github.com/richhickey/clojure-contrib/blob/7188a51605136f36524e4091fe806859114d6056/src/main/clojure/clojure/contrib/accumulators.clj#L191" id="var-source">Source</a> -</div><div id="var-entry"> - <br /> - <hr /> - <h2 id="clojure.contrib.accumulators/empty-product">empty-product</h2> - <span id="var-type">var</span><br /> - <pre id="var-usage"></pre> - <pre id="var-docstr">An empty sum accumulator. Only numbers can be added.</pre> - - - <a href="http://github.com/richhickey/clojure-contrib/blob/7188a51605136f36524e4091fe806859114d6056/src/main/clojure/clojure/contrib/accumulators.clj#L177" id="var-source">Source</a> -</div><div id="var-entry"> - <br /> - <hr /> - <h2 id="clojure.contrib.accumulators/empty-queue">empty-queue</h2> - <span id="var-type">var</span><br /> - <pre id="var-usage"></pre> - <pre id="var-docstr">An empty queue accumulator. Adding an item appends it at the end.</pre> - - - <a href="http://github.com/richhickey/clojure-contrib/blob/7188a51605136f36524e4091fe806859114d6056/src/main/clojure/clojure/contrib/accumulators.clj#L102" id="var-source">Source</a> -</div><div id="var-entry"> - <br /> - <hr /> - <h2 id="clojure.contrib.accumulators/empty-set">empty-set</h2> - <span id="var-type">var</span><br /> - <pre id="var-usage"></pre> - <pre id="var-docstr">An empty set accumulator.</pre> - - - <a href="http://github.com/richhickey/clojure-contrib/blob/7188a51605136f36524e4091fe806859114d6056/src/main/clojure/clojure/contrib/accumulators.clj#L116" id="var-source">Source</a> -</div><div id="var-entry"> - <br /> - <hr /> - <h2 id="clojure.contrib.accumulators/empty-string">empty-string</h2> - <span id="var-type">var</span><br /> - <pre id="var-usage"></pre> - <pre id="var-docstr">An empty string accumulator. Adding an item (string or character) -appends it at the end.</pre> - - - <a href="http://github.com/richhickey/clojure-contrib/blob/7188a51605136f36524e4091fe806859114d6056/src/main/clojure/clojure/contrib/accumulators.clj#L130" id="var-source">Source</a> -</div><div id="var-entry"> - <br /> - <hr /> - <h2 id="clojure.contrib.accumulators/empty-sum">empty-sum</h2> - <span id="var-type">var</span><br /> - <pre id="var-usage"></pre> - <pre id="var-docstr">An empty sum accumulator. Only numbers can be added.</pre> - - - <a href="http://github.com/richhickey/clojure-contrib/blob/7188a51605136f36524e4091fe806859114d6056/src/main/clojure/clojure/contrib/accumulators.clj#L174" id="var-source">Source</a> -</div><div id="var-entry"> - <br /> - <hr /> - <h2 id="clojure.contrib.accumulators/empty-tuple">empty-tuple</h2> - <span id="var-type">function</span><br /> - <pre id="var-usage">Usage: (empty-tuple empty-accumulators) -</pre> - <pre id="var-docstr">Returns an accumulator tuple with the supplied empty-accumulators -as its value. Accumulator tuples consist of several accumulators that -work in parallel. Added items must be sequences whose number of elements -matches the number of sub-accumulators.</pre> - - - <a href="http://github.com/richhickey/clojure-contrib/blob/7188a51605136f36524e4091fe806859114d6056/src/main/clojure/clojure/contrib/accumulators.clj#L310" id="var-source">Source</a> -</div><div id="var-entry"> - <br /> - <hr /> - <h2 id="clojure.contrib.accumulators/empty-vector">empty-vector</h2> - <span id="var-type">var</span><br /> - <pre id="var-usage"></pre> - <pre id="var-docstr">An empty vector accumulator. Adding an item appends it at the end.</pre> - - - <a href="http://github.com/richhickey/clojure-contrib/blob/7188a51605136f36524e4091fe806859114d6056/src/main/clojure/clojure/contrib/accumulators.clj#L74" id="var-source">Source</a> -</div> - - -</div> - </div> - </div> - </div> - </div> - <div id="foot"> - <div style="text-align: center;" id="copyright">Copyright 2007-2009 by Rich Hickey and the various contributors</div> - </div> - </div> - <div id="DesignedBy">Logo & site design by <a title="Visit Tom Hickey's website." href="http://www.tomhickey.com">Tom Hickey</a>.<br /> - Clojure auto-documentation system by Tom Faulhaber.</div> - </div> - <!-- /AllContentContainer --> - </body> - -</html>
\ No newline at end of file diff --git a/branch-master/agent-utils-api.html b/branch-master/agent-utils-api.html deleted file mode 100644 index 6821c415..00000000 --- a/branch-master/agent-utils-api.html +++ /dev/null @@ -1,116 +0,0 @@ -<html> - <head> - <title>agent-utils - clojure-contrib next API documentation</title> - <link href="../static/favicon.png" rel="icon" /> - <link href="../static/favicon.png" rel="shortcut icon" /> - <link media="all" type="text/css" href="../static/clojure.css" rel="stylesheet" /> - <link media="all" type="text/css" href="../static/wiki.css" rel="stylesheet" /> - <link media="all" type="text/css" href="../static/internal.css" rel="stylesheet" /> - <!-- TODO: are we using these (from clojure.org)? If so, add the files --> - <script src="file/view/code_highlighter.js" type="text/javascript"></script> - <script src="file/view/clojure.js" type="text/javascript"></script> - <style>.menuWrapper{height: 36px;}</style> - <!--[if lte IE 6]> - <link rel="stylesheet" href="http://www.wikispaces.com/_/2009051601/s/internal_ie.css" type="text/css" /> - <![endif]--> - </head> -<!-- -This document was auto-generated from the source by the clojure autodoc system. -To report errors or ask questions about the overall documentation structure, formatting, -etc., contact Tom Faulhaber (google mail name: tomfaulhaber). -For errors in the documentation of a particular namespace, contact the author of that -namespace. ---> - <body> - <div id="AllContentContainer"> - <div id="Header"> - <a id="Logo" href="index.html"><img alt="Clojure" height="100" width="100" src="../static/clojure-icon.gif" /></a> - <h1><a title="page header title" id="page-header" href="index.html">Clojure-contrib API Reference</a></h1> - </div> - <div id="leftcolumn"><div style="text-align: center;"></div> -<div class="menu"> - <div class="WikiCustomNav WikiElement wiki"> - <span class="toc-header"><span id="project-name">clojure-contrib</span> <span id="version">next</span> API</span><br /> - <ul> - <li><a class="wiki_link" href="index.html">Overview</a></li> - <li><a class="wiki_link" href="api-index.html">API Index</a></li> - </ul> - <span class="toc-header">Namespaces</span> - <ul id="left-sidebar-list"> - <li><a href="accumulators-api.html" class="wiki_link">accumulators</a></li><li><a href="agent-utils-api.html" class="wiki_link">agent-utils</a></li><li><a href="apply-macro-api.html" class="wiki_link">apply-macro</a></li><li><a href="base64-api.html" class="wiki_link">base64</a></li><li><a href="classpath-api.html" class="wiki_link">classpath</a></li><li><a href="combinatorics-api.html" class="wiki_link">combinatorics</a></li><li><a href="command-line-api.html" class="wiki_link">command-line</a></li><li><a href="complex-numbers-api.html" class="wiki_link">complex-numbers</a></li><li><a href="cond-api.html" class="wiki_link">cond</a></li><li><a href="condition-api.html" class="wiki_link">condition</a></li><li><a href="core-api.html" class="wiki_link">core</a></li><li><a href="dataflow-api.html" class="wiki_link">dataflow</a></li><li><a href="datalog-api.html" class="wiki_link">datalog</a></li><li><a href="def-api.html" class="wiki_link">def</a></li><li><a href="duck-streams-api.html" class="wiki_link">duck-streams</a></li><li><a href="error-kit-api.html" class="wiki_link">error-kit</a></li><li><a href="except-api.html" class="wiki_link">except</a></li><li><a href="fcase-api.html" class="wiki_link">fcase</a></li><li><a href="find-namespaces-api.html" class="wiki_link">find-namespaces</a></li><li><a href="fnmap-api.html" class="wiki_link">fnmap</a></li><li><a href="gen-html-docs-api.html" class="wiki_link">gen-html-docs</a></li><li><a href="generic.arithmetic-api.html" class="wiki_link">generic.arithmetic</a></li><li><a href="generic.collection-api.html" class="wiki_link">generic.collection</a></li><li><a href="generic.comparison-api.html" class="wiki_link">generic.comparison</a></li><li><a href="generic.functor-api.html" class="wiki_link">generic.functor</a></li><li><a href="generic.math-functions-api.html" class="wiki_link">generic.math-functions</a></li><li><a href="graph-api.html" class="wiki_link">graph</a></li><li><a href="greatest-least-api.html" class="wiki_link">greatest-least</a></li><li><a href="http.agent-api.html" class="wiki_link">http.agent</a></li><li><a href="http.connection-api.html" class="wiki_link">http.connection</a></li><li><a href="import-static-api.html" class="wiki_link">import-static</a></li><li><a href="io-api.html" class="wiki_link">io</a></li><li><a href="jar-api.html" class="wiki_link">jar</a></li><li><a href="java-utils-api.html" class="wiki_link">java-utils</a></li><li><a href="javadoc.browse-api.html" class="wiki_link">javadoc.browse</a></li><li><a href="jmx-api.html" class="wiki_link">jmx</a></li><li><a href="json-api.html" class="wiki_link">json</a></li><li><a href="lazy-seqs-api.html" class="wiki_link">lazy-seqs</a></li><li><a href="lazy-xml-api.html" class="wiki_link">lazy-xml</a></li><li><a href="logging-api.html" class="wiki_link">logging</a></li><li><a href="macro-utils-api.html" class="wiki_link">macro-utils</a></li><li><a href="macros-api.html" class="wiki_link">macros</a></li><li><a href="map-utils-api.html" class="wiki_link">map-utils</a></li><li><a href="math-api.html" class="wiki_link">math</a></li><li><a href="miglayout-api.html" class="wiki_link">miglayout</a></li><li><a href="mmap-api.html" class="wiki_link">mmap</a></li><li><a href="mock-api.html" class="wiki_link">mock</a></li><li><a href="monadic-io-streams-api.html" class="wiki_link">monadic-io-streams</a></li><li><a href="monads-api.html" class="wiki_link">monads</a></li><li><a href="ns-utils-api.html" class="wiki_link">ns-utils</a></li><li><a href="pprint-api.html" class="wiki_link">pprint</a></li><li><a href="priority-map-api.html" class="wiki_link">priority-map</a></li><li><a href="probabilities.finite-distributions-api.html" class="wiki_link">probabilities.finite-distributions</a></li><li><a href="probabilities.monte-carlo-api.html" class="wiki_link">probabilities.monte-carlo</a></li><li><a href="probabilities.random-numbers-api.html" class="wiki_link">probabilities.random-numbers</a></li><li><a href="profile-api.html" class="wiki_link">profile</a></li><li><a href="properties-api.html" class="wiki_link">properties</a></li><li><a href="prxml-api.html" class="wiki_link">prxml</a></li><li><a href="reflect-api.html" class="wiki_link">reflect</a></li><li><a href="repl-ln-api.html" class="wiki_link">repl-ln</a></li><li><a href="repl-utils-api.html" class="wiki_link">repl-utils</a></li><li><a href="seq-api.html" class="wiki_link">seq</a></li><li><a href="seq-utils-api.html" class="wiki_link">seq-utils</a></li><li><a href="server-socket-api.html" class="wiki_link">server-socket</a></li><li><a href="set-api.html" class="wiki_link">set</a></li><li><a href="shell-api.html" class="wiki_link">shell</a></li><li><a href="shell-out-api.html" class="wiki_link">shell-out</a></li><li><a href="singleton-api.html" class="wiki_link">singleton</a></li><li><a href="sql-api.html" class="wiki_link">sql</a></li><li><a href="str-utils-api.html" class="wiki_link">str-utils</a></li><li><a href="str-utils2-api.html" class="wiki_link">str-utils2</a></li><li><a href="stream-utils-api.html" class="wiki_link">stream-utils</a></li><li><a href="string-api.html" class="wiki_link">string</a></li><li><a href="strint-api.html" class="wiki_link">strint</a></li><li><a href="swing-utils-api.html" class="wiki_link">swing-utils</a></li><li><a href="test-is-api.html" class="wiki_link">test-is</a></li><li><a href="trace-api.html" class="wiki_link">trace</a></li><li><a href="types-api.html" class="wiki_link">types</a></li><li><a href="with-ns-api.html" class="wiki_link">with-ns</a></li><li><a href="zip-filter-api.html" class="wiki_link">zip-filter</a></li> - </ul> - <div class="BranchTOC"> - <span class="toc-header">Other Versions</span> - <ul id="left-sidebar-branch-list"> - <li><a href="../index.html" class="wiki_link">v1.2 (beta 1)</a></li><li><a href="../branch-1.1.x/index.html" class="wiki_link">v1.1 (stable)</a></li> - </ul> - </div> - <a href="http://clojure.org" class="wiki_link">Clojure Home</a> - </div> -</div> -</div> - <div id="rightcolumn"> - <div id="Content"> - <div class="contentBox"><div class="innerContentBox"> - <div id="content_view" class="wiki wikiPage"> - <div id="right-sidebar"><div id="toc"> - <h1 class="nopad">Table of Contents</h1> - <div style="margin-left: 1em;" class="toc-section"> - <a href="#toc0">Overview</a> - <div style="margin-left: 1em;" class="toc-entry"> - <a href="#clojure.contrib.agent-utils/capture-and-send">capture-and-send</a> - </div> - <br /> - </div> -</div> -</div> - <div id="content-tag"><h1 id="overview">API for <span id="namespace-name">agent-utils</span> - - <span id="header-project">clojure-contrib</span> <span id="header-version">next</span> (<span id="header-status">in development</span>) - </h1> -<span id="author-line">by <span id="author-name">Christophe Grande</span><br /></span> -<br />Usage: -<pre> -(ns your-namespace - (:require <span id="long-name">clojure.contrib.agent-utils</span>)) -</pre><pre> -</pre><h2>Overview</h2> -<pre id="namespace-docstr">Miscellaneous agent utilities -(note to other contrib members: feel free to add to this lib)</pre> - - -<br /> -<h2>Public Variables and Functions</h2> -<div id="var-entry"> - <br /> - <hr /> - <h2 id="clojure.contrib.agent-utils/capture-and-send">capture-and-send</h2> - <span id="var-type">macro</span><br /> - <pre id="var-usage">Usage: (capture-and-send vars agent action & args) -</pre> - <pre id="var-docstr">Capture the current value of the specified vars and rebind -them on the agent thread before executing the action. - -Example: - (capture-and-send [*out*] a f b c)</pre> - - - <a href="http://github.com/richhickey/clojure-contrib/blob/7188a51605136f36524e4091fe806859114d6056/src/main/clojure/clojure/contrib/agent_utils.clj#L22" id="var-source">Source</a> -</div> - - -</div> - </div> - </div> - </div> - </div> - <div id="foot"> - <div style="text-align: center;" id="copyright">Copyright 2007-2009 by Rich Hickey and the various contributors</div> - </div> - </div> - <div id="DesignedBy">Logo & site design by <a title="Visit Tom Hickey's website." href="http://www.tomhickey.com">Tom Hickey</a>.<br /> - Clojure auto-documentation system by Tom Faulhaber.</div> - </div> - <!-- /AllContentContainer --> - </body> - -</html>
\ No newline at end of file diff --git a/branch-master/api-index.html b/branch-master/api-index.html index 84b40924..2e824fba 100644 --- a/branch-master/api-index.html +++ b/branch-master/api-index.html @@ -37,7 +37,7 @@ namespace. </ul> <span class="toc-header">Namespaces</span> <ul id="left-sidebar-list"> - <li><a href="accumulators-api.html" class="wiki_link">accumulators</a></li><li><a href="agent-utils-api.html" class="wiki_link">agent-utils</a></li><li><a href="apply-macro-api.html" class="wiki_link">apply-macro</a></li><li><a href="base64-api.html" class="wiki_link">base64</a></li><li><a href="classpath-api.html" class="wiki_link">classpath</a></li><li><a href="combinatorics-api.html" class="wiki_link">combinatorics</a></li><li><a href="command-line-api.html" class="wiki_link">command-line</a></li><li><a href="complex-numbers-api.html" class="wiki_link">complex-numbers</a></li><li><a href="cond-api.html" class="wiki_link">cond</a></li><li><a href="condition-api.html" class="wiki_link">condition</a></li><li><a href="core-api.html" class="wiki_link">core</a></li><li><a href="dataflow-api.html" class="wiki_link">dataflow</a></li><li><a href="datalog-api.html" class="wiki_link">datalog</a></li><li><a href="def-api.html" class="wiki_link">def</a></li><li><a href="duck-streams-api.html" class="wiki_link">duck-streams</a></li><li><a href="error-kit-api.html" class="wiki_link">error-kit</a></li><li><a href="except-api.html" class="wiki_link">except</a></li><li><a href="fcase-api.html" class="wiki_link">fcase</a></li><li><a href="find-namespaces-api.html" class="wiki_link">find-namespaces</a></li><li><a href="fnmap-api.html" class="wiki_link">fnmap</a></li><li><a href="gen-html-docs-api.html" class="wiki_link">gen-html-docs</a></li><li><a href="generic.arithmetic-api.html" class="wiki_link">generic.arithmetic</a></li><li><a href="generic.collection-api.html" class="wiki_link">generic.collection</a></li><li><a href="generic.comparison-api.html" class="wiki_link">generic.comparison</a></li><li><a href="generic.functor-api.html" class="wiki_link">generic.functor</a></li><li><a href="generic.math-functions-api.html" class="wiki_link">generic.math-functions</a></li><li><a href="graph-api.html" class="wiki_link">graph</a></li><li><a href="greatest-least-api.html" class="wiki_link">greatest-least</a></li><li><a href="http.agent-api.html" class="wiki_link">http.agent</a></li><li><a href="http.connection-api.html" class="wiki_link">http.connection</a></li><li><a href="import-static-api.html" class="wiki_link">import-static</a></li><li><a href="io-api.html" class="wiki_link">io</a></li><li><a href="jar-api.html" class="wiki_link">jar</a></li><li><a href="java-utils-api.html" class="wiki_link">java-utils</a></li><li><a href="javadoc.browse-api.html" class="wiki_link">javadoc.browse</a></li><li><a href="jmx-api.html" class="wiki_link">jmx</a></li><li><a href="json-api.html" class="wiki_link">json</a></li><li><a href="lazy-seqs-api.html" class="wiki_link">lazy-seqs</a></li><li><a href="lazy-xml-api.html" class="wiki_link">lazy-xml</a></li><li><a href="logging-api.html" class="wiki_link">logging</a></li><li><a href="macro-utils-api.html" class="wiki_link">macro-utils</a></li><li><a href="macros-api.html" class="wiki_link">macros</a></li><li><a href="map-utils-api.html" class="wiki_link">map-utils</a></li><li><a href="math-api.html" class="wiki_link">math</a></li><li><a href="miglayout-api.html" class="wiki_link">miglayout</a></li><li><a href="mmap-api.html" class="wiki_link">mmap</a></li><li><a href="mock-api.html" class="wiki_link">mock</a></li><li><a href="monadic-io-streams-api.html" class="wiki_link">monadic-io-streams</a></li><li><a href="monads-api.html" class="wiki_link">monads</a></li><li><a href="ns-utils-api.html" class="wiki_link">ns-utils</a></li><li><a href="pprint-api.html" class="wiki_link">pprint</a></li><li><a href="priority-map-api.html" class="wiki_link">priority-map</a></li><li><a href="probabilities.finite-distributions-api.html" class="wiki_link">probabilities.finite-distributions</a></li><li><a href="probabilities.monte-carlo-api.html" class="wiki_link">probabilities.monte-carlo</a></li><li><a href="probabilities.random-numbers-api.html" class="wiki_link">probabilities.random-numbers</a></li><li><a href="profile-api.html" class="wiki_link">profile</a></li><li><a href="properties-api.html" class="wiki_link">properties</a></li><li><a href="prxml-api.html" class="wiki_link">prxml</a></li><li><a href="reflect-api.html" class="wiki_link">reflect</a></li><li><a href="repl-ln-api.html" class="wiki_link">repl-ln</a></li><li><a href="repl-utils-api.html" class="wiki_link">repl-utils</a></li><li><a href="seq-api.html" class="wiki_link">seq</a></li><li><a href="seq-utils-api.html" class="wiki_link">seq-utils</a></li><li><a href="server-socket-api.html" class="wiki_link">server-socket</a></li><li><a href="set-api.html" class="wiki_link">set</a></li><li><a href="shell-api.html" class="wiki_link">shell</a></li><li><a href="shell-out-api.html" class="wiki_link">shell-out</a></li><li><a href="singleton-api.html" class="wiki_link">singleton</a></li><li><a href="sql-api.html" class="wiki_link">sql</a></li><li><a href="str-utils-api.html" class="wiki_link">str-utils</a></li><li><a href="str-utils2-api.html" class="wiki_link">str-utils2</a></li><li><a href="stream-utils-api.html" class="wiki_link">stream-utils</a></li><li><a href="string-api.html" class="wiki_link">string</a></li><li><a href="strint-api.html" class="wiki_link">strint</a></li><li><a href="swing-utils-api.html" class="wiki_link">swing-utils</a></li><li><a href="test-is-api.html" class="wiki_link">test-is</a></li><li><a href="trace-api.html" class="wiki_link">trace</a></li><li><a href="types-api.html" class="wiki_link">types</a></li><li><a href="with-ns-api.html" class="wiki_link">with-ns</a></li><li><a href="zip-filter-api.html" class="wiki_link">zip-filter</a></li> + </ul> <div class="BranchTOC"> <span class="toc-header">Other Versions</span> @@ -56,7 +56,7 @@ namespace. <div id="right-sidebar"></div> <div id="content-tag"><h1 id="overview">Index of Public Functions and Variables - <span id="header-project">clojure-contrib</span> <span id="header-version">next</span> (<span id="header-status">in development</span>)</h1> This page has an alphabetical index of all the documented functions and variables -in <span class="project-name-span">no project name specified</span>. +in <span class="project-name-span">clojure-contrib</span>. <!-- TODO: enable this functionality on github? @@ -83,369 +83,43 @@ Shortcuts:<br /> <div id="index-body"> <h2 id="A"><span id="section-head">A</span></h2> <pre> -<span id="section-content"> <a href="logging-api.html#clojure.contrib.logging/*allow-direct-logging*">*allow-direct-logging*</a><span id="line-content"> var logging A boolean indicating whether direct logging (as op... -</span></span><span id="section-content"> <a href="io-api.html#clojure.contrib.io/*append*">*append*</a><span id="line-content"> var io If true, writer, output-stream and spit will open ... -</span></span><span id="section-content"> <a href="duck-streams-api.html#clojure.contrib.duck-streams/*append-to-writer*">*append-to-writer*</a><span id="line-content"> var duck-streams If true, writer and spit will open files in append... -</span></span><span id="section-content"> <a href="generic.math-functions-api.html#clojure.contrib.generic.math-functions/abs">abs</a><span id="line-content"> multimethod generic.math-functions Return the abs of x.. -</span></span><span id="section-content"> <a href="math-api.html#clojure.contrib.math/abs">abs</a><span id="line-content"> function math (abs n) is the absolute value of n. -</span></span><span id="section-content"> <a href="generic.math-functions-api.html#clojure.contrib.generic.math-functions/acos">acos</a><span id="line-content"> multimethod generic.math-functions Return the acos of x.. -</span></span><span id="section-content"> <a href="swing-utils-api.html#clojure.contrib.swing-utils/action-translation-table">action-translation-table</a><span id="line-content"> var swing-utils Translation table for the make-action constructor.. -</span></span><span id="section-content"> <a href="accumulators-api.html#clojure.contrib.accumulators/add">add</a><span id="line-content"> multimethod accumulators Add item to the accumulator acc. The exact meaning... -</span></span><span id="section-content"> <a href="swing-utils-api.html#clojure.contrib.swing-utils/add-action-listener">add-action-listener</a><span id="line-content"> function swing-utils Adds an ActionLister to component. When the action... -</span></span><span id="section-content"> <a href="repl-utils-api.html#clojure.contrib.repl-utils/add-break-thread!">add-break-thread!</a><span id="line-content"> function repl-utils Add the given thread to break-threads so that it w... -</span></span><span id="section-content"> <a href="dataflow-api.html#clojure.contrib.dataflow/add-cell-watcher">add-cell-watcher</a><span id="line-content"> function dataflow Adds a watcher to a cell to respond to changes of ... -</span></span><span id="section-content"> <a href="dataflow-api.html#clojure.contrib.dataflow/add-cells">add-cells</a><span id="line-content"> function dataflow Given a collection of cells, add them to the dataf... -</span></span><span id="section-content"> <a href="accumulators-api.html#clojure.contrib.accumulators/add-items">add-items</a><span id="line-content"> function accumulators Add all elements of a collection coll to the accum... -</span></span><span id="section-content"> <a href="swing-utils-api.html#clojure.contrib.swing-utils/add-key-typed-listener">add-key-typed-listener</a><span id="line-content"> function swing-utils Adds a KeyListener to component that only responds... -</span></span><span id="section-content"> <a href="repl-utils-api.html#clojure.contrib.repl-utils/add-local-javadoc">add-local-javadoc</a><span id="line-content"> function repl-utils Adds to the list of local Javadoc paths.. -</span></span><span id="section-content"> <a href="graph-api.html#clojure.contrib.graph/add-loops">add-loops</a><span id="line-content"> function graph For each node n, add the edge n->n if not already ... -</span></span><span id="section-content"> <a href="swing-utils-api.html#clojure.contrib.swing-utils/add-menu-item">add-menu-item</a><span id="line-content"> multimethod swing-utils Adds a menu item to the parent according to the it... -</span></span><span id="section-content"> <a href="repl-utils-api.html#clojure.contrib.repl-utils/add-remote-javadoc">add-remote-javadoc</a><span id="line-content"> function repl-utils Adds to the list of remote Javadoc URLs. package-... -</span></span><span id="section-content"> <a href="greatest-least-api.html#clojure.contrib.greatest-least/all-greatest">all-greatest</a><span id="line-content"> function greatest-least Returns all the greatest elements.. -</span></span><span id="section-content"> <a href="greatest-least-api.html#clojure.contrib.greatest-least/all-greatest-by">all-greatest-by</a><span id="line-content"> function greatest-least Return all the elements for which f yields the gre... -</span></span><span id="section-content"> <a href="greatest-least-api.html#clojure.contrib.greatest-least/all-least">all-least</a><span id="line-content"> function greatest-least Returns all the least elements.. -</span></span><span id="section-content"> <a href="greatest-least-api.html#clojure.contrib.greatest-least/all-least-by">all-least-by</a><span id="line-content"> function greatest-least Return all the elements for which f yields the lea... -</span></span><span id="section-content"> <a href="zip-filter-api.html#clojure.contrib.zip-filter/ancestors">ancestors</a><span id="line-content"> function zip-filter Returns a lazy sequence of all ancestors of locati... -</span></span><span id="section-content"> <a href="io-api.html#clojure.contrib.io/append-output-stream">append-output-stream</a><span id="line-content"> function io Like output-stream but opens file for appending. ... -</span></span><span id="section-content"> <a href="duck-streams-api.html#clojure.contrib.duck-streams/append-spit">append-spit</a><span id="line-content"> function duck-streams Like spit but appends to file.. -</span></span><span id="section-content"> <a href="io-api.html#clojure.contrib.io/append-spit">append-spit</a><span id="line-content"> function io Like spit but appends to file.. -</span></span><span id="section-content"> <a href="duck-streams-api.html#clojure.contrib.duck-streams/append-writer">append-writer</a><span id="line-content"> function duck-streams Like writer but opens file for appending. Does no... -</span></span><span id="section-content"> <a href="io-api.html#clojure.contrib.io/append-writer">append-writer</a><span id="line-content"> function io Like writer but opens file for appending. Does no... -</span></span><span id="section-content"> <a href="apply-macro-api.html#clojure.contrib.apply-macro/apply-macro">apply-macro</a><span id="line-content"> macro apply-macro This is evil. Don't ever use it. It makes a macr... -</span></span><span id="section-content"> <a href="test-is-api.html#clojure.contrib.test-is/apply-template">apply-template</a><span id="line-content"> function test-is Replaces _1, _2, _3, etc. in expr with correspondi... -</span></span><span id="section-content"> <a href="generic.math-functions-api.html#clojure.contrib.generic.math-functions/approx=">approx=</a><span id="line-content"> function generic.math-functions Return true if the absolute value of the diffe... -</span></span><span id="section-content"> <a href="repl-utils-api.html#clojure.contrib.repl-utils/apropos">apropos</a><span id="line-content"> function repl-utils Given a regular expression or stringable thing, re... -</span></span><span id="section-content"> <a href="test-is-api.html#clojure.contrib.test-is/are">are</a><span id="line-content"> macro test-is Checks multiple assertions with a template express... -</span></span><span id="section-content"> <a href="java-utils-api.html#clojure.contrib.java-utils/as-file">as-file</a><span id="line-content"> multimethod java-utils Interpret a String or a java.io.File as a File. Bu... -</span></span><span id="section-content"> <a href="jmx-api.html#clojure.contrib.jmx/as-object-name">as-object-name</a><span id="line-content"> multimethod jmx Interpret an object as a JMX ObjectName.. -</span></span><span id="section-content"> <a href="java-utils-api.html#clojure.contrib.java-utils/as-properties">as-properties</a><span id="line-content"> function java-utils Convert any seq of pairs to a java.utils.Propertie... -</span></span><span id="section-content"> <a href="properties-api.html#clojure.contrib.properties/as-properties">as-properties</a><span id="line-content"> function properties Convert any seq of pairs to a java.utils.Propertie... -</span></span><span id="section-content"> <a href="java-utils-api.html#clojure.contrib.java-utils/as-str">as-str</a><span id="line-content"> function java-utils Like clojure.core/str, but if an argument is a key... -</span></span><span id="section-content"> <a href="string-api.html#clojure.contrib.string/as-str">as-str</a><span id="line-content"> function string Like clojure.core/str, but if an argument is a key... -</span></span><span id="section-content"> <a href="io-api.html#clojure.contrib.io/as-url">as-url</a><span id="line-content"> function io Coerces argument (URL, URI, or String) to a java.n... -</span></span><span id="section-content"> <a href="java-utils-api.html#clojure.contrib.java-utils/as-url">as-url</a><span id="line-content"> multimethod java-utils Coerces argument (URL, URI, or String) to a java.n... -</span></span><span id="section-content"> <a href="generic.math-functions-api.html#clojure.contrib.generic.math-functions/asin">asin</a><span id="line-content"> multimethod generic.math-functions Return the asin of x.. -</span></span><span id="section-content"> <a href="test-is-api.html#clojure.contrib.test-is/assert-any">assert-any</a><span id="line-content"> function test-is Returns generic assertion code for any test, inclu... -</span></span><span id="section-content"> <a href="test-is-api.html#clojure.contrib.test-is/assert-predicate">assert-predicate</a><span id="line-content"> function test-is Returns generic assertion code for any functional ... -</span></span><span id="section-content"> <a href="generic.collection-api.html#clojure.contrib.generic.collection/assoc">assoc</a><span id="line-content"> multimethod generic.collection Returns a new collection in which the values corre... -</span></span><span id="section-content"> <a href="generic.math-functions-api.html#clojure.contrib.generic.math-functions/atan">atan</a><span id="line-content"> multimethod generic.math-functions Return the atan of x.. -</span></span><span id="section-content"> <a href="generic.math-functions-api.html#clojure.contrib.generic.math-functions/atan2">atan2</a><span id="line-content"> multimethod generic.math-functions Return the atan2 of x and y.. -</span></span><span id="section-content"> <a href="jmx-api.html#clojure.contrib.jmx/attribute-info">attribute-info</a><span id="line-content"> function jmx Get the MBeanAttributeInfo for an attribute.. -</span></span><span id="section-content"> <a href="jmx-api.html#clojure.contrib.jmx/attribute-names">attribute-names</a><span id="line-content"> function jmx All attribute names available on an MBean.. -</span></span></pre> +</pre> </div><div id="index-body"> <h2 id="B"><span id="section-head">B</span></h2> <pre> -<span id="section-content"> <a href="duck-streams-api.html#clojure.contrib.duck-streams/*buffer-size*">*buffer-size*</a><span id="line-content"> var duck-streams Size, in bytes or characters, of the buffer used w... -</span></span><span id="section-content"> <a href="io-api.html#clojure.contrib.io/*buffer-size*">*buffer-size*</a><span id="line-content"> var io Size, in bytes or characters, of the buffer used w... -</span></span><span id="section-content"> <a href="duck-streams-api.html#clojure.contrib.duck-streams/*byte-array-type*">*byte-array-type*</a><span id="line-content"> var duck-streams Type object for a Java primitive byte array.. -</span></span><span id="section-content"> <a href="io-api.html#clojure.contrib.io/*byte-array-type*">*byte-array-type*</a><span id="line-content"> var io Type object for a Java primitive byte array.. -</span></span><span id="section-content"> <a href="error-kit-api.html#clojure.contrib.error-kit/bind-continue">bind-continue</a><span id="line-content"> function error-kit Special form to be used inside a 'with-handler'. C... -</span></span><span id="section-content"> <a href="str-utils2-api.html#clojure.contrib.str-utils2/blank?">blank?</a><span id="line-content"> function str-utils2 True if s is nil, empty, or contains only whitespa... -</span></span><span id="section-content"> <a href="string-api.html#clojure.contrib.string/blank?">blank?</a><span id="line-content"> function string True if s is nil, empty, or contains only whitespa... -</span></span><span id="section-content"> <a href="repl-utils-api.html#clojure.contrib.repl-utils/break-threads">break-threads</a><span id="line-content"> var repl-utils Threads to stop when Ctrl-C is pressed. See 'add-... -</span></span><span id="section-content"> <a href="http.agent-api.html#clojure.contrib.http.agent/buffer-bytes">buffer-bytes</a><span id="line-content"> function http.agent The default HTTP agent result handler; it collects... -</span></span><span id="section-content"> <a href="mmap-api.html#clojure.contrib.mmap/buffer-stream">buffer-stream</a><span id="line-content"> function mmap Returns an InputStream for a ByteBuffer, such as r... -</span></span><span id="section-content"> <a href="jmx-api.html#clojure.contrib.jmx/build-attribute-info">build-attribute-info</a><span id="line-content"> function jmx Construct an MBeanAttributeInfo. Normally called w... -</span></span><span id="section-content"> <a href="dataflow-api.html#clojure.contrib.dataflow/build-dataflow">build-dataflow</a><span id="line-content"> function dataflow Given a collection of cells, build and return a da... -</span></span><span id="section-content"> <a href="dataflow-api.html#clojure.contrib.dataflow/build-source-cell">build-source-cell</a><span id="line-content"> function dataflow Builds a source cell. -</span></span><span id="section-content"> <a href="dataflow-api.html#clojure.contrib.dataflow/build-standard-cell">build-standard-cell</a><span id="line-content"> function dataflow Builds a standard cell. -</span></span><span id="section-content"> <a href="dataflow-api.html#clojure.contrib.dataflow/build-validator-cell">build-validator-cell</a><span id="line-content"> function dataflow Builds a validator cell. -</span></span><span id="section-content"> <a href="datalog-api.html#clojure.contrib.datalog/build-work-plan">build-work-plan</a><span id="line-content"> function datalog Given a list of rules and a query, build a work pl... -</span></span><span id="section-content"> <a href="str-utils2-api.html#clojure.contrib.str-utils2/butlast">butlast</a><span id="line-content"> function str-utils2 Returns s without the last n characters. Returns ... -</span></span><span id="section-content"> <a href="string-api.html#clojure.contrib.string/butlast">butlast</a><span id="line-content"> function string Returns s without the last n characters. Returns ... -</span></span><span id="section-content"> <a href="http.agent-api.html#clojure.contrib.http.agent/bytes">bytes</a><span id="line-content"> function http.agent Returns a Java byte array of the content returned ... -</span></span></pre> +</pre> </div><div id="index-body"> <h2 id="C"><span id="section-head">C</span></h2> <pre> -<span id="section-content"> <a href="io-api.html#clojure.contrib.io/*char-array-type*">*char-array-type*</a><span id="line-content"> var io Type object for a Java primitive char array.. -</span></span><span id="section-content"> <a href="pprint-api.html#clojure.contrib.pprint/*code-dispatch*">*code-dispatch*</a><span id="line-content"> multimethod pprint The pretty print dispatch function for pretty prin... -</span></span><span id="section-content"> <a href="jmx-api.html#clojure.contrib.jmx/*connection*">*connection*</a><span id="line-content"> var jmx The connection to be used for JMX ops. Defaults to... -</span></span><span id="section-content"> <a href="monads-api.html#clojure.contrib.monads/call-cc">call-cc</a><span id="line-content"> function monads A computation in the cont monad that calls functio... -</span></span><span id="section-content"> <a href="reflect-api.html#clojure.contrib.reflect/call-method">call-method</a><span id="line-content"> function reflect Calls a private or protected method. params is a ... -</span></span><span id="section-content"> <a href="mock-api.html#clojure.contrib.mock/calls">calls</a><span id="line-content"> function mock Creates or associates to an existing expectation h... -</span></span><span id="section-content"> <a href="str-utils2-api.html#clojure.contrib.str-utils2/capitalize">capitalize</a><span id="line-content"> function str-utils2 Converts first character of the string to upper-ca... -</span></span><span id="section-content"> <a href="string-api.html#clojure.contrib.string/capitalize">capitalize</a><span id="line-content"> function string Converts first character of the string to upper-ca... -</span></span><span id="section-content"> <a href="agent-utils-api.html#clojure.contrib.agent-utils/capture-and-send">capture-and-send</a><span id="line-content"> macro agent-utils Capture the current value of the specified vars an... -</span></span><span id="section-content"> <a href="combinatorics-api.html#clojure.contrib.combinatorics/cartesian-product">cartesian-product</a><span id="line-content"> function combinatorics All the ways to take one item from each sequence. -</span></span><span id="section-content"> <a href="fcase-api.html#clojure.contrib.fcase/case">case</a><span id="line-content"> macro fcase Like cond, but test-value is compared against the ... -</span></span><span id="section-content"> <a href="generic.math-functions-api.html#clojure.contrib.generic.math-functions/ceil">ceil</a><span id="line-content"> multimethod generic.math-functions Return the ceil of x.. -</span></span><span id="section-content"> <a href="math-api.html#clojure.contrib.math/ceil">ceil</a><span id="line-content"> multimethod math (ceil n) returns the least integer greater than or... -</span></span><span id="section-content"> <a href="dataflow-api.html#clojure.contrib.dataflow/cell">cell</a><span id="line-content"> macro dataflow Build a standard cell, like this: (cell fred ... -</span></span><span id="section-content"> <a href="probabilities.finite-distributions-api.html#clojure.contrib.probabilities.finite-distributions/certainly">certainly</a><span id="line-content"> function probabilities.finite-distributions Returns a distribution in which th... -</span></span><span id="section-content"> <a href="zip-filter-api.html#clojure.contrib.zip-filter/children">children</a><span id="line-content"> function zip-filter Returns a lazy sequence of all immediate children ... -</span></span><span id="section-content"> <a href="zip-filter-api.html#clojure.contrib.zip-filter/children-auto">children-auto</a><span id="line-content"> function zip-filter Returns a lazy sequence of all immediate children ... -</span></span><span id="section-content"> <a href="str-utils-api.html#clojure.contrib.str-utils/chomp">chomp</a><span id="line-content"> function str-utils Removes all trailing newline \n or return \r chara... -</span></span><span id="section-content"> <a href="str-utils2-api.html#clojure.contrib.str-utils2/chomp">chomp</a><span id="line-content"> function str-utils2 Removes all trailing newline \n or return \r chara... -</span></span><span id="section-content"> <a href="string-api.html#clojure.contrib.string/chomp">chomp</a><span id="line-content"> function string Removes all trailing newline \n or return \r chara... -</span></span><span id="section-content"> <a href="probabilities.finite-distributions-api.html#clojure.contrib.probabilities.finite-distributions/choose">choose</a><span id="line-content"> function probabilities.finite-distributions Construct a distribution from an e... -</span></span><span id="section-content"> <a href="str-utils-api.html#clojure.contrib.str-utils/chop">chop</a><span id="line-content"> function str-utils Removes the last character of string.. -</span></span><span id="section-content"> <a href="str-utils2-api.html#clojure.contrib.str-utils2/chop">chop</a><span id="line-content"> function str-utils2 Removes the last character of string, does nothing... -</span></span><span id="section-content"> <a href="string-api.html#clojure.contrib.string/chop">chop</a><span id="line-content"> function string Removes the last character of string, does nothing... -</span></span><span id="section-content"> <a href="pprint-api.html#clojure.contrib.pprint/cl-format">cl-format</a><span id="line-content"> function pprint An implementation of a Common Lisp compatible form... -</span></span><span id="section-content"> <a href="classpath-api.html#clojure.contrib.classpath/classpath">classpath</a><span id="line-content"> function classpath Returns a sequence of File objects of the elements... -</span></span><span id="section-content"> <a href="classpath-api.html#clojure.contrib.classpath/classpath-directories">classpath-directories</a><span id="line-content"> function classpath Returns a sequence of File objects for the directo... -</span></span><span id="section-content"> <a href="classpath-api.html#clojure.contrib.classpath/classpath-jarfiles">classpath-jarfiles</a><span id="line-content"> function classpath Returns a sequence of JarFile objects for the JAR ... -</span></span><span id="section-content"> <a href="http.agent-api.html#clojure.contrib.http.agent/client-error?">client-error?</a><span id="line-content"> function http.agent Returns true if the HTTP response code was in the ... -</span></span><span id="section-content"> <a href="find-namespaces-api.html#clojure.contrib.find-namespaces/clojure-source-file?">clojure-source-file?</a><span id="line-content"> function find-namespaces Returns true if file is a normal file with a .clj ... -</span></span><span id="section-content"> <a href="find-namespaces-api.html#clojure.contrib.find-namespaces/clojure-sources-in-jar">clojure-sources-in-jar</a><span id="line-content"> function find-namespaces Returns a sequence of filenames ending in .clj fou... -</span></span><span id="section-content"> <a href="str-utils2-api.html#clojure.contrib.str-utils2/codepoints">codepoints</a><span id="line-content"> function str-utils2 Returns a sequence of integer Unicode code points ... -</span></span><span id="section-content"> <a href="string-api.html#clojure.contrib.string/codepoints">codepoints</a><span id="line-content"> function string Returns a sequence of integer Unicode code points ... -</span></span><span id="section-content"> <a href="combinatorics-api.html#clojure.contrib.combinatorics/combinations">combinations</a><span id="line-content"> function combinatorics All the unique ways of taking n different elements... -</span></span><span id="section-content"> <a href="accumulators-api.html#clojure.contrib.accumulators/combine">combine</a><span id="line-content"> multimethod accumulators Combine the values of the accumulators acc1 and ac... -</span></span><span id="section-content"> <a href="find-namespaces-api.html#clojure.contrib.find-namespaces/comment?">comment?</a><span id="line-content"> function find-namespaces Returns true if form is a (comment ...). -</span></span><span id="section-content"> <a href="pprint-api.html#clojure.contrib.pprint/compile-format">compile-format</a><span id="line-content"> function pprint Compiles format-str into a compiled format which c... -</span></span><span id="section-content"> <a href="graph-api.html#clojure.contrib.graph/component-graph">component-graph</a><span id="line-content"> function graph Given a graph, perhaps with cycles, return a reduc... -</span></span><span id="section-content"> <a href="miglayout-api.html#clojure.contrib.miglayout/components">components</a><span id="line-content"> function miglayout Returns a map from id (a keyword) to component for... -</span></span><span id="section-content"> <a href="test-is-api.html#clojure.contrib.test-is/compose-fixtures">compose-fixtures</a><span id="line-content"> function test-is Composes two fixture functions, creating a new fix... -</span></span><span id="section-content"> <a href="probabilities.finite-distributions-api.html#clojure.contrib.probabilities.finite-distributions/cond-dist-m">cond-dist-m</a><span id="line-content"> var probabilities.finite-distributions Variant of the dist monad that can... -</span></span><span id="section-content"> <a href="cond-api.html#clojure.contrib.cond/cond-let">cond-let</a><span id="line-content"> macro cond Takes a binding-form and a set of test/expr pairs.... -</span></span><span id="section-content"> <a href="probabilities.finite-distributions-api.html#clojure.contrib.probabilities.finite-distributions/cond-prob">cond-prob</a><span id="line-content"> function probabilities.finite-distributions Returns the conditional probabilit... -</span></span><span id="section-content"> <a href="generic.collection-api.html#clojure.contrib.generic.collection/conj">conj</a><span id="line-content"> multimethod generic.collection Returns a new collection resulting from adding all... -</span></span><span id="section-content"> <a href="generic.math-functions-api.html#clojure.contrib.generic.math-functions/conjugate">conjugate</a><span id="line-content"> multimethod generic.math-functions Return the conjugate of x.. -</span></span><span id="section-content"> <a href="sql-api.html#clojure.contrib.sql/connection">connection</a><span id="line-content"> function sql Returns the current database connection (or throws... -</span></span><span id="section-content"> <a href="macros-api.html#clojure.contrib.macros/const">const</a><span id="line-content"> macro macros Evaluate the constant expression expr at compile t... -</span></span><span id="section-content"> <a href="monads-api.html#clojure.contrib.monads/cont-m">cont-m</a><span id="line-content"> var monads Monad describing computations in continuation-pass... -</span></span><span id="section-content"> <a href="str-utils2-api.html#clojure.contrib.str-utils2/contains?">contains?</a><span id="line-content"> function str-utils2 True if s contains the substring.. -</span></span><span id="section-content"> <a href="duck-streams-api.html#clojure.contrib.duck-streams/copy">copy</a><span id="line-content"> multimethod duck-streams Copies input to output. Returns nil. Input may be... -</span></span><span id="section-content"> <a href="io-api.html#clojure.contrib.io/copy">copy</a><span id="line-content"> function io Copies input to output. Returns nil. Input may be... -</span></span><span id="section-content"> <a href="generic.math-functions-api.html#clojure.contrib.generic.math-functions/cos">cos</a><span id="line-content"> multimethod generic.math-functions Return the cos of x.. -</span></span><span id="section-content"> <a href="server-socket-api.html#clojure.contrib.server-socket/create-repl-server">create-repl-server</a><span id="line-content"> function server-socket create a repl on a socket. -</span></span><span id="section-content"> <a href="server-socket-api.html#clojure.contrib.server-socket/create-server">create-server</a><span id="line-content"> function server-socket Creates a server socket on port. Upon accept, a ne... -</span></span><span id="section-content"> <a href="sql-api.html#clojure.contrib.sql/create-table">create-table</a><span id="line-content"> function sql Creates a table on the open database connection gi... -</span></span></pre> +</pre> </div><div id="index-body"> <h2 id="D"><span id="section-head">D</span></h2> <pre> -<span id="section-content"> <a href="duck-streams-api.html#clojure.contrib.duck-streams/*default-encoding*">*default-encoding*</a><span id="line-content"> var duck-streams Name of the default encoding to use when reading &... -</span></span><span id="section-content"> <a href="io-api.html#clojure.contrib.io/*default-encoding*">*default-encoding*</a><span id="line-content"> var io Name of the default encoding to use when reading &... -</span></span><span id="section-content"> <a href="logging-api.html#clojure.contrib.logging/debug">debug</a><span id="line-content"> macro logging Logs a message at the debug level.. -</span></span><span id="section-content"> <a href="map-utils-api.html#clojure.contrib.map-utils/deep-merge-with">deep-merge-with</a><span id="line-content"> function map-utils Like merge-with, but merges maps recursively, appl... -</span></span><span id="section-content"> <a href="types-api.html#clojure.contrib.types/defadt">defadt</a><span id="line-content"> macro types Define an algebraic data type name by an exhaustiv... -</span></span><span id="section-content"> <a href="def-api.html#clojure.contrib.def/defalias">defalias</a><span id="line-content"> macro def Defines an alias for a var: a new var with the sam... -</span></span><span id="section-content"> <a href="error-kit-api.html#clojure.contrib.error-kit/deferror">deferror</a><span id="line-content"> macro error-kit Define a new error type. -</span></span><span id="section-content"> <a href="def-api.html#clojure.contrib.def/defhinted">defhinted</a><span id="line-content"> macro def Defines a var with a type hint matching the class ... -</span></span><span id="section-content"> <a href="def-api.html#clojure.contrib.def/defmacro-">defmacro-</a><span id="line-content"> macro def Same as defmacro but yields a private definition. -</span></span><span id="section-content"> <a href="generic.arithmetic-api.html#clojure.contrib.generic.arithmetic/defmethod*">defmethod*</a><span id="line-content"> macro generic.arithmetic Define a method implementation for the multimethod... -</span></span><span id="section-content"> <a href="monads-api.html#clojure.contrib.monads/defmonad">defmonad</a><span id="line-content"> macro monads Define a named monad by defining the monad operati... -</span></span><span id="section-content"> <a href="monads-api.html#clojure.contrib.monads/defmonadfn">defmonadfn</a><span id="line-content"> macro monads Like defn, but for functions that use monad operat... -</span></span><span id="section-content"> <a href="def-api.html#clojure.contrib.def/defn-memo">defn-memo</a><span id="line-content"> macro def Just like defn, but memoizes the function using cl... -</span></span><span id="section-content"> <a href="def-api.html#clojure.contrib.def/defnk">defnk</a><span id="line-content"> macro def Define a function accepting keyword arguments. Sym... -</span></span><span id="section-content"> <a href="def-api.html#clojure.contrib.def/defonce-">defonce-</a><span id="line-content"> macro def Same as defonce but yields a private definition. -</span></span><span id="section-content"> <a href="stream-utils-api.html#clojure.contrib.stream-utils/defst">defst</a><span id="line-content"> macro stream-utils Define the stream transformer name by body. The no... -</span></span><span id="section-content"> <a href="stream-utils-api.html#clojure.contrib.stream-utils/defstream">defstream</a><span id="line-content"> macro stream-utils Define object of the given type as a stream whose ... -</span></span><span id="section-content"> <a href="def-api.html#clojure.contrib.def/defstruct-">defstruct-</a><span id="line-content"> macro def Same as defstruct but yields a private definition. -</span></span><span id="section-content"> <a href="macro-utils-api.html#clojure.contrib.macro-utils/defsymbolmacro">defsymbolmacro</a><span id="line-content"> macro macro-utils Define a symbol macro. Because symbol macros are n... -</span></span><span id="section-content"> <a href="macro-utils-api.html#clojure.contrib.macro-utils/deftemplate">deftemplate</a><span id="line-content"> macro macro-utils Define a macro that expands into forms after repla... -</span></span><span id="section-content"> <a href="test-is-api.html#clojure.contrib.test-is/deftest">deftest</a><span id="line-content"> macro test-is Defines a test function with no arguments. Test f... -</span></span><span id="section-content"> <a href="test-is-api.html#clojure.contrib.test-is/deftest-">deftest-</a><span id="line-content"> macro test-is Like deftest but creates a private var.. -</span></span><span id="section-content"> <a href="trace-api.html#clojure.contrib.trace/deftrace">deftrace</a><span id="line-content"> macro trace Use in place of defn; traces each call/return of t... -</span></span><span id="section-content"> <a href="types-api.html#clojure.contrib.types/deftype">deftype</a><span id="line-content"> macro types Define a data type by a type tag (a namespace-qual... -</span></span><span id="section-content"> <a href="types-api.html#clojure.contrib.types/deftype-">deftype-</a><span id="line-content"> macro types Same as deftype but the constructor is private.. -</span></span><span id="section-content"> <a href="def-api.html#clojure.contrib.def/defunbound">defunbound</a><span id="line-content"> macro def Defines an unbound var with optional doc string. -</span></span><span id="section-content"> <a href="def-api.html#clojure.contrib.def/defunbound-">defunbound-</a><span id="line-content"> macro def Same as defunbound but yields a private definition. -</span></span><span id="section-content"> <a href="def-api.html#clojure.contrib.def/defvar">defvar</a><span id="line-content"> macro def Defines a var with an optional intializer and doc ... -</span></span><span id="section-content"> <a href="def-api.html#clojure.contrib.def/defvar-">defvar-</a><span id="line-content"> macro def Same as defvar but yields a private definition. -</span></span><span id="section-content"> <a href="io-api.html#clojure.contrib.io/delete-file">delete-file</a><span id="line-content"> function io Delete file f. Raise an exception if it fails unle... -</span></span><span id="section-content"> <a href="java-utils-api.html#clojure.contrib.java-utils/delete-file">delete-file</a><span id="line-content"> function java-utils Delete file f. Raise an exception if it fails unle... -</span></span><span id="section-content"> <a href="io-api.html#clojure.contrib.io/delete-file-recursively">delete-file-recursively</a><span id="line-content"> function io Delete file f. If it's a directory, recursively de... -</span></span><span id="section-content"> <a href="java-utils-api.html#clojure.contrib.java-utils/delete-file-recursively">delete-file-recursively</a><span id="line-content"> function java-utils Delete file f. If it's a directory, recursively de... -</span></span><span id="section-content"> <a href="sql-api.html#clojure.contrib.sql/delete-rows">delete-rows</a><span id="line-content"> function sql Deletes rows from a table. where-params is a vecto... -</span></span><span id="section-content"> <a href="graph-api.html#clojure.contrib.graph/dependency-list">dependency-list</a><span id="line-content"> function graph Similar to a topological sort, this returns a vect... -</span></span><span id="section-content"> <a href="zip-filter-api.html#clojure.contrib.zip-filter/descendants">descendants</a><span id="line-content"> function zip-filter Returns a lazy sequence of all descendants of loca... -</span></span><span id="section-content"> <a href="ns-utils-api.html#clojure.contrib.ns-utils/dir">dir</a><span id="line-content"> macro ns-utils Prints a sorted directory of public vars in a name... -</span></span><span id="section-content"> <a href="probabilities.monte-carlo-api.html#clojure.contrib.probabilities.monte-carlo/discrete">discrete</a><span id="line-content"> function probabilities.monte-carlo A discrete distribution, defined by a map d... -</span></span><span id="section-content"> <a href="dataflow-api.html#clojure.contrib.dataflow/display-cell">display-cell</a><span id="line-content"> multimethod dataflow A 'readable' form of the cell. -</span></span><span id="section-content"> <a href="generic.collection-api.html#clojure.contrib.generic.collection/dissoc">dissoc</a><span id="line-content"> multimethod generic.collection Returns a new collection in which the entries corr... -</span></span><span id="section-content"> <a href="core-api.html#clojure.contrib.core/dissoc-in">dissoc-in</a><span id="line-content"> function core Dissociates an entry from a nested associative str... -</span></span><span id="section-content"> <a href="probabilities.finite-distributions-api.html#clojure.contrib.probabilities.finite-distributions/dist-m">dist-m</a><span id="line-content"> var probabilities.finite-distributions Monad describing computations on f... -</span></span><span id="section-content"> <a href="sql-api.html#clojure.contrib.sql/do-commands">do-commands</a><span id="line-content"> function sql Executes SQL commands on the open database connect... -</span></span><span id="section-content"> <a href="error-kit-api.html#clojure.contrib.error-kit/do-not-handle">do-not-handle</a><span id="line-content"> macro error-kit Use in a tail position of a 'handle' form to indic... -</span></span><span id="section-content"> <a href="sql-api.html#clojure.contrib.sql/do-prepared">do-prepared</a><span id="line-content"> function sql Executes an (optionally parameterized) SQL prepare... -</span></span><span id="section-content"> <a href="swing-utils-api.html#clojure.contrib.swing-utils/do-swing">do-swing</a><span id="line-content"> macro swing-utils Executes body in the Swing event thread asynchrono... -</span></span><span id="section-content"> <a href="swing-utils-api.html#clojure.contrib.swing-utils/do-swing*">do-swing*</a><span id="line-content"> function swing-utils Runs thunk in the Swing event thread according to ... -</span></span><span id="section-content"> <a href="swing-utils-api.html#clojure.contrib.swing-utils/do-swing-and-wait">do-swing-and-wait</a><span id="line-content"> macro swing-utils Executes body in the Swing event thread synchronou... -</span></span><span id="section-content"> <a href="test-is-api.html#clojure.contrib.test-is/do-template">do-template</a><span id="line-content"> macro test-is Repeatedly evaluates template expr (in a do block)... -</span></span><span id="section-content"> <a href="str-utils2-api.html#clojure.contrib.str-utils2/dochars">dochars</a><span id="line-content"> macro str-utils2 bindings => [name string] Repeatedly executes bod... -</span></span><span id="section-content"> <a href="string-api.html#clojure.contrib.string/dochars">dochars</a><span id="line-content"> macro string bindings => [name string] Repeatedly executes bod... -</span></span><span id="section-content"> <a href="str-utils2-api.html#clojure.contrib.str-utils2/docodepoints">docodepoints</a><span id="line-content"> macro str-utils2 bindings => [name string] Repeatedly executes bod... -</span></span><span id="section-content"> <a href="string-api.html#clojure.contrib.string/docodepoints">docodepoints</a><span id="line-content"> macro string bindings => [name string] Repeatedly executes bod... -</span></span><span id="section-content"> <a href="ns-utils-api.html#clojure.contrib.ns-utils/docs">docs</a><span id="line-content"> macro ns-utils Prints documentation for the public vars in a name... -</span></span><span id="section-content"> <a href="monads-api.html#clojure.contrib.monads/domonad">domonad</a><span id="line-content"> macro monads Monad comprehension. Takes the name of a monad, a ... -</span></span><span id="section-content"> <a href="http.agent-api.html#clojure.contrib.http.agent/done?">done?</a><span id="line-content"> function http.agent Returns true if the HTTP request/response has comp... -</span></span><span id="section-content"> <a href="trace-api.html#clojure.contrib.trace/dotrace">dotrace</a><span id="line-content"> macro trace Given a sequence of function identifiers, evaluate... -</span></span><span id="section-content"> <a href="str-utils2-api.html#clojure.contrib.str-utils2/drop">drop</a><span id="line-content"> function str-utils2 Drops first n characters from s. Returns an empty... -</span></span><span id="section-content"> <a href="string-api.html#clojure.contrib.string/drop">drop</a><span id="line-content"> function string Drops first n characters from s. Returns an empty... -</span></span><span id="section-content"> <a href="sql-api.html#clojure.contrib.sql/drop-table">drop-table</a><span id="line-content"> function sql Drops a table on the open database connection give... -</span></span></pre> +</pre> </div><div id="index-body"> <h2 id="E"><span id="section-head">E</span></h2> <pre> -<span id="section-content"> <a href="profile-api.html#clojure.contrib.profile/*enable-profiling*">*enable-profiling*</a><span id="line-content"> var profile Set this to false before loading/compiling to omit... -</span></span><span id="section-content"> <a href="generic.collection-api.html#clojure.contrib.generic.collection/empty">empty</a><span id="line-content"> multimethod generic.collection Returns an empty collection of the same kind as th... -</span></span><span id="section-content"> <a href="accumulators-api.html#clojure.contrib.accumulators/empty-counter">empty-counter</a><span id="line-content"> var accumulators An empty counter accumulator. Its value is a map t... -</span></span><span id="section-content"> <a href="accumulators-api.html#clojure.contrib.accumulators/empty-counter-with-total">empty-counter-with-total</a><span id="line-content"> var accumulators An empty counter-with-total accumulator. It works ... -</span></span><span id="section-content"> <a href="accumulators-api.html#clojure.contrib.accumulators/empty-list">empty-list</a><span id="line-content"> var accumulators An empty list accumulator. Adding an item appends ... -</span></span><span id="section-content"> <a href="accumulators-api.html#clojure.contrib.accumulators/empty-map">empty-map</a><span id="line-content"> var accumulators An empty map accumulator. Items to be added must b... -</span></span><span id="section-content"> <a href="accumulators-api.html#clojure.contrib.accumulators/empty-maximum">empty-maximum</a><span id="line-content"> var accumulators An empty maximum accumulator. Only numbers can be ... -</span></span><span id="section-content"> <a href="accumulators-api.html#clojure.contrib.accumulators/empty-mean-variance">empty-mean-variance</a><span id="line-content"> var accumulators An empty mean-variance accumulator, combining samp... -</span></span><span id="section-content"> <a href="accumulators-api.html#clojure.contrib.accumulators/empty-min-max">empty-min-max</a><span id="line-content"> var accumulators An empty min-max accumulator, combining minimum an... -</span></span><span id="section-content"> <a href="accumulators-api.html#clojure.contrib.accumulators/empty-minimum">empty-minimum</a><span id="line-content"> var accumulators An empty minimum accumulator. Only numbers can be ... -</span></span><span id="section-content"> <a href="accumulators-api.html#clojure.contrib.accumulators/empty-product">empty-product</a><span id="line-content"> var accumulators An empty sum accumulator. Only numbers can be adde... -</span></span><span id="section-content"> <a href="accumulators-api.html#clojure.contrib.accumulators/empty-queue">empty-queue</a><span id="line-content"> var accumulators An empty queue accumulator. Adding an item appends... -</span></span><span id="section-content"> <a href="accumulators-api.html#clojure.contrib.accumulators/empty-set">empty-set</a><span id="line-content"> var accumulators An empty set accumulator.. -</span></span><span id="section-content"> <a href="accumulators-api.html#clojure.contrib.accumulators/empty-string">empty-string</a><span id="line-content"> var accumulators An empty string accumulator. Adding an item (strin... -</span></span><span id="section-content"> <a href="accumulators-api.html#clojure.contrib.accumulators/empty-sum">empty-sum</a><span id="line-content"> var accumulators An empty sum accumulator. Only numbers can be adde... -</span></span><span id="section-content"> <a href="accumulators-api.html#clojure.contrib.accumulators/empty-tuple">empty-tuple</a><span id="line-content"> function accumulators Returns an accumulator tuple with the supplied emp... -</span></span><span id="section-content"> <a href="accumulators-api.html#clojure.contrib.accumulators/empty-vector">empty-vector</a><span id="line-content"> var accumulators An empty vector accumulator. Adding an item append... -</span></span><span id="section-content"> <a href="logging-api.html#clojure.contrib.logging/enabled?">enabled?</a><span id="line-content"> macro logging Returns true if the specific logging level is enab... -</span></span><span id="section-content"> <a href="base64-api.html#clojure.contrib.base64/encode">encode</a><span id="line-content"> function base64 Encodes bytes of input, writing Base 64 text on ou... -</span></span><span id="section-content"> <a href="base64-api.html#clojure.contrib.base64/encode-str">encode-str</a><span id="line-content"> function base64 Encodes String in base 64; returns a String. If n... -</span></span><span id="section-content"> <a href="error-kit-api.html#clojure.contrib.error-kit/error">error</a><span id="line-content"> function error-kit Base type for all error-kit errors. -</span></span><span id="section-content"> <a href="logging-api.html#clojure.contrib.logging/error">error</a><span id="line-content"> macro logging Logs a message at the error level.. -</span></span><span id="section-content"> <a href="http.agent-api.html#clojure.contrib.http.agent/error?">error?</a><span id="line-content"> function http.agent Returns true if the HTTP response code was in the ... -</span></span><span id="section-content"> <a href="str-utils2-api.html#clojure.contrib.str-utils2/escape">escape</a><span id="line-content"> function str-utils2 Returns a new String by applying cmap (a function ... -</span></span><span id="section-content"> <a href="string-api.html#clojure.contrib.string/escape">escape</a><span id="line-content"> function string Returns a new String by applying cmap (a function ... -</span></span><span id="section-content"> <a href="dataflow-api.html#clojure.contrib.dataflow/eval-cell">eval-cell</a><span id="line-content"> multimethod dataflow Evaluate a dataflow cell. Return [changed, old va... -</span></span><span id="section-content"> <a href="math-api.html#clojure.contrib.math/exact-integer-sqrt">exact-integer-sqrt</a><span id="line-content"> function math (exact-integer-sqrt n) expects a non-negative inte... -</span></span><span id="section-content"> <a href="generic.math-functions-api.html#clojure.contrib.generic.math-functions/exp">exp</a><span id="line-content"> multimethod generic.math-functions Return the exp of x.. -</span></span><span id="section-content"> <a href="mock-api.html#clojure.contrib.mock/expect">expect</a><span id="line-content"> macro mock Use expect to redirect calls to dependent function... -</span></span><span id="section-content"> <a href="probabilities.monte-carlo-api.html#clojure.contrib.probabilities.monte-carlo/exponential">exponential</a><span id="line-content"> function probabilities.monte-carlo Transform a sequence of uniform random numb... -</span></span><span id="section-content"> <a href="repl-utils-api.html#clojure.contrib.repl-utils/expression-info">expression-info</a><span id="line-content"> function repl-utils Uses the Clojure compiler to analyze the given s-e... -</span></span><span id="section-content"> <a href="math-api.html#clojure.contrib.math/expt">expt</a><span id="line-content"> multimethod math (expt base pow) is base to the pow power. Returns ... -</span></span></pre> +</pre> </div><div id="index-body"> <h2 id="F"><span id="section-head">F</span></h2> <pre> -<span id="section-content"> <a href="condition-api.html#clojure.contrib.condition/*full-stack-traces*">*full-stack-traces*</a><span id="line-content"> var condition Bind to true to include clojure.{core,lang,main} f... -</span></span><span id="section-content"> <a href="logging-api.html#clojure.contrib.logging/fatal">fatal</a><span id="line-content"> macro logging Logs a message at the fatal level.. -</span></span><span id="section-content"> <a href="fcase-api.html#clojure.contrib.fcase/fcase">fcase</a><span id="line-content"> macro fcase Generic switch/case macro. 'fcase' is short for '... -</span></span><span id="section-content"> <a href="monads-api.html#clojure.contrib.monads/fetch-state">fetch-state</a><span id="line-content"> function monads Return a state-monad function that returns the cur... -</span></span><span id="section-content"> <a href="monads-api.html#clojure.contrib.monads/fetch-val">fetch-val</a><span id="line-content"> function monads Return a state-monad function that assumes the sta... -</span></span><span id="section-content"> <a href="lazy-seqs-api.html#clojure.contrib.lazy-seqs/fibs">fibs</a><span id="line-content"> function lazy-seqs Returns a lazy sequence of all the Fibonacci numbe... -</span></span><span id="section-content"> <a href="io-api.html#clojure.contrib.io/file">file</a><span id="line-content"> function io Returns a java.io.File from string or file args.. -</span></span><span id="section-content"> <a href="java-utils-api.html#clojure.contrib.java-utils/file">file</a><span id="line-content"> function java-utils Returns a java.io.File from string or file args.. -</span></span><span id="section-content"> <a href="test-is-api.html#clojure.contrib.test-is/file-position">file-position</a><span id="line-content"> function test-is Returns a vector [filename line-number] for the nt... -</span></span><span id="section-content"> <a href="duck-streams-api.html#clojure.contrib.duck-streams/file-str">file-str</a><span id="line-content"> function duck-streams Concatenates args as strings and returns a java.io... -</span></span><span id="section-content"> <a href="io-api.html#clojure.contrib.io/file-str">file-str</a><span id="line-content"> function io Concatenates args as strings and returns a java.io... -</span></span><span id="section-content"> <a href="jar-api.html#clojure.contrib.jar/filenames-in-jar">filenames-in-jar</a><span id="line-content"> function jar Returns a sequence of Strings naming the non-direc... -</span></span><span id="section-content"> <a href="seq-api.html#clojure.contrib.seq/fill-queue">fill-queue</a><span id="line-content"> function seq filler-func will be called in another thread with ... -</span></span><span id="section-content"> <a href="seq-utils-api.html#clojure.contrib.seq-utils/fill-queue">fill-queue</a><span id="line-content"> function seq-utils filler-func will be called in another thread with ... -</span></span><span id="section-content"> <a href="find-namespaces-api.html#clojure.contrib.find-namespaces/find-clojure-sources-in-dir">find-clojure-sources-in-dir</a><span id="line-content"> function find-namespaces Searches recursively under dir for Clojure source ... -</span></span><span id="section-content"> <a href="sql-api.html#clojure.contrib.sql/find-connection">find-connection</a><span id="line-content"> function sql Returns the current database connection (or nil if... -</span></span><span id="section-content"> <a href="seq-api.html#clojure.contrib.seq/find-first">find-first</a><span id="line-content"> function seq Returns the first item of coll for which (pred ite... -</span></span><span id="section-content"> <a href="seq-utils-api.html#clojure.contrib.seq-utils/find-first">find-first</a><span id="line-content"> function seq-utils Returns the first item of coll for which (pred ite... -</span></span><span id="section-content"> <a href="test-is-api.html#clojure.contrib.test-is/find-holes">find-holes</a><span id="line-content"> function test-is Recursively finds all symbols starting with _ in f... -</span></span><span id="section-content"> <a href="repl-utils-api.html#clojure.contrib.repl-utils/find-javadoc-url">find-javadoc-url</a><span id="line-content"> function repl-utils Searches for a URL for the given class name. Trie... -</span></span><span id="section-content"> <a href="find-namespaces-api.html#clojure.contrib.find-namespaces/find-namespaces-in-dir">find-namespaces-in-dir</a><span id="line-content"> function find-namespaces Searches dir recursively for (ns ...) declarations... -</span></span><span id="section-content"> <a href="find-namespaces-api.html#clojure.contrib.find-namespaces/find-namespaces-in-jarfile">find-namespaces-in-jarfile</a><span id="line-content"> function find-namespaces Searches the JAR file for Clojure source files con... -</span></span><span id="section-content"> <a href="find-namespaces-api.html#clojure.contrib.find-namespaces/find-namespaces-on-classpath">find-namespaces-on-classpath</a><span id="line-content"> function find-namespaces Searches CLASSPATH (both directories and JAR files... -</span></span><span id="section-content"> <a href="find-namespaces-api.html#clojure.contrib.find-namespaces/find-ns-decls-in-dir">find-ns-decls-in-dir</a><span id="line-content"> function find-namespaces Searches dir recursively for (ns ...) declarations... -</span></span><span id="section-content"> <a href="find-namespaces-api.html#clojure.contrib.find-namespaces/find-ns-decls-in-jarfile">find-ns-decls-in-jarfile</a><span id="line-content"> function find-namespaces Searches the JAR file for Clojure source files con... -</span></span><span id="section-content"> <a href="find-namespaces-api.html#clojure.contrib.find-namespaces/find-ns-decls-on-classpath">find-ns-decls-on-classpath</a><span id="line-content"> function find-namespaces Searches CLASSPATH (both directories and JAR files... -</span></span><span id="section-content"> <a href="test-is-api.html#clojure.contrib.test-is/find-pure-exprs">find-pure-exprs</a><span id="line-content"> function test-is Recursively finds all sub-expressions in form that... -</span></span><span id="section-content"> <a href="test-is-api.html#clojure.contrib.test-is/find-symbols">find-symbols</a><span id="line-content"> function test-is Recursively finds all symbols in form.. -</span></span><span id="section-content"> <a href="graph-api.html#clojure.contrib.graph/fixed-point">fixed-point</a><span id="line-content"> function graph Repeatedly apply fun to data until (equal old-data... -</span></span><span id="section-content"> <a href="seq-api.html#clojure.contrib.seq/flatten">flatten</a><span id="line-content"> function seq DEPRECATED. Prefer clojure.core version. Takes any... -</span></span><span id="section-content"> <a href="seq-utils-api.html#clojure.contrib.seq-utils/flatten">flatten</a><span id="line-content"> function seq-utils DEPRECATED. Prefer clojure.core version. Takes any... -</span></span><span id="section-content"> <a href="test-is-api.html#clojure.contrib.test-is/flatten-map">flatten-map</a><span id="line-content"> function test-is Transforms a map into a vector like [key value key... -</span></span><span id="section-content"> <a href="generic.math-functions-api.html#clojure.contrib.generic.math-functions/floor">floor</a><span id="line-content"> multimethod generic.math-functions Return the floor of x.. -</span></span><span id="section-content"> <a href="math-api.html#clojure.contrib.math/floor">floor</a><span id="line-content"> multimethod math (floor n) returns the greatest integer less than o... -</span></span><span id="section-content"> <a href="monadic-io-streams-api.html#clojure.contrib.monadic-io-streams/flush">flush</a><span id="line-content"> function monadic-io-streams Flush. -</span></span><span id="section-content"> <a href="generic.functor-api.html#clojure.contrib.generic.functor/fmap">fmap</a><span id="line-content"> multimethod generic.functor Applies function f to each item in the data struct... -</span></span><span id="section-content"> <a href="fnmap-api.html#clojure.contrib.fnmap/fnmap">fnmap</a><span id="line-content"> function fnmap Creates a fnmap, or functional map. A fnmap behav... -</span></span><span id="section-content"> <a href="pprint-api.html#clojure.contrib.pprint/formatter">formatter</a><span id="line-content"> macro pprint Makes a function which can directly run format-in.... -</span></span><span id="section-content"> <a href="pprint-api.html#clojure.contrib.pprint/formatter-out">formatter-out</a><span id="line-content"> macro pprint Makes a function which can directly run format-in.... -</span></span><span id="section-content"> <a href="seq-api.html#clojure.contrib.seq/frequencies">frequencies</a><span id="line-content"> function seq DEPRECATED. Prefer clojure.core version. Returns a... -</span></span><span id="section-content"> <a href="seq-utils-api.html#clojure.contrib.seq-utils/frequencies">frequencies</a><span id="line-content"> function seq-utils DEPRECATED. Prefer clojure.core version. Returns a... -</span></span><span id="section-content"> <a href="pprint-api.html#clojure.contrib.pprint/fresh-line">fresh-line</a><span id="line-content"> function pprint Make a newline if the Writer is not already at the... -</span></span><span id="section-content"> <a href="test-is-api.html#clojure.contrib.test-is/function?">function?</a><span id="line-content"> function test-is Returns true if argument is a function or a symbol... -</span></span></pre> +</pre> </div><div id="index-body"> <h2 id="G"><span id="section-head">G</span></h2> <pre> -<span id="section-content"> <a href="math-api.html#clojure.contrib.math/gcd">gcd</a><span id="line-content"> function math (gcd a b) returns the greatest common divisor of a... -</span></span><span id="section-content"> <a href="gen-html-docs-api.html#clojure.contrib.gen-html-docs/generate-documentation">generate-documentation</a><span id="line-content"> function gen-html-docs Returns a string which is the HTML documentation f... -</span></span><span id="section-content"> <a href="gen-html-docs-api.html#clojure.contrib.gen-html-docs/generate-documentation-to-file">generate-documentation-to-file</a><span id="line-content"> function gen-html-docs Calls generate-documentation on the libraries name... -</span></span><span id="section-content"> <a href="generic.collection-api.html#clojure.contrib.generic.collection/get">get</a><span id="line-content"> multimethod generic.collection Returns the element of coll referred to by key. Ea... -</span></span><span id="section-content"> <a href="str-utils2-api.html#clojure.contrib.str-utils2/get">get</a><span id="line-content"> function str-utils2 Gets the i'th character in string.. -</span></span><span id="section-content"> <a href="string-api.html#clojure.contrib.string/get">get</a><span id="line-content"> function string Gets the i'th character in string.. -</span></span><span id="section-content"> <a href="dataflow-api.html#clojure.contrib.dataflow/get-cell">get-cell</a><span id="line-content"> function dataflow Get the single cell named by name. -</span></span><span id="section-content"> <a href="dataflow-api.html#clojure.contrib.dataflow/get-cells">get-cells</a><span id="line-content"> function dataflow Get all the cells named by name. -</span></span><span id="section-content"> <a href="reflect-api.html#clojure.contrib.reflect/get-field">get-field</a><span id="line-content"> function reflect Access to private or protected field. field-name ... -</span></span><span id="section-content"> <a href="graph-api.html#clojure.contrib.graph/get-neighbors">get-neighbors</a><span id="line-content"> function graph Get the neighbors of a node.. -</span></span><span id="section-content"> <a href="ns-utils-api.html#clojure.contrib.ns-utils/get-ns">get-ns</a><span id="line-content"> function ns-utils Returns the namespace named by ns-sym or throws if... -</span></span><span id="section-content"> <a href="dataflow-api.html#clojure.contrib.dataflow/get-old-value">get-old-value</a><span id="line-content"> function dataflow Looks up an old value. -</span></span><span id="section-content"> <a href="test-is-api.html#clojure.contrib.test-is/get-possibly-unbound-var">get-possibly-unbound-var</a><span id="line-content"> function test-is Like var-get but returns nil if the var is unbound... -</span></span><span id="section-content"> <a href="repl-utils-api.html#clojure.contrib.repl-utils/get-source">get-source</a><span id="line-content"> function repl-utils Returns a string of the source code for the given ... -</span></span><span id="section-content"> <a href="dataflow-api.html#clojure.contrib.dataflow/get-source-cells">get-source-cells</a><span id="line-content"> function dataflow Returns a collection of source cells from the data... -</span></span><span id="section-content"> <a href="java-utils-api.html#clojure.contrib.java-utils/get-system-property">get-system-property</a><span id="line-content"> function java-utils Get a system property.. -</span></span><span id="section-content"> <a href="properties-api.html#clojure.contrib.properties/get-system-property">get-system-property</a><span id="line-content"> function properties Get a system property.. -</span></span><span id="section-content"> <a href="dataflow-api.html#clojure.contrib.dataflow/get-value">get-value</a><span id="line-content"> function dataflow Gets a value from the df matching the passed symbo... -</span></span><span id="section-content"> <a href="dataflow-api.html#clojure.contrib.dataflow/get-value-from-cell">get-value-from-cell</a><span id="line-content"> function dataflow Given a cell, get its value. -</span></span><span id="section-content"> <a href="dataflow-api.html#clojure.contrib.dataflow/get-values">get-values</a><span id="line-content"> function dataflow Gets a collection of values from the df by name. -</span></span><span id="section-content"> <a href="singleton-api.html#clojure.contrib.singleton/global-singleton">global-singleton</a><span id="line-content"> function singleton Returns a global singleton function. f is a funct... -</span></span><span id="section-content"> <a href="greatest-least-api.html#clojure.contrib.greatest-least/greatest">greatest</a><span id="line-content"> function greatest-least Return the greatest argument.. -</span></span><span id="section-content"> <a href="greatest-least-api.html#clojure.contrib.greatest-least/greatest-by">greatest-by</a><span id="line-content"> function greatest-least Return the argument for which f yields the greates... -</span></span><span id="section-content"> <a href="str-utils2-api.html#clojure.contrib.str-utils2/grep">grep</a><span id="line-content"> function str-utils2 Filters elements of coll by a regular expression. ... -</span></span><span id="section-content"> <a href="string-api.html#clojure.contrib.string/grep">grep</a><span id="line-content"> function string Filters elements of coll by a regular expression. ... -</span></span><span id="section-content"> <a href="seq-api.html#clojure.contrib.seq/group-by">group-by</a><span id="line-content"> function seq DEPRECATED. Prefer clojure.core version. Returns ... -</span></span><span id="section-content"> <a href="seq-utils-api.html#clojure.contrib.seq-utils/group-by">group-by</a><span id="line-content"> function seq-utils DEPRECATED. Prefer clojure.core version. Returns ... -</span></span><span id="section-content"> <a href="jmx-api.html#clojure.contrib.jmx/guess-attribute-typename">guess-attribute-typename</a><span id="line-content"> function jmx Guess the attribute typename for MBeanAttributeInf... -</span></span></pre> +</pre> </div><div id="index-body"> <h2 id="H"><span id="section-head">H</span></h2> <pre> -<span id="section-content"> <a href="prxml-api.html#clojure.contrib.prxml/*html-compatible*">*html-compatible*</a><span id="line-content"> var prxml If true, empty tags will have a space before the c... -</span></span><span id="section-content"> <a href="error-kit-api.html#clojure.contrib.error-kit/handle">handle</a><span id="line-content"> function error-kit Special form to be used inside a 'with-handler'. ... -</span></span><span id="section-content"> <a href="condition-api.html#clojure.contrib.condition/handler-case">handler-case</a><span id="line-content"> macro condition Executes body in a context where raised conditions... -</span></span><span id="section-content"> <a href="mock-api.html#clojure.contrib.mock/has-args">has-args</a><span id="line-content"> macro mock Creates or associates to an existing expectation h... -</span></span><span id="section-content"> <a href="mock-api.html#clojure.contrib.mock/has-matching-signature?">has-matching-signature?</a><span id="line-content"> function mock Calls no-matching-function-signature if no match i... -</span></span><span id="section-content"> <a href="http.agent-api.html#clojure.contrib.http.agent/headers">headers</a><span id="line-content"> function http.agent Returns a map of HTTP response headers. Header na... -</span></span><span id="section-content"> <a href="http.agent-api.html#clojure.contrib.http.agent/headers-seq">headers-seq</a><span id="line-content"> function http.agent Returns the HTTP response headers in order as a se... -</span></span><span id="section-content"> <a href="http.agent-api.html#clojure.contrib.http.agent/http-agent">http-agent</a><span id="line-content"> function http.agent Creates (and immediately returns) an Agent represe... -</span></span><span id="section-content"> <a href="http.connection-api.html#clojure.contrib.http.connection/http-connection">http-connection</a><span id="line-content"> function http.connection Opens an HttpURLConnection at the URL, handled by ... -</span></span></pre> +</pre> </div><div id="index-body"> <h2 id="I"><span id="section-head">I</span></h2> <pre> -<span id="section-content"> <a href="logging-api.html#clojure.contrib.logging/*impl-name*">*impl-name*</a><span id="line-content"> var logging The name of the logging implementation used.. -</span></span><span id="section-content"> <a href="monads-api.html#clojure.contrib.monads/identity-m">identity-m</a><span id="line-content"> var monads Monad describing plain computations. This monad do... -</span></span><span id="section-content"> <a href="ns-utils-api.html#clojure.contrib.ns-utils/immigrate">immigrate</a><span id="line-content"> function ns-utils Create a public var in this namespace for each pub... -</span></span><span id="section-content"> <a href="logging-api.html#clojure.contrib.logging/impl-enabled?">impl-enabled?</a><span id="line-content"> var logging Implementation-specific check if a particular leve... -</span></span><span id="section-content"> <a href="logging-api.html#clojure.contrib.logging/impl-get-log">impl-get-log</a><span id="line-content"> var logging Returns an implementation-specific log by string n... -</span></span><span id="section-content"> <a href="logging-api.html#clojure.contrib.logging/impl-write!">impl-write!</a><span id="line-content"> var logging Implementation-specific write of a log message. En... -</span></span><span id="section-content"> <a href="import-static-api.html#clojure.contrib.import-static/import-static">import-static</a><span id="line-content"> macro import-static Imports the named static fields and/or static meth... -</span></span><span id="section-content"> <a href="fcase-api.html#clojure.contrib.fcase/in-case">in-case</a><span id="line-content"> macro fcase Like case, but test expressions are sequences. Th... -</span></span><span id="section-content"> <a href="test-is-api.html#clojure.contrib.test-is/inc-report-counter">inc-report-counter</a><span id="line-content"> function test-is Increments the named counter in *report-counters*,... -</span></span><span id="section-content"> <a href="seq-api.html#clojure.contrib.seq/includes?">includes?</a><span id="line-content"> function seq Returns true if coll contains something equal (wit... -</span></span><span id="section-content"> <a href="seq-utils-api.html#clojure.contrib.seq-utils/includes?">includes?</a><span id="line-content"> function seq-utils Returns true if coll contains something equal (wit... -</span></span><span id="section-content"> <a href="seq-api.html#clojure.contrib.seq/indexed">indexed</a><span id="line-content"> function seq Returns a lazy sequence of [index, item] pairs, wh... -</span></span><span id="section-content"> <a href="seq-utils-api.html#clojure.contrib.seq-utils/indexed">indexed</a><span id="line-content"> function seq-utils Returns a lazy sequence of [index, item] pairs, wh... -</span></span><span id="section-content"> <a href="logging-api.html#clojure.contrib.logging/info">info</a><span id="line-content"> macro logging Logs a message at the info level.. -</span></span><span id="section-content"> <a href="io-api.html#clojure.contrib.io/input-stream">input-stream</a><span id="line-content"> function io Attempts to coerce its argument into an open java.... -</span></span><span id="section-content"> <a href="sql-api.html#clojure.contrib.sql/insert-records">insert-records</a><span id="line-content"> function sql Inserts records into a table. records are maps fro... -</span></span><span id="section-content"> <a href="sql-api.html#clojure.contrib.sql/insert-rows">insert-rows</a><span id="line-content"> function sql Inserts complete rows into a table. Each row is a ... -</span></span><span id="section-content"> <a href="sql-api.html#clojure.contrib.sql/insert-values">insert-values</a><span id="line-content"> function sql Inserts rows into a table with values for specifie... -</span></span><span id="section-content"> <a href="fcase-api.html#clojure.contrib.fcase/instance-case">instance-case</a><span id="line-content"> macro fcase Like case, but the test expressions are Java class... -</span></span><span id="section-content"> <a href="generic.collection-api.html#clojure.contrib.generic.collection/into">into</a><span id="line-content"> multimethod generic.collection Returns a new coll consisting of to-coll with all ... -</span></span><span id="section-content"> <a href="test-is-api.html#clojure.contrib.test-is/is">is</a><span id="line-content"> macro test-is Generic assertion macro. 'form' is any predicate ... -</span></span><span id="section-content"> <a href="sql-api.html#clojure.contrib.sql/is-rollback-only">is-rollback-only</a><span id="line-content"> function sql Returns true if the outermost transaction will rol... -</span></span></pre> +</pre> </div><div id="index-body"> <h2 id="J"><span id="section-head">J</span></h2> <pre> -<span id="section-content"> <a href="jar-api.html#clojure.contrib.jar/jar-file?">jar-file?</a><span id="line-content"> function jar Returns true if file is a normal file with a .jar ... -</span></span><span id="section-content"> <a href="repl-utils-api.html#clojure.contrib.repl-utils/javadoc">javadoc</a><span id="line-content"> function repl-utils Opens a browser window displaying the javadoc for ... -</span></span><span id="section-content"> <a href="jmx-api.html#clojure.contrib.jmx/jmx->clj">jmx->clj</a><span id="line-content"> multimethod jmx Coerce JMX data structures into Clojure data. Hand... -</span></span><span id="section-content"> <a href="jmx-api.html#clojure.contrib.jmx/jmx-url">jmx-url</a><span id="line-content"> function jmx Build a JMX URL from options.. -</span></span><span id="section-content"> <a href="str-utils2-api.html#clojure.contrib.str-utils2/join">join</a><span id="line-content"> function str-utils2 Returns a string of all elements in coll, separate... -</span></span><span id="section-content"> <a href="string-api.html#clojure.contrib.string/join">join</a><span id="line-content"> function string Returns a string of all elements in coll, separate... -</span></span><span id="section-content"> <a href="test-is-api.html#clojure.contrib.test-is/join-fixtures">join-fixtures</a><span id="line-content"> function test-is Composes a collection of fixtures, in order. Alwa... -</span></span><span id="section-content"> <a href="probabilities.finite-distributions-api.html#clojure.contrib.probabilities.finite-distributions/join-with">join-with</a><span id="line-content"> function probabilities.finite-distributions Returns the distribution of (f x y... -</span></span><span id="section-content"> <a href="json-api.html#clojure.contrib.json/json-str">json-str</a><span id="line-content"> function json Converts x to a JSON-formatted string.. -</span></span></pre> +</pre> </div><div id="index-body"> <h2 id="K"><span id="section-head">K</span></h2> <pre> @@ -453,439 +127,51 @@ Shortcuts:<br /> </div><div id="index-body"> <h2 id="L"><span id="section-head">L</span></h2> <pre> -<span id="section-content"> <a href="test-is-api.html#clojure.contrib.test-is/*load-tests*">*load-tests*</a><span id="line-content"> var test-is True by default. If set to false, no test functio... -</span></span><span id="section-content"> <a href="repl-utils-api.html#clojure.contrib.repl-utils/*local-javadocs*">*local-javadocs*</a><span id="line-content"> var repl-utils Ref to a list of local paths for Javadoc-generated... -</span></span><span id="section-content"> <a href="logging-api.html#clojure.contrib.logging/*logging-agent*">*logging-agent*</a><span id="line-content"> var logging The default agent used for performing logging durn... -</span></span><span id="section-content"> <a href="map-utils-api.html#clojure.contrib.map-utils/lazy-get">lazy-get</a><span id="line-content"> macro map-utils Like get, but doesn't evaluate not-found unless it... -</span></span><span id="section-content"> <a href="graph-api.html#clojure.contrib.graph/lazy-walk">lazy-walk</a><span id="line-content"> function graph Return a lazy sequence of the nodes of a graph sta... -</span></span><span id="section-content"> <a href="probabilities.random-numbers-api.html#clojure.contrib.probabilities.random-numbers/lcg">lcg</a><span id="line-content"> function probabilities.random-numbers Create a linear congruential generator. -</span></span><span id="section-content"> <a href="math-api.html#clojure.contrib.math/lcm">lcm</a><span id="line-content"> function math (lcm a b) returns the least common multiple of a a... -</span></span><span id="section-content"> <a href="greatest-least-api.html#clojure.contrib.greatest-least/least">least</a><span id="line-content"> function greatest-least Return the smallest element.. -</span></span><span id="section-content"> <a href="greatest-least-api.html#clojure.contrib.greatest-least/least-by">least-by</a><span id="line-content"> function greatest-least Return the argument for which f yields the smalles... -</span></span><span id="section-content"> <a href="zip-filter-api.html#clojure.contrib.zip-filter/left-locs">left-locs</a><span id="line-content"> function zip-filter Returns a lazy sequence of locations to the left o... -</span></span><span id="section-content"> <a href="zip-filter-api.html#clojure.contrib.zip-filter/leftmost?">leftmost?</a><span id="line-content"> function zip-filter Returns true if there are no more nodes to the lef... -</span></span><span id="section-content"> <a href="macros-api.html#clojure.contrib.macros/letfn-">letfn-</a><span id="line-content"> macro macros OBSOLETE: use clojure.core/letfn A variant of let ... -</span></span><span id="section-content"> <a href="combinatorics-api.html#clojure.contrib.combinatorics/lex-permutations">lex-permutations</a><span id="line-content"> function combinatorics Fast lexicographic permutation generator for a seq... -</span></span><span id="section-content"> <a href="generic.math-functions-api.html#clojure.contrib.generic.math-functions/log">log</a><span id="line-content"> multimethod generic.math-functions Return the log of x.. -</span></span><span id="section-content"> <a href="logging-api.html#clojure.contrib.logging/log">log</a><span id="line-content"> macro logging Logs a message, either directly or via an agent. A... -</span></span><span id="section-content"> <a href="logging-api.html#clojure.contrib.logging/log-capture!">log-capture!</a><span id="line-content"> function logging Captures System.out and System.err, redirecting al... -</span></span><span id="section-content"> <a href="logging-api.html#clojure.contrib.logging/log-stream">log-stream</a><span id="line-content"> function logging Creates a PrintStream that will output to the log.... -</span></span><span id="section-content"> <a href="logging-api.html#clojure.contrib.logging/log-uncapture!">log-uncapture!</a><span id="line-content"> function logging Restores System.out and System.err to their origin... -</span></span><span id="section-content"> <a href="probabilities.monte-carlo-api.html#clojure.contrib.probabilities.monte-carlo/lognormal">lognormal</a><span id="line-content"> function probabilities.monte-carlo Transform a sequence of uniform random numb... -</span></span><span id="section-content"> <a href="str-utils2-api.html#clojure.contrib.str-utils2/lower-case">lower-case</a><span id="line-content"> function str-utils2 Converts string to all lower-case.. -</span></span><span id="section-content"> <a href="string-api.html#clojure.contrib.string/lower-case">lower-case</a><span id="line-content"> function string Converts string to all lower-case.. -</span></span><span id="section-content"> <a href="str-utils2-api.html#clojure.contrib.str-utils2/ltrim">ltrim</a><span id="line-content"> function str-utils2 Removes whitespace from the left side of string.. -</span></span><span id="section-content"> <a href="string-api.html#clojure.contrib.string/ltrim">ltrim</a><span id="line-content"> function string Removes whitespace from the left side of string. D... -</span></span></pre> +</pre> </div><div id="index-body"> <h2 id="M"><span id="section-head">M</span></h2> <pre> -<span id="section-content"> <a href="monads-api.html#clojure.contrib.monads/m-chain">m-chain</a><span id="line-content"> var monads Chains together monadic computation steps that are... -</span></span><span id="section-content"> <a href="monads-api.html#clojure.contrib.monads/m-fmap">m-fmap</a><span id="line-content"> var monads Bind the monadic value m to the function returning... -</span></span><span id="section-content"> <a href="monads-api.html#clojure.contrib.monads/m-join">m-join</a><span id="line-content"> var monads Converts a monadic value containing a monadic valu... -</span></span><span id="section-content"> <a href="monads-api.html#clojure.contrib.monads/m-lift">m-lift</a><span id="line-content"> macro monads Converts a function f of n arguments into a functi... -</span></span><span id="section-content"> <a href="monads-api.html#clojure.contrib.monads/m-map">m-map</a><span id="line-content"> var monads 'Executes' the sequence of monadic values resultin... -</span></span><span id="section-content"> <a href="monads-api.html#clojure.contrib.monads/m-reduce">m-reduce</a><span id="line-content"> var monads Return the reduction of (m-lift 2 f) over the list... -</span></span><span id="section-content"> <a href="monads-api.html#clojure.contrib.monads/m-seq">m-seq</a><span id="line-content"> var monads 'Executes' the monadic values in ms and returns a ... -</span></span><span id="section-content"> <a href="monads-api.html#clojure.contrib.monads/m-until">m-until</a><span id="line-content"> var monads While (p x) is false, replace x by the value retur... -</span></span><span id="section-content"> <a href="monads-api.html#clojure.contrib.monads/m-when">m-when</a><span id="line-content"> macro monads If test is logical true, return monadic value m-ex... -</span></span><span id="section-content"> <a href="monads-api.html#clojure.contrib.monads/m-when-not">m-when-not</a><span id="line-content"> macro monads If test if logical false, return monadic value m-e... -</span></span><span id="section-content"> <a href="macro-utils-api.html#clojure.contrib.macro-utils/macrolet">macrolet</a><span id="line-content"> macro macro-utils Define local macros that are used in the expansion... -</span></span><span id="section-content"> <a href="swing-utils-api.html#clojure.contrib.swing-utils/make-action">make-action</a><span id="line-content"> function swing-utils Create an Action proxy from the given action spec.... -</span></span><span id="section-content"> <a href="mock-api.html#clojure.contrib.mock/make-arg-checker">make-arg-checker</a><span id="line-content"> function mock Creates the argument verifying function for a repl... -</span></span><span id="section-content"> <a href="mock-api.html#clojure.contrib.mock/make-count-checker">make-count-checker</a><span id="line-content"> function mock creates the count checker that is invoked at the e... -</span></span><span id="section-content"> <a href="probabilities.finite-distributions-api.html#clojure.contrib.probabilities.finite-distributions/make-distribution">make-distribution</a><span id="line-content"> function probabilities.finite-distributions Returns the distribution in which ... -</span></span><span id="section-content"> <a href="swing-utils-api.html#clojure.contrib.swing-utils/make-menubar">make-menubar</a><span id="line-content"> function swing-utils Create a menubar containing the given sequence of ... -</span></span><span id="section-content"> <a href="mock-api.html#clojure.contrib.mock/make-mock">make-mock</a><span id="line-content"> function mock creates a vector containing the following informat... -</span></span><span id="section-content"> <a href="duck-streams-api.html#clojure.contrib.duck-streams/make-parents">make-parents</a><span id="line-content"> function duck-streams Creates all parent directories of file.. -</span></span><span id="section-content"> <a href="io-api.html#clojure.contrib.io/make-parents">make-parents</a><span id="line-content"> function io Creates all parent directories of file.. -</span></span><span id="section-content"> <a href="jmx-api.html#clojure.contrib.jmx/map->attribute-infos">map->attribute-infos</a><span id="line-content"> function jmx Construct an MBeanAttributeInfo[] from a Clojure a... -</span></span><span id="section-content"> <a href="str-utils2-api.html#clojure.contrib.str-utils2/map-str">map-str</a><span id="line-content"> function str-utils2 Apply f to each element of coll, concatenate all r... -</span></span><span id="section-content"> <a href="string-api.html#clojure.contrib.string/map-str">map-str</a><span id="line-content"> function string Apply f to each element of coll, concatenate all r... -</span></span><span id="section-content"> <a href="types-api.html#clojure.contrib.types/match">match</a><span id="line-content"> macro types Given a value and a list of template-expr clauses,... -</span></span><span id="section-content"> <a href="generic.comparison-api.html#clojure.contrib.generic.comparison/max">max</a><span id="line-content"> function generic.comparison Returns the greatest of its arguments. Like clojur... -</span></span><span id="section-content"> <a href="jmx-api.html#clojure.contrib.jmx/maybe-atomize">maybe-atomize</a><span id="line-content"> function jmx Convert a list of length 1 into its contents, leav... -</span></span><span id="section-content"> <a href="jmx-api.html#clojure.contrib.jmx/maybe-keywordize">maybe-keywordize</a><span id="line-content"> function jmx Convert a string key to a keyword, leaving other t... -</span></span><span id="section-content"> <a href="monads-api.html#clojure.contrib.monads/maybe-m">maybe-m</a><span id="line-content"> var monads Monad describing computations with possible failur... -</span></span><span id="section-content"> <a href="monads-api.html#clojure.contrib.monads/maybe-t">maybe-t</a><span id="line-content"> function monads Monad transformer that transforms a monad m into a... -</span></span><span id="section-content"> <a href="jmx-api.html#clojure.contrib.jmx/mbean">mbean</a><span id="line-content"> function jmx Like clojure.core/bean, but for JMX beans. Returns... -</span></span><span id="section-content"> <a href="jmx-api.html#clojure.contrib.jmx/mbean-names">mbean-names</a><span id="line-content"> function jmx Finds all MBeans matching a name on the current *c... -</span></span><span id="section-content"> <a href="swing-utils-api.html#clojure.contrib.swing-utils/menu-constructor-dispatch">menu-constructor-dispatch</a><span id="line-content"> var swing-utils An atom containing the dispatch set for the add-me... -</span></span><span id="section-content"> <a href="http.agent-api.html#clojure.contrib.http.agent/message">message</a><span id="line-content"> function http.agent Returns the HTTP response message (e.g. 'Not Found... -</span></span><span id="section-content"> <a href="http.agent-api.html#clojure.contrib.http.agent/method">method</a><span id="line-content"> function http.agent Returns the HTTP method name used by this HTTP age... -</span></span><span id="section-content"> <a href="macro-utils-api.html#clojure.contrib.macro-utils/mexpand">mexpand</a><span id="line-content"> function macro-utils Like clojure.core/macroexpand, but takes into acco... -</span></span><span id="section-content"> <a href="macro-utils-api.html#clojure.contrib.macro-utils/mexpand-1">mexpand-1</a><span id="line-content"> function macro-utils Like clojure.core/macroexpand-1, but takes into ac... -</span></span><span id="section-content"> <a href="macro-utils-api.html#clojure.contrib.macro-utils/mexpand-all">mexpand-all</a><span id="line-content"> function macro-utils Perform a full recursive macro expansion of a form... -</span></span><span id="section-content"> <a href="miglayout-api.html#clojure.contrib.miglayout/miglayout">miglayout</a><span id="line-content"> function miglayout Adds java.awt.Components to a javax.swing.JCompone... -</span></span><span id="section-content"> <a href="generic.comparison-api.html#clojure.contrib.generic.comparison/min">min</a><span id="line-content"> function generic.comparison Returns the least of its arguments. Like clojure.c... -</span></span><span id="section-content"> <a href="mmap-api.html#clojure.contrib.mmap/mmap">mmap</a><span id="line-content"> function mmap Memory-map the file named f. Returns a ByteBuffer... -</span></span><span id="section-content"> <a href="monads-api.html#clojure.contrib.monads/monad">monad</a><span id="line-content"> macro monads Define a monad by defining the monad operations. T... -</span></span><span id="section-content"> <a href="monads-api.html#clojure.contrib.monads/monad-transformer">monad-transformer</a><span id="line-content"> macro monads Define a monad transforer in terms of the monad op... -</span></span></pre> +</pre> </div><div id="index-body"> <h2 id="N"><span id="section-head">N</span></h2> <pre> -<span id="section-content"> <a href="probabilities.monte-carlo-api.html#clojure.contrib.probabilities.monte-carlo/n-sphere">n-sphere</a><span id="line-content"> function probabilities.monte-carlo Return a uniform distribution of n-dimensio... -</span></span><span id="section-content"> <a href="def-api.html#clojure.contrib.def/name-with-attributes">name-with-attributes</a><span id="line-content"> function def To be used in macro definitions. Handles optional ... -</span></span><span id="section-content"> <a href="generic.comparison-api.html#clojure.contrib.generic.comparison/neg?">neg?</a><span id="line-content"> multimethod generic.comparison Return true of x is negative.. -</span></span><span id="section-content"> <a href="core-api.html#clojure.contrib.core/new-by-name">new-by-name</a><span id="line-content"> function core Constructs a Java object whose class is specified ... -</span></span><span id="section-content"> <a href="probabilities.monte-carlo-api.html#clojure.contrib.probabilities.monte-carlo/normal">normal</a><span id="line-content"> function probabilities.monte-carlo Transform a sequence urs of uniform random ... -</span></span><span id="section-content"> <a href="probabilities.monte-carlo-api.html#clojure.contrib.probabilities.monte-carlo/normal-box-muller">normal-box-muller</a><span id="line-content"> function probabilities.monte-carlo Transform a sequence of uniform random numb... -</span></span><span id="section-content"> <a href="probabilities.finite-distributions-api.html#clojure.contrib.probabilities.finite-distributions/normalize">normalize</a><span id="line-content"> function probabilities.finite-distributions Convert a weight map (e.g. a map o... -</span></span><span id="section-content"> <a href="find-namespaces-api.html#clojure.contrib.find-namespaces/ns-decl?">ns-decl?</a><span id="line-content"> function find-namespaces Returns true if form is a (ns ...) declaration.. -</span></span><span id="section-content"> <a href="ns-utils-api.html#clojure.contrib.ns-utils/ns-vars">ns-vars</a><span id="line-content"> function ns-utils Returns a sorted seq of symbols naming public vars... -</span></span></pre> +</pre> </div><div id="index-body"> <h2 id="O"><span id="section-head">O</span></h2> <pre> -<span id="section-content"> <a href="jmx-api.html#clojure.contrib.jmx/op-param-types">op-param-types</a><span id="line-content"> function jmx The parameter types (as class name strings) for op... -</span></span><span id="section-content"> <a href="javadoc.browse-api.html#clojure.contrib.javadoc.browse/open-url-in-browser">open-url-in-browser</a><span id="line-content"> function javadoc.browse Opens url (a string) in the default system web bro... -</span></span><span id="section-content"> <a href="javadoc.browse-api.html#clojure.contrib.javadoc.browse/open-url-in-swing">open-url-in-swing</a><span id="line-content"> function javadoc.browse Opens url (a string) in a Swing window.. -</span></span><span id="section-content"> <a href="jmx-api.html#clojure.contrib.jmx/operation">operation</a><span id="line-content"> function jmx The MBeanOperationInfo for operation op on mbean n... -</span></span><span id="section-content"> <a href="jmx-api.html#clojure.contrib.jmx/operation-names">operation-names</a><span id="line-content"> function jmx All operation names available on an MBean.. -</span></span><span id="section-content"> <a href="jmx-api.html#clojure.contrib.jmx/operations">operations</a><span id="line-content"> function jmx All oeprations available on an MBean.. -</span></span><span id="section-content"> <a href="io-api.html#clojure.contrib.io/output-stream">output-stream</a><span id="line-content"> function io Attempts to coerce its argument into an open java.... -</span></span></pre> +</pre> </div><div id="index-body"> <h2 id="P"><span id="section-head">P</span></h2> <pre> -<span id="section-content"> <a href="pprint-api.html#clojure.contrib.pprint/*print-base*">*print-base*</a><span id="line-content"> var pprint The base to use for printing integers and rational... -</span></span><span id="section-content"> <a href="pprint-api.html#clojure.contrib.pprint/*print-circle*">*print-circle*</a><span id="line-content"> var pprint Mark circular structures (N.B. This is not yet use... -</span></span><span id="section-content"> <a href="pprint-api.html#clojure.contrib.pprint/*print-lines*">*print-lines*</a><span id="line-content"> var pprint Maximum number of lines to print in a pretty print... -</span></span><span id="section-content"> <a href="pprint-api.html#clojure.contrib.pprint/*print-miser-width*">*print-miser-width*</a><span id="line-content"> var pprint The column at which to enter miser style. Dependin... -</span></span><span id="section-content"> <a href="pprint-api.html#clojure.contrib.pprint/*print-pprint-dispatch*">*print-pprint-dispatch*</a><span id="line-content"> var pprint The pretty print dispatch function. Use with-pprin... -</span></span><span id="section-content"> <a href="pprint-api.html#clojure.contrib.pprint/*print-pretty*">*print-pretty*</a><span id="line-content"> var pprint Bind to true if you want write to use pretty print... -</span></span><span id="section-content"> <a href="pprint-api.html#clojure.contrib.pprint/*print-radix*">*print-radix*</a><span id="line-content"> var pprint Print a radix specifier in front of integers and r... -</span></span><span id="section-content"> <a href="pprint-api.html#clojure.contrib.pprint/*print-right-margin*">*print-right-margin*</a><span id="line-content"> var pprint Pretty printing will try to avoid anything going b... -</span></span><span id="section-content"> <a href="pprint-api.html#clojure.contrib.pprint/*print-shared*">*print-shared*</a><span id="line-content"> var pprint Mark repeated structures rather than repeat them (... -</span></span><span id="section-content"> <a href="pprint-api.html#clojure.contrib.pprint/*print-suppress-namespaces*">*print-suppress-namespaces*</a><span id="line-content"> var pprint Don't print namespaces with symbols. This is parti... -</span></span><span id="section-content"> <a href="prxml-api.html#clojure.contrib.prxml/*prxml-indent*">*prxml-indent*</a><span id="line-content"> var prxml The number of spaces to indent sub-tags. nil for ... -</span></span><span id="section-content"> <a href="lazy-xml-api.html#clojure.contrib.lazy-xml/parse-seq">parse-seq</a><span id="line-content"> function lazy-xml Parses the source s, which can be a File, InputStr... -</span></span><span id="section-content"> <a href="lazy-xml-api.html#clojure.contrib.lazy-xml/parse-trim">parse-trim</a><span id="line-content"> function lazy-xml Parses the source s, which can be a File, InputStr... -</span></span><span id="section-content"> <a href="str-utils2-api.html#clojure.contrib.str-utils2/partial">partial</a><span id="line-content"> function str-utils2 Like clojure.core/partial for functions that take ... -</span></span><span id="section-content"> <a href="str-utils2-api.html#clojure.contrib.str-utils2/partition">partition</a><span id="line-content"> function str-utils2 Splits the string into a lazy sequence of substrin... -</span></span><span id="section-content"> <a href="string-api.html#clojure.contrib.string/partition">partition</a><span id="line-content"> function string Splits the string into a lazy sequence of substrin... -</span></span><span id="section-content"> <a href="seq-api.html#clojure.contrib.seq/partition-all">partition-all</a><span id="line-content"> function seq DEPRECATED. Prefer clojure.core version. Returns a... -</span></span><span id="section-content"> <a href="seq-utils-api.html#clojure.contrib.seq-utils/partition-all">partition-all</a><span id="line-content"> function seq-utils DEPRECATED. Prefer clojure.core version. Returns a... -</span></span><span id="section-content"> <a href="seq-api.html#clojure.contrib.seq/partition-by">partition-by</a><span id="line-content"> function seq DEPRECATED. Prefer clojure.core version. Applies f... -</span></span><span id="section-content"> <a href="seq-utils-api.html#clojure.contrib.seq-utils/partition-by">partition-by</a><span id="line-content"> function seq-utils DEPRECATED. Prefer clojure.core version. Applies f... -</span></span><span id="section-content"> <a href="singleton-api.html#clojure.contrib.singleton/per-thread-singleton">per-thread-singleton</a><span id="line-content"> function singleton Returns a per-thread singleton function. f is a f... -</span></span><span id="section-content"> <a href="combinatorics-api.html#clojure.contrib.combinatorics/permutations">permutations</a><span id="line-content"> function combinatorics All the permutations of items, lexicographic by in... -</span></span><span id="section-content"> <a href="stream-utils-api.html#clojure.contrib.stream-utils/pick">pick</a><span id="line-content"> function stream-utils Return the next value of stream argument n inside ... -</span></span><span id="section-content"> <a href="stream-utils-api.html#clojure.contrib.stream-utils/pick-all">pick-all</a><span id="line-content"> function stream-utils Return a vector containing the next value of each ... -</span></span><span id="section-content"> <a href="generic.comparison-api.html#clojure.contrib.generic.comparison/pos?">pos?</a><span id="line-content"> multimethod generic.comparison Return true of x is positive.. -</span></span><span id="section-content"> <a href="seq-api.html#clojure.contrib.seq/positions">positions</a><span id="line-content"> function seq Returns a lazy sequence containing the positions a... -</span></span><span id="section-content"> <a href="seq-utils-api.html#clojure.contrib.seq-utils/positions">positions</a><span id="line-content"> function seq-utils Returns a lazy sequence containing the positions a... -</span></span><span id="section-content"> <a href="graph-api.html#clojure.contrib.graph/post-ordered-nodes">post-ordered-nodes</a><span id="line-content"> function graph Return a sequence of indexes of a post-ordered wal... -</span></span><span id="section-content"> <a href="generic.math-functions-api.html#clojure.contrib.generic.math-functions/pow">pow</a><span id="line-content"> multimethod generic.math-functions Return the pow of x and y.. -</span></span><span id="section-content"> <a href="lazy-seqs-api.html#clojure.contrib.lazy-seqs/powers-of-2">powers-of-2</a><span id="line-content"> function lazy-seqs Returns a lazy sequence of all the powers of 2. -</span></span><span id="section-content"> <a href="pprint-api.html#clojure.contrib.pprint/pp">pp</a><span id="line-content"> macro pprint A convenience macro that pretty prints the last th... -</span></span><span id="section-content"> <a href="pprint-api.html#clojure.contrib.pprint/pprint">pprint</a><span id="line-content"> function pprint Pretty print object to the optional output writer.... -</span></span><span id="section-content"> <a href="pprint-api.html#clojure.contrib.pprint/pprint-indent">pprint-indent</a><span id="line-content"> function pprint Create an indent at this point in the pretty print... -</span></span><span id="section-content"> <a href="json-api.html#clojure.contrib.json/pprint-json">pprint-json</a><span id="line-content"> function json Pretty-prints JSON representation of x to *out*. -</span></span><span id="section-content"> <a href="pprint-api.html#clojure.contrib.pprint/pprint-logical-block">pprint-logical-block</a><span id="line-content"> macro pprint Execute the body as a pretty printing logical bloc... -</span></span><span id="section-content"> <a href="pprint-api.html#clojure.contrib.pprint/pprint-newline">pprint-newline</a><span id="line-content"> function pprint Print a conditional newline to a pretty printing s... -</span></span><span id="section-content"> <a href="pprint-api.html#clojure.contrib.pprint/pprint-tab">pprint-tab</a><span id="line-content"> function pprint Tab at this point in the pretty printing stream. k... -</span></span><span id="section-content"> <a href="lazy-seqs-api.html#clojure.contrib.lazy-seqs/primes">primes</a><span id="line-content"> var lazy-seqs Lazy sequence of all the prime numbers.. -</span></span><span id="section-content"> <a href="monadic-io-streams-api.html#clojure.contrib.monadic-io-streams/print">print</a><span id="line-content"> function monadic-io-streams Print obj. -</span></span><span id="section-content"> <a href="dataflow-api.html#clojure.contrib.dataflow/print-dataflow">print-dataflow</a><span id="line-content"> function dataflow Prints a dataflow, one cell per line. -</span></span><span id="section-content"> <a href="ns-utils-api.html#clojure.contrib.ns-utils/print-dir">print-dir</a><span id="line-content"> function ns-utils Prints a sorted directory of public vars in a name... -</span></span><span id="section-content"> <a href="ns-utils-api.html#clojure.contrib.ns-utils/print-docs">print-docs</a><span id="line-content"> function ns-utils Prints documentation for the public vars in a name... -</span></span><span id="section-content"> <a href="json-api.html#clojure.contrib.json/print-json">print-json</a><span id="line-content"> function json Write JSON-formatted output to *out*. -</span></span><span id="section-content"> <a href="repl-ln-api.html#clojure.contrib.repl-ln/print-repl-info">print-repl-info</a><span id="line-content"> function repl-ln Prints info about the current repl. -</span></span><span id="section-content"> <a href="condition-api.html#clojure.contrib.condition/print-stack-trace">print-stack-trace</a><span id="line-content"> function condition Prints a stack trace for a condition or Throwable.... -</span></span><span id="section-content"> <a href="profile-api.html#clojure.contrib.profile/print-summary">print-summary</a><span id="line-content"> function profile Prints a table of the results returned by summariz... -</span></span><span id="section-content"> <a href="monadic-io-streams-api.html#clojure.contrib.monadic-io-streams/println">println</a><span id="line-content"> function monadic-io-streams Print obj followed by a newline. -</span></span><span id="section-content"> <a href="priority-map-api.html#clojure.contrib.priority-map/priority-map">priority-map</a><span id="line-content"> function priority-map keyval => key val Returns a new priority map with ... -</span></span><span id="section-content"> <a href="priority-map-api.html#clojure.contrib.priority-map/priority-map-by">priority-map-by</a><span id="line-content"> function priority-map keyval => key val Returns a new priority map with ... -</span></span><span id="section-content"> <a href="probabilities.finite-distributions-api.html#clojure.contrib.probabilities.finite-distributions/prob">prob</a><span id="line-content"> function probabilities.finite-distributions Return the probability that the pr... -</span></span><span id="section-content"> <a href="profile-api.html#clojure.contrib.profile/prof">prof</a><span id="line-content"> macro profile If *enable-profiling* is true, wraps body in profi... -</span></span><span id="section-content"> <a href="profile-api.html#clojure.contrib.profile/profile">profile</a><span id="line-content"> macro profile Runs body with profiling enabled, then prints a su... -</span></span><span id="section-content"> <a href="set-api.html#clojure.contrib.set/proper-subset?">proper-subset?</a><span id="line-content"> function set Is s1 a proper subset of s2?. -</span></span><span id="section-content"> <a href="set-api.html#clojure.contrib.set/proper-superset?">proper-superset?</a><span id="line-content"> function set Is s1 a proper superset of s2?. -</span></span><span id="section-content"> <a href="prxml-api.html#clojure.contrib.prxml/prxml">prxml</a><span id="line-content"> function prxml Print XML to *out*. Vectors become XML tags: the ... -</span></span><span id="section-content"> <a href="duck-streams-api.html#clojure.contrib.duck-streams/pwd">pwd</a><span id="line-content"> function duck-streams Returns current working directory as a String. (L... -</span></span><span id="section-content"> <a href="io-api.html#clojure.contrib.io/pwd">pwd</a><span id="line-content"> function io Returns current working directory as a String. (L... -</span></span></pre> +</pre> </div><div id="index-body"> <h2 id="Q"><span id="section-head">Q</span></h2> <pre> -<span id="section-content"> <a href="generic.arithmetic-api.html#clojure.contrib.generic.arithmetic/qsym">qsym</a><span id="line-content"> macro generic.arithmetic Create the qualified symbol corresponding to sym i... -</span></span></pre> +</pre> </div><div id="index-body"> <h2 id="R"><span id="section-head">R</span></h2> <pre> -<span id="section-content"> <a href="repl-utils-api.html#clojure.contrib.repl-utils/*remote-javadocs*">*remote-javadocs*</a><span id="line-content"> var repl-utils Ref to a map from package name prefixes to URLs fo... -</span></span><span id="section-content"> <a href="condition-api.html#clojure.contrib.condition/raise">raise</a><span id="line-content"> macro condition Raises a condition. With no arguments, re-raises t... -</span></span><span id="section-content"> <a href="error-kit-api.html#clojure.contrib.error-kit/raise">raise</a><span id="line-content"> macro error-kit Raise an error of the type err-name, constructed w... -</span></span><span id="section-content"> <a href="error-kit-api.html#clojure.contrib.error-kit/raise*">raise*</a><span id="line-content"> function error-kit Raise the given error object, best if created by a... -</span></span><span id="section-content"> <a href="seq-api.html#clojure.contrib.seq/rand-elt">rand-elt</a><span id="line-content"> function seq DEPRECATED. Prefer clojure.core/rand-nth. Return a... -</span></span><span id="section-content"> <a href="seq-utils-api.html#clojure.contrib.seq-utils/rand-elt">rand-elt</a><span id="line-content"> function seq-utils DEPRECATED. Prefer clojure.core/rand-nth. Return a... -</span></span><span id="section-content"> <a href="probabilities.random-numbers-api.html#clojure.contrib.probabilities.random-numbers/rand-stream">rand-stream</a><span id="line-content"> var probabilities.random-numbers A random number stream based on clojure.... -</span></span><span id="section-content"> <a href="probabilities.monte-carlo-api.html#clojure.contrib.probabilities.monte-carlo/random-stream">random-stream</a><span id="line-content"> function probabilities.monte-carlo Define a random stream by a distribution an... -</span></span><span id="section-content"> <a href="jmx-api.html#clojure.contrib.jmx/raw-read">raw-read</a><span id="line-content"> function jmx Read an mbean property. Returns low-level Java obj... -</span></span><span id="section-content"> <a href="fcase-api.html#clojure.contrib.fcase/re-case">re-case</a><span id="line-content"> macro fcase Like case, but the test expressions are regular ex... -</span></span><span id="section-content"> <a href="str-utils-api.html#clojure.contrib.str-utils/re-gsub">re-gsub</a><span id="line-content"> function str-utils Replaces all instances of 'pattern' in 'string' wi... -</span></span><span id="section-content"> <a href="str-utils-api.html#clojure.contrib.str-utils/re-partition">re-partition</a><span id="line-content"> function str-utils Splits the string into a lazy sequence of substrin... -</span></span><span id="section-content"> <a href="str-utils-api.html#clojure.contrib.str-utils/re-split">re-split</a><span id="line-content"> function str-utils Splits the string on instances of 'pattern'. Retu... -</span></span><span id="section-content"> <a href="str-utils-api.html#clojure.contrib.str-utils/re-sub">re-sub</a><span id="line-content"> function str-utils Replaces the first instance of 'pattern' in 'strin... -</span></span><span id="section-content"> <a href="jmx-api.html#clojure.contrib.jmx/read">read</a><span id="line-content"> var jmx Read an mbean property.. -</span></span><span id="section-content"> <a href="monadic-io-streams-api.html#clojure.contrib.monadic-io-streams/read-char">read-char</a><span id="line-content"> function monadic-io-streams Read a single character. -</span></span><span id="section-content"> <a href="find-namespaces-api.html#clojure.contrib.find-namespaces/read-file-ns-decl">read-file-ns-decl</a><span id="line-content"> function find-namespaces Attempts to read a (ns ...) declaration from file,... -</span></span><span id="section-content"> <a href="json-api.html#clojure.contrib.json/read-json">read-json</a><span id="line-content"> function json Reads one JSON value from input String or Reader. ... -</span></span><span id="section-content"> <a href="json-api.html#clojure.contrib.json/read-json-from">read-json-from</a><span id="line-content"> function json Reads one JSON value from input String or Reader. ... -</span></span><span id="section-content"> <a href="monadic-io-streams-api.html#clojure.contrib.monadic-io-streams/read-line">read-line</a><span id="line-content"> function monadic-io-streams Read a single line. -</span></span><span id="section-content"> <a href="duck-streams-api.html#clojure.contrib.duck-streams/read-lines">read-lines</a><span id="line-content"> function duck-streams Like clojure.core/line-seq but opens f with reader... -</span></span><span id="section-content"> <a href="io-api.html#clojure.contrib.io/read-lines">read-lines</a><span id="line-content"> function io Like clojure.core/line-seq but opens f with reader... -</span></span><span id="section-content"> <a href="monadic-io-streams-api.html#clojure.contrib.monadic-io-streams/read-lines">read-lines</a><span id="line-content"> function monadic-io-streams Read all lines and return them in a vector. -</span></span><span id="section-content"> <a href="find-namespaces-api.html#clojure.contrib.find-namespaces/read-ns-decl">read-ns-decl</a><span id="line-content"> function find-namespaces Attempts to read a (ns ...) declaration from rdr, ... -</span></span><span id="section-content"> <a href="find-namespaces-api.html#clojure.contrib.find-namespaces/read-ns-decl-from-jarfile-entry">read-ns-decl-from-jarfile-entry</a><span id="line-content"> function find-namespaces Attempts to read a (ns ...) declaration from the n... -</span></span><span id="section-content"> <a href="java-utils-api.html#clojure.contrib.java-utils/read-properties">read-properties</a><span id="line-content"> function java-utils Read properties from file-able.. -</span></span><span id="section-content"> <a href="properties-api.html#clojure.contrib.properties/read-properties">read-properties</a><span id="line-content"> function properties Read properties from file-able.. -</span></span><span id="section-content"> <a href="jmx-api.html#clojure.contrib.jmx/read-supported">read-supported</a><span id="line-content"> function jmx Calls read to read an mbean property, *returning* ... -</span></span><span id="section-content"> <a href="jmx-api.html#clojure.contrib.jmx/readable?">readable?</a><span id="line-content"> function jmx Is attribute readable?. -</span></span><span id="section-content"> <a href="duck-streams-api.html#clojure.contrib.duck-streams/reader">reader</a><span id="line-content"> multimethod duck-streams Attempts to coerce its argument into an open java.... -</span></span><span id="section-content"> <a href="io-api.html#clojure.contrib.io/reader">reader</a><span id="line-content"> function io Attempts to coerce its argument into an open java.... -</span></span><span id="section-content"> <a href="seq-api.html#clojure.contrib.seq/rec-cat">rec-cat</a><span id="line-content"> macro seq Similar to lazy-cat but binds the resulting sequen... -</span></span><span id="section-content"> <a href="seq-utils-api.html#clojure.contrib.seq-utils/rec-cat">rec-cat</a><span id="line-content"> macro seq-utils Similar to lazy-cat but binds the resulting sequen... -</span></span><span id="section-content"> <a href="seq-api.html#clojure.contrib.seq/rec-seq">rec-seq</a><span id="line-content"> macro seq Similar to lazy-seq but binds the resulting seq to... -</span></span><span id="section-content"> <a href="seq-utils-api.html#clojure.contrib.seq-utils/rec-seq">rec-seq</a><span id="line-content"> macro seq-utils Similar to lazy-seq but binds the resulting seq to... -</span></span><span id="section-content"> <a href="graph-api.html#clojure.contrib.graph/recursive-component?">recursive-component?</a><span id="line-content"> function graph Is the component (recieved from scc) self recursiv... -</span></span><span id="section-content"> <a href="http.agent-api.html#clojure.contrib.http.agent/redirect?">redirect?</a><span id="line-content"> function http.agent Returns true if the HTTP response code was in the ... -</span></span><span id="section-content"> <a href="seq-api.html#clojure.contrib.seq/reductions">reductions</a><span id="line-content"> function seq DEPRECATED. Prefer clojure.core version. Returns a... -</span></span><span id="section-content"> <a href="seq-utils-api.html#clojure.contrib.seq-utils/reductions">reductions</a><span id="line-content"> function seq-utils DEPRECATED. Prefer clojure.core version. Returns a... -</span></span><span id="section-content"> <a href="probabilities.monte-carlo-api.html#clojure.contrib.probabilities.monte-carlo/reject">reject</a><span id="line-content"> function probabilities.monte-carlo Return the distribution that results from r... -</span></span><span id="section-content"> <a href="io-api.html#clojure.contrib.io/relative-path-string">relative-path-string</a><span id="line-content"> multimethod io Interpret a String or java.io.File as a relative p... -</span></span><span id="section-content"> <a href="java-utils-api.html#clojure.contrib.java-utils/relative-path-string">relative-path-string</a><span id="line-content"> multimethod java-utils Interpret a String or java.io.File as a relative p... -</span></span><span id="section-content"> <a href="dataflow-api.html#clojure.contrib.dataflow/remove-cells">remove-cells</a><span id="line-content"> function dataflow Given a collection of cells, remove them from the ... -</span></span><span id="section-content"> <a href="graph-api.html#clojure.contrib.graph/remove-loops">remove-loops</a><span id="line-content"> function graph For each node n, remove any edges n->n.. -</span></span><span id="section-content"> <a href="str-utils2-api.html#clojure.contrib.str-utils2/repeat">repeat</a><span id="line-content"> function str-utils2 Returns a new String containing s repeated n times... -</span></span><span id="section-content"> <a href="string-api.html#clojure.contrib.string/repeat">repeat</a><span id="line-content"> function string Returns a new String containing s repeated n times... -</span></span><span id="section-content"> <a href="repl-ln-api.html#clojure.contrib.repl-ln/repl">repl</a><span id="line-content"> function repl-ln A repl that supports line numbers. For definitions... -</span></span><span id="section-content"> <a href="repl-ln-api.html#clojure.contrib.repl-ln/repl-info">repl-info</a><span id="line-content"> function repl-ln Returns a map of info about the current repl. -</span></span><span id="section-content"> <a href="repl-ln-api.html#clojure.contrib.repl-ln/repl-prompt">repl-prompt</a><span id="line-content"> function repl-ln Returns the current repl prompt based on this repl... -</span></span><span id="section-content"> <a href="str-utils2-api.html#clojure.contrib.str-utils2/replace">replace</a><span id="line-content"> multimethod str-utils2 Replaces all instances of pattern in string with r... -</span></span><span id="section-content"> <a href="string-api.html#clojure.contrib.string/replace-by">replace-by</a><span id="line-content"> function string Replaces all matches of re in s with the result of... -</span></span><span id="section-content"> <a href="string-api.html#clojure.contrib.string/replace-char">replace-char</a><span id="line-content"> function string Replaces all instances of character a with charact... -</span></span><span id="section-content"> <a href="str-utils2-api.html#clojure.contrib.str-utils2/replace-first">replace-first</a><span id="line-content"> multimethod str-utils2 Replaces the first instance of pattern in s with r... -</span></span><span id="section-content"> <a href="string-api.html#clojure.contrib.string/replace-first-by">replace-first-by</a><span id="line-content"> function string Replace first match of re in s with the result of ... -</span></span><span id="section-content"> <a href="string-api.html#clojure.contrib.string/replace-first-re">replace-first-re</a><span id="line-content"> function string Replace first match of re in s.. -</span></span><span id="section-content"> <a href="string-api.html#clojure.contrib.string/replace-first-str">replace-first-str</a><span id="line-content"> function string Replace first occurance of substring a with b in s... -</span></span><span id="section-content"> <a href="string-api.html#clojure.contrib.string/replace-re">replace-re</a><span id="line-content"> function string Replaces all matches of re with replacement in s.. -</span></span><span id="section-content"> <a href="string-api.html#clojure.contrib.string/replace-str">replace-str</a><span id="line-content"> function string Replaces all instances of substring a with b in s.. -</span></span><span id="section-content"> <a href="test-is-api.html#clojure.contrib.test-is/report">report</a><span id="line-content"> multimethod test-is Generic reporting function, may be overridden to p... -</span></span><span id="section-content"> <a href="http.agent-api.html#clojure.contrib.http.agent/request-body">request-body</a><span id="line-content"> function http.agent Returns the HTTP request body given to this HTTP a... -</span></span><span id="section-content"> <a href="http.agent-api.html#clojure.contrib.http.agent/request-headers">request-headers</a><span id="line-content"> function http.agent Returns the request headers specified for this HTT... -</span></span><span id="section-content"> <a href="http.agent-api.html#clojure.contrib.http.agent/request-uri">request-uri</a><span id="line-content"> function http.agent Returns the URI/URL requested by this HTTP agent, ... -</span></span><span id="section-content"> <a href="http.agent-api.html#clojure.contrib.http.agent/result">result</a><span id="line-content"> function http.agent Returns the value returned by the :handler functio... -</span></span><span id="section-content"> <a href="mock-api.html#clojure.contrib.mock/returns">returns</a><span id="line-content"> function mock Creates or associates to an existing expectation h... -</span></span><span id="section-content"> <a href="str-utils2-api.html#clojure.contrib.str-utils2/reverse">reverse</a><span id="line-content"> function str-utils2 Returns s with its characters reversed.. -</span></span><span id="section-content"> <a href="string-api.html#clojure.contrib.string/reverse">reverse</a><span id="line-content"> function string Returns s with its characters reversed.. -</span></span><span id="section-content"> <a href="graph-api.html#clojure.contrib.graph/reverse-graph">reverse-graph</a><span id="line-content"> function graph Given a directed graph, return another directed gr... -</span></span><span id="section-content"> <a href="zip-filter-api.html#clojure.contrib.zip-filter/right-locs">right-locs</a><span id="line-content"> function zip-filter Returns a lazy sequence of locations to the right ... -</span></span><span id="section-content"> <a href="zip-filter-api.html#clojure.contrib.zip-filter/rightmost?">rightmost?</a><span id="line-content"> function zip-filter Returns true if there are no more nodes to the rig... -</span></span><span id="section-content"> <a href="generic.math-functions-api.html#clojure.contrib.generic.math-functions/rint">rint</a><span id="line-content"> multimethod generic.math-functions Return the rint of x.. -</span></span><span id="section-content"> <a href="seq-api.html#clojure.contrib.seq/rotations">rotations</a><span id="line-content"> function seq Returns a lazy seq of all rotations of a seq. -</span></span><span id="section-content"> <a href="seq-utils-api.html#clojure.contrib.seq-utils/rotations">rotations</a><span id="line-content"> function seq-utils Returns a lazy seq of all rotations of a seq. -</span></span><span id="section-content"> <a href="generic.math-functions-api.html#clojure.contrib.generic.math-functions/round">round</a><span id="line-content"> multimethod generic.math-functions Return the round of x.. -</span></span><span id="section-content"> <a href="math-api.html#clojure.contrib.math/round">round</a><span id="line-content"> multimethod math (round n) rounds to the nearest integer. round alw... -</span></span><span id="section-content"> <a href="str-utils2-api.html#clojure.contrib.str-utils2/rtrim">rtrim</a><span id="line-content"> function str-utils2 Removes whitespace from the right side of string.. -</span></span><span id="section-content"> <a href="string-api.html#clojure.contrib.string/rtrim">rtrim</a><span id="line-content"> function string Removes whitespace from the right side of string. ... -</span></span><span id="section-content"> <a href="repl-utils-api.html#clojure.contrib.repl-utils/run">run</a><span id="line-content"> macro repl-utils Loads the specified namespace and invokes its "mai... -</span></span><span id="section-content"> <a href="repl-utils-api.html#clojure.contrib.repl-utils/run*">run*</a><span id="line-content"> function repl-utils Loads the specified namespace and invokes its "mai... -</span></span><span id="section-content"> <a href="test-is-api.html#clojure.contrib.test-is/run-all-tests">run-all-tests</a><span id="line-content"> function test-is Runs all tests in all namespaces; prints results. ... -</span></span><span id="section-content"> <a href="monads-api.html#clojure.contrib.monads/run-cont">run-cont</a><span id="line-content"> function monads Execute the computation c in the cont monad and re... -</span></span><span id="section-content"> <a href="test-is-api.html#clojure.contrib.test-is/run-tests">run-tests</a><span id="line-content"> function test-is Runs all tests in the given namespaces; prints res... -</span></span><span id="section-content"> <a href="datalog-api.html#clojure.contrib.datalog/run-work-plan">run-work-plan</a><span id="line-content"> function datalog Given a work plan, a database, and some query bind... -</span></span></pre> +</pre> </div><div id="index-body"> <h2 id="S"><span id="section-head">S</span></h2> <pre> -<span id="section-content"> <a href="pprint-api.html#clojure.contrib.pprint/*simple-dispatch*">*simple-dispatch*</a><span id="line-content"> multimethod pprint The pretty print dispatch function for simple data... -</span></span><span id="section-content"> <a href="test-is-api.html#clojure.contrib.test-is/*stack-trace-depth*">*stack-trace-depth*</a><span id="line-content"> var test-is The maximum depth of stack traces to print when an... -</span></span><span id="section-content"> <a href="map-utils-api.html#clojure.contrib.map-utils/safe-get">safe-get</a><span id="line-content"> function map-utils Like get, but throws an exception if the key is no... -</span></span><span id="section-content"> <a href="map-utils-api.html#clojure.contrib.map-utils/safe-get-in">safe-get-in</a><span id="line-content"> function map-utils Like get-in, but throws an exception if any key is... -</span></span><span id="section-content"> <a href="probabilities.monte-carlo-api.html#clojure.contrib.probabilities.monte-carlo/sample">sample</a><span id="line-content"> function probabilities.monte-carlo Return the distribution of samples of lengt... -</span></span><span id="section-content"> <a href="probabilities.monte-carlo-api.html#clojure.contrib.probabilities.monte-carlo/sample-mean">sample-mean</a><span id="line-content"> function probabilities.monte-carlo Return the distribution of the mean over n ... -</span></span><span id="section-content"> <a href="probabilities.monte-carlo-api.html#clojure.contrib.probabilities.monte-carlo/sample-mean-variance">sample-mean-variance</a><span id="line-content"> function probabilities.monte-carlo Return the distribution of the mean-and-var... -</span></span><span id="section-content"> <a href="probabilities.monte-carlo-api.html#clojure.contrib.probabilities.monte-carlo/sample-reduce">sample-reduce</a><span id="line-content"> function probabilities.monte-carlo Returns the distribution of the reduction o... -</span></span><span id="section-content"> <a href="probabilities.monte-carlo-api.html#clojure.contrib.probabilities.monte-carlo/sample-sum">sample-sum</a><span id="line-content"> function probabilities.monte-carlo Return the distribution of the sum over n s... -</span></span><span id="section-content"> <a href="graph-api.html#clojure.contrib.graph/scc">scc</a><span id="line-content"> function graph Returns, as a sequence of sets, the strongly conne... -</span></span><span id="section-content"> <a href="combinatorics-api.html#clojure.contrib.combinatorics/selections">selections</a><span id="line-content"> function combinatorics All the ways of taking n (possibly the same) eleme... -</span></span><span id="section-content"> <a href="graph-api.html#clojure.contrib.graph/self-recursive-sets">self-recursive-sets</a><span id="line-content"> function graph Returns, as a sequence of sets, the components of ... -</span></span><span id="section-content"> <a href="http.connection-api.html#clojure.contrib.http.connection/send-request-entity">send-request-entity</a><span id="line-content"> var http.connection Transmits a request entity body.. -</span></span><span id="section-content"> <a href="seq-api.html#clojure.contrib.seq/separate">separate</a><span id="line-content"> function seq Returns a vector: [ (filter f s), (filter (complem... -</span></span><span id="section-content"> <a href="seq-utils-api.html#clojure.contrib.seq-utils/separate">separate</a><span id="line-content"> function seq-utils Returns a vector: [ (filter f s), (filter (complem... -</span></span><span id="section-content"> <a href="generic.collection-api.html#clojure.contrib.generic.collection/seq">seq</a><span id="line-content"> multimethod generic.collection Returns a seq on the object s.. -</span></span><span id="section-content"> <a href="seq-api.html#clojure.contrib.seq/seq-on">seq-on</a><span id="line-content"> multimethod seq Returns a seq on the object s. Works like the buil... -</span></span><span id="section-content"> <a href="seq-utils-api.html#clojure.contrib.seq-utils/seq-on">seq-on</a><span id="line-content"> multimethod seq-utils Returns a seq on the object s. Works like the buil... -</span></span><span id="section-content"> <a href="core-api.html#clojure.contrib.core/seqable?">seqable?</a><span id="line-content"> function core Returns true if (seq x) will succeed, false otherw... -</span></span><span id="section-content"> <a href="monads-api.html#clojure.contrib.monads/sequence-m">sequence-m</a><span id="line-content"> var monads Monad describing multi-valued computations, i.e. c... -</span></span><span id="section-content"> <a href="monads-api.html#clojure.contrib.monads/sequence-t">sequence-t</a><span id="line-content"> function monads Monad transformer that transforms a monad m into a... -</span></span><span id="section-content"> <a href="http.agent-api.html#clojure.contrib.http.agent/server-error?">server-error?</a><span id="line-content"> function http.agent Returns true if the HTTP response code was in the ... -</span></span><span id="section-content"> <a href="monads-api.html#clojure.contrib.monads/set-m">set-m</a><span id="line-content"> var monads Monad describing multi-valued computations, like s... -</span></span><span id="section-content"> <a href="pprint-api.html#clojure.contrib.pprint/set-pprint-dispatch">set-pprint-dispatch</a><span id="line-content"> function pprint Set the pretty print dispatch function to a functi... -</span></span><span id="section-content"> <a href="repl-ln-api.html#clojure.contrib.repl-ln/set-repl-name">set-repl-name</a><span id="line-content"> function repl-ln Sets the repl name format to the string name-fmt. ... -</span></span><span id="section-content"> <a href="repl-ln-api.html#clojure.contrib.repl-ln/set-repl-prompt">set-repl-prompt</a><span id="line-content"> function repl-ln Sets the repl prompt. Include the following codes ... -</span></span><span id="section-content"> <a href="sql-api.html#clojure.contrib.sql/set-rollback-only">set-rollback-only</a><span id="line-content"> function sql Marks the outermost transaction such that it will ... -</span></span><span id="section-content"> <a href="monads-api.html#clojure.contrib.monads/set-state">set-state</a><span id="line-content"> function monads Return a state-monad function that replaces the cu... -</span></span><span id="section-content"> <a href="java-utils-api.html#clojure.contrib.java-utils/set-system-properties">set-system-properties</a><span id="line-content"> function java-utils Set some system properties. Nil clears a property.. -</span></span><span id="section-content"> <a href="properties-api.html#clojure.contrib.properties/set-system-properties">set-system-properties</a><span id="line-content"> function properties Set some system properties. Nil clears a property.. -</span></span><span id="section-content"> <a href="test-is-api.html#clojure.contrib.test-is/set-test">set-test</a><span id="line-content"> macro test-is Experimental. Sets :test metadata of the named var... -</span></span><span id="section-content"> <a href="monads-api.html#clojure.contrib.monads/set-val">set-val</a><span id="line-content"> function monads Return a state-monad function that assumes the sta... -</span></span><span id="section-content"> <a href="generic.math-functions-api.html#clojure.contrib.generic.math-functions/sgn">sgn</a><span id="line-content"> multimethod generic.math-functions Return the sign of x (-1, 0, or 1).. -</span></span><span id="section-content"> <a href="shell-api.html#clojure.contrib.shell/sh">sh</a><span id="line-content"> function shell Passes the given strings to Runtime.exec() to laun... -</span></span><span id="section-content"> <a href="shell-out-api.html#clojure.contrib.shell-out/sh">sh</a><span id="line-content"> function shell-out Passes the given strings to Runtime.exec() to laun... -</span></span><span id="section-content"> <a href="repl-utils-api.html#clojure.contrib.repl-utils/show">show</a><span id="line-content"> function repl-utils With one arg prints all static and instance member... -</span></span><span id="section-content"> <a href="seq-api.html#clojure.contrib.seq/shuffle">shuffle</a><span id="line-content"> function seq DEPRECATED. Prefer clojure.core version. Return a ... -</span></span><span id="section-content"> <a href="seq-utils-api.html#clojure.contrib.seq-utils/shuffle">shuffle</a><span id="line-content"> function seq-utils DEPRECATED. Prefer clojure.core version. Return a ... -</span></span><span id="section-content"> <a href="generic.math-functions-api.html#clojure.contrib.generic.math-functions/sin">sin</a><span id="line-content"> multimethod generic.math-functions Return the sin of x.. -</span></span><span id="section-content"> <a href="monadic-io-streams-api.html#clojure.contrib.monadic-io-streams/skip-chars">skip-chars</a><span id="line-content"> function monadic-io-streams Skip n characters. -</span></span><span id="section-content"> <a href="mmap-api.html#clojure.contrib.mmap/slurp">slurp</a><span id="line-content"> function mmap Reads the file named by f and returns it as a stri... -</span></span><span id="section-content"> <a href="duck-streams-api.html#clojure.contrib.duck-streams/slurp*">slurp*</a><span id="line-content"> function duck-streams Like clojure.core/slurp but opens f with reader.. -</span></span><span id="section-content"> <a href="io-api.html#clojure.contrib.io/slurp*">slurp*</a><span id="line-content"> function io Like clojure.core/slurp but opens f with reader.. -</span></span><span id="section-content"> <a href="repl-utils-api.html#clojure.contrib.repl-utils/source">source</a><span id="line-content"> macro repl-utils Prints the source code for the given symbol, if it... -</span></span><span id="section-content"> <a href="dataflow-api.html#clojure.contrib.dataflow/source-cell?">source-cell?</a><span id="line-content"> function dataflow Is this cell a source cell?. -</span></span><span id="section-content"> <a href="duck-streams-api.html#clojure.contrib.duck-streams/spit">spit</a><span id="line-content"> function duck-streams Opposite of slurp. Opens f with writer, writes co... -</span></span><span id="section-content"> <a href="io-api.html#clojure.contrib.io/spit">spit</a><span id="line-content"> function io Opposite of slurp. Opens f with writer, writes co... -</span></span><span id="section-content"> <a href="str-utils2-api.html#clojure.contrib.str-utils2/split">split</a><span id="line-content"> function str-utils2 Splits string on a regular expression. Optional a... -</span></span><span id="section-content"> <a href="string-api.html#clojure.contrib.string/split">split</a><span id="line-content"> function string Splits string on a regular expression. Optional a... -</span></span><span id="section-content"> <a href="str-utils2-api.html#clojure.contrib.str-utils2/split-lines">split-lines</a><span id="line-content"> function str-utils2 Splits s on \n or \r\n.. -</span></span><span id="section-content"> <a href="string-api.html#clojure.contrib.string/split-lines">split-lines</a><span id="line-content"> function string Splits s on \n or \r\n.. -</span></span><span id="section-content"> <a href="logging-api.html#clojure.contrib.logging/spy">spy</a><span id="line-content"> macro logging Evaluates expr and outputs the form and its result... -</span></span><span id="section-content"> <a href="generic.math-functions-api.html#clojure.contrib.generic.math-functions/sqr">sqr</a><span id="line-content"> multimethod generic.math-functions Return the square of x.. -</span></span><span id="section-content"> <a href="generic.math-functions-api.html#clojure.contrib.generic.math-functions/sqrt">sqrt</a><span id="line-content"> multimethod generic.math-functions Return the sqrt of x.. -</span></span><span id="section-content"> <a href="math-api.html#clojure.contrib.math/sqrt">sqrt</a><span id="line-content"> multimethod math Square root, but returns exact number if possible.. -</span></span><span id="section-content"> <a href="condition-api.html#clojure.contrib.condition/stack-trace-info">stack-trace-info</a><span id="line-content"> multimethod condition Returns header, stack-trace, and cause info from c... -</span></span><span id="section-content"> <a href="repl-utils-api.html#clojure.contrib.repl-utils/start-handling-break">start-handling-break</a><span id="line-content"> function repl-utils Register INT signal handler. After calling this, ... -</span></span><span id="section-content"> <a href="monads-api.html#clojure.contrib.monads/state-m">state-m</a><span id="line-content"> var monads Monad describing stateful computations. The monadi... -</span></span><span id="section-content"> <a href="monads-api.html#clojure.contrib.monads/state-m-until">state-m-until</a><span id="line-content"> function monads An optimized implementation of m-until for the sta... -</span></span><span id="section-content"> <a href="monads-api.html#clojure.contrib.monads/state-t">state-t</a><span id="line-content"> function monads Monad transformer that transforms a monad m into a... -</span></span><span id="section-content"> <a href="http.agent-api.html#clojure.contrib.http.agent/status">status</a><span id="line-content"> function http.agent Returns the HTTP response status code (e.g. 200, 4... -</span></span><span id="section-content"> <a href="str-utils-api.html#clojure.contrib.str-utils/str-join">str-join</a><span id="line-content"> function str-utils Returns a string of all elements in 'sequence', se... -</span></span><span id="section-content"> <a href="graph-api.html#clojure.contrib.graph/stratification-list">stratification-list</a><span id="line-content"> function graph Similar to dependency-list (see doc), except two g... -</span></span><span id="section-content"> <a href="http.agent-api.html#clojure.contrib.http.agent/stream">stream</a><span id="line-content"> function http.agent Returns an InputStream of the HTTP response body. ... -</span></span><span id="section-content"> <a href="stream-utils-api.html#clojure.contrib.stream-utils/stream-drop">stream-drop</a><span id="line-content"> function stream-utils Return a stream containing all but the first n ele... -</span></span><span id="section-content"> <a href="stream-utils-api.html#clojure.contrib.stream-utils/stream-filter">stream-filter</a><span id="line-content"> multimethod stream-utils Return a new stream that contrains the elements of... -</span></span><span id="section-content"> <a href="stream-utils-api.html#clojure.contrib.stream-utils/stream-flatten">stream-flatten</a><span id="line-content"> function stream-utils Converts a stream of sequences into a stream of th... -</span></span><span id="section-content"> <a href="stream-utils-api.html#clojure.contrib.stream-utils/stream-m">stream-m</a><span id="line-content"> var stream-utils Monad describing stream computations. The monadic ... -</span></span><span id="section-content"> <a href="stream-utils-api.html#clojure.contrib.stream-utils/stream-map">stream-map</a><span id="line-content"> multimethod stream-utils Return a new stream by mapping the function f on t... -</span></span><span id="section-content"> <a href="stream-utils-api.html#clojure.contrib.stream-utils/stream-next">stream-next</a><span id="line-content"> multimethod stream-utils Returns a vector [next-value new-state] where next... -</span></span><span id="section-content"> <a href="repl-ln-api.html#clojure.contrib.repl-ln/stream-repl">stream-repl</a><span id="line-content"> function repl-ln Repl entry point that provides convenient overridi... -</span></span><span id="section-content"> <a href="stream-utils-api.html#clojure.contrib.stream-utils/stream-seq">stream-seq</a><span id="line-content"> function stream-utils Return a lazy seq on the stream. Also accessible v... -</span></span><span id="section-content"> <a href="stream-utils-api.html#clojure.contrib.stream-utils/stream-type">stream-type</a><span id="line-content"> var stream-utils The root type for the stream hierarchy. For each s... -</span></span><span id="section-content"> <a href="http.agent-api.html#clojure.contrib.http.agent/string">string</a><span id="line-content"> function http.agent Returns the HTTP response body as a string, using ... -</span></span><span id="section-content"> <a href="set-api.html#clojure.contrib.set/subset?">subset?</a><span id="line-content"> function set Is set1 a subset of set2?. -</span></span><span id="section-content"> <a href="combinatorics-api.html#clojure.contrib.combinatorics/subsets">subsets</a><span id="line-content"> function combinatorics All the subsets of items. -</span></span><span id="section-content"> <a href="string-api.html#clojure.contrib.string/substring?">substring?</a><span id="line-content"> function string True if s contains the substring.. -</span></span><span id="section-content"> <a href="http.agent-api.html#clojure.contrib.http.agent/success?">success?</a><span id="line-content"> function http.agent Returns true if the HTTP response code was in the ... -</span></span><span id="section-content"> <a href="test-is-api.html#clojure.contrib.test-is/successful?">successful?</a><span id="line-content"> function test-is Returns true if the given test summary indicates a... -</span></span><span id="section-content"> <a href="profile-api.html#clojure.contrib.profile/summarize">summarize</a><span id="line-content"> function profile Takes the raw data returned by with-profile-data a... -</span></span><span id="section-content"> <a href="set-api.html#clojure.contrib.set/superset?">superset?</a><span id="line-content"> function set Is set1 a superset of set2?. -</span></span><span id="section-content"> <a href="str-utils2-api.html#clojure.contrib.str-utils2/swap-case">swap-case</a><span id="line-content"> function str-utils2 Changes upper case characters to lower case and vi... -</span></span><span id="section-content"> <a href="string-api.html#clojure.contrib.string/swap-case">swap-case</a><span id="line-content"> function string Changes upper case characters to lower case and vi... -</span></span><span id="section-content"> <a href="macro-utils-api.html#clojure.contrib.macro-utils/symbol-macrolet">symbol-macrolet</a><span id="line-content"> macro macro-utils Define local symbol macros that are used in the ex... -</span></span></pre> +</pre> </div><div id="index-body"> <h2 id="T"><span id="section-head">T</span></h2> <pre> -<span id="section-content"> <a href="trace-api.html#clojure.contrib.trace/*trace-depth*">*trace-depth*</a><span id="line-content"> var trace Current stack depth of traced function calls.. -</span></span><span id="section-content"> <a href="str-utils2-api.html#clojure.contrib.str-utils2/tail">tail</a><span id="line-content"> function str-utils2 Returns the last n characters of s.. -</span></span><span id="section-content"> <a href="string-api.html#clojure.contrib.string/tail">tail</a><span id="line-content"> function string Returns the last n characters of s.. -</span></span><span id="section-content"> <a href="str-utils2-api.html#clojure.contrib.str-utils2/take">take</a><span id="line-content"> function str-utils2 Take first n characters from s, up to the length o... -</span></span><span id="section-content"> <a href="string-api.html#clojure.contrib.string/take">take</a><span id="line-content"> function string Take first n characters from s, up to the length o... -</span></span><span id="section-content"> <a href="generic.math-functions-api.html#clojure.contrib.generic.math-functions/tan">tan</a><span id="line-content"> multimethod generic.math-functions Return the tan of x.. -</span></span><span id="section-content"> <a href="test-is-api.html#clojure.contrib.test-is/template?">template?</a><span id="line-content"> function test-is Returns true if form is a valid template expressio... -</span></span><span id="section-content"> <a href="test-is-api.html#clojure.contrib.test-is/test-all-vars">test-all-vars</a><span id="line-content"> function test-is Calls test-var on every var interned in the namesp... -</span></span><span id="section-content"> <a href="test-is-api.html#clojure.contrib.test-is/test-ns">test-ns</a><span id="line-content"> function test-is If the namespace defines a function named test-ns-... -</span></span><span id="section-content"> <a href="test-is-api.html#clojure.contrib.test-is/test-var">test-var</a><span id="line-content"> function test-is If v has a function in its :test metadata, calls t... -</span></span><span id="section-content"> <a href="test-is-api.html#clojure.contrib.test-is/testing">testing</a><span id="line-content"> macro test-is Adds a new string to the list of testing contexts.... -</span></span><span id="section-content"> <a href="test-is-api.html#clojure.contrib.test-is/testing-contexts-str">testing-contexts-str</a><span id="line-content"> function test-is Returns a string representation of the current tes... -</span></span><span id="section-content"> <a href="test-is-api.html#clojure.contrib.test-is/testing-vars-str">testing-vars-str</a><span id="line-content"> function test-is Returns a string representation of the current tes... -</span></span><span id="section-content"> <a href="except-api.html#clojure.contrib.except/throw-arg">throw-arg</a><span id="line-content"> function except Throws an IllegalArgumentException. All arguments ... -</span></span><span id="section-content"> <a href="except-api.html#clojure.contrib.except/throw-if">throw-if</a><span id="line-content"> function except Throws an Exception or Error if test is true. args... -</span></span><span id="section-content"> <a href="except-api.html#clojure.contrib.except/throw-if-not">throw-if-not</a><span id="line-content"> function except Throws an Exception or Error if test is false. arg... -</span></span><span id="section-content"> <a href="error-kit-api.html#clojure.contrib.error-kit/throw-msg">throw-msg</a><span id="line-content"> macro error-kit Returns a function that throws a Java Exception wi... -</span></span><span id="section-content"> <a href="except-api.html#clojure.contrib.except/throwf">throwf</a><span id="line-content"> function except Throws an Exception or Error with an optional mess... -</span></span><span id="section-content"> <a href="mock-api.html#clojure.contrib.mock/times">times</a><span id="line-content"> macro mock Creates or associates to an existing expectation h... -</span></span><span id="section-content"> <a href="duck-streams-api.html#clojure.contrib.duck-streams/to-byte-array">to-byte-array</a><span id="line-content"> multimethod duck-streams Converts argument into a Java byte array. Argumen... -</span></span><span id="section-content"> <a href="io-api.html#clojure.contrib.io/to-byte-array">to-byte-array</a><span id="line-content"> function io Converts argument into a Java byte array. Argumen... -</span></span><span id="section-content"> <a href="logging-api.html#clojure.contrib.logging/trace">trace</a><span id="line-content"> macro logging Logs a message at the trace level.. -</span></span><span id="section-content"> <a href="trace-api.html#clojure.contrib.trace/trace">trace</a><span id="line-content"> function trace Sends name (optional) and value to the tracer func... -</span></span><span id="section-content"> <a href="trace-api.html#clojure.contrib.trace/trace-fn-call">trace-fn-call</a><span id="line-content"> function trace Traces a single call to a function f with args. '... -</span></span><span id="section-content"> <a href="trace-api.html#clojure.contrib.trace/trace-indent">trace-indent</a><span id="line-content"> function trace Returns an indentation string based on *trace-dept... -</span></span><span id="section-content"> <a href="trace-api.html#clojure.contrib.trace/tracer">tracer</a><span id="line-content"> function trace This function is called by trace. Prints to stand... -</span></span><span id="section-content"> <a href="sql-api.html#clojure.contrib.sql/transaction">transaction</a><span id="line-content"> macro sql Evaluates body as a transaction on the open databa... -</span></span><span id="section-content"> <a href="graph-api.html#clojure.contrib.graph/transitive-closure">transitive-closure</a><span id="line-content"> function graph Returns the transitive closure of a graph. The ne... -</span></span><span id="section-content"> <a href="str-utils2-api.html#clojure.contrib.str-utils2/trim">trim</a><span id="line-content"> function str-utils2 Removes whitespace from both ends of string.. -</span></span><span id="section-content"> <a href="string-api.html#clojure.contrib.string/trim">trim</a><span id="line-content"> function string Removes whitespace from both ends of string.. -</span></span><span id="section-content"> <a href="test-is-api.html#clojure.contrib.test-is/try-expr">try-expr</a><span id="line-content"> macro test-is Used by the 'is' macro to catch unexpected excepti... -</span></span></pre> +</pre> </div><div id="index-body"> <h2 id="U"><span id="section-head">U</span></h2> <pre> -<span id="section-content"> <a href="probabilities.finite-distributions-api.html#clojure.contrib.probabilities.finite-distributions/uniform">uniform</a><span id="line-content"> function probabilities.finite-distributions Return a distribution in which eac... -</span></span><span id="section-content"> <a href="sql-api.html#clojure.contrib.sql/update-or-insert-values">update-or-insert-values</a><span id="line-content"> function sql Updates values on selected rows in a table, or ins... -</span></span><span id="section-content"> <a href="monads-api.html#clojure.contrib.monads/update-state">update-state</a><span id="line-content"> function monads Return a state-monad function that replaces the cu... -</span></span><span id="section-content"> <a href="monads-api.html#clojure.contrib.monads/update-val">update-val</a><span id="line-content"> function monads Return a state-monad function that assumes the sta... -</span></span><span id="section-content"> <a href="dataflow-api.html#clojure.contrib.dataflow/update-values">update-values</a><span id="line-content"> function dataflow Given a dataflow, and a map of name-value pairs, u... -</span></span><span id="section-content"> <a href="sql-api.html#clojure.contrib.sql/update-values">update-values</a><span id="line-content"> function sql Updates values on selected rows in a table. where-... -</span></span><span id="section-content"> <a href="str-utils2-api.html#clojure.contrib.str-utils2/upper-case">upper-case</a><span id="line-content"> function str-utils2 Converts string to all upper-case.. -</span></span><span id="section-content"> <a href="string-api.html#clojure.contrib.string/upper-case">upper-case</a><span id="line-content"> function string Converts string to all upper-case.. -</span></span><span id="section-content"> <a href="test-is-api.html#clojure.contrib.test-is/use-fixtures">use-fixtures</a><span id="line-content"> multimethod test-is Wrap test runs in a fixture function to perform se... -</span></span><span id="section-content"> <a href="pprint-api.html#clojure.contrib.pprint/use-method">use-method</a><span id="line-content"> function pprint Installs a function as a new method of multimethod... -</span></span></pre> +</pre> </div><div id="index-body"> <h2 id="V"><span id="section-head">V</span></h2> <pre> -<span id="section-content"> <a href="mock-api.html#clojure.contrib.mock/validate-counts">validate-counts</a><span id="line-content"> function mock given the sequence of all mock data for the expect... -</span></span><span id="section-content"> <a href="ns-utils-api.html#clojure.contrib.ns-utils/vars">vars</a><span id="line-content"> macro ns-utils Returns a sorted seq of symbols naming public vars... -</span></span></pre> +</pre> </div><div id="index-body"> <h2 id="W"><span id="section-head">W</span></h2> <pre> -<span id="section-content"> <a href="java-utils-api.html#clojure.contrib.java-utils/wall-hack-field">wall-hack-field</a><span id="line-content"> function java-utils Access to private or protected field.. -</span></span><span id="section-content"> <a href="java-utils-api.html#clojure.contrib.java-utils/wall-hack-method">wall-hack-method</a><span id="line-content"> function java-utils Calls a private or protected method. params is a v... -</span></span><span id="section-content"> <a href="logging-api.html#clojure.contrib.logging/warn">warn</a><span id="line-content"> macro logging Logs a message at the warn level.. -</span></span><span id="section-content"> <a href="command-line-api.html#clojure.contrib.command-line/with-command-line">with-command-line</a><span id="line-content"> macro command-line Bind locals to command-line args.. -</span></span><span id="section-content"> <a href="jmx-api.html#clojure.contrib.jmx/with-connection">with-connection</a><span id="line-content"> macro jmx Execute body with JMX connection specified by opts... -</span></span><span id="section-content"> <a href="sql-api.html#clojure.contrib.sql/with-connection">with-connection</a><span id="line-content"> macro sql Evaluates body in the context of a new connection ... -</span></span><span id="section-content"> <a href="macros-api.html#clojure.contrib.macros/with-direct-linking">with-direct-linking</a><span id="line-content"> macro macros EXPERIMENTAL! Compiles the functions in body with ... -</span></span><span id="section-content"> <a href="error-kit-api.html#clojure.contrib.error-kit/with-handler">with-handler</a><span id="line-content"> macro error-kit This is error-kit's dynamic scope form. The body ... -</span></span><span id="section-content"> <a href="duck-streams-api.html#clojure.contrib.duck-streams/with-in-reader">with-in-reader</a><span id="line-content"> macro duck-streams Opens a PushbackReader on f, binds it to *in*, and... -</span></span><span id="section-content"> <a href="io-api.html#clojure.contrib.io/with-in-reader">with-in-reader</a><span id="line-content"> macro io Opens a PushbackReader on f, binds it to *in*, and... -</span></span><span id="section-content"> <a href="monadic-io-streams-api.html#clojure.contrib.monadic-io-streams/with-io-streams">with-io-streams</a><span id="line-content"> function monadic-io-streams Open one or more streams as specified by io-spec, ... -</span></span><span id="section-content"> <a href="logging-api.html#clojure.contrib.logging/with-logs">with-logs</a><span id="line-content"> macro logging Evaluates exprs in a context in which *out* and *e... -</span></span><span id="section-content"> <a href="monads-api.html#clojure.contrib.monads/with-monad">with-monad</a><span id="line-content"> macro monads Evaluates an expression after replacing the keywor... -</span></span><span id="section-content"> <a href="with-ns-api.html#clojure.contrib.with-ns/with-ns">with-ns</a><span id="line-content"> macro with-ns Evaluates body in another namespace. ns is either... -</span></span><span id="section-content"> <a href="duck-streams-api.html#clojure.contrib.duck-streams/with-out-append-writer">with-out-append-writer</a><span id="line-content"> macro duck-streams Like with-out-writer but appends to file.. -</span></span><span id="section-content"> <a href="io-api.html#clojure.contrib.io/with-out-append-writer">with-out-append-writer</a><span id="line-content"> macro io Like with-out-writer but appends to file.. -</span></span><span id="section-content"> <a href="duck-streams-api.html#clojure.contrib.duck-streams/with-out-writer">with-out-writer</a><span id="line-content"> macro duck-streams Opens a writer on f, binds it to *out*, and evalut... -</span></span><span id="section-content"> <a href="io-api.html#clojure.contrib.io/with-out-writer">with-out-writer</a><span id="line-content"> macro io Opens a writer on f, binds it to *out*, and evalut... -</span></span><span id="section-content"> <a href="pprint-api.html#clojure.contrib.pprint/with-pprint-dispatch">with-pprint-dispatch</a><span id="line-content"> macro pprint Execute body with the pretty print dispatch functi... -</span></span><span id="section-content"> <a href="profile-api.html#clojure.contrib.profile/with-profile-data">with-profile-data</a><span id="line-content"> macro profile Executes body with *profile-data* bound to an atom... -</span></span><span id="section-content"> <a href="sql-api.html#clojure.contrib.sql/with-query-results">with-query-results</a><span id="line-content"> macro sql Executes a query, then evaluates body with results... -</span></span><span id="section-content"> <a href="monadic-io-streams-api.html#clojure.contrib.monadic-io-streams/with-reader">with-reader</a><span id="line-content"> function monadic-io-streams Create a reader from reader-spec, run the monadic ... -</span></span><span id="section-content"> <a href="monads-api.html#clojure.contrib.monads/with-state-field">with-state-field</a><span id="line-content"> function monads Returns a state-monad function that expects a map ... -</span></span><span id="section-content"> <a href="macro-utils-api.html#clojure.contrib.macro-utils/with-symbol-macros">with-symbol-macros</a><span id="line-content"> macro macro-utils Fully expand exprs, including symbol macros.. -</span></span><span id="section-content"> <a href="java-utils-api.html#clojure.contrib.java-utils/with-system-properties">with-system-properties</a><span id="line-content"> macro java-utils setting => property-name value Sets the system pr... -</span></span><span id="section-content"> <a href="properties-api.html#clojure.contrib.properties/with-system-properties">with-system-properties</a><span id="line-content"> macro properties setting => property-name value Sets the system pr... -</span></span><span id="section-content"> <a href="with-ns-api.html#clojure.contrib.with-ns/with-temp-ns">with-temp-ns</a><span id="line-content"> macro with-ns Evaluates body in an anonymous namespace, which is... -</span></span><span id="section-content"> <a href="test-is-api.html#clojure.contrib.test-is/with-test">with-test</a><span id="line-content"> macro test-is Takes any definition form (that returns a Var) as ... -</span></span><span id="section-content"> <a href="test-is-api.html#clojure.contrib.test-is/with-test-out">with-test-out</a><span id="line-content"> macro test-is Runs body with *out* bound to the value of *test-o... -</span></span><span id="section-content"> <a href="monadic-io-streams-api.html#clojure.contrib.monadic-io-streams/with-writer">with-writer</a><span id="line-content"> function monadic-io-streams Create a writer from writer-spec, run the monadic ... -</span></span><span id="section-content"> <a href="monadic-io-streams-api.html#clojure.contrib.monadic-io-streams/write">write</a><span id="line-content"> function monadic-io-streams Write text (a string). -</span></span><span id="section-content"> <a href="pprint-api.html#clojure.contrib.pprint/write">write</a><span id="line-content"> function pprint Write an object subject to the current bindings of... -</span></span><span id="section-content"> <a href="json-api.html#clojure.contrib.json/write-json">write-json</a><span id="line-content"> function json Print object to PrintWriter out as JSON. -</span></span><span id="section-content"> <a href="duck-streams-api.html#clojure.contrib.duck-streams/write-lines">write-lines</a><span id="line-content"> function duck-streams Writes lines (a seq) to f, separated by newlines. ... -</span></span><span id="section-content"> <a href="io-api.html#clojure.contrib.io/write-lines">write-lines</a><span id="line-content"> function io Writes lines (a seq) to f, separated by newlines. ... -</span></span><span id="section-content"> <a href="pprint-api.html#clojure.contrib.pprint/write-out">write-out</a><span id="line-content"> function pprint Write an object to *out* subject to the current bi... -</span></span><span id="section-content"> <a href="java-utils-api.html#clojure.contrib.java-utils/write-properties">write-properties</a><span id="line-content"> function java-utils Write properties to file-able.. -</span></span><span id="section-content"> <a href="properties-api.html#clojure.contrib.properties/write-properties">write-properties</a><span id="line-content"> function properties Write properties to file-able.. -</span></span><span id="section-content"> <a href="duck-streams-api.html#clojure.contrib.duck-streams/writer">writer</a><span id="line-content"> multimethod duck-streams Attempts to coerce its argument into an open java.... -</span></span><span id="section-content"> <a href="io-api.html#clojure.contrib.io/writer">writer</a><span id="line-content"> function io Attempts to coerce its argument into an open java.... -</span></span><span id="section-content"> <a href="monads-api.html#clojure.contrib.monads/writer-m">writer-m</a><span id="line-content"> function monads Monad describing computations that accumulate data... -</span></span></pre> +</pre> </div><div id="index-body"> <h2 id="X"><span id="section-head">X</span></h2> <pre> @@ -897,26 +183,11 @@ Shortcuts:<br /> </div><div id="index-body"> <h2 id="Z"><span id="section-head">Z</span></h2> <pre> -<span id="section-content"> <a href="generic.comparison-api.html#clojure.contrib.generic.comparison/zero?">zero?</a><span id="line-content"> multimethod generic.comparison Return true of x is zero.. -</span></span><span id="section-content"> <a href="probabilities.finite-distributions-api.html#clojure.contrib.probabilities.finite-distributions/zipf">zipf</a><span id="line-content"> function probabilities.finite-distributions Returns the Zipf distribution in w... -</span></span></pre> +</pre> </div><div id="index-body"> <h2 id="Other"><span id="section-head">Other</span></h2> <pre> -<span id="section-content"> <a href="generic.arithmetic-api.html#clojure.contrib.generic.arithmetic/*">*</a><span id="line-content"> multimethod generic.arithmetic Return the product of all arguments. The minimal i... -</span></span><span id="section-content"> <a href="generic.arithmetic-api.html#clojure.contrib.generic.arithmetic/+">+</a><span id="line-content"> multimethod generic.arithmetic Return the sum of all arguments. The minimal imple... -</span></span><span id="section-content"> <a href="generic.arithmetic-api.html#clojure.contrib.generic.arithmetic/-">-</a><span id="line-content"> multimethod generic.arithmetic Return the difference of the first argument and th... -</span></span><span id="section-content"> <a href="core-api.html#clojure.contrib.core/-?>">-?></a><span id="line-content"> macro core Same as clojure.core/-> but returns nil as soon as... -</span></span><span id="section-content"> <a href="core-api.html#clojure.contrib.core/-?>>">-?>></a><span id="line-content"> macro core Same as clojure.core/->> but returns nil as soon a... -</span></span><span id="section-content"> <a href="core-api.html#clojure.contrib.core/.?.">.?.</a><span id="line-content"> macro core Same as clojure.core/.. but returns nil as soon as... -</span></span><span id="section-content"> <a href="generic.arithmetic-api.html#clojure.contrib.generic.arithmetic//">/</a><span id="line-content"> multimethod generic.arithmetic Return the quotient of the first argument and the ... -</span></span><span id="section-content"> <a href="generic.comparison-api.html#clojure.contrib.generic.comparison/<"><</a><span id="line-content"> multimethod generic.comparison Return true if each argument is smaller than the f... -</span></span><span id="section-content"> <a href="strint-api.html#clojure.contrib.strint/<<"><<</a><span id="line-content"> macro strint Takes a single string argument and emits a str inv... -</span></span><span id="section-content"> <a href="generic.comparison-api.html#clojure.contrib.generic.comparison/<="><=</a><span id="line-content"> multimethod generic.comparison Return true if each arguments is smaller than or e... -</span></span><span id="section-content"> <a href="generic.comparison-api.html#clojure.contrib.generic.comparison/=">=</a><span id="line-content"> multimethod generic.comparison Return true if all arguments are equal. The minima... -</span></span><span id="section-content"> <a href="generic.comparison-api.html#clojure.contrib.generic.comparison/>">></a><span id="line-content"> multimethod generic.comparison Return true if each argument is larger than the fo... -</span></span><span id="section-content"> <a href="generic.comparison-api.html#clojure.contrib.generic.comparison/>=">>=</a><span id="line-content"> multimethod generic.comparison Return true if each argument is larger than or equ... -</span></span></pre> +</pre> </div> <style type="text/css"> #AllContentContainer {min-width: 96em;} diff --git a/branch-master/apply-macro-api.html b/branch-master/apply-macro-api.html deleted file mode 100644 index f3cebeac..00000000 --- a/branch-master/apply-macro-api.html +++ /dev/null @@ -1,119 +0,0 @@ -<html> - <head> - <title>apply-macro - clojure-contrib next API documentation</title> - <link href="../static/favicon.png" rel="icon" /> - <link href="../static/favicon.png" rel="shortcut icon" /> - <link media="all" type="text/css" href="../static/clojure.css" rel="stylesheet" /> - <link media="all" type="text/css" href="../static/wiki.css" rel="stylesheet" /> - <link media="all" type="text/css" href="../static/internal.css" rel="stylesheet" /> - <!-- TODO: are we using these (from clojure.org)? If so, add the files --> - <script src="file/view/code_highlighter.js" type="text/javascript"></script> - <script src="file/view/clojure.js" type="text/javascript"></script> - <style>.menuWrapper{height: 36px;}</style> - <!--[if lte IE 6]> - <link rel="stylesheet" href="http://www.wikispaces.com/_/2009051601/s/internal_ie.css" type="text/css" /> - <![endif]--> - </head> -<!-- -This document was auto-generated from the source by the clojure autodoc system. -To report errors or ask questions about the overall documentation structure, formatting, -etc., contact Tom Faulhaber (google mail name: tomfaulhaber). -For errors in the documentation of a particular namespace, contact the author of that -namespace. ---> - <body> - <div id="AllContentContainer"> - <div id="Header"> - <a id="Logo" href="index.html"><img alt="Clojure" height="100" width="100" src="../static/clojure-icon.gif" /></a> - <h1><a title="page header title" id="page-header" href="index.html">Clojure-contrib API Reference</a></h1> - </div> - <div id="leftcolumn"><div style="text-align: center;"></div> -<div class="menu"> - <div class="WikiCustomNav WikiElement wiki"> - <span class="toc-header"><span id="project-name">clojure-contrib</span> <span id="version">next</span> API</span><br /> - <ul> - <li><a class="wiki_link" href="index.html">Overview</a></li> - <li><a class="wiki_link" href="api-index.html">API Index</a></li> - </ul> - <span class="toc-header">Namespaces</span> - <ul id="left-sidebar-list"> - <li><a href="accumulators-api.html" class="wiki_link">accumulators</a></li><li><a href="agent-utils-api.html" class="wiki_link">agent-utils</a></li><li><a href="apply-macro-api.html" class="wiki_link">apply-macro</a></li><li><a href="base64-api.html" class="wiki_link">base64</a></li><li><a href="classpath-api.html" class="wiki_link">classpath</a></li><li><a href="combinatorics-api.html" class="wiki_link">combinatorics</a></li><li><a href="command-line-api.html" class="wiki_link">command-line</a></li><li><a href="complex-numbers-api.html" class="wiki_link">complex-numbers</a></li><li><a href="cond-api.html" class="wiki_link">cond</a></li><li><a href="condition-api.html" class="wiki_link">condition</a></li><li><a href="core-api.html" class="wiki_link">core</a></li><li><a href="dataflow-api.html" class="wiki_link">dataflow</a></li><li><a href="datalog-api.html" class="wiki_link">datalog</a></li><li><a href="def-api.html" class="wiki_link">def</a></li><li><a href="duck-streams-api.html" class="wiki_link">duck-streams</a></li><li><a href="error-kit-api.html" class="wiki_link">error-kit</a></li><li><a href="except-api.html" class="wiki_link">except</a></li><li><a href="fcase-api.html" class="wiki_link">fcase</a></li><li><a href="find-namespaces-api.html" class="wiki_link">find-namespaces</a></li><li><a href="fnmap-api.html" class="wiki_link">fnmap</a></li><li><a href="gen-html-docs-api.html" class="wiki_link">gen-html-docs</a></li><li><a href="generic.arithmetic-api.html" class="wiki_link">generic.arithmetic</a></li><li><a href="generic.collection-api.html" class="wiki_link">generic.collection</a></li><li><a href="generic.comparison-api.html" class="wiki_link">generic.comparison</a></li><li><a href="generic.functor-api.html" class="wiki_link">generic.functor</a></li><li><a href="generic.math-functions-api.html" class="wiki_link">generic.math-functions</a></li><li><a href="graph-api.html" class="wiki_link">graph</a></li><li><a href="greatest-least-api.html" class="wiki_link">greatest-least</a></li><li><a href="http.agent-api.html" class="wiki_link">http.agent</a></li><li><a href="http.connection-api.html" class="wiki_link">http.connection</a></li><li><a href="import-static-api.html" class="wiki_link">import-static</a></li><li><a href="io-api.html" class="wiki_link">io</a></li><li><a href="jar-api.html" class="wiki_link">jar</a></li><li><a href="java-utils-api.html" class="wiki_link">java-utils</a></li><li><a href="javadoc.browse-api.html" class="wiki_link">javadoc.browse</a></li><li><a href="jmx-api.html" class="wiki_link">jmx</a></li><li><a href="json-api.html" class="wiki_link">json</a></li><li><a href="lazy-seqs-api.html" class="wiki_link">lazy-seqs</a></li><li><a href="lazy-xml-api.html" class="wiki_link">lazy-xml</a></li><li><a href="logging-api.html" class="wiki_link">logging</a></li><li><a href="macro-utils-api.html" class="wiki_link">macro-utils</a></li><li><a href="macros-api.html" class="wiki_link">macros</a></li><li><a href="map-utils-api.html" class="wiki_link">map-utils</a></li><li><a href="math-api.html" class="wiki_link">math</a></li><li><a href="miglayout-api.html" class="wiki_link">miglayout</a></li><li><a href="mmap-api.html" class="wiki_link">mmap</a></li><li><a href="mock-api.html" class="wiki_link">mock</a></li><li><a href="monadic-io-streams-api.html" class="wiki_link">monadic-io-streams</a></li><li><a href="monads-api.html" class="wiki_link">monads</a></li><li><a href="ns-utils-api.html" class="wiki_link">ns-utils</a></li><li><a href="pprint-api.html" class="wiki_link">pprint</a></li><li><a href="priority-map-api.html" class="wiki_link">priority-map</a></li><li><a href="probabilities.finite-distributions-api.html" class="wiki_link">probabilities.finite-distributions</a></li><li><a href="probabilities.monte-carlo-api.html" class="wiki_link">probabilities.monte-carlo</a></li><li><a href="probabilities.random-numbers-api.html" class="wiki_link">probabilities.random-numbers</a></li><li><a href="profile-api.html" class="wiki_link">profile</a></li><li><a href="properties-api.html" class="wiki_link">properties</a></li><li><a href="prxml-api.html" class="wiki_link">prxml</a></li><li><a href="reflect-api.html" class="wiki_link">reflect</a></li><li><a href="repl-ln-api.html" class="wiki_link">repl-ln</a></li><li><a href="repl-utils-api.html" class="wiki_link">repl-utils</a></li><li><a href="seq-api.html" class="wiki_link">seq</a></li><li><a href="seq-utils-api.html" class="wiki_link">seq-utils</a></li><li><a href="server-socket-api.html" class="wiki_link">server-socket</a></li><li><a href="set-api.html" class="wiki_link">set</a></li><li><a href="shell-api.html" class="wiki_link">shell</a></li><li><a href="shell-out-api.html" class="wiki_link">shell-out</a></li><li><a href="singleton-api.html" class="wiki_link">singleton</a></li><li><a href="sql-api.html" class="wiki_link">sql</a></li><li><a href="str-utils-api.html" class="wiki_link">str-utils</a></li><li><a href="str-utils2-api.html" class="wiki_link">str-utils2</a></li><li><a href="stream-utils-api.html" class="wiki_link">stream-utils</a></li><li><a href="string-api.html" class="wiki_link">string</a></li><li><a href="strint-api.html" class="wiki_link">strint</a></li><li><a href="swing-utils-api.html" class="wiki_link">swing-utils</a></li><li><a href="test-is-api.html" class="wiki_link">test-is</a></li><li><a href="trace-api.html" class="wiki_link">trace</a></li><li><a href="types-api.html" class="wiki_link">types</a></li><li><a href="with-ns-api.html" class="wiki_link">with-ns</a></li><li><a href="zip-filter-api.html" class="wiki_link">zip-filter</a></li> - </ul> - <div class="BranchTOC"> - <span class="toc-header">Other Versions</span> - <ul id="left-sidebar-branch-list"> - <li><a href="../index.html" class="wiki_link">v1.2 (beta 1)</a></li><li><a href="../branch-1.1.x/index.html" class="wiki_link">v1.1 (stable)</a></li> - </ul> - </div> - <a href="http://clojure.org" class="wiki_link">Clojure Home</a> - </div> -</div> -</div> - <div id="rightcolumn"> - <div id="Content"> - <div class="contentBox"><div class="innerContentBox"> - <div id="content_view" class="wiki wikiPage"> - <div id="right-sidebar"><div id="toc"> - <h1 class="nopad">Table of Contents</h1> - <div style="margin-left: 1em;" class="toc-section"> - <a href="#toc0">Overview</a> - <div style="margin-left: 1em;" class="toc-entry"> - <a href="#clojure.contrib.apply-macro/apply-macro">apply-macro</a> - </div> - <br /> - </div> -</div> -</div> - <div id="content-tag"><h1 id="overview">API for <span id="namespace-name">apply-macro</span> - - <span id="header-project">clojure-contrib</span> <span id="header-version">next</span> (<span id="header-status">in development</span>) - </h1> - -<br />Usage: -<pre> -(ns your-namespace - (:require <span id="long-name">clojure.contrib.apply-macro</span>)) -</pre><pre> -</pre><h2>Overview</h2> -<pre id="namespace-docstr"></pre> - -<span class="ns-deprecated"><span id="content">Deprecated since clojure-contrib version 1.2</span><br /></span> -<br /> -<h2>Public Variables and Functions</h2> -<div id="var-entry"> - <br /> - <hr /> - <h2 id="clojure.contrib.apply-macro/apply-macro">apply-macro</h2> - <span id="var-type">macro</span><br /> - <pre id="var-usage">Usage: (apply-macro macro & args) -</pre> - <pre id="var-docstr">This is evil. Don't ever use it. It makes a macro behave like a -function. Seriously, how messed up is that? - -Evaluates all args, then uses them as arguments to the macro as with -apply. - -(def things [true true false]) -(apply-macro and things) -;; Expands to: (and true true false)</pre> - - - <a href="http://github.com/richhickey/clojure-contrib/blob/d5314e50dc0b78c1f7c97e049c4bc209dc00f39b/src/main/clojure/clojure/contrib/apply_macro.clj#L34" id="var-source">Source</a> -</div> - - -</div> - </div> - </div> - </div> - </div> - <div id="foot"> - <div style="text-align: center;" id="copyright">Copyright 2007-2009 by Rich Hickey and the various contributors</div> - </div> - </div> - <div id="DesignedBy">Logo & site design by <a title="Visit Tom Hickey's website." href="http://www.tomhickey.com">Tom Hickey</a>.<br /> - Clojure auto-documentation system by Tom Faulhaber.</div> - </div> - <!-- /AllContentContainer --> - </body> - -</html>
\ No newline at end of file diff --git a/branch-master/base64-api.html b/branch-master/base64-api.html deleted file mode 100644 index 26202d68..00000000 --- a/branch-master/base64-api.html +++ /dev/null @@ -1,132 +0,0 @@ -<html> - <head> - <title>base64 - clojure-contrib next API documentation</title> - <link href="../static/favicon.png" rel="icon" /> - <link href="../static/favicon.png" rel="shortcut icon" /> - <link media="all" type="text/css" href="../static/clojure.css" rel="stylesheet" /> - <link media="all" type="text/css" href="../static/wiki.css" rel="stylesheet" /> - <link media="all" type="text/css" href="../static/internal.css" rel="stylesheet" /> - <!-- TODO: are we using these (from clojure.org)? If so, add the files --> - <script src="file/view/code_highlighter.js" type="text/javascript"></script> - <script src="file/view/clojure.js" type="text/javascript"></script> - <style>.menuWrapper{height: 36px;}</style> - <!--[if lte IE 6]> - <link rel="stylesheet" href="http://www.wikispaces.com/_/2009051601/s/internal_ie.css" type="text/css" /> - <![endif]--> - </head> -<!-- -This document was auto-generated from the source by the clojure autodoc system. -To report errors or ask questions about the overall documentation structure, formatting, -etc., contact Tom Faulhaber (google mail name: tomfaulhaber). -For errors in the documentation of a particular namespace, contact the author of that -namespace. ---> - <body> - <div id="AllContentContainer"> - <div id="Header"> - <a id="Logo" href="index.html"><img alt="Clojure" height="100" width="100" src="../static/clojure-icon.gif" /></a> - <h1><a title="page header title" id="page-header" href="index.html">Clojure-contrib API Reference</a></h1> - </div> - <div id="leftcolumn"><div style="text-align: center;"></div> -<div class="menu"> - <div class="WikiCustomNav WikiElement wiki"> - <span class="toc-header"><span id="project-name">clojure-contrib</span> <span id="version">next</span> API</span><br /> - <ul> - <li><a class="wiki_link" href="index.html">Overview</a></li> - <li><a class="wiki_link" href="api-index.html">API Index</a></li> - </ul> - <span class="toc-header">Namespaces</span> - <ul id="left-sidebar-list"> - <li><a href="accumulators-api.html" class="wiki_link">accumulators</a></li><li><a href="agent-utils-api.html" class="wiki_link">agent-utils</a></li><li><a href="apply-macro-api.html" class="wiki_link">apply-macro</a></li><li><a href="base64-api.html" class="wiki_link">base64</a></li><li><a href="classpath-api.html" class="wiki_link">classpath</a></li><li><a href="combinatorics-api.html" class="wiki_link">combinatorics</a></li><li><a href="command-line-api.html" class="wiki_link">command-line</a></li><li><a href="complex-numbers-api.html" class="wiki_link">complex-numbers</a></li><li><a href="cond-api.html" class="wiki_link">cond</a></li><li><a href="condition-api.html" class="wiki_link">condition</a></li><li><a href="core-api.html" class="wiki_link">core</a></li><li><a href="dataflow-api.html" class="wiki_link">dataflow</a></li><li><a href="datalog-api.html" class="wiki_link">datalog</a></li><li><a href="def-api.html" class="wiki_link">def</a></li><li><a href="duck-streams-api.html" class="wiki_link">duck-streams</a></li><li><a href="error-kit-api.html" class="wiki_link">error-kit</a></li><li><a href="except-api.html" class="wiki_link">except</a></li><li><a href="fcase-api.html" class="wiki_link">fcase</a></li><li><a href="find-namespaces-api.html" class="wiki_link">find-namespaces</a></li><li><a href="fnmap-api.html" class="wiki_link">fnmap</a></li><li><a href="gen-html-docs-api.html" class="wiki_link">gen-html-docs</a></li><li><a href="generic.arithmetic-api.html" class="wiki_link">generic.arithmetic</a></li><li><a href="generic.collection-api.html" class="wiki_link">generic.collection</a></li><li><a href="generic.comparison-api.html" class="wiki_link">generic.comparison</a></li><li><a href="generic.functor-api.html" class="wiki_link">generic.functor</a></li><li><a href="generic.math-functions-api.html" class="wiki_link">generic.math-functions</a></li><li><a href="graph-api.html" class="wiki_link">graph</a></li><li><a href="greatest-least-api.html" class="wiki_link">greatest-least</a></li><li><a href="http.agent-api.html" class="wiki_link">http.agent</a></li><li><a href="http.connection-api.html" class="wiki_link">http.connection</a></li><li><a href="import-static-api.html" class="wiki_link">import-static</a></li><li><a href="io-api.html" class="wiki_link">io</a></li><li><a href="jar-api.html" class="wiki_link">jar</a></li><li><a href="java-utils-api.html" class="wiki_link">java-utils</a></li><li><a href="javadoc.browse-api.html" class="wiki_link">javadoc.browse</a></li><li><a href="jmx-api.html" class="wiki_link">jmx</a></li><li><a href="json-api.html" class="wiki_link">json</a></li><li><a href="lazy-seqs-api.html" class="wiki_link">lazy-seqs</a></li><li><a href="lazy-xml-api.html" class="wiki_link">lazy-xml</a></li><li><a href="logging-api.html" class="wiki_link">logging</a></li><li><a href="macro-utils-api.html" class="wiki_link">macro-utils</a></li><li><a href="macros-api.html" class="wiki_link">macros</a></li><li><a href="map-utils-api.html" class="wiki_link">map-utils</a></li><li><a href="math-api.html" class="wiki_link">math</a></li><li><a href="miglayout-api.html" class="wiki_link">miglayout</a></li><li><a href="mmap-api.html" class="wiki_link">mmap</a></li><li><a href="mock-api.html" class="wiki_link">mock</a></li><li><a href="monadic-io-streams-api.html" class="wiki_link">monadic-io-streams</a></li><li><a href="monads-api.html" class="wiki_link">monads</a></li><li><a href="ns-utils-api.html" class="wiki_link">ns-utils</a></li><li><a href="pprint-api.html" class="wiki_link">pprint</a></li><li><a href="priority-map-api.html" class="wiki_link">priority-map</a></li><li><a href="probabilities.finite-distributions-api.html" class="wiki_link">probabilities.finite-distributions</a></li><li><a href="probabilities.monte-carlo-api.html" class="wiki_link">probabilities.monte-carlo</a></li><li><a href="probabilities.random-numbers-api.html" class="wiki_link">probabilities.random-numbers</a></li><li><a href="profile-api.html" class="wiki_link">profile</a></li><li><a href="properties-api.html" class="wiki_link">properties</a></li><li><a href="prxml-api.html" class="wiki_link">prxml</a></li><li><a href="reflect-api.html" class="wiki_link">reflect</a></li><li><a href="repl-ln-api.html" class="wiki_link">repl-ln</a></li><li><a href="repl-utils-api.html" class="wiki_link">repl-utils</a></li><li><a href="seq-api.html" class="wiki_link">seq</a></li><li><a href="seq-utils-api.html" class="wiki_link">seq-utils</a></li><li><a href="server-socket-api.html" class="wiki_link">server-socket</a></li><li><a href="set-api.html" class="wiki_link">set</a></li><li><a href="shell-api.html" class="wiki_link">shell</a></li><li><a href="shell-out-api.html" class="wiki_link">shell-out</a></li><li><a href="singleton-api.html" class="wiki_link">singleton</a></li><li><a href="sql-api.html" class="wiki_link">sql</a></li><li><a href="str-utils-api.html" class="wiki_link">str-utils</a></li><li><a href="str-utils2-api.html" class="wiki_link">str-utils2</a></li><li><a href="stream-utils-api.html" class="wiki_link">stream-utils</a></li><li><a href="string-api.html" class="wiki_link">string</a></li><li><a href="strint-api.html" class="wiki_link">strint</a></li><li><a href="swing-utils-api.html" class="wiki_link">swing-utils</a></li><li><a href="test-is-api.html" class="wiki_link">test-is</a></li><li><a href="trace-api.html" class="wiki_link">trace</a></li><li><a href="types-api.html" class="wiki_link">types</a></li><li><a href="with-ns-api.html" class="wiki_link">with-ns</a></li><li><a href="zip-filter-api.html" class="wiki_link">zip-filter</a></li> - </ul> - <div class="BranchTOC"> - <span class="toc-header">Other Versions</span> - <ul id="left-sidebar-branch-list"> - <li><a href="../index.html" class="wiki_link">v1.2 (beta 1)</a></li><li><a href="../branch-1.1.x/index.html" class="wiki_link">v1.1 (stable)</a></li> - </ul> - </div> - <a href="http://clojure.org" class="wiki_link">Clojure Home</a> - </div> -</div> -</div> - <div id="rightcolumn"> - <div id="Content"> - <div class="contentBox"><div class="innerContentBox"> - <div id="content_view" class="wiki wikiPage"> - <div id="right-sidebar"><div id="toc"> - <h1 class="nopad">Table of Contents</h1> - <div style="margin-left: 1em;" class="toc-section"> - <a href="#toc0">Overview</a> - <div style="margin-left: 1em;" class="toc-entry"> - <a href="#clojure.contrib.base64/encode">encode</a> - </div><div style="margin-left: 1em;" class="toc-entry"> - <a href="#clojure.contrib.base64/encode-str">encode-str</a> - </div> - <br /> - </div> -</div> -</div> - <div id="content-tag"><h1 id="overview">API for <span id="namespace-name">base64</span> - - <span id="header-project">clojure-contrib</span> <span id="header-version">next</span> (<span id="header-status">in development</span>) - </h1> -<span id="author-line">by <span id="author-name">Stuart Sierra</span><br /></span> -<br />Usage: -<pre> -(ns your-namespace - (:require <span id="long-name">clojure.contrib.base64</span>)) -</pre><pre> -</pre><h2>Overview</h2> -<pre id="namespace-docstr">Base-64 encoding and (maybe later) decoding. - -This is mainly here as an example. It is much slower than the -Apache Commons Codec implementation or sun.misc.BASE64Encoder.</pre> - - -<br /> -<h2>Public Variables and Functions</h2> -<div id="var-entry"> - <br /> - <hr /> - <h2 id="clojure.contrib.base64/encode">encode</h2> - <span id="var-type">function</span><br /> - <pre id="var-usage">Usage: (encode input output alphabet line-length) -</pre> - <pre id="var-docstr">Encodes bytes of input, writing Base 64 text on output. alphabet -is a 65-character String containing the 64 characters to use in the -encoding; the 65th character is the pad character. line-length is -the maximum number of characters per line, nil for no line breaks.</pre> - - - <a href="http://github.com/richhickey/clojure-contrib/blob/7188a51605136f36524e4091fe806859114d6056/src/main/clojure/clojure/contrib/base64.clj#L27" id="var-source">Source</a> -</div><div id="var-entry"> - <br /> - <hr /> - <h2 id="clojure.contrib.base64/encode-str">encode-str</h2> - <span id="var-type">function</span><br /> - <pre id="var-usage">Usage: (encode-str s) - (encode-str s encoding line-length) -</pre> - <pre id="var-docstr">Encodes String in base 64; returns a String. If not specified, -encoding is UTF-8 and line-length is nil.</pre> - - - <a href="http://github.com/richhickey/clojure-contrib/blob/7188a51605136f36524e4091fe806859114d6056/src/main/clojure/clojure/contrib/base64.clj#L79" id="var-source">Source</a> -</div> - - -</div> - </div> - </div> - </div> - </div> - <div id="foot"> - <div style="text-align: center;" id="copyright">Copyright 2007-2009 by Rich Hickey and the various contributors</div> - </div> - </div> - <div id="DesignedBy">Logo & site design by <a title="Visit Tom Hickey's website." href="http://www.tomhickey.com">Tom Hickey</a>.<br /> - Clojure auto-documentation system by Tom Faulhaber.</div> - </div> - <!-- /AllContentContainer --> - </body> - -</html>
\ No newline at end of file diff --git a/branch-master/classpath-api.html b/branch-master/classpath-api.html deleted file mode 100644 index ff2f1d5a..00000000 --- a/branch-master/classpath-api.html +++ /dev/null @@ -1,137 +0,0 @@ -<html> - <head> - <title>classpath - clojure-contrib next API documentation</title> - <link href="../static/favicon.png" rel="icon" /> - <link href="../static/favicon.png" rel="shortcut icon" /> - <link media="all" type="text/css" href="../static/clojure.css" rel="stylesheet" /> - <link media="all" type="text/css" href="../static/wiki.css" rel="stylesheet" /> - <link media="all" type="text/css" href="../static/internal.css" rel="stylesheet" /> - <!-- TODO: are we using these (from clojure.org)? If so, add the files --> - <script src="file/view/code_highlighter.js" type="text/javascript"></script> - <script src="file/view/clojure.js" type="text/javascript"></script> - <style>.menuWrapper{height: 36px;}</style> - <!--[if lte IE 6]> - <link rel="stylesheet" href="http://www.wikispaces.com/_/2009051601/s/internal_ie.css" type="text/css" /> - <![endif]--> - </head> -<!-- -This document was auto-generated from the source by the clojure autodoc system. -To report errors or ask questions about the overall documentation structure, formatting, -etc., contact Tom Faulhaber (google mail name: tomfaulhaber). -For errors in the documentation of a particular namespace, contact the author of that -namespace. ---> - <body> - <div id="AllContentContainer"> - <div id="Header"> - <a id="Logo" href="index.html"><img alt="Clojure" height="100" width="100" src="../static/clojure-icon.gif" /></a> - <h1><a title="page header title" id="page-header" href="index.html">Clojure-contrib API Reference</a></h1> - </div> - <div id="leftcolumn"><div style="text-align: center;"></div> -<div class="menu"> - <div class="WikiCustomNav WikiElement wiki"> - <span class="toc-header"><span id="project-name">clojure-contrib</span> <span id="version">next</span> API</span><br /> - <ul> - <li><a class="wiki_link" href="index.html">Overview</a></li> - <li><a class="wiki_link" href="api-index.html">API Index</a></li> - </ul> - <span class="toc-header">Namespaces</span> - <ul id="left-sidebar-list"> - <li><a href="accumulators-api.html" class="wiki_link">accumulators</a></li><li><a href="agent-utils-api.html" class="wiki_link">agent-utils</a></li><li><a href="apply-macro-api.html" class="wiki_link">apply-macro</a></li><li><a href="base64-api.html" class="wiki_link">base64</a></li><li><a href="classpath-api.html" class="wiki_link">classpath</a></li><li><a href="combinatorics-api.html" class="wiki_link">combinatorics</a></li><li><a href="command-line-api.html" class="wiki_link">command-line</a></li><li><a href="complex-numbers-api.html" class="wiki_link">complex-numbers</a></li><li><a href="cond-api.html" class="wiki_link">cond</a></li><li><a href="condition-api.html" class="wiki_link">condition</a></li><li><a href="core-api.html" class="wiki_link">core</a></li><li><a href="dataflow-api.html" class="wiki_link">dataflow</a></li><li><a href="datalog-api.html" class="wiki_link">datalog</a></li><li><a href="def-api.html" class="wiki_link">def</a></li><li><a href="duck-streams-api.html" class="wiki_link">duck-streams</a></li><li><a href="error-kit-api.html" class="wiki_link">error-kit</a></li><li><a href="except-api.html" class="wiki_link">except</a></li><li><a href="fcase-api.html" class="wiki_link">fcase</a></li><li><a href="find-namespaces-api.html" class="wiki_link">find-namespaces</a></li><li><a href="fnmap-api.html" class="wiki_link">fnmap</a></li><li><a href="gen-html-docs-api.html" class="wiki_link">gen-html-docs</a></li><li><a href="generic.arithmetic-api.html" class="wiki_link">generic.arithmetic</a></li><li><a href="generic.collection-api.html" class="wiki_link">generic.collection</a></li><li><a href="generic.comparison-api.html" class="wiki_link">generic.comparison</a></li><li><a href="generic.functor-api.html" class="wiki_link">generic.functor</a></li><li><a href="generic.math-functions-api.html" class="wiki_link">generic.math-functions</a></li><li><a href="graph-api.html" class="wiki_link">graph</a></li><li><a href="greatest-least-api.html" class="wiki_link">greatest-least</a></li><li><a href="http.agent-api.html" class="wiki_link">http.agent</a></li><li><a href="http.connection-api.html" class="wiki_link">http.connection</a></li><li><a href="import-static-api.html" class="wiki_link">import-static</a></li><li><a href="io-api.html" class="wiki_link">io</a></li><li><a href="jar-api.html" class="wiki_link">jar</a></li><li><a href="java-utils-api.html" class="wiki_link">java-utils</a></li><li><a href="javadoc.browse-api.html" class="wiki_link">javadoc.browse</a></li><li><a href="jmx-api.html" class="wiki_link">jmx</a></li><li><a href="json-api.html" class="wiki_link">json</a></li><li><a href="lazy-seqs-api.html" class="wiki_link">lazy-seqs</a></li><li><a href="lazy-xml-api.html" class="wiki_link">lazy-xml</a></li><li><a href="logging-api.html" class="wiki_link">logging</a></li><li><a href="macro-utils-api.html" class="wiki_link">macro-utils</a></li><li><a href="macros-api.html" class="wiki_link">macros</a></li><li><a href="map-utils-api.html" class="wiki_link">map-utils</a></li><li><a href="math-api.html" class="wiki_link">math</a></li><li><a href="miglayout-api.html" class="wiki_link">miglayout</a></li><li><a href="mmap-api.html" class="wiki_link">mmap</a></li><li><a href="mock-api.html" class="wiki_link">mock</a></li><li><a href="monadic-io-streams-api.html" class="wiki_link">monadic-io-streams</a></li><li><a href="monads-api.html" class="wiki_link">monads</a></li><li><a href="ns-utils-api.html" class="wiki_link">ns-utils</a></li><li><a href="pprint-api.html" class="wiki_link">pprint</a></li><li><a href="priority-map-api.html" class="wiki_link">priority-map</a></li><li><a href="probabilities.finite-distributions-api.html" class="wiki_link">probabilities.finite-distributions</a></li><li><a href="probabilities.monte-carlo-api.html" class="wiki_link">probabilities.monte-carlo</a></li><li><a href="probabilities.random-numbers-api.html" class="wiki_link">probabilities.random-numbers</a></li><li><a href="profile-api.html" class="wiki_link">profile</a></li><li><a href="properties-api.html" class="wiki_link">properties</a></li><li><a href="prxml-api.html" class="wiki_link">prxml</a></li><li><a href="reflect-api.html" class="wiki_link">reflect</a></li><li><a href="repl-ln-api.html" class="wiki_link">repl-ln</a></li><li><a href="repl-utils-api.html" class="wiki_link">repl-utils</a></li><li><a href="seq-api.html" class="wiki_link">seq</a></li><li><a href="seq-utils-api.html" class="wiki_link">seq-utils</a></li><li><a href="server-socket-api.html" class="wiki_link">server-socket</a></li><li><a href="set-api.html" class="wiki_link">set</a></li><li><a href="shell-api.html" class="wiki_link">shell</a></li><li><a href="shell-out-api.html" class="wiki_link">shell-out</a></li><li><a href="singleton-api.html" class="wiki_link">singleton</a></li><li><a href="sql-api.html" class="wiki_link">sql</a></li><li><a href="str-utils-api.html" class="wiki_link">str-utils</a></li><li><a href="str-utils2-api.html" class="wiki_link">str-utils2</a></li><li><a href="stream-utils-api.html" class="wiki_link">stream-utils</a></li><li><a href="string-api.html" class="wiki_link">string</a></li><li><a href="strint-api.html" class="wiki_link">strint</a></li><li><a href="swing-utils-api.html" class="wiki_link">swing-utils</a></li><li><a href="test-is-api.html" class="wiki_link">test-is</a></li><li><a href="trace-api.html" class="wiki_link">trace</a></li><li><a href="types-api.html" class="wiki_link">types</a></li><li><a href="with-ns-api.html" class="wiki_link">with-ns</a></li><li><a href="zip-filter-api.html" class="wiki_link">zip-filter</a></li> - </ul> - <div class="BranchTOC"> - <span class="toc-header">Other Versions</span> - <ul id="left-sidebar-branch-list"> - <li><a href="../index.html" class="wiki_link">v1.2 (beta 1)</a></li><li><a href="../branch-1.1.x/index.html" class="wiki_link">v1.1 (stable)</a></li> - </ul> - </div> - <a href="http://clojure.org" class="wiki_link">Clojure Home</a> - </div> -</div> -</div> - <div id="rightcolumn"> - <div id="Content"> - <div class="contentBox"><div class="innerContentBox"> - <div id="content_view" class="wiki wikiPage"> - <div id="right-sidebar"><div id="toc"> - <h1 class="nopad">Table of Contents</h1> - <div style="margin-left: 1em;" class="toc-section"> - <a href="#toc0">Overview</a> - <div style="margin-left: 1em;" class="toc-entry"> - <a href="#clojure.contrib.classpath/classpath">classpath</a> - </div><div style="margin-left: 1em;" class="toc-entry"> - <a href="#clojure.contrib.classpath/classpath-directories">classpath-directories</a> - </div><div style="margin-left: 1em;" class="toc-entry"> - <a href="#clojure.contrib.classpath/classpath-jarfiles">classpath-jarfiles</a> - </div> - <br /> - </div> -</div> -</div> - <div id="content-tag"><h1 id="overview">API for <span id="namespace-name">classpath</span> - - <span id="header-project">clojure-contrib</span> <span id="header-version">next</span> (<span id="header-status">in development</span>) - </h1> -<span id="author-line">by <span id="author-name">Stuart Sierra</span><br /></span> -<br />Usage: -<pre> -(ns your-namespace - (:require <span id="long-name">clojure.contrib.classpath</span>)) -</pre><pre> -</pre><h2>Overview</h2> -<pre id="namespace-docstr">Utilities for dealing with the JVM's classpath</pre> - - -<br /> -<h2>Public Variables and Functions</h2> -<div id="var-entry"> - <br /> - <hr /> - <h2 id="clojure.contrib.classpath/classpath">classpath</h2> - <span id="var-type">function</span><br /> - <pre id="var-usage">Usage: (classpath) -</pre> - <pre id="var-docstr">Returns a sequence of File objects of the elements on CLASSPATH.</pre> - - - <a href="http://github.com/richhickey/clojure-contrib/blob/7188a51605136f36524e4091fe806859114d6056/src/main/clojure/clojure/contrib/classpath.clj#L23" id="var-source">Source</a> -</div><div id="var-entry"> - <br /> - <hr /> - <h2 id="clojure.contrib.classpath/classpath-directories">classpath-directories</h2> - <span id="var-type">function</span><br /> - <pre id="var-usage">Usage: (classpath-directories) -</pre> - <pre id="var-docstr">Returns a sequence of File objects for the directories on classpath.</pre> - - - <a href="http://github.com/richhickey/clojure-contrib/blob/7188a51605136f36524e4091fe806859114d6056/src/main/clojure/clojure/contrib/classpath.clj#L30" id="var-source">Source</a> -</div><div id="var-entry"> - <br /> - <hr /> - <h2 id="clojure.contrib.classpath/classpath-jarfiles">classpath-jarfiles</h2> - <span id="var-type">function</span><br /> - <pre id="var-usage">Usage: (classpath-jarfiles) -</pre> - <pre id="var-docstr">Returns a sequence of JarFile objects for the JAR files on classpath.</pre> - - - <a href="http://github.com/richhickey/clojure-contrib/blob/7188a51605136f36524e4091fe806859114d6056/src/main/clojure/clojure/contrib/classpath.clj#L35" id="var-source">Source</a> -</div> - - -</div> - </div> - </div> - </div> - </div> - <div id="foot"> - <div style="text-align: center;" id="copyright">Copyright 2007-2009 by Rich Hickey and the various contributors</div> - </div> - </div> - <div id="DesignedBy">Logo & site design by <a title="Visit Tom Hickey's website." href="http://www.tomhickey.com">Tom Hickey</a>.<br /> - Clojure auto-documentation system by Tom Faulhaber.</div> - </div> - <!-- /AllContentContainer --> - </body> - -</html>
\ No newline at end of file diff --git a/branch-master/combinatorics-api.html b/branch-master/combinatorics-api.html deleted file mode 100644 index c3300d21..00000000 --- a/branch-master/combinatorics-api.html +++ /dev/null @@ -1,178 +0,0 @@ -<html> - <head> - <title>combinatorics - clojure-contrib next API documentation</title> - <link href="../static/favicon.png" rel="icon" /> - <link href="../static/favicon.png" rel="shortcut icon" /> - <link media="all" type="text/css" href="../static/clojure.css" rel="stylesheet" /> - <link media="all" type="text/css" href="../static/wiki.css" rel="stylesheet" /> - <link media="all" type="text/css" href="../static/internal.css" rel="stylesheet" /> - <!-- TODO: are we using these (from clojure.org)? If so, add the files --> - <script src="file/view/code_highlighter.js" type="text/javascript"></script> - <script src="file/view/clojure.js" type="text/javascript"></script> - <style>.menuWrapper{height: 36px;}</style> - <!--[if lte IE 6]> - <link rel="stylesheet" href="http://www.wikispaces.com/_/2009051601/s/internal_ie.css" type="text/css" /> - <![endif]--> - </head> -<!-- -This document was auto-generated from the source by the clojure autodoc system. -To report errors or ask questions about the overall documentation structure, formatting, -etc., contact Tom Faulhaber (google mail name: tomfaulhaber). -For errors in the documentation of a particular namespace, contact the author of that -namespace. ---> - <body> - <div id="AllContentContainer"> - <div id="Header"> - <a id="Logo" href="index.html"><img alt="Clojure" height="100" width="100" src="../static/clojure-icon.gif" /></a> - <h1><a title="page header title" id="page-header" href="index.html">Clojure-contrib API Reference</a></h1> - </div> - <div id="leftcolumn"><div style="text-align: center;"></div> -<div class="menu"> - <div class="WikiCustomNav WikiElement wiki"> - <span class="toc-header"><span id="project-name">clojure-contrib</span> <span id="version">next</span> API</span><br /> - <ul> - <li><a class="wiki_link" href="index.html">Overview</a></li> - <li><a class="wiki_link" href="api-index.html">API Index</a></li> - </ul> - <span class="toc-header">Namespaces</span> - <ul id="left-sidebar-list"> - <li><a href="accumulators-api.html" class="wiki_link">accumulators</a></li><li><a href="agent-utils-api.html" class="wiki_link">agent-utils</a></li><li><a href="apply-macro-api.html" class="wiki_link">apply-macro</a></li><li><a href="base64-api.html" class="wiki_link">base64</a></li><li><a href="classpath-api.html" class="wiki_link">classpath</a></li><li><a href="combinatorics-api.html" class="wiki_link">combinatorics</a></li><li><a href="command-line-api.html" class="wiki_link">command-line</a></li><li><a href="complex-numbers-api.html" class="wiki_link">complex-numbers</a></li><li><a href="cond-api.html" class="wiki_link">cond</a></li><li><a href="condition-api.html" class="wiki_link">condition</a></li><li><a href="core-api.html" class="wiki_link">core</a></li><li><a href="dataflow-api.html" class="wiki_link">dataflow</a></li><li><a href="datalog-api.html" class="wiki_link">datalog</a></li><li><a href="def-api.html" class="wiki_link">def</a></li><li><a href="duck-streams-api.html" class="wiki_link">duck-streams</a></li><li><a href="error-kit-api.html" class="wiki_link">error-kit</a></li><li><a href="except-api.html" class="wiki_link">except</a></li><li><a href="fcase-api.html" class="wiki_link">fcase</a></li><li><a href="find-namespaces-api.html" class="wiki_link">find-namespaces</a></li><li><a href="fnmap-api.html" class="wiki_link">fnmap</a></li><li><a href="gen-html-docs-api.html" class="wiki_link">gen-html-docs</a></li><li><a href="generic.arithmetic-api.html" class="wiki_link">generic.arithmetic</a></li><li><a href="generic.collection-api.html" class="wiki_link">generic.collection</a></li><li><a href="generic.comparison-api.html" class="wiki_link">generic.comparison</a></li><li><a href="generic.functor-api.html" class="wiki_link">generic.functor</a></li><li><a href="generic.math-functions-api.html" class="wiki_link">generic.math-functions</a></li><li><a href="graph-api.html" class="wiki_link">graph</a></li><li><a href="greatest-least-api.html" class="wiki_link">greatest-least</a></li><li><a href="http.agent-api.html" class="wiki_link">http.agent</a></li><li><a href="http.connection-api.html" class="wiki_link">http.connection</a></li><li><a href="import-static-api.html" class="wiki_link">import-static</a></li><li><a href="io-api.html" class="wiki_link">io</a></li><li><a href="jar-api.html" class="wiki_link">jar</a></li><li><a href="java-utils-api.html" class="wiki_link">java-utils</a></li><li><a href="javadoc.browse-api.html" class="wiki_link">javadoc.browse</a></li><li><a href="jmx-api.html" class="wiki_link">jmx</a></li><li><a href="json-api.html" class="wiki_link">json</a></li><li><a href="lazy-seqs-api.html" class="wiki_link">lazy-seqs</a></li><li><a href="lazy-xml-api.html" class="wiki_link">lazy-xml</a></li><li><a href="logging-api.html" class="wiki_link">logging</a></li><li><a href="macro-utils-api.html" class="wiki_link">macro-utils</a></li><li><a href="macros-api.html" class="wiki_link">macros</a></li><li><a href="map-utils-api.html" class="wiki_link">map-utils</a></li><li><a href="math-api.html" class="wiki_link">math</a></li><li><a href="miglayout-api.html" class="wiki_link">miglayout</a></li><li><a href="mmap-api.html" class="wiki_link">mmap</a></li><li><a href="mock-api.html" class="wiki_link">mock</a></li><li><a href="monadic-io-streams-api.html" class="wiki_link">monadic-io-streams</a></li><li><a href="monads-api.html" class="wiki_link">monads</a></li><li><a href="ns-utils-api.html" class="wiki_link">ns-utils</a></li><li><a href="pprint-api.html" class="wiki_link">pprint</a></li><li><a href="priority-map-api.html" class="wiki_link">priority-map</a></li><li><a href="probabilities.finite-distributions-api.html" class="wiki_link">probabilities.finite-distributions</a></li><li><a href="probabilities.monte-carlo-api.html" class="wiki_link">probabilities.monte-carlo</a></li><li><a href="probabilities.random-numbers-api.html" class="wiki_link">probabilities.random-numbers</a></li><li><a href="profile-api.html" class="wiki_link">profile</a></li><li><a href="properties-api.html" class="wiki_link">properties</a></li><li><a href="prxml-api.html" class="wiki_link">prxml</a></li><li><a href="reflect-api.html" class="wiki_link">reflect</a></li><li><a href="repl-ln-api.html" class="wiki_link">repl-ln</a></li><li><a href="repl-utils-api.html" class="wiki_link">repl-utils</a></li><li><a href="seq-api.html" class="wiki_link">seq</a></li><li><a href="seq-utils-api.html" class="wiki_link">seq-utils</a></li><li><a href="server-socket-api.html" class="wiki_link">server-socket</a></li><li><a href="set-api.html" class="wiki_link">set</a></li><li><a href="shell-api.html" class="wiki_link">shell</a></li><li><a href="shell-out-api.html" class="wiki_link">shell-out</a></li><li><a href="singleton-api.html" class="wiki_link">singleton</a></li><li><a href="sql-api.html" class="wiki_link">sql</a></li><li><a href="str-utils-api.html" class="wiki_link">str-utils</a></li><li><a href="str-utils2-api.html" class="wiki_link">str-utils2</a></li><li><a href="stream-utils-api.html" class="wiki_link">stream-utils</a></li><li><a href="string-api.html" class="wiki_link">string</a></li><li><a href="strint-api.html" class="wiki_link">strint</a></li><li><a href="swing-utils-api.html" class="wiki_link">swing-utils</a></li><li><a href="test-is-api.html" class="wiki_link">test-is</a></li><li><a href="trace-api.html" class="wiki_link">trace</a></li><li><a href="types-api.html" class="wiki_link">types</a></li><li><a href="with-ns-api.html" class="wiki_link">with-ns</a></li><li><a href="zip-filter-api.html" class="wiki_link">zip-filter</a></li> - </ul> - <div class="BranchTOC"> - <span class="toc-header">Other Versions</span> - <ul id="left-sidebar-branch-list"> - <li><a href="../index.html" class="wiki_link">v1.2 (beta 1)</a></li><li><a href="../branch-1.1.x/index.html" class="wiki_link">v1.1 (stable)</a></li> - </ul> - </div> - <a href="http://clojure.org" class="wiki_link">Clojure Home</a> - </div> -</div> -</div> - <div id="rightcolumn"> - <div id="Content"> - <div class="contentBox"><div class="innerContentBox"> - <div id="content_view" class="wiki wikiPage"> - <div id="right-sidebar"><div id="toc"> - <h1 class="nopad">Table of Contents</h1> - <div style="margin-left: 1em;" class="toc-section"> - <a href="#toc0">Overview</a> - <div style="margin-left: 1em;" class="toc-entry"> - <a href="#clojure.contrib.combinatorics/cartesian-product">cartesian-product</a> - </div><div style="margin-left: 1em;" class="toc-entry"> - <a href="#clojure.contrib.combinatorics/combinations">combinations</a> - </div><div style="margin-left: 1em;" class="toc-entry"> - <a href="#clojure.contrib.combinatorics/lex-permutations">lex-permutations</a> - </div><div style="margin-left: 1em;" class="toc-entry"> - <a href="#clojure.contrib.combinatorics/permutations">permutations</a> - </div><div style="margin-left: 1em;" class="toc-entry"> - <a href="#clojure.contrib.combinatorics/selections">selections</a> - </div><div style="margin-left: 1em;" class="toc-entry"> - <a href="#clojure.contrib.combinatorics/subsets">subsets</a> - </div> - <br /> - </div> -</div> -</div> - <div id="content-tag"><h1 id="overview">API for <span id="namespace-name">combinatorics</span> - - <span id="header-project">clojure-contrib</span> <span id="header-version">next</span> (<span id="header-status">in development</span>) - </h1> -<span id="author-line">by <span id="author-name">Mark Engelberg</span><br /></span> -<br />Usage: -<pre> -(ns your-namespace - (:require <span id="long-name">clojure.contrib.combinatorics</span>)) -</pre><pre> -</pre><h2>Overview</h2> -<pre id="namespace-docstr">Efficient, functional algorithms for generating lazy -sequences for common combinatorial functions. (See the source code -for a longer description.)</pre> - - -<br /> -<h2>Public Variables and Functions</h2> -<div id="var-entry"> - <br /> - <hr /> - <h2 id="clojure.contrib.combinatorics/cartesian-product">cartesian-product</h2> - <span id="var-type">function</span><br /> - <pre id="var-usage">Usage: (cartesian-product & seqs) -</pre> - <pre id="var-docstr">All the ways to take one item from each sequence</pre> - - - <a href="http://github.com/richhickey/clojure-contrib/blob/7188a51605136f36524e4091fe806859114d6056/src/main/clojure/clojure/contrib/combinatorics.clj#L107" id="var-source">Source</a> -</div><div id="var-entry"> - <br /> - <hr /> - <h2 id="clojure.contrib.combinatorics/combinations">combinations</h2> - <span id="var-type">function</span><br /> - <pre id="var-usage">Usage: (combinations items n) -</pre> - <pre id="var-docstr">All the unique ways of taking n different elements from items</pre> - - - <a href="http://github.com/richhickey/clojure-contrib/blob/7188a51605136f36524e4091fe806859114d6056/src/main/clojure/clojure/contrib/combinatorics.clj#L90" id="var-source">Source</a> -</div><div id="var-entry"> - <br /> - <hr /> - <h2 id="clojure.contrib.combinatorics/lex-permutations">lex-permutations</h2> - <span id="var-type">function</span><br /> - <pre id="var-usage">Usage: (lex-permutations c) -</pre> - <pre id="var-docstr">Fast lexicographic permutation generator for a sequence of numbers</pre> - - - <a href="http://github.com/richhickey/clojure-contrib/blob/7188a51605136f36524e4091fe806859114d6056/src/main/clojure/clojure/contrib/combinatorics.clj#L151" id="var-source">Source</a> -</div><div id="var-entry"> - <br /> - <hr /> - <h2 id="clojure.contrib.combinatorics/permutations">permutations</h2> - <span id="var-type">function</span><br /> - <pre id="var-usage">Usage: (permutations items) -</pre> - <pre id="var-docstr">All the permutations of items, lexicographic by index</pre> - - - <a href="http://github.com/richhickey/clojure-contrib/blob/7188a51605136f36524e4091fe806859114d6056/src/main/clojure/clojure/contrib/combinatorics.clj#L160" id="var-source">Source</a> -</div><div id="var-entry"> - <br /> - <hr /> - <h2 id="clojure.contrib.combinatorics/selections">selections</h2> - <span id="var-type">function</span><br /> - <pre id="var-usage">Usage: (selections items n) -</pre> - <pre id="var-docstr">All the ways of taking n (possibly the same) elements from the sequence of items</pre> - - - <a href="http://github.com/richhickey/clojure-contrib/blob/7188a51605136f36524e4091fe806859114d6056/src/main/clojure/clojure/contrib/combinatorics.clj#L127" id="var-source">Source</a> -</div><div id="var-entry"> - <br /> - <hr /> - <h2 id="clojure.contrib.combinatorics/subsets">subsets</h2> - <span id="var-type">function</span><br /> - <pre id="var-usage">Usage: (subsets items) -</pre> - <pre id="var-docstr">All the subsets of items</pre> - - - <a href="http://github.com/richhickey/clojure-contrib/blob/7188a51605136f36524e4091fe806859114d6056/src/main/clojure/clojure/contrib/combinatorics.clj#L101" id="var-source">Source</a> -</div> - - -</div> - </div> - </div> - </div> - </div> - <div id="foot"> - <div style="text-align: center;" id="copyright">Copyright 2007-2009 by Rich Hickey and the various contributors</div> - </div> - </div> - <div id="DesignedBy">Logo & site design by <a title="Visit Tom Hickey's website." href="http://www.tomhickey.com">Tom Hickey</a>.<br /> - Clojure auto-documentation system by Tom Faulhaber.</div> - </div> - <!-- /AllContentContainer --> - </body> - -</html>
\ No newline at end of file diff --git a/branch-master/command-line-api.html b/branch-master/command-line-api.html deleted file mode 100644 index 21e8a1e0..00000000 --- a/branch-master/command-line-api.html +++ /dev/null @@ -1,111 +0,0 @@ -<html> - <head> - <title>command-line - clojure-contrib next API documentation</title> - <link href="../static/favicon.png" rel="icon" /> - <link href="../static/favicon.png" rel="shortcut icon" /> - <link media="all" type="text/css" href="../static/clojure.css" rel="stylesheet" /> - <link media="all" type="text/css" href="../static/wiki.css" rel="stylesheet" /> - <link media="all" type="text/css" href="../static/internal.css" rel="stylesheet" /> - <!-- TODO: are we using these (from clojure.org)? If so, add the files --> - <script src="file/view/code_highlighter.js" type="text/javascript"></script> - <script src="file/view/clojure.js" type="text/javascript"></script> - <style>.menuWrapper{height: 36px;}</style> - <!--[if lte IE 6]> - <link rel="stylesheet" href="http://www.wikispaces.com/_/2009051601/s/internal_ie.css" type="text/css" /> - <![endif]--> - </head> -<!-- -This document was auto-generated from the source by the clojure autodoc system. -To report errors or ask questions about the overall documentation structure, formatting, -etc., contact Tom Faulhaber (google mail name: tomfaulhaber). -For errors in the documentation of a particular namespace, contact the author of that -namespace. ---> - <body> - <div id="AllContentContainer"> - <div id="Header"> - <a id="Logo" href="index.html"><img alt="Clojure" height="100" width="100" src="../static/clojure-icon.gif" /></a> - <h1><a title="page header title" id="page-header" href="index.html">Clojure-contrib API Reference</a></h1> - </div> - <div id="leftcolumn"><div style="text-align: center;"></div> -<div class="menu"> - <div class="WikiCustomNav WikiElement wiki"> - <span class="toc-header"><span id="project-name">clojure-contrib</span> <span id="version">next</span> API</span><br /> - <ul> - <li><a class="wiki_link" href="index.html">Overview</a></li> - <li><a class="wiki_link" href="api-index.html">API Index</a></li> - </ul> - <span class="toc-header">Namespaces</span> - <ul id="left-sidebar-list"> - <li><a href="accumulators-api.html" class="wiki_link">accumulators</a></li><li><a href="agent-utils-api.html" class="wiki_link">agent-utils</a></li><li><a href="apply-macro-api.html" class="wiki_link">apply-macro</a></li><li><a href="base64-api.html" class="wiki_link">base64</a></li><li><a href="classpath-api.html" class="wiki_link">classpath</a></li><li><a href="combinatorics-api.html" class="wiki_link">combinatorics</a></li><li><a href="command-line-api.html" class="wiki_link">command-line</a></li><li><a href="complex-numbers-api.html" class="wiki_link">complex-numbers</a></li><li><a href="cond-api.html" class="wiki_link">cond</a></li><li><a href="condition-api.html" class="wiki_link">condition</a></li><li><a href="core-api.html" class="wiki_link">core</a></li><li><a href="dataflow-api.html" class="wiki_link">dataflow</a></li><li><a href="datalog-api.html" class="wiki_link">datalog</a></li><li><a href="def-api.html" class="wiki_link">def</a></li><li><a href="duck-streams-api.html" class="wiki_link">duck-streams</a></li><li><a href="error-kit-api.html" class="wiki_link">error-kit</a></li><li><a href="except-api.html" class="wiki_link">except</a></li><li><a href="fcase-api.html" class="wiki_link">fcase</a></li><li><a href="find-namespaces-api.html" class="wiki_link">find-namespaces</a></li><li><a href="fnmap-api.html" class="wiki_link">fnmap</a></li><li><a href="gen-html-docs-api.html" class="wiki_link">gen-html-docs</a></li><li><a href="generic.arithmetic-api.html" class="wiki_link">generic.arithmetic</a></li><li><a href="generic.collection-api.html" class="wiki_link">generic.collection</a></li><li><a href="generic.comparison-api.html" class="wiki_link">generic.comparison</a></li><li><a href="generic.functor-api.html" class="wiki_link">generic.functor</a></li><li><a href="generic.math-functions-api.html" class="wiki_link">generic.math-functions</a></li><li><a href="graph-api.html" class="wiki_link">graph</a></li><li><a href="greatest-least-api.html" class="wiki_link">greatest-least</a></li><li><a href="http.agent-api.html" class="wiki_link">http.agent</a></li><li><a href="http.connection-api.html" class="wiki_link">http.connection</a></li><li><a href="import-static-api.html" class="wiki_link">import-static</a></li><li><a href="io-api.html" class="wiki_link">io</a></li><li><a href="jar-api.html" class="wiki_link">jar</a></li><li><a href="java-utils-api.html" class="wiki_link">java-utils</a></li><li><a href="javadoc.browse-api.html" class="wiki_link">javadoc.browse</a></li><li><a href="jmx-api.html" class="wiki_link">jmx</a></li><li><a href="json-api.html" class="wiki_link">json</a></li><li><a href="lazy-seqs-api.html" class="wiki_link">lazy-seqs</a></li><li><a href="lazy-xml-api.html" class="wiki_link">lazy-xml</a></li><li><a href="logging-api.html" class="wiki_link">logging</a></li><li><a href="macro-utils-api.html" class="wiki_link">macro-utils</a></li><li><a href="macros-api.html" class="wiki_link">macros</a></li><li><a href="map-utils-api.html" class="wiki_link">map-utils</a></li><li><a href="math-api.html" class="wiki_link">math</a></li><li><a href="miglayout-api.html" class="wiki_link">miglayout</a></li><li><a href="mmap-api.html" class="wiki_link">mmap</a></li><li><a href="mock-api.html" class="wiki_link">mock</a></li><li><a href="monadic-io-streams-api.html" class="wiki_link">monadic-io-streams</a></li><li><a href="monads-api.html" class="wiki_link">monads</a></li><li><a href="ns-utils-api.html" class="wiki_link">ns-utils</a></li><li><a href="pprint-api.html" class="wiki_link">pprint</a></li><li><a href="priority-map-api.html" class="wiki_link">priority-map</a></li><li><a href="probabilities.finite-distributions-api.html" class="wiki_link">probabilities.finite-distributions</a></li><li><a href="probabilities.monte-carlo-api.html" class="wiki_link">probabilities.monte-carlo</a></li><li><a href="probabilities.random-numbers-api.html" class="wiki_link">probabilities.random-numbers</a></li><li><a href="profile-api.html" class="wiki_link">profile</a></li><li><a href="properties-api.html" class="wiki_link">properties</a></li><li><a href="prxml-api.html" class="wiki_link">prxml</a></li><li><a href="reflect-api.html" class="wiki_link">reflect</a></li><li><a href="repl-ln-api.html" class="wiki_link">repl-ln</a></li><li><a href="repl-utils-api.html" class="wiki_link">repl-utils</a></li><li><a href="seq-api.html" class="wiki_link">seq</a></li><li><a href="seq-utils-api.html" class="wiki_link">seq-utils</a></li><li><a href="server-socket-api.html" class="wiki_link">server-socket</a></li><li><a href="set-api.html" class="wiki_link">set</a></li><li><a href="shell-api.html" class="wiki_link">shell</a></li><li><a href="shell-out-api.html" class="wiki_link">shell-out</a></li><li><a href="singleton-api.html" class="wiki_link">singleton</a></li><li><a href="sql-api.html" class="wiki_link">sql</a></li><li><a href="str-utils-api.html" class="wiki_link">str-utils</a></li><li><a href="str-utils2-api.html" class="wiki_link">str-utils2</a></li><li><a href="stream-utils-api.html" class="wiki_link">stream-utils</a></li><li><a href="string-api.html" class="wiki_link">string</a></li><li><a href="strint-api.html" class="wiki_link">strint</a></li><li><a href="swing-utils-api.html" class="wiki_link">swing-utils</a></li><li><a href="test-is-api.html" class="wiki_link">test-is</a></li><li><a href="trace-api.html" class="wiki_link">trace</a></li><li><a href="types-api.html" class="wiki_link">types</a></li><li><a href="with-ns-api.html" class="wiki_link">with-ns</a></li><li><a href="zip-filter-api.html" class="wiki_link">zip-filter</a></li> - </ul> - <div class="BranchTOC"> - <span class="toc-header">Other Versions</span> - <ul id="left-sidebar-branch-list"> - <li><a href="../index.html" class="wiki_link">v1.2 (beta 1)</a></li><li><a href="../branch-1.1.x/index.html" class="wiki_link">v1.1 (stable)</a></li> - </ul> - </div> - <a href="http://clojure.org" class="wiki_link">Clojure Home</a> - </div> -</div> -</div> - <div id="rightcolumn"> - <div id="Content"> - <div class="contentBox"><div class="innerContentBox"> - <div id="content_view" class="wiki wikiPage"> - <div id="right-sidebar"><div id="toc"> - <h1 class="nopad">Table of Contents</h1> - <div style="margin-left: 1em;" class="toc-section"> - <a href="#toc0">Overview</a> - <div style="margin-left: 1em;" class="toc-entry"> - <a href="#clojure.contrib.command-line/with-command-line">with-command-line</a> - </div> - <br /> - </div> -</div> -</div> - <div id="content-tag"><h1 id="overview">API for <span id="namespace-name">command-line</span> - - <span id="header-project">clojure-contrib</span> <span id="header-version">next</span> (<span id="header-status">in development</span>) - </h1> -<span id="author-line">by <span id="author-name">Chris Houser</span><br /></span> -<br />Usage: -<pre> -(ns your-namespace - (:require <span id="long-name">clojure.contrib.command-line</span>)) -</pre><pre> -</pre><h2>Overview</h2> -<pre id="namespace-docstr">Process command-line arguments according to a given cmdspec</pre> - - -<br /> -<h2>Public Variables and Functions</h2> -<div id="var-entry"> - <br /> - <hr /> - <h2 id="clojure.contrib.command-line/with-command-line">with-command-line</h2> - <span id="var-type">macro</span><br /> - <pre id="var-usage">Usage: (with-command-line args desc cmdspec & body) -</pre> - <pre id="var-docstr">Bind locals to command-line args.</pre> - - - <a href="http://github.com/richhickey/clojure-contrib/blob/7188a51605136f36524e4091fe806859114d6056/src/main/clojure/clojure/contrib/command_line.clj#L90" id="var-source">Source</a> -</div> - - -</div> - </div> - </div> - </div> - </div> - <div id="foot"> - <div style="text-align: center;" id="copyright">Copyright 2007-2009 by Rich Hickey and the various contributors</div> - </div> - </div> - <div id="DesignedBy">Logo & site design by <a title="Visit Tom Hickey's website." href="http://www.tomhickey.com">Tom Hickey</a>.<br /> - Clojure auto-documentation system by Tom Faulhaber.</div> - </div> - <!-- /AllContentContainer --> - </body> - -</html>
\ No newline at end of file diff --git a/branch-master/complex-numbers-api.html b/branch-master/complex-numbers-api.html deleted file mode 100644 index 0a5347b9..00000000 --- a/branch-master/complex-numbers-api.html +++ /dev/null @@ -1,100 +0,0 @@ -<html> - <head> - <title>complex-numbers - clojure-contrib next API documentation</title> - <link href="../static/favicon.png" rel="icon" /> - <link href="../static/favicon.png" rel="shortcut icon" /> - <link media="all" type="text/css" href="../static/clojure.css" rel="stylesheet" /> - <link media="all" type="text/css" href="../static/wiki.css" rel="stylesheet" /> - <link media="all" type="text/css" href="../static/internal.css" rel="stylesheet" /> - <!-- TODO: are we using these (from clojure.org)? If so, add the files --> - <script src="file/view/code_highlighter.js" type="text/javascript"></script> - <script src="file/view/clojure.js" type="text/javascript"></script> - <style>.menuWrapper{height: 36px;}</style> - <!--[if lte IE 6]> - <link rel="stylesheet" href="http://www.wikispaces.com/_/2009051601/s/internal_ie.css" type="text/css" /> - <![endif]--> - </head> -<!-- -This document was auto-generated from the source by the clojure autodoc system. -To report errors or ask questions about the overall documentation structure, formatting, -etc., contact Tom Faulhaber (google mail name: tomfaulhaber). -For errors in the documentation of a particular namespace, contact the author of that -namespace. ---> - <body> - <div id="AllContentContainer"> - <div id="Header"> - <a id="Logo" href="index.html"><img alt="Clojure" height="100" width="100" src="../static/clojure-icon.gif" /></a> - <h1><a title="page header title" id="page-header" href="index.html">Clojure-contrib API Reference</a></h1> - </div> - <div id="leftcolumn"><div style="text-align: center;"></div> -<div class="menu"> - <div class="WikiCustomNav WikiElement wiki"> - <span class="toc-header"><span id="project-name">clojure-contrib</span> <span id="version">next</span> API</span><br /> - <ul> - <li><a class="wiki_link" href="index.html">Overview</a></li> - <li><a class="wiki_link" href="api-index.html">API Index</a></li> - </ul> - <span class="toc-header">Namespaces</span> - <ul id="left-sidebar-list"> - <li><a href="accumulators-api.html" class="wiki_link">accumulators</a></li><li><a href="agent-utils-api.html" class="wiki_link">agent-utils</a></li><li><a href="apply-macro-api.html" class="wiki_link">apply-macro</a></li><li><a href="base64-api.html" class="wiki_link">base64</a></li><li><a href="classpath-api.html" class="wiki_link">classpath</a></li><li><a href="combinatorics-api.html" class="wiki_link">combinatorics</a></li><li><a href="command-line-api.html" class="wiki_link">command-line</a></li><li><a href="complex-numbers-api.html" class="wiki_link">complex-numbers</a></li><li><a href="cond-api.html" class="wiki_link">cond</a></li><li><a href="condition-api.html" class="wiki_link">condition</a></li><li><a href="core-api.html" class="wiki_link">core</a></li><li><a href="dataflow-api.html" class="wiki_link">dataflow</a></li><li><a href="datalog-api.html" class="wiki_link">datalog</a></li><li><a href="def-api.html" class="wiki_link">def</a></li><li><a href="duck-streams-api.html" class="wiki_link">duck-streams</a></li><li><a href="error-kit-api.html" class="wiki_link">error-kit</a></li><li><a href="except-api.html" class="wiki_link">except</a></li><li><a href="fcase-api.html" class="wiki_link">fcase</a></li><li><a href="find-namespaces-api.html" class="wiki_link">find-namespaces</a></li><li><a href="fnmap-api.html" class="wiki_link">fnmap</a></li><li><a href="gen-html-docs-api.html" class="wiki_link">gen-html-docs</a></li><li><a href="generic.arithmetic-api.html" class="wiki_link">generic.arithmetic</a></li><li><a href="generic.collection-api.html" class="wiki_link">generic.collection</a></li><li><a href="generic.comparison-api.html" class="wiki_link">generic.comparison</a></li><li><a href="generic.functor-api.html" class="wiki_link">generic.functor</a></li><li><a href="generic.math-functions-api.html" class="wiki_link">generic.math-functions</a></li><li><a href="graph-api.html" class="wiki_link">graph</a></li><li><a href="greatest-least-api.html" class="wiki_link">greatest-least</a></li><li><a href="http.agent-api.html" class="wiki_link">http.agent</a></li><li><a href="http.connection-api.html" class="wiki_link">http.connection</a></li><li><a href="import-static-api.html" class="wiki_link">import-static</a></li><li><a href="io-api.html" class="wiki_link">io</a></li><li><a href="jar-api.html" class="wiki_link">jar</a></li><li><a href="java-utils-api.html" class="wiki_link">java-utils</a></li><li><a href="javadoc.browse-api.html" class="wiki_link">javadoc.browse</a></li><li><a href="jmx-api.html" class="wiki_link">jmx</a></li><li><a href="json-api.html" class="wiki_link">json</a></li><li><a href="lazy-seqs-api.html" class="wiki_link">lazy-seqs</a></li><li><a href="lazy-xml-api.html" class="wiki_link">lazy-xml</a></li><li><a href="logging-api.html" class="wiki_link">logging</a></li><li><a href="macro-utils-api.html" class="wiki_link">macro-utils</a></li><li><a href="macros-api.html" class="wiki_link">macros</a></li><li><a href="map-utils-api.html" class="wiki_link">map-utils</a></li><li><a href="math-api.html" class="wiki_link">math</a></li><li><a href="miglayout-api.html" class="wiki_link">miglayout</a></li><li><a href="mmap-api.html" class="wiki_link">mmap</a></li><li><a href="mock-api.html" class="wiki_link">mock</a></li><li><a href="monadic-io-streams-api.html" class="wiki_link">monadic-io-streams</a></li><li><a href="monads-api.html" class="wiki_link">monads</a></li><li><a href="ns-utils-api.html" class="wiki_link">ns-utils</a></li><li><a href="pprint-api.html" class="wiki_link">pprint</a></li><li><a href="priority-map-api.html" class="wiki_link">priority-map</a></li><li><a href="probabilities.finite-distributions-api.html" class="wiki_link">probabilities.finite-distributions</a></li><li><a href="probabilities.monte-carlo-api.html" class="wiki_link">probabilities.monte-carlo</a></li><li><a href="probabilities.random-numbers-api.html" class="wiki_link">probabilities.random-numbers</a></li><li><a href="profile-api.html" class="wiki_link">profile</a></li><li><a href="properties-api.html" class="wiki_link">properties</a></li><li><a href="prxml-api.html" class="wiki_link">prxml</a></li><li><a href="reflect-api.html" class="wiki_link">reflect</a></li><li><a href="repl-ln-api.html" class="wiki_link">repl-ln</a></li><li><a href="repl-utils-api.html" class="wiki_link">repl-utils</a></li><li><a href="seq-api.html" class="wiki_link">seq</a></li><li><a href="seq-utils-api.html" class="wiki_link">seq-utils</a></li><li><a href="server-socket-api.html" class="wiki_link">server-socket</a></li><li><a href="set-api.html" class="wiki_link">set</a></li><li><a href="shell-api.html" class="wiki_link">shell</a></li><li><a href="shell-out-api.html" class="wiki_link">shell-out</a></li><li><a href="singleton-api.html" class="wiki_link">singleton</a></li><li><a href="sql-api.html" class="wiki_link">sql</a></li><li><a href="str-utils-api.html" class="wiki_link">str-utils</a></li><li><a href="str-utils2-api.html" class="wiki_link">str-utils2</a></li><li><a href="stream-utils-api.html" class="wiki_link">stream-utils</a></li><li><a href="string-api.html" class="wiki_link">string</a></li><li><a href="strint-api.html" class="wiki_link">strint</a></li><li><a href="swing-utils-api.html" class="wiki_link">swing-utils</a></li><li><a href="test-is-api.html" class="wiki_link">test-is</a></li><li><a href="trace-api.html" class="wiki_link">trace</a></li><li><a href="types-api.html" class="wiki_link">types</a></li><li><a href="with-ns-api.html" class="wiki_link">with-ns</a></li><li><a href="zip-filter-api.html" class="wiki_link">zip-filter</a></li> - </ul> - <div class="BranchTOC"> - <span class="toc-header">Other Versions</span> - <ul id="left-sidebar-branch-list"> - <li><a href="../index.html" class="wiki_link">v1.2 (beta 1)</a></li><li><a href="../branch-1.1.x/index.html" class="wiki_link">v1.1 (stable)</a></li> - </ul> - </div> - <a href="http://clojure.org" class="wiki_link">Clojure Home</a> - </div> -</div> -</div> - <div id="rightcolumn"> - <div id="Content"> - <div class="contentBox"><div class="innerContentBox"> - <div id="content_view" class="wiki wikiPage"> - <div id="right-sidebar"><div id="toc"> - <h1 class="nopad">Table of Contents</h1> - <div style="margin-left: 1em;" class="toc-section"> - <a href="#toc0">Overview</a> - - <br /> - </div> -</div> -</div> - <div id="content-tag"><h1 id="overview">API for <span id="namespace-name">complex-numbers</span> - - <span id="header-project">clojure-contrib</span> <span id="header-version">next</span> (<span id="header-status">in development</span>) - </h1> -<span id="author-line">by <span id="author-name">Konrad Hinsen</span><br /></span> -<br />Usage: -<pre> -(ns your-namespace - (:require <span id="long-name">clojure.contrib.complex-numbers</span>)) -</pre><pre> -</pre><h2>Overview</h2> -<pre id="namespace-docstr">Complex numbers -NOTE: This library is in evolution. Most math functions are - not implemented yet.</pre> - - -<br /> -<h2>Public Variables and Functions</h2> - - - -</div> - </div> - </div> - </div> - </div> - <div id="foot"> - <div style="text-align: center;" id="copyright">Copyright 2007-2009 by Rich Hickey and the various contributors</div> - </div> - </div> - <div id="DesignedBy">Logo & site design by <a title="Visit Tom Hickey's website." href="http://www.tomhickey.com">Tom Hickey</a>.<br /> - Clojure auto-documentation system by Tom Faulhaber.</div> - </div> - <!-- /AllContentContainer --> - </body> - -</html>
\ No newline at end of file diff --git a/branch-master/cond-api.html b/branch-master/cond-api.html deleted file mode 100644 index e5eec1f5..00000000 --- a/branch-master/cond-api.html +++ /dev/null @@ -1,118 +0,0 @@ -<html> - <head> - <title>cond - clojure-contrib next API documentation</title> - <link href="../static/favicon.png" rel="icon" /> - <link href="../static/favicon.png" rel="shortcut icon" /> - <link media="all" type="text/css" href="../static/clojure.css" rel="stylesheet" /> - <link media="all" type="text/css" href="../static/wiki.css" rel="stylesheet" /> - <link media="all" type="text/css" href="../static/internal.css" rel="stylesheet" /> - <!-- TODO: are we using these (from clojure.org)? If so, add the files --> - <script src="file/view/code_highlighter.js" type="text/javascript"></script> - <script src="file/view/clojure.js" type="text/javascript"></script> - <style>.menuWrapper{height: 36px;}</style> - <!--[if lte IE 6]> - <link rel="stylesheet" href="http://www.wikispaces.com/_/2009051601/s/internal_ie.css" type="text/css" /> - <![endif]--> - </head> -<!-- -This document was auto-generated from the source by the clojure autodoc system. -To report errors or ask questions about the overall documentation structure, formatting, -etc., contact Tom Faulhaber (google mail name: tomfaulhaber). -For errors in the documentation of a particular namespace, contact the author of that -namespace. ---> - <body> - <div id="AllContentContainer"> - <div id="Header"> - <a id="Logo" href="index.html"><img alt="Clojure" height="100" width="100" src="../static/clojure-icon.gif" /></a> - <h1><a title="page header title" id="page-header" href="index.html">Clojure-contrib API Reference</a></h1> - </div> - <div id="leftcolumn"><div style="text-align: center;"></div> -<div class="menu"> - <div class="WikiCustomNav WikiElement wiki"> - <span class="toc-header"><span id="project-name">clojure-contrib</span> <span id="version">next</span> API</span><br /> - <ul> - <li><a class="wiki_link" href="index.html">Overview</a></li> - <li><a class="wiki_link" href="api-index.html">API Index</a></li> - </ul> - <span class="toc-header">Namespaces</span> - <ul id="left-sidebar-list"> - <li><a href="accumulators-api.html" class="wiki_link">accumulators</a></li><li><a href="agent-utils-api.html" class="wiki_link">agent-utils</a></li><li><a href="apply-macro-api.html" class="wiki_link">apply-macro</a></li><li><a href="base64-api.html" class="wiki_link">base64</a></li><li><a href="classpath-api.html" class="wiki_link">classpath</a></li><li><a href="combinatorics-api.html" class="wiki_link">combinatorics</a></li><li><a href="command-line-api.html" class="wiki_link">command-line</a></li><li><a href="complex-numbers-api.html" class="wiki_link">complex-numbers</a></li><li><a href="cond-api.html" class="wiki_link">cond</a></li><li><a href="condition-api.html" class="wiki_link">condition</a></li><li><a href="core-api.html" class="wiki_link">core</a></li><li><a href="dataflow-api.html" class="wiki_link">dataflow</a></li><li><a href="datalog-api.html" class="wiki_link">datalog</a></li><li><a href="def-api.html" class="wiki_link">def</a></li><li><a href="duck-streams-api.html" class="wiki_link">duck-streams</a></li><li><a href="error-kit-api.html" class="wiki_link">error-kit</a></li><li><a href="except-api.html" class="wiki_link">except</a></li><li><a href="fcase-api.html" class="wiki_link">fcase</a></li><li><a href="find-namespaces-api.html" class="wiki_link">find-namespaces</a></li><li><a href="fnmap-api.html" class="wiki_link">fnmap</a></li><li><a href="gen-html-docs-api.html" class="wiki_link">gen-html-docs</a></li><li><a href="generic.arithmetic-api.html" class="wiki_link">generic.arithmetic</a></li><li><a href="generic.collection-api.html" class="wiki_link">generic.collection</a></li><li><a href="generic.comparison-api.html" class="wiki_link">generic.comparison</a></li><li><a href="generic.functor-api.html" class="wiki_link">generic.functor</a></li><li><a href="generic.math-functions-api.html" class="wiki_link">generic.math-functions</a></li><li><a href="graph-api.html" class="wiki_link">graph</a></li><li><a href="greatest-least-api.html" class="wiki_link">greatest-least</a></li><li><a href="http.agent-api.html" class="wiki_link">http.agent</a></li><li><a href="http.connection-api.html" class="wiki_link">http.connection</a></li><li><a href="import-static-api.html" class="wiki_link">import-static</a></li><li><a href="io-api.html" class="wiki_link">io</a></li><li><a href="jar-api.html" class="wiki_link">jar</a></li><li><a href="java-utils-api.html" class="wiki_link">java-utils</a></li><li><a href="javadoc.browse-api.html" class="wiki_link">javadoc.browse</a></li><li><a href="jmx-api.html" class="wiki_link">jmx</a></li><li><a href="json-api.html" class="wiki_link">json</a></li><li><a href="lazy-seqs-api.html" class="wiki_link">lazy-seqs</a></li><li><a href="lazy-xml-api.html" class="wiki_link">lazy-xml</a></li><li><a href="logging-api.html" class="wiki_link">logging</a></li><li><a href="macro-utils-api.html" class="wiki_link">macro-utils</a></li><li><a href="macros-api.html" class="wiki_link">macros</a></li><li><a href="map-utils-api.html" class="wiki_link">map-utils</a></li><li><a href="math-api.html" class="wiki_link">math</a></li><li><a href="miglayout-api.html" class="wiki_link">miglayout</a></li><li><a href="mmap-api.html" class="wiki_link">mmap</a></li><li><a href="mock-api.html" class="wiki_link">mock</a></li><li><a href="monadic-io-streams-api.html" class="wiki_link">monadic-io-streams</a></li><li><a href="monads-api.html" class="wiki_link">monads</a></li><li><a href="ns-utils-api.html" class="wiki_link">ns-utils</a></li><li><a href="pprint-api.html" class="wiki_link">pprint</a></li><li><a href="priority-map-api.html" class="wiki_link">priority-map</a></li><li><a href="probabilities.finite-distributions-api.html" class="wiki_link">probabilities.finite-distributions</a></li><li><a href="probabilities.monte-carlo-api.html" class="wiki_link">probabilities.monte-carlo</a></li><li><a href="probabilities.random-numbers-api.html" class="wiki_link">probabilities.random-numbers</a></li><li><a href="profile-api.html" class="wiki_link">profile</a></li><li><a href="properties-api.html" class="wiki_link">properties</a></li><li><a href="prxml-api.html" class="wiki_link">prxml</a></li><li><a href="reflect-api.html" class="wiki_link">reflect</a></li><li><a href="repl-ln-api.html" class="wiki_link">repl-ln</a></li><li><a href="repl-utils-api.html" class="wiki_link">repl-utils</a></li><li><a href="seq-api.html" class="wiki_link">seq</a></li><li><a href="seq-utils-api.html" class="wiki_link">seq-utils</a></li><li><a href="server-socket-api.html" class="wiki_link">server-socket</a></li><li><a href="set-api.html" class="wiki_link">set</a></li><li><a href="shell-api.html" class="wiki_link">shell</a></li><li><a href="shell-out-api.html" class="wiki_link">shell-out</a></li><li><a href="singleton-api.html" class="wiki_link">singleton</a></li><li><a href="sql-api.html" class="wiki_link">sql</a></li><li><a href="str-utils-api.html" class="wiki_link">str-utils</a></li><li><a href="str-utils2-api.html" class="wiki_link">str-utils2</a></li><li><a href="stream-utils-api.html" class="wiki_link">stream-utils</a></li><li><a href="string-api.html" class="wiki_link">string</a></li><li><a href="strint-api.html" class="wiki_link">strint</a></li><li><a href="swing-utils-api.html" class="wiki_link">swing-utils</a></li><li><a href="test-is-api.html" class="wiki_link">test-is</a></li><li><a href="trace-api.html" class="wiki_link">trace</a></li><li><a href="types-api.html" class="wiki_link">types</a></li><li><a href="with-ns-api.html" class="wiki_link">with-ns</a></li><li><a href="zip-filter-api.html" class="wiki_link">zip-filter</a></li> - </ul> - <div class="BranchTOC"> - <span class="toc-header">Other Versions</span> - <ul id="left-sidebar-branch-list"> - <li><a href="../index.html" class="wiki_link">v1.2 (beta 1)</a></li><li><a href="../branch-1.1.x/index.html" class="wiki_link">v1.1 (stable)</a></li> - </ul> - </div> - <a href="http://clojure.org" class="wiki_link">Clojure Home</a> - </div> -</div> -</div> - <div id="rightcolumn"> - <div id="Content"> - <div class="contentBox"><div class="innerContentBox"> - <div id="content_view" class="wiki wikiPage"> - <div id="right-sidebar"><div id="toc"> - <h1 class="nopad">Table of Contents</h1> - <div style="margin-left: 1em;" class="toc-section"> - <a href="#toc0">Overview</a> - <div style="margin-left: 1em;" class="toc-entry"> - <a href="#clojure.contrib.cond/cond-let">cond-let</a> - </div> - <br /> - </div> -</div> -</div> - <div id="content-tag"><h1 id="overview">API for <span id="namespace-name">cond</span> - - <span id="header-project">clojure-contrib</span> <span id="header-version">next</span> (<span id="header-status">in development</span>) - </h1> -<span id="author-line">by <span id="author-name">Stephen C. Gilardi</span><br /></span> -<br />Usage: -<pre> -(ns your-namespace - (:require <span id="long-name">clojure.contrib.cond</span>)) -</pre><pre> -</pre><h2>Overview</h2> -<pre id="namespace-docstr">Extensions to the basic cond function.</pre> - - -<br /> -<h2>Public Variables and Functions</h2> -<div id="var-entry"> - <br /> - <hr /> - <h2 id="clojure.contrib.cond/cond-let">cond-let</h2> - <span id="var-type">macro</span><br /> - <pre id="var-usage">Usage: (cond-let bindings & clauses) -</pre> - <pre id="var-docstr">Takes a binding-form and a set of test/expr pairs. Evaluates each test -one at a time. If a test returns logical true, cond-let evaluates and -returns expr with binding-form bound to the value of test and doesn't -evaluate any of the other tests or exprs. To provide a default value -either provide a literal that evaluates to logical true and is -binding-compatible with binding-form, or use :else as the test and don't -refer to any parts of binding-form in the expr. (cond-let binding-form) -returns nil.</pre> - - - <a href="http://github.com/richhickey/clojure-contrib/blob/7188a51605136f36524e4091fe806859114d6056/src/main/clojure/clojure/contrib/cond.clj#L18" id="var-source">Source</a> -</div> - - -</div> - </div> - </div> - </div> - </div> - <div id="foot"> - <div style="text-align: center;" id="copyright">Copyright 2007-2009 by Rich Hickey and the various contributors</div> - </div> - </div> - <div id="DesignedBy">Logo & site design by <a title="Visit Tom Hickey's website." href="http://www.tomhickey.com">Tom Hickey</a>.<br /> - Clojure auto-documentation system by Tom Faulhaber.</div> - </div> - <!-- /AllContentContainer --> - </body> - -</html>
\ No newline at end of file diff --git a/branch-master/condition-api.html b/branch-master/condition-api.html deleted file mode 100644 index 97e095ea..00000000 --- a/branch-master/condition-api.html +++ /dev/null @@ -1,257 +0,0 @@ -<html> - <head> - <title>condition - clojure-contrib next API documentation</title> - <link href="../static/favicon.png" rel="icon" /> - <link href="../static/favicon.png" rel="shortcut icon" /> - <link media="all" type="text/css" href="../static/clojure.css" rel="stylesheet" /> - <link media="all" type="text/css" href="../static/wiki.css" rel="stylesheet" /> - <link media="all" type="text/css" href="../static/internal.css" rel="stylesheet" /> - <!-- TODO: are we using these (from clojure.org)? If so, add the files --> - <script src="file/view/code_highlighter.js" type="text/javascript"></script> - <script src="file/view/clojure.js" type="text/javascript"></script> - <style>.menuWrapper{height: 36px;}</style> - <!--[if lte IE 6]> - <link rel="stylesheet" href="http://www.wikispaces.com/_/2009051601/s/internal_ie.css" type="text/css" /> - <![endif]--> - </head> -<!-- -This document was auto-generated from the source by the clojure autodoc system. -To report errors or ask questions about the overall documentation structure, formatting, -etc., contact Tom Faulhaber (google mail name: tomfaulhaber). -For errors in the documentation of a particular namespace, contact the author of that -namespace. ---> - <body> - <div id="AllContentContainer"> - <div id="Header"> - <a id="Logo" href="index.html"><img alt="Clojure" height="100" width="100" src="../static/clojure-icon.gif" /></a> - <h1><a title="page header title" id="page-header" href="index.html">Clojure-contrib API Reference</a></h1> - </div> - <div id="leftcolumn"><div style="text-align: center;"></div> -<div class="menu"> - <div class="WikiCustomNav WikiElement wiki"> - <span class="toc-header"><span id="project-name">clojure-contrib</span> <span id="version">next</span> API</span><br /> - <ul> - <li><a class="wiki_link" href="index.html">Overview</a></li> - <li><a class="wiki_link" href="api-index.html">API Index</a></li> - </ul> - <span class="toc-header">Namespaces</span> - <ul id="left-sidebar-list"> - <li><a href="accumulators-api.html" class="wiki_link">accumulators</a></li><li><a href="agent-utils-api.html" class="wiki_link">agent-utils</a></li><li><a href="apply-macro-api.html" class="wiki_link">apply-macro</a></li><li><a href="base64-api.html" class="wiki_link">base64</a></li><li><a href="classpath-api.html" class="wiki_link">classpath</a></li><li><a href="combinatorics-api.html" class="wiki_link">combinatorics</a></li><li><a href="command-line-api.html" class="wiki_link">command-line</a></li><li><a href="complex-numbers-api.html" class="wiki_link">complex-numbers</a></li><li><a href="cond-api.html" class="wiki_link">cond</a></li><li><a href="condition-api.html" class="wiki_link">condition</a></li><li><a href="core-api.html" class="wiki_link">core</a></li><li><a href="dataflow-api.html" class="wiki_link">dataflow</a></li><li><a href="datalog-api.html" class="wiki_link">datalog</a></li><li><a href="def-api.html" class="wiki_link">def</a></li><li><a href="duck-streams-api.html" class="wiki_link">duck-streams</a></li><li><a href="error-kit-api.html" class="wiki_link">error-kit</a></li><li><a href="except-api.html" class="wiki_link">except</a></li><li><a href="fcase-api.html" class="wiki_link">fcase</a></li><li><a href="find-namespaces-api.html" class="wiki_link">find-namespaces</a></li><li><a href="fnmap-api.html" class="wiki_link">fnmap</a></li><li><a href="gen-html-docs-api.html" class="wiki_link">gen-html-docs</a></li><li><a href="generic.arithmetic-api.html" class="wiki_link">generic.arithmetic</a></li><li><a href="generic.collection-api.html" class="wiki_link">generic.collection</a></li><li><a href="generic.comparison-api.html" class="wiki_link">generic.comparison</a></li><li><a href="generic.functor-api.html" class="wiki_link">generic.functor</a></li><li><a href="generic.math-functions-api.html" class="wiki_link">generic.math-functions</a></li><li><a href="graph-api.html" class="wiki_link">graph</a></li><li><a href="greatest-least-api.html" class="wiki_link">greatest-least</a></li><li><a href="http.agent-api.html" class="wiki_link">http.agent</a></li><li><a href="http.connection-api.html" class="wiki_link">http.connection</a></li><li><a href="import-static-api.html" class="wiki_link">import-static</a></li><li><a href="io-api.html" class="wiki_link">io</a></li><li><a href="jar-api.html" class="wiki_link">jar</a></li><li><a href="java-utils-api.html" class="wiki_link">java-utils</a></li><li><a href="javadoc.browse-api.html" class="wiki_link">javadoc.browse</a></li><li><a href="jmx-api.html" class="wiki_link">jmx</a></li><li><a href="json-api.html" class="wiki_link">json</a></li><li><a href="lazy-seqs-api.html" class="wiki_link">lazy-seqs</a></li><li><a href="lazy-xml-api.html" class="wiki_link">lazy-xml</a></li><li><a href="logging-api.html" class="wiki_link">logging</a></li><li><a href="macro-utils-api.html" class="wiki_link">macro-utils</a></li><li><a href="macros-api.html" class="wiki_link">macros</a></li><li><a href="map-utils-api.html" class="wiki_link">map-utils</a></li><li><a href="math-api.html" class="wiki_link">math</a></li><li><a href="miglayout-api.html" class="wiki_link">miglayout</a></li><li><a href="mmap-api.html" class="wiki_link">mmap</a></li><li><a href="mock-api.html" class="wiki_link">mock</a></li><li><a href="monadic-io-streams-api.html" class="wiki_link">monadic-io-streams</a></li><li><a href="monads-api.html" class="wiki_link">monads</a></li><li><a href="ns-utils-api.html" class="wiki_link">ns-utils</a></li><li><a href="pprint-api.html" class="wiki_link">pprint</a></li><li><a href="priority-map-api.html" class="wiki_link">priority-map</a></li><li><a href="probabilities.finite-distributions-api.html" class="wiki_link">probabilities.finite-distributions</a></li><li><a href="probabilities.monte-carlo-api.html" class="wiki_link">probabilities.monte-carlo</a></li><li><a href="probabilities.random-numbers-api.html" class="wiki_link">probabilities.random-numbers</a></li><li><a href="profile-api.html" class="wiki_link">profile</a></li><li><a href="properties-api.html" class="wiki_link">properties</a></li><li><a href="prxml-api.html" class="wiki_link">prxml</a></li><li><a href="reflect-api.html" class="wiki_link">reflect</a></li><li><a href="repl-ln-api.html" class="wiki_link">repl-ln</a></li><li><a href="repl-utils-api.html" class="wiki_link">repl-utils</a></li><li><a href="seq-api.html" class="wiki_link">seq</a></li><li><a href="seq-utils-api.html" class="wiki_link">seq-utils</a></li><li><a href="server-socket-api.html" class="wiki_link">server-socket</a></li><li><a href="set-api.html" class="wiki_link">set</a></li><li><a href="shell-api.html" class="wiki_link">shell</a></li><li><a href="shell-out-api.html" class="wiki_link">shell-out</a></li><li><a href="singleton-api.html" class="wiki_link">singleton</a></li><li><a href="sql-api.html" class="wiki_link">sql</a></li><li><a href="str-utils-api.html" class="wiki_link">str-utils</a></li><li><a href="str-utils2-api.html" class="wiki_link">str-utils2</a></li><li><a href="stream-utils-api.html" class="wiki_link">stream-utils</a></li><li><a href="string-api.html" class="wiki_link">string</a></li><li><a href="strint-api.html" class="wiki_link">strint</a></li><li><a href="swing-utils-api.html" class="wiki_link">swing-utils</a></li><li><a href="test-is-api.html" class="wiki_link">test-is</a></li><li><a href="trace-api.html" class="wiki_link">trace</a></li><li><a href="types-api.html" class="wiki_link">types</a></li><li><a href="with-ns-api.html" class="wiki_link">with-ns</a></li><li><a href="zip-filter-api.html" class="wiki_link">zip-filter</a></li> - </ul> - <div class="BranchTOC"> - <span class="toc-header">Other Versions</span> - <ul id="left-sidebar-branch-list"> - <li><a href="../index.html" class="wiki_link">v1.2 (beta 1)</a></li><li><a href="../branch-1.1.x/index.html" class="wiki_link">v1.1 (stable)</a></li> - </ul> - </div> - <a href="http://clojure.org" class="wiki_link">Clojure Home</a> - </div> -</div> -</div> - <div id="rightcolumn"> - <div id="Content"> - <div class="contentBox"><div class="innerContentBox"> - <div id="content_view" class="wiki wikiPage"> - <div id="right-sidebar"><div id="toc"> - <h1 class="nopad">Table of Contents</h1> - <div style="margin-left: 1em;" class="toc-section"> - <a href="#toc0">Overview</a> - <div style="margin-left: 1em;" class="toc-entry"> - <a href="#clojure.contrib.condition/*full-stack-traces*">*full-stack-traces*</a> - </div><div style="margin-left: 1em;" class="toc-entry"> - <a href="#clojure.contrib.condition/handler-case">handler-case</a> - </div><div style="margin-left: 1em;" class="toc-entry"> - <a href="#clojure.contrib.condition/print-stack-trace">print-stack-trace</a> - </div><div style="margin-left: 1em;" class="toc-entry"> - <a href="#clojure.contrib.condition/raise">raise</a> - </div><div style="margin-left: 1em;" class="toc-entry"> - <a href="#clojure.contrib.condition/stack-trace-info">stack-trace-info</a> - </div> - <br /> - </div><div style="margin-left: 1em;" class="toc-section"> - <a href="#condition.Condition">condition.Condition</a> - <div style="margin-left: 1em;" class="toc-entry"> - <a href="#clojure.contrib.condition.Condition/-init">-init</a> - </div><div style="margin-left: 1em;" class="toc-entry"> - <a href="#clojure.contrib.condition.Condition/-meta">-meta</a> - </div><div style="margin-left: 1em;" class="toc-entry"> - <a href="#clojure.contrib.condition.Condition/-post-init">-post-init</a> - </div> - <br /> - </div> -</div> -</div> - <div id="content-tag"><h1 id="overview">API for <span id="namespace-name">condition</span> - - <span id="header-project">clojure-contrib</span> <span id="header-version">next</span> (<span id="header-status">in development</span>) - </h1> -<span id="author-line">by <span id="author-name">Stephen C. Gilardi</span><br /></span> -<br />Usage: -<pre> -(ns your-namespace - (:require <span id="long-name">clojure.contrib.condition</span>)) -</pre><pre> -</pre><h2>Overview</h2> -<pre id="namespace-docstr">Flexible raising and handling of conditions: - -Functions: - - raise: raises a condition - handler-case: dispatches raised conditions to appropriate handlers - print-stack-trace: prints abbreviated or full condition stack traces - -Data: - - A condition is a map containing values for these keys: - - - :type, a condition type specifier, typically a keyword - - :stack-trace, a stack trace to the site of the raise - - :message, a human-readable message (optional) - - :cause, a wrapped exception or condition (optional) - - other keys given as arguments to raise (optional) - -Note: requires AOT compilation. - -Based on an idea from Chouser: -<a href="http://groups.google.com/group/clojure/browse_frm/thread/da1285c538f22bb5">http://groups.google.com/group/clojure/browse_frm/thread/da1285c538f22bb5</a></pre> - - -<br /> -<h2>Public Variables and Functions</h2> -<div id="var-entry"> - <br /> - <hr /> - <h2 id="clojure.contrib.condition/*full-stack-traces*">*full-stack-traces*</h2> - <span id="var-type">var</span><br /> - <pre id="var-usage"></pre> - <pre id="var-docstr">Bind to true to include clojure.{core,lang,main} frames in stack -traces</pre> - - - <a href="http://github.com/richhickey/clojure-contrib/blob/7188a51605136f36524e4091fe806859114d6056/src/main/clojure/clojure/contrib/condition.clj#L56" id="var-source">Source</a> -</div><div id="var-entry"> - <br /> - <hr /> - <h2 id="clojure.contrib.condition/handler-case">handler-case</h2> - <span id="var-type">macro</span><br /> - <pre id="var-usage">Usage: (handler-case dispatch-fn & body) -</pre> - <pre id="var-docstr">Executes body in a context where raised conditions can be handled. - -dispatch-fn accepts a raised condition (a map) and returns a selector -used to choose a handler. Commonly, dispatch-fn will be :type to dispatch -on the condition's :type value. - -Handlers are forms within body: - - (handle key - ...) - -If a condition is raised, executes the body of the first handler whose -key satisfies (isa? selector key). If no handlers match, re-raises the -condition. - -While a handler is running, *condition* is bound to the condition being -handled and *selector* is bound to to the value returned by dispatch-fn -that matched the handler's key.</pre> - - - <a href="http://github.com/richhickey/clojure-contrib/blob/7188a51605136f36524e4091fe806859114d6056/src/main/clojure/clojure/contrib/condition.clj#L71" id="var-source">Source</a> -</div><div id="var-entry"> - <br /> - <hr /> - <h2 id="clojure.contrib.condition/print-stack-trace">print-stack-trace</h2> - <span id="var-type">function</span><br /> - <pre id="var-usage">Usage: (print-stack-trace x) -</pre> - <pre id="var-docstr">Prints a stack trace for a condition or Throwable. Skips frames for -classes in clojure.{core,lang,main} unless the *full-stack-traces* is -bound to logical true</pre> - - - <a href="http://github.com/richhickey/clojure-contrib/blob/7188a51605136f36524e4091fe806859114d6056/src/main/clojure/clojure/contrib/condition.clj#L128" id="var-source">Source</a> -</div><div id="var-entry"> - <br /> - <hr /> - <h2 id="clojure.contrib.condition/raise">raise</h2> - <span id="var-type">macro</span><br /> - <pre id="var-usage">Usage: (raise) - (raise m) - (raise key val & keyvals) -</pre> - <pre id="var-docstr">Raises a condition. With no arguments, re-raises the current condition. -With one argument (a map), raises the argument. With two or more -arguments, raises a map with keys and values from the arguments.</pre> - - - <a href="http://github.com/richhickey/clojure-contrib/blob/7188a51605136f36524e4091fe806859114d6056/src/main/clojure/clojure/contrib/condition.clj#L60" id="var-source">Source</a> -</div><div id="var-entry"> - <br /> - <hr /> - <h2 id="clojure.contrib.condition/stack-trace-info">stack-trace-info</h2> - <span id="var-type">multimethod</span><br /> - <pre id="var-usage">No usage documentation available</pre> - <pre id="var-docstr">Returns header, stack-trace, and cause info from conditions and -Throwables</pre> - - - <a href="http://github.com/richhickey/clojure-contrib/blob/7188a51605136f36524e4091fe806859114d6056/src/main/clojure/clojure/contrib/condition.clj#L106" id="var-source">Source</a> -</div> -<h2 id="namespace-name">condition.Condition</h2> -<pre id="namespace-docstr"></pre> - - -<br /> -<div id="var-entry"> - <hr /> - <h2 id="clojure.contrib.condition.Condition/-init">-init</h2> - <span id="var-type">function</span><br /> - <pre id="var-usage">Usage: (-init condition) -</pre> - <pre id="var-docstr">Constructs a Condition object with condition (a map) as its -metadata. Also initializes the superclass with the values at :message -and :cause, if any, so they are also available via .getMessage and -.getCause.</pre> - - - <a href="http://github.com/richhickey/clojure-contrib/blob/2ede388a9267d175bfaa7781ee9d57532eb4f20f/src/main/clojure/clojure/contrib/condition/Condition.clj#L25" id="var-source">Source</a> -</div><div id="var-entry"> - <hr /> - <h2 id="clojure.contrib.condition.Condition/-meta">-meta</h2> - <span id="var-type">function</span><br /> - <pre id="var-usage">Usage: (-meta this) -</pre> - <pre id="var-docstr">Returns this object's metadata, the condition</pre> - - - <a href="http://github.com/richhickey/clojure-contrib/blob/2ede388a9267d175bfaa7781ee9d57532eb4f20f/src/main/clojure/clojure/contrib/condition/Condition.clj#L40" id="var-source">Source</a> -</div><div id="var-entry"> - <hr /> - <h2 id="clojure.contrib.condition.Condition/-post-init">-post-init</h2> - <span id="var-type">function</span><br /> - <pre id="var-usage">Usage: (-post-init this condition) -</pre> - <pre id="var-docstr">Adds :stack-trace to the condition. Drops the bottom 3 frames because -they are always the same: implementation details of Condition and raise.</pre> - - - <a href="http://github.com/richhickey/clojure-contrib/blob/2ede388a9267d175bfaa7781ee9d57532eb4f20f/src/main/clojure/clojure/contrib/condition/Condition.clj#L33" id="var-source">Source</a> -</div> - - -</div> - </div> - </div> - </div> - </div> - <div id="foot"> - <div style="text-align: center;" id="copyright">Copyright 2007-2009 by Rich Hickey and the various contributors</div> - </div> - </div> - <div id="DesignedBy">Logo & site design by <a title="Visit Tom Hickey's website." href="http://www.tomhickey.com">Tom Hickey</a>.<br /> - Clojure auto-documentation system by Tom Faulhaber.</div> - </div> - <!-- /AllContentContainer --> - </body> - -</html>
\ No newline at end of file diff --git a/branch-master/core-api.html b/branch-master/core-api.html deleted file mode 100644 index a6d88448..00000000 --- a/branch-master/core-api.html +++ /dev/null @@ -1,194 +0,0 @@ -<html> - <head> - <title>core - clojure-contrib next API documentation</title> - <link href="../static/favicon.png" rel="icon" /> - <link href="../static/favicon.png" rel="shortcut icon" /> - <link media="all" type="text/css" href="../static/clojure.css" rel="stylesheet" /> - <link media="all" type="text/css" href="../static/wiki.css" rel="stylesheet" /> - <link media="all" type="text/css" href="../static/internal.css" rel="stylesheet" /> - <!-- TODO: are we using these (from clojure.org)? If so, add the files --> - <script src="file/view/code_highlighter.js" type="text/javascript"></script> - <script src="file/view/clojure.js" type="text/javascript"></script> - <style>.menuWrapper{height: 36px;}</style> - <!--[if lte IE 6]> - <link rel="stylesheet" href="http://www.wikispaces.com/_/2009051601/s/internal_ie.css" type="text/css" /> - <![endif]--> - </head> -<!-- -This document was auto-generated from the source by the clojure autodoc system. -To report errors or ask questions about the overall documentation structure, formatting, -etc., contact Tom Faulhaber (google mail name: tomfaulhaber). -For errors in the documentation of a particular namespace, contact the author of that -namespace. ---> - <body> - <div id="AllContentContainer"> - <div id="Header"> - <a id="Logo" href="index.html"><img alt="Clojure" height="100" width="100" src="../static/clojure-icon.gif" /></a> - <h1><a title="page header title" id="page-header" href="index.html">Clojure-contrib API Reference</a></h1> - </div> - <div id="leftcolumn"><div style="text-align: center;"></div> -<div class="menu"> - <div class="WikiCustomNav WikiElement wiki"> - <span class="toc-header"><span id="project-name">clojure-contrib</span> <span id="version">next</span> API</span><br /> - <ul> - <li><a class="wiki_link" href="index.html">Overview</a></li> - <li><a class="wiki_link" href="api-index.html">API Index</a></li> - </ul> - <span class="toc-header">Namespaces</span> - <ul id="left-sidebar-list"> - <li><a href="accumulators-api.html" class="wiki_link">accumulators</a></li><li><a href="agent-utils-api.html" class="wiki_link">agent-utils</a></li><li><a href="apply-macro-api.html" class="wiki_link">apply-macro</a></li><li><a href="base64-api.html" class="wiki_link">base64</a></li><li><a href="classpath-api.html" class="wiki_link">classpath</a></li><li><a href="combinatorics-api.html" class="wiki_link">combinatorics</a></li><li><a href="command-line-api.html" class="wiki_link">command-line</a></li><li><a href="complex-numbers-api.html" class="wiki_link">complex-numbers</a></li><li><a href="cond-api.html" class="wiki_link">cond</a></li><li><a href="condition-api.html" class="wiki_link">condition</a></li><li><a href="core-api.html" class="wiki_link">core</a></li><li><a href="dataflow-api.html" class="wiki_link">dataflow</a></li><li><a href="datalog-api.html" class="wiki_link">datalog</a></li><li><a href="def-api.html" class="wiki_link">def</a></li><li><a href="duck-streams-api.html" class="wiki_link">duck-streams</a></li><li><a href="error-kit-api.html" class="wiki_link">error-kit</a></li><li><a href="except-api.html" class="wiki_link">except</a></li><li><a href="fcase-api.html" class="wiki_link">fcase</a></li><li><a href="find-namespaces-api.html" class="wiki_link">find-namespaces</a></li><li><a href="fnmap-api.html" class="wiki_link">fnmap</a></li><li><a href="gen-html-docs-api.html" class="wiki_link">gen-html-docs</a></li><li><a href="generic.arithmetic-api.html" class="wiki_link">generic.arithmetic</a></li><li><a href="generic.collection-api.html" class="wiki_link">generic.collection</a></li><li><a href="generic.comparison-api.html" class="wiki_link">generic.comparison</a></li><li><a href="generic.functor-api.html" class="wiki_link">generic.functor</a></li><li><a href="generic.math-functions-api.html" class="wiki_link">generic.math-functions</a></li><li><a href="graph-api.html" class="wiki_link">graph</a></li><li><a href="greatest-least-api.html" class="wiki_link">greatest-least</a></li><li><a href="http.agent-api.html" class="wiki_link">http.agent</a></li><li><a href="http.connection-api.html" class="wiki_link">http.connection</a></li><li><a href="import-static-api.html" class="wiki_link">import-static</a></li><li><a href="io-api.html" class="wiki_link">io</a></li><li><a href="jar-api.html" class="wiki_link">jar</a></li><li><a href="java-utils-api.html" class="wiki_link">java-utils</a></li><li><a href="javadoc.browse-api.html" class="wiki_link">javadoc.browse</a></li><li><a href="jmx-api.html" class="wiki_link">jmx</a></li><li><a href="json-api.html" class="wiki_link">json</a></li><li><a href="lazy-seqs-api.html" class="wiki_link">lazy-seqs</a></li><li><a href="lazy-xml-api.html" class="wiki_link">lazy-xml</a></li><li><a href="logging-api.html" class="wiki_link">logging</a></li><li><a href="macro-utils-api.html" class="wiki_link">macro-utils</a></li><li><a href="macros-api.html" class="wiki_link">macros</a></li><li><a href="map-utils-api.html" class="wiki_link">map-utils</a></li><li><a href="math-api.html" class="wiki_link">math</a></li><li><a href="miglayout-api.html" class="wiki_link">miglayout</a></li><li><a href="mmap-api.html" class="wiki_link">mmap</a></li><li><a href="mock-api.html" class="wiki_link">mock</a></li><li><a href="monadic-io-streams-api.html" class="wiki_link">monadic-io-streams</a></li><li><a href="monads-api.html" class="wiki_link">monads</a></li><li><a href="ns-utils-api.html" class="wiki_link">ns-utils</a></li><li><a href="pprint-api.html" class="wiki_link">pprint</a></li><li><a href="priority-map-api.html" class="wiki_link">priority-map</a></li><li><a href="probabilities.finite-distributions-api.html" class="wiki_link">probabilities.finite-distributions</a></li><li><a href="probabilities.monte-carlo-api.html" class="wiki_link">probabilities.monte-carlo</a></li><li><a href="probabilities.random-numbers-api.html" class="wiki_link">probabilities.random-numbers</a></li><li><a href="profile-api.html" class="wiki_link">profile</a></li><li><a href="properties-api.html" class="wiki_link">properties</a></li><li><a href="prxml-api.html" class="wiki_link">prxml</a></li><li><a href="reflect-api.html" class="wiki_link">reflect</a></li><li><a href="repl-ln-api.html" class="wiki_link">repl-ln</a></li><li><a href="repl-utils-api.html" class="wiki_link">repl-utils</a></li><li><a href="seq-api.html" class="wiki_link">seq</a></li><li><a href="seq-utils-api.html" class="wiki_link">seq-utils</a></li><li><a href="server-socket-api.html" class="wiki_link">server-socket</a></li><li><a href="set-api.html" class="wiki_link">set</a></li><li><a href="shell-api.html" class="wiki_link">shell</a></li><li><a href="shell-out-api.html" class="wiki_link">shell-out</a></li><li><a href="singleton-api.html" class="wiki_link">singleton</a></li><li><a href="sql-api.html" class="wiki_link">sql</a></li><li><a href="str-utils-api.html" class="wiki_link">str-utils</a></li><li><a href="str-utils2-api.html" class="wiki_link">str-utils2</a></li><li><a href="stream-utils-api.html" class="wiki_link">stream-utils</a></li><li><a href="string-api.html" class="wiki_link">string</a></li><li><a href="strint-api.html" class="wiki_link">strint</a></li><li><a href="swing-utils-api.html" class="wiki_link">swing-utils</a></li><li><a href="test-is-api.html" class="wiki_link">test-is</a></li><li><a href="trace-api.html" class="wiki_link">trace</a></li><li><a href="types-api.html" class="wiki_link">types</a></li><li><a href="with-ns-api.html" class="wiki_link">with-ns</a></li><li><a href="zip-filter-api.html" class="wiki_link">zip-filter</a></li> - </ul> - <div class="BranchTOC"> - <span class="toc-header">Other Versions</span> - <ul id="left-sidebar-branch-list"> - <li><a href="../index.html" class="wiki_link">v1.2 (beta 1)</a></li><li><a href="../branch-1.1.x/index.html" class="wiki_link">v1.1 (stable)</a></li> - </ul> - </div> - <a href="http://clojure.org" class="wiki_link">Clojure Home</a> - </div> -</div> -</div> - <div id="rightcolumn"> - <div id="Content"> - <div class="contentBox"><div class="innerContentBox"> - <div id="content_view" class="wiki wikiPage"> - <div id="right-sidebar"><div id="toc"> - <h1 class="nopad">Table of Contents</h1> - <div style="margin-left: 1em;" class="toc-section"> - <a href="#toc0">Overview</a> - <div style="margin-left: 1em;" class="toc-entry"> - <a href="#clojure.contrib.core/-?>">-?></a> - </div><div style="margin-left: 1em;" class="toc-entry"> - <a href="#clojure.contrib.core/-?>>">-?>></a> - </div><div style="margin-left: 1em;" class="toc-entry"> - <a href="#clojure.contrib.core/.?.">.?.</a> - </div><div style="margin-left: 1em;" class="toc-entry"> - <a href="#clojure.contrib.core/dissoc-in">dissoc-in</a> - </div><div style="margin-left: 1em;" class="toc-entry"> - <a href="#clojure.contrib.core/new-by-name">new-by-name</a> - </div><div style="margin-left: 1em;" class="toc-entry"> - <a href="#clojure.contrib.core/seqable?">seqable?</a> - </div> - <br /> - </div> -</div> -</div> - <div id="content-tag"><h1 id="overview">API for <span id="namespace-name">core</span> - - <span id="header-project">clojure-contrib</span> <span id="header-version">next</span> (<span id="header-status">in development</span>) - </h1> -<span id="author-line">by <span id="author-name">Laurent Petit (and others)</span><br /></span> -<br />Usage: -<pre> -(ns your-namespace - (:require <span id="long-name">clojure.contrib.core</span>)) -</pre><pre> -</pre><h2>Overview</h2> -<pre id="namespace-docstr">Functions/macros variants of the ones that can be found in clojure.core -(note to other contrib members: feel free to add to this lib)</pre> - - -<br /> -<h2>Public Variables and Functions</h2> -<div id="var-entry"> - <br /> - <hr /> - <h2 id="clojure.contrib.core/-?>">-?></h2> - <span id="var-type">macro</span><br /> - <pre id="var-usage">Usage: (-?> x form) - (-?> x form & forms) -</pre> - <pre id="var-docstr">Same as clojure.core/-> but returns nil as soon as the threaded value is nil itself (thus short-circuiting any pending computation). -Examples : -(-?> "foo" .toUpperCase (.substring 1)) returns "OO" -(-?> nil .toUpperCase (.substring 1)) returns nil -</pre> - - - <a href="http://github.com/richhickey/clojure-contrib/blob/7188a51605136f36524e4091fe806859114d6056/src/main/clojure/clojure/contrib/core.clj#L30" id="var-source">Source</a> -</div><div id="var-entry"> - <br /> - <hr /> - <h2 id="clojure.contrib.core/-?>>">-?>></h2> - <span id="var-type">macro</span><br /> - <pre id="var-usage">Usage: (-?>> x form) - (-?>> x form & forms) -</pre> - <pre id="var-docstr">Same as clojure.core/->> but returns nil as soon as the threaded value is nil itself (thus short-circuiting any pending computation). -Examples : -(-?>> (range 5) (map inc)) returns (1 2 3 4 5) -(-?>> [] seq (map inc)) returns nil -</pre> - - - <a href="http://github.com/richhickey/clojure-contrib/blob/7188a51605136f36524e4091fe806859114d6056/src/main/clojure/clojure/contrib/core.clj#L46" id="var-source">Source</a> -</div><div id="var-entry"> - <br /> - <hr /> - <h2 id="clojure.contrib.core/.?.">.?.</h2> - <span id="var-type">macro</span><br /> - <pre id="var-usage">Usage: (.?. x form) - (.?. x form & forms) -</pre> - <pre id="var-docstr">Same as clojure.core/.. but returns nil as soon as the threaded value is nil itself (thus short-circuiting any pending computation). -Examples : -(.?. "foo" .toUpperCase (.substring 1)) returns "OO" -(.?. nil .toUpperCase (.substring 1)) returns nil -</pre> - - - <a href="http://github.com/richhickey/clojure-contrib/blob/7188a51605136f36524e4091fe806859114d6056/src/main/clojure/clojure/contrib/core.clj#L38" id="var-source">Source</a> -</div><div id="var-entry"> - <br /> - <hr /> - <h2 id="clojure.contrib.core/dissoc-in">dissoc-in</h2> - <span id="var-type">function</span><br /> - <pre id="var-usage">Usage: (dissoc-in m [k & ks :as keys]) -</pre> - <pre id="var-docstr">Dissociates an entry from a nested associative structure returning a new -nested structure. keys is a sequence of keys. Any empty maps that result -will not be present in the new structure.</pre> - - - <a href="http://github.com/richhickey/clojure-contrib/blob/7188a51605136f36524e4091fe806859114d6056/src/main/clojure/clojure/contrib/core.clj#L57" id="var-source">Source</a> -</div><div id="var-entry"> - <br /> - <hr /> - <h2 id="clojure.contrib.core/new-by-name">new-by-name</h2> - <span id="var-type">function</span><br /> - <pre id="var-usage">Usage: (new-by-name class-name & args) -</pre> - <pre id="var-docstr">Constructs a Java object whose class is specified by a String.</pre> - - - <a href="http://github.com/richhickey/clojure-contrib/blob/7188a51605136f36524e4091fe806859114d6056/src/main/clojure/clojure/contrib/core.clj#L71" id="var-source">Source</a> -</div><div id="var-entry"> - <br /> - <hr /> - <h2 id="clojure.contrib.core/seqable?">seqable?</h2> - <span id="var-type">function</span><br /> - <pre id="var-usage">Usage: (seqable? x) -</pre> - <pre id="var-docstr">Returns true if (seq x) will succeed, false otherwise.</pre> - - - <a href="http://github.com/richhickey/clojure-contrib/blob/7188a51605136f36524e4091fe806859114d6056/src/main/clojure/clojure/contrib/core.clj#L78" id="var-source">Source</a> -</div> - - -</div> - </div> - </div> - </div> - </div> - <div id="foot"> - <div style="text-align: center;" id="copyright">Copyright 2007-2009 by Rich Hickey and the various contributors</div> - </div> - </div> - <div id="DesignedBy">Logo & site design by <a title="Visit Tom Hickey's website." href="http://www.tomhickey.com">Tom Hickey</a>.<br /> - Clojure auto-documentation system by Tom Faulhaber.</div> - </div> - <!-- /AllContentContainer --> - </body> - -</html>
\ No newline at end of file diff --git a/branch-master/dataflow-api.html b/branch-master/dataflow-api.html deleted file mode 100644 index 8a4bec5f..00000000 --- a/branch-master/dataflow-api.html +++ /dev/null @@ -1,388 +0,0 @@ -<html> - <head> - <title>dataflow - clojure-contrib next API documentation</title> - <link href="../static/favicon.png" rel="icon" /> - <link href="../static/favicon.png" rel="shortcut icon" /> - <link media="all" type="text/css" href="../static/clojure.css" rel="stylesheet" /> - <link media="all" type="text/css" href="../static/wiki.css" rel="stylesheet" /> - <link media="all" type="text/css" href="../static/internal.css" rel="stylesheet" /> - <!-- TODO: are we using these (from clojure.org)? If so, add the files --> - <script src="file/view/code_highlighter.js" type="text/javascript"></script> - <script src="file/view/clojure.js" type="text/javascript"></script> - <style>.menuWrapper{height: 36px;}</style> - <!--[if lte IE 6]> - <link rel="stylesheet" href="http://www.wikispaces.com/_/2009051601/s/internal_ie.css" type="text/css" /> - <![endif]--> - </head> -<!-- -This document was auto-generated from the source by the clojure autodoc system. -To report errors or ask questions about the overall documentation structure, formatting, -etc., contact Tom Faulhaber (google mail name: tomfaulhaber). -For errors in the documentation of a particular namespace, contact the author of that -namespace. ---> - <body> - <div id="AllContentContainer"> - <div id="Header"> - <a id="Logo" href="index.html"><img alt="Clojure" height="100" width="100" src="../static/clojure-icon.gif" /></a> - <h1><a title="page header title" id="page-header" href="index.html">Clojure-contrib API Reference</a></h1> - </div> - <div id="leftcolumn"><div style="text-align: center;"></div> -<div class="menu"> - <div class="WikiCustomNav WikiElement wiki"> - <span class="toc-header"><span id="project-name">clojure-contrib</span> <span id="version">next</span> API</span><br /> - <ul> - <li><a class="wiki_link" href="index.html">Overview</a></li> - <li><a class="wiki_link" href="api-index.html">API Index</a></li> - </ul> - <span class="toc-header">Namespaces</span> - <ul id="left-sidebar-list"> - <li><a href="accumulators-api.html" class="wiki_link">accumulators</a></li><li><a href="agent-utils-api.html" class="wiki_link">agent-utils</a></li><li><a href="apply-macro-api.html" class="wiki_link">apply-macro</a></li><li><a href="base64-api.html" class="wiki_link">base64</a></li><li><a href="classpath-api.html" class="wiki_link">classpath</a></li><li><a href="combinatorics-api.html" class="wiki_link">combinatorics</a></li><li><a href="command-line-api.html" class="wiki_link">command-line</a></li><li><a href="complex-numbers-api.html" class="wiki_link">complex-numbers</a></li><li><a href="cond-api.html" class="wiki_link">cond</a></li><li><a href="condition-api.html" class="wiki_link">condition</a></li><li><a href="core-api.html" class="wiki_link">core</a></li><li><a href="dataflow-api.html" class="wiki_link">dataflow</a></li><li><a href="datalog-api.html" class="wiki_link">datalog</a></li><li><a href="def-api.html" class="wiki_link">def</a></li><li><a href="duck-streams-api.html" class="wiki_link">duck-streams</a></li><li><a href="error-kit-api.html" class="wiki_link">error-kit</a></li><li><a href="except-api.html" class="wiki_link">except</a></li><li><a href="fcase-api.html" class="wiki_link">fcase</a></li><li><a href="find-namespaces-api.html" class="wiki_link">find-namespaces</a></li><li><a href="fnmap-api.html" class="wiki_link">fnmap</a></li><li><a href="gen-html-docs-api.html" class="wiki_link">gen-html-docs</a></li><li><a href="generic.arithmetic-api.html" class="wiki_link">generic.arithmetic</a></li><li><a href="generic.collection-api.html" class="wiki_link">generic.collection</a></li><li><a href="generic.comparison-api.html" class="wiki_link">generic.comparison</a></li><li><a href="generic.functor-api.html" class="wiki_link">generic.functor</a></li><li><a href="generic.math-functions-api.html" class="wiki_link">generic.math-functions</a></li><li><a href="graph-api.html" class="wiki_link">graph</a></li><li><a href="greatest-least-api.html" class="wiki_link">greatest-least</a></li><li><a href="http.agent-api.html" class="wiki_link">http.agent</a></li><li><a href="http.connection-api.html" class="wiki_link">http.connection</a></li><li><a href="import-static-api.html" class="wiki_link">import-static</a></li><li><a href="io-api.html" class="wiki_link">io</a></li><li><a href="jar-api.html" class="wiki_link">jar</a></li><li><a href="java-utils-api.html" class="wiki_link">java-utils</a></li><li><a href="javadoc.browse-api.html" class="wiki_link">javadoc.browse</a></li><li><a href="jmx-api.html" class="wiki_link">jmx</a></li><li><a href="json-api.html" class="wiki_link">json</a></li><li><a href="lazy-seqs-api.html" class="wiki_link">lazy-seqs</a></li><li><a href="lazy-xml-api.html" class="wiki_link">lazy-xml</a></li><li><a href="logging-api.html" class="wiki_link">logging</a></li><li><a href="macro-utils-api.html" class="wiki_link">macro-utils</a></li><li><a href="macros-api.html" class="wiki_link">macros</a></li><li><a href="map-utils-api.html" class="wiki_link">map-utils</a></li><li><a href="math-api.html" class="wiki_link">math</a></li><li><a href="miglayout-api.html" class="wiki_link">miglayout</a></li><li><a href="mmap-api.html" class="wiki_link">mmap</a></li><li><a href="mock-api.html" class="wiki_link">mock</a></li><li><a href="monadic-io-streams-api.html" class="wiki_link">monadic-io-streams</a></li><li><a href="monads-api.html" class="wiki_link">monads</a></li><li><a href="ns-utils-api.html" class="wiki_link">ns-utils</a></li><li><a href="pprint-api.html" class="wiki_link">pprint</a></li><li><a href="priority-map-api.html" class="wiki_link">priority-map</a></li><li><a href="probabilities.finite-distributions-api.html" class="wiki_link">probabilities.finite-distributions</a></li><li><a href="probabilities.monte-carlo-api.html" class="wiki_link">probabilities.monte-carlo</a></li><li><a href="probabilities.random-numbers-api.html" class="wiki_link">probabilities.random-numbers</a></li><li><a href="profile-api.html" class="wiki_link">profile</a></li><li><a href="properties-api.html" class="wiki_link">properties</a></li><li><a href="prxml-api.html" class="wiki_link">prxml</a></li><li><a href="reflect-api.html" class="wiki_link">reflect</a></li><li><a href="repl-ln-api.html" class="wiki_link">repl-ln</a></li><li><a href="repl-utils-api.html" class="wiki_link">repl-utils</a></li><li><a href="seq-api.html" class="wiki_link">seq</a></li><li><a href="seq-utils-api.html" class="wiki_link">seq-utils</a></li><li><a href="server-socket-api.html" class="wiki_link">server-socket</a></li><li><a href="set-api.html" class="wiki_link">set</a></li><li><a href="shell-api.html" class="wiki_link">shell</a></li><li><a href="shell-out-api.html" class="wiki_link">shell-out</a></li><li><a href="singleton-api.html" class="wiki_link">singleton</a></li><li><a href="sql-api.html" class="wiki_link">sql</a></li><li><a href="str-utils-api.html" class="wiki_link">str-utils</a></li><li><a href="str-utils2-api.html" class="wiki_link">str-utils2</a></li><li><a href="stream-utils-api.html" class="wiki_link">stream-utils</a></li><li><a href="string-api.html" class="wiki_link">string</a></li><li><a href="strint-api.html" class="wiki_link">strint</a></li><li><a href="swing-utils-api.html" class="wiki_link">swing-utils</a></li><li><a href="test-is-api.html" class="wiki_link">test-is</a></li><li><a href="trace-api.html" class="wiki_link">trace</a></li><li><a href="types-api.html" class="wiki_link">types</a></li><li><a href="with-ns-api.html" class="wiki_link">with-ns</a></li><li><a href="zip-filter-api.html" class="wiki_link">zip-filter</a></li> - </ul> - <div class="BranchTOC"> - <span class="toc-header">Other Versions</span> - <ul id="left-sidebar-branch-list"> - <li><a href="../index.html" class="wiki_link">v1.2 (beta 1)</a></li><li><a href="../branch-1.1.x/index.html" class="wiki_link">v1.1 (stable)</a></li> - </ul> - </div> - <a href="http://clojure.org" class="wiki_link">Clojure Home</a> - </div> -</div> -</div> - <div id="rightcolumn"> - <div id="Content"> - <div class="contentBox"><div class="innerContentBox"> - <div id="content_view" class="wiki wikiPage"> - <div id="right-sidebar"><div id="toc"> - <h1 class="nopad">Table of Contents</h1> - <div style="margin-left: 1em;" class="toc-section"> - <a href="#toc0">Overview</a> - <div style="margin-left: 1em;" class="toc-entry"> - <a href="#clojure.contrib.dataflow/add-cell-watcher">add-cell-watcher</a> - </div><div style="margin-left: 1em;" class="toc-entry"> - <a href="#clojure.contrib.dataflow/add-cells">add-cells</a> - </div><div style="margin-left: 1em;" class="toc-entry"> - <a href="#clojure.contrib.dataflow/build-dataflow">build-dataflow</a> - </div><div style="margin-left: 1em;" class="toc-entry"> - <a href="#clojure.contrib.dataflow/build-source-cell">build-source-cell</a> - </div><div style="margin-left: 1em;" class="toc-entry"> - <a href="#clojure.contrib.dataflow/build-standard-cell">build-standard-cell</a> - </div><div style="margin-left: 1em;" class="toc-entry"> - <a href="#clojure.contrib.dataflow/build-validator-cell">build-validator-cell</a> - </div><div style="margin-left: 1em;" class="toc-entry"> - <a href="#clojure.contrib.dataflow/cell">cell</a> - </div><div style="margin-left: 1em;" class="toc-entry"> - <a href="#clojure.contrib.dataflow/display-cell">display-cell</a> - </div><div style="margin-left: 1em;" class="toc-entry"> - <a href="#clojure.contrib.dataflow/eval-cell">eval-cell</a> - </div><div style="margin-left: 1em;" class="toc-entry"> - <a href="#clojure.contrib.dataflow/get-cell">get-cell</a> - </div><div style="margin-left: 1em;" class="toc-entry"> - <a href="#clojure.contrib.dataflow/get-cells">get-cells</a> - </div><div style="margin-left: 1em;" class="toc-entry"> - <a href="#clojure.contrib.dataflow/get-old-value">get-old-value</a> - </div><div style="margin-left: 1em;" class="toc-entry"> - <a href="#clojure.contrib.dataflow/get-source-cells">get-source-cells</a> - </div><div style="margin-left: 1em;" class="toc-entry"> - <a href="#clojure.contrib.dataflow/get-value">get-value</a> - </div><div style="margin-left: 1em;" class="toc-entry"> - <a href="#clojure.contrib.dataflow/get-value-from-cell">get-value-from-cell</a> - </div><div style="margin-left: 1em;" class="toc-entry"> - <a href="#clojure.contrib.dataflow/get-values">get-values</a> - </div><div style="margin-left: 1em;" class="toc-entry"> - <a href="#clojure.contrib.dataflow/print-dataflow">print-dataflow</a> - </div><div style="margin-left: 1em;" class="toc-entry"> - <a href="#clojure.contrib.dataflow/remove-cells">remove-cells</a> - </div><div style="margin-left: 1em;" class="toc-entry"> - <a href="#clojure.contrib.dataflow/source-cell?">source-cell?</a> - </div><div style="margin-left: 1em;" class="toc-entry"> - <a href="#clojure.contrib.dataflow/update-values">update-values</a> - </div> - <br /> - </div> -</div> -</div> - <div id="content-tag"><h1 id="overview">API for <span id="namespace-name">dataflow</span> - - <span id="header-project">clojure-contrib</span> <span id="header-version">next</span> (<span id="header-status">in development</span>) - </h1> -<span id="author-line">by <span id="author-name">Jeffrey Straszheim</span><br /></span> -<br />Usage: -<pre> -(ns your-namespace - (:require <span id="long-name">clojure.contrib.dataflow</span>)) -</pre><pre> -</pre><h2>Overview</h2> -<pre id="namespace-docstr">A library to support a dataflow model of state</pre> - - -<br /> -<h2>Public Variables and Functions</h2> -<div id="var-entry"> - <br /> - <hr /> - <h2 id="clojure.contrib.dataflow/add-cell-watcher">add-cell-watcher</h2> - <span id="var-type">function</span><br /> - <pre id="var-usage">Usage: (add-cell-watcher cell key fun) -</pre> - <pre id="var-docstr">Adds a watcher to a cell to respond to changes of value. The is a -function of 4 values: a key, the cell, its old value, its new -value. This is implemented using Clojure's add-watch to the -underlying ref, and shared its sematics</pre> - - - <a href="http://github.com/richhickey/clojure-contrib/blob/7188a51605136f36524e4091fe806859114d6056/src/main/clojure/clojure/contrib/dataflow.clj#L461" id="var-source">Source</a> -</div><div id="var-entry"> - <br /> - <hr /> - <h2 id="clojure.contrib.dataflow/add-cells">add-cells</h2> - <span id="var-type">function</span><br /> - <pre id="var-usage">Usage: (add-cells df cells) -</pre> - <pre id="var-docstr">Given a collection of cells, add them to the dataflow.</pre> - - - <a href="http://github.com/richhickey/clojure-contrib/blob/7188a51605136f36524e4091fe806859114d6056/src/main/clojure/clojure/contrib/dataflow.clj#L211" id="var-source">Source</a> -</div><div id="var-entry"> - <br /> - <hr /> - <h2 id="clojure.contrib.dataflow/build-dataflow">build-dataflow</h2> - <span id="var-type">function</span><br /> - <pre id="var-usage">Usage: (build-dataflow cs) -</pre> - <pre id="var-docstr">Given a collection of cells, build and return a dataflow object</pre> - - - <a href="http://github.com/richhickey/clojure-contrib/blob/7188a51605136f36524e4091fe806859114d6056/src/main/clojure/clojure/contrib/dataflow.clj#L189" id="var-source">Source</a> -</div><div id="var-entry"> - <br /> - <hr /> - <h2 id="clojure.contrib.dataflow/build-source-cell">build-source-cell</h2> - <span id="var-type">function</span><br /> - <pre id="var-usage">Usage: (build-source-cell name init) -</pre> - <pre id="var-docstr">Builds a source cell</pre> - - - <a href="http://github.com/richhickey/clojure-contrib/blob/7188a51605136f36524e4091fe806859114d6056/src/main/clojure/clojure/contrib/dataflow.clj#L232" id="var-source">Source</a> -</div><div id="var-entry"> - <br /> - <hr /> - <h2 id="clojure.contrib.dataflow/build-standard-cell">build-standard-cell</h2> - <span id="var-type">function</span><br /> - <pre id="var-usage">Usage: (build-standard-cell name deps fun expr) -</pre> - <pre id="var-docstr">Builds a standard cell</pre> - - - <a href="http://github.com/richhickey/clojure-contrib/blob/7188a51605136f36524e4091fe806859114d6056/src/main/clojure/clojure/contrib/dataflow.clj#L293" id="var-source">Source</a> -</div><div id="var-entry"> - <br /> - <hr /> - <h2 id="clojure.contrib.dataflow/build-validator-cell">build-validator-cell</h2> - <span id="var-type">function</span><br /> - <pre id="var-usage">Usage: (build-validator-cell deps fun expr) -</pre> - <pre id="var-docstr">Builds a validator cell</pre> - - - <a href="http://github.com/richhickey/clojure-contrib/blob/7188a51605136f36524e4091fe806859114d6056/src/main/clojure/clojure/contrib/dataflow.clj#L299" id="var-source">Source</a> -</div><div id="var-entry"> - <br /> - <hr /> - <h2 id="clojure.contrib.dataflow/cell">cell</h2> - <span id="var-type">macro</span><br /> - <pre id="var-usage">Usage: (cell type & data) -</pre> - <pre id="var-docstr">Build a standard cell, like this: - - (cell fred - (* ?mary ?joe)) - -Which creates a cell named fred that is the product of a cell mary and cell joe - -Or: - - (cell joe - (apply * ?*sally)) - -Which creates a cell that applies * to the collection of all cells named sally - -Or: - - (cell :source fred 0) - -Which builds a source cell fred with initial value 0 - -Or: - - (cell :validator (when (< ?fred ?sally) - (throwf "%s must be greater than %s" ?fred ?sally)) - -Which will perform the validation</pre> - - - <a href="http://github.com/richhickey/clojure-contrib/blob/7188a51605136f36524e4091fe806859114d6056/src/main/clojure/clojure/contrib/dataflow.clj#L305" id="var-source">Source</a> -</div><div id="var-entry"> - <br /> - <hr /> - <h2 id="clojure.contrib.dataflow/display-cell">display-cell</h2> - <span id="var-type">multimethod</span><br /> - <pre id="var-usage">No usage documentation available</pre> - <pre id="var-docstr">A 'readable' form of the cell</pre> - - - <a href="http://github.com/richhickey/clojure-contrib/blob/7188a51605136f36524e4091fe806859114d6056/src/main/clojure/clojure/contrib/dataflow.clj#L349" id="var-source">Source</a> -</div><div id="var-entry"> - <br /> - <hr /> - <h2 id="clojure.contrib.dataflow/eval-cell">eval-cell</h2> - <span id="var-type">multimethod</span><br /> - <pre id="var-usage">No usage documentation available</pre> - <pre id="var-docstr">Evaluate a dataflow cell. Return [changed, old val]</pre> - - - <a href="http://github.com/richhickey/clojure-contrib/blob/7188a51605136f36524e4091fe806859114d6056/src/main/clojure/clojure/contrib/dataflow.clj#L373" id="var-source">Source</a> -</div><div id="var-entry"> - <br /> - <hr /> - <h2 id="clojure.contrib.dataflow/get-cell">get-cell</h2> - <span id="var-type">function</span><br /> - <pre id="var-usage">Usage: (get-cell df name) -</pre> - <pre id="var-docstr">Get the single cell named by name</pre> - - - <a href="http://github.com/richhickey/clojure-contrib/blob/7188a51605136f36524e4091fe806859114d6056/src/main/clojure/clojure/contrib/dataflow.clj#L95" id="var-source">Source</a> -</div><div id="var-entry"> - <br /> - <hr /> - <h2 id="clojure.contrib.dataflow/get-cells">get-cells</h2> - <span id="var-type">function</span><br /> - <pre id="var-usage">Usage: (get-cells df name) -</pre> - <pre id="var-docstr">Get all the cells named by name</pre> - - - <a href="http://github.com/richhickey/clojure-contrib/blob/7188a51605136f36524e4091fe806859114d6056/src/main/clojure/clojure/contrib/dataflow.clj#L90" id="var-source">Source</a> -</div><div id="var-entry"> - <br /> - <hr /> - <h2 id="clojure.contrib.dataflow/get-old-value">get-old-value</h2> - <span id="var-type">function</span><br /> - <pre id="var-usage">Usage: (get-old-value df env name) -</pre> - <pre id="var-docstr">Looks up an old value</pre> - - - <a href="http://github.com/richhickey/clojure-contrib/blob/7188a51605136f36524e4091fe806859114d6056/src/main/clojure/clojure/contrib/dataflow.clj#L137" id="var-source">Source</a> -</div><div id="var-entry"> - <br /> - <hr /> - <h2 id="clojure.contrib.dataflow/get-source-cells">get-source-cells</h2> - <span id="var-type">function</span><br /> - <pre id="var-usage">Usage: (get-source-cells df) -</pre> - <pre id="var-docstr">Returns a collection of source cells from the dataflow</pre> - - - <a href="http://github.com/richhickey/clojure-contrib/blob/7188a51605136f36524e4091fe806859114d6056/src/main/clojure/clojure/contrib/dataflow.clj#L109" id="var-source">Source</a> -</div><div id="var-entry"> - <br /> - <hr /> - <h2 id="clojure.contrib.dataflow/get-value">get-value</h2> - <span id="var-type">function</span><br /> - <pre id="var-usage">Usage: (get-value df name) -</pre> - <pre id="var-docstr">Gets a value from the df matching the passed symbol. -Signals an error if the name is not present, or if it not a single -value.</pre> - - - <a href="http://github.com/richhickey/clojure-contrib/blob/7188a51605136f36524e4091fe806859114d6056/src/main/clojure/clojure/contrib/dataflow.clj#L116" id="var-source">Source</a> -</div><div id="var-entry"> - <br /> - <hr /> - <h2 id="clojure.contrib.dataflow/get-value-from-cell">get-value-from-cell</h2> - <span id="var-type">function</span><br /> - <pre id="var-usage">Usage: (get-value-from-cell cell) -</pre> - <pre id="var-docstr">Given a cell, get its value</pre> - - - <a href="http://github.com/richhickey/clojure-contrib/blob/7188a51605136f36524e4091fe806859114d6056/src/main/clojure/clojure/contrib/dataflow.clj#L144" id="var-source">Source</a> -</div><div id="var-entry"> - <br /> - <hr /> - <h2 id="clojure.contrib.dataflow/get-values">get-values</h2> - <span id="var-type">function</span><br /> - <pre id="var-usage">Usage: (get-values df name) -</pre> - <pre id="var-docstr">Gets a collection of values from the df by name</pre> - - - <a href="http://github.com/richhickey/clojure-contrib/blob/7188a51605136f36524e4091fe806859114d6056/src/main/clojure/clojure/contrib/dataflow.clj#L127" id="var-source">Source</a> -</div><div id="var-entry"> - <br /> - <hr /> - <h2 id="clojure.contrib.dataflow/print-dataflow">print-dataflow</h2> - <span id="var-type">function</span><br /> - <pre id="var-usage">Usage: (print-dataflow df) -</pre> - <pre id="var-docstr">Prints a dataflow, one cell per line</pre> - - - <a href="http://github.com/richhickey/clojure-contrib/blob/7188a51605136f36524e4091fe806859114d6056/src/main/clojure/clojure/contrib/dataflow.clj#L200" id="var-source">Source</a> -</div><div id="var-entry"> - <br /> - <hr /> - <h2 id="clojure.contrib.dataflow/remove-cells">remove-cells</h2> - <span id="var-type">function</span><br /> - <pre id="var-usage">Usage: (remove-cells df cells) -</pre> - <pre id="var-docstr">Given a collection of cells, remove them from the dataflow.</pre> - - - <a href="http://github.com/richhickey/clojure-contrib/blob/7188a51605136f36524e4091fe806859114d6056/src/main/clojure/clojure/contrib/dataflow.clj#L219" id="var-source">Source</a> -</div><div id="var-entry"> - <br /> - <hr /> - <h2 id="clojure.contrib.dataflow/source-cell?">source-cell?</h2> - <span id="var-type">function</span><br /> - <pre id="var-usage">Usage: (source-cell? cell) -</pre> - <pre id="var-docstr">Is this cell a source cell?</pre> - - - <a href="http://github.com/richhickey/clojure-contrib/blob/7188a51605136f36524e4091fe806859114d6056/src/main/clojure/clojure/contrib/dataflow.clj#L104" id="var-source">Source</a> -</div><div id="var-entry"> - <br /> - <hr /> - <h2 id="clojure.contrib.dataflow/update-values">update-values</h2> - <span id="var-type">function</span><br /> - <pre id="var-usage">Usage: (update-values df data) -</pre> - <pre id="var-docstr">Given a dataflow, and a map of name-value pairs, update the -dataflow by binding the new values. Each name must be of a source -cell</pre> - - - <a href="http://github.com/richhickey/clojure-contrib/blob/7188a51605136f36524e4091fe806859114d6056/src/main/clojure/clojure/contrib/dataflow.clj#L439" id="var-source">Source</a> -</div> - - -</div> - </div> - </div> - </div> - </div> - <div id="foot"> - <div style="text-align: center;" id="copyright">Copyright 2007-2009 by Rich Hickey and the various contributors</div> - </div> - </div> - <div id="DesignedBy">Logo & site design by <a title="Visit Tom Hickey's website." href="http://www.tomhickey.com">Tom Hickey</a>.<br /> - Clojure auto-documentation system by Tom Faulhaber.</div> - </div> - <!-- /AllContentContainer --> - </body> - -</html>
\ No newline at end of file diff --git a/branch-master/datalog-api.html b/branch-master/datalog-api.html deleted file mode 100644 index b75a08ca..00000000 --- a/branch-master/datalog-api.html +++ /dev/null @@ -1,1052 +0,0 @@ -<html> - <head> - <title>datalog - clojure-contrib next API documentation</title> - <link href="../static/favicon.png" rel="icon" /> - <link href="../static/favicon.png" rel="shortcut icon" /> - <link media="all" type="text/css" href="../static/clojure.css" rel="stylesheet" /> - <link media="all" type="text/css" href="../static/wiki.css" rel="stylesheet" /> - <link media="all" type="text/css" href="../static/internal.css" rel="stylesheet" /> - <!-- TODO: are we using these (from clojure.org)? If so, add the files --> - <script src="file/view/code_highlighter.js" type="text/javascript"></script> - <script src="file/view/clojure.js" type="text/javascript"></script> - <style>.menuWrapper{height: 36px;}</style> - <!--[if lte IE 6]> - <link rel="stylesheet" href="http://www.wikispaces.com/_/2009051601/s/internal_ie.css" type="text/css" /> - <![endif]--> - </head> -<!-- -This document was auto-generated from the source by the clojure autodoc system. -To report errors or ask questions about the overall documentation structure, formatting, -etc., contact Tom Faulhaber (google mail name: tomfaulhaber). -For errors in the documentation of a particular namespace, contact the author of that -namespace. ---> - <body> - <div id="AllContentContainer"> - <div id="Header"> - <a id="Logo" href="index.html"><img alt="Clojure" height="100" width="100" src="../static/clojure-icon.gif" /></a> - <h1><a title="page header title" id="page-header" href="index.html">Clojure-contrib API Reference</a></h1> - </div> - <div id="leftcolumn"><div style="text-align: center;"></div> -<div class="menu"> - <div class="WikiCustomNav WikiElement wiki"> - <span class="toc-header"><span id="project-name">clojure-contrib</span> <span id="version">next</span> API</span><br /> - <ul> - <li><a class="wiki_link" href="index.html">Overview</a></li> - <li><a class="wiki_link" href="api-index.html">API Index</a></li> - </ul> - <span class="toc-header">Namespaces</span> - <ul id="left-sidebar-list"> - <li><a href="accumulators-api.html" class="wiki_link">accumulators</a></li><li><a href="agent-utils-api.html" class="wiki_link">agent-utils</a></li><li><a href="apply-macro-api.html" class="wiki_link">apply-macro</a></li><li><a href="base64-api.html" class="wiki_link">base64</a></li><li><a href="classpath-api.html" class="wiki_link">classpath</a></li><li><a href="combinatorics-api.html" class="wiki_link">combinatorics</a></li><li><a href="command-line-api.html" class="wiki_link">command-line</a></li><li><a href="complex-numbers-api.html" class="wiki_link">complex-numbers</a></li><li><a href="cond-api.html" class="wiki_link">cond</a></li><li><a href="condition-api.html" class="wiki_link">condition</a></li><li><a href="core-api.html" class="wiki_link">core</a></li><li><a href="dataflow-api.html" class="wiki_link">dataflow</a></li><li><a href="datalog-api.html" class="wiki_link">datalog</a></li><li><a href="def-api.html" class="wiki_link">def</a></li><li><a href="duck-streams-api.html" class="wiki_link">duck-streams</a></li><li><a href="error-kit-api.html" class="wiki_link">error-kit</a></li><li><a href="except-api.html" class="wiki_link">except</a></li><li><a href="fcase-api.html" class="wiki_link">fcase</a></li><li><a href="find-namespaces-api.html" class="wiki_link">find-namespaces</a></li><li><a href="fnmap-api.html" class="wiki_link">fnmap</a></li><li><a href="gen-html-docs-api.html" class="wiki_link">gen-html-docs</a></li><li><a href="generic.arithmetic-api.html" class="wiki_link">generic.arithmetic</a></li><li><a href="generic.collection-api.html" class="wiki_link">generic.collection</a></li><li><a href="generic.comparison-api.html" class="wiki_link">generic.comparison</a></li><li><a href="generic.functor-api.html" class="wiki_link">generic.functor</a></li><li><a href="generic.math-functions-api.html" class="wiki_link">generic.math-functions</a></li><li><a href="graph-api.html" class="wiki_link">graph</a></li><li><a href="greatest-least-api.html" class="wiki_link">greatest-least</a></li><li><a href="http.agent-api.html" class="wiki_link">http.agent</a></li><li><a href="http.connection-api.html" class="wiki_link">http.connection</a></li><li><a href="import-static-api.html" class="wiki_link">import-static</a></li><li><a href="io-api.html" class="wiki_link">io</a></li><li><a href="jar-api.html" class="wiki_link">jar</a></li><li><a href="java-utils-api.html" class="wiki_link">java-utils</a></li><li><a href="javadoc.browse-api.html" class="wiki_link">javadoc.browse</a></li><li><a href="jmx-api.html" class="wiki_link">jmx</a></li><li><a href="json-api.html" class="wiki_link">json</a></li><li><a href="lazy-seqs-api.html" class="wiki_link">lazy-seqs</a></li><li><a href="lazy-xml-api.html" class="wiki_link">lazy-xml</a></li><li><a href="logging-api.html" class="wiki_link">logging</a></li><li><a href="macro-utils-api.html" class="wiki_link">macro-utils</a></li><li><a href="macros-api.html" class="wiki_link">macros</a></li><li><a href="map-utils-api.html" class="wiki_link">map-utils</a></li><li><a href="math-api.html" class="wiki_link">math</a></li><li><a href="miglayout-api.html" class="wiki_link">miglayout</a></li><li><a href="mmap-api.html" class="wiki_link">mmap</a></li><li><a href="mock-api.html" class="wiki_link">mock</a></li><li><a href="monadic-io-streams-api.html" class="wiki_link">monadic-io-streams</a></li><li><a href="monads-api.html" class="wiki_link">monads</a></li><li><a href="ns-utils-api.html" class="wiki_link">ns-utils</a></li><li><a href="pprint-api.html" class="wiki_link">pprint</a></li><li><a href="priority-map-api.html" class="wiki_link">priority-map</a></li><li><a href="probabilities.finite-distributions-api.html" class="wiki_link">probabilities.finite-distributions</a></li><li><a href="probabilities.monte-carlo-api.html" class="wiki_link">probabilities.monte-carlo</a></li><li><a href="probabilities.random-numbers-api.html" class="wiki_link">probabilities.random-numbers</a></li><li><a href="profile-api.html" class="wiki_link">profile</a></li><li><a href="properties-api.html" class="wiki_link">properties</a></li><li><a href="prxml-api.html" class="wiki_link">prxml</a></li><li><a href="reflect-api.html" class="wiki_link">reflect</a></li><li><a href="repl-ln-api.html" class="wiki_link">repl-ln</a></li><li><a href="repl-utils-api.html" class="wiki_link">repl-utils</a></li><li><a href="seq-api.html" class="wiki_link">seq</a></li><li><a href="seq-utils-api.html" class="wiki_link">seq-utils</a></li><li><a href="server-socket-api.html" class="wiki_link">server-socket</a></li><li><a href="set-api.html" class="wiki_link">set</a></li><li><a href="shell-api.html" class="wiki_link">shell</a></li><li><a href="shell-out-api.html" class="wiki_link">shell-out</a></li><li><a href="singleton-api.html" class="wiki_link">singleton</a></li><li><a href="sql-api.html" class="wiki_link">sql</a></li><li><a href="str-utils-api.html" class="wiki_link">str-utils</a></li><li><a href="str-utils2-api.html" class="wiki_link">str-utils2</a></li><li><a href="stream-utils-api.html" class="wiki_link">stream-utils</a></li><li><a href="string-api.html" class="wiki_link">string</a></li><li><a href="strint-api.html" class="wiki_link">strint</a></li><li><a href="swing-utils-api.html" class="wiki_link">swing-utils</a></li><li><a href="test-is-api.html" class="wiki_link">test-is</a></li><li><a href="trace-api.html" class="wiki_link">trace</a></li><li><a href="types-api.html" class="wiki_link">types</a></li><li><a href="with-ns-api.html" class="wiki_link">with-ns</a></li><li><a href="zip-filter-api.html" class="wiki_link">zip-filter</a></li> - </ul> - <div class="BranchTOC"> - <span class="toc-header">Other Versions</span> - <ul id="left-sidebar-branch-list"> - <li><a href="../index.html" class="wiki_link">v1.2 (beta 1)</a></li><li><a href="../branch-1.1.x/index.html" class="wiki_link">v1.1 (stable)</a></li> - </ul> - </div> - <a href="http://clojure.org" class="wiki_link">Clojure Home</a> - </div> -</div> -</div> - <div id="rightcolumn"> - <div id="Content"> - <div class="contentBox"><div class="innerContentBox"> - <div id="content_view" class="wiki wikiPage"> - <div id="right-sidebar"><div id="toc"> - <h1 class="nopad">Table of Contents</h1> - <div style="margin-left: 1em;" class="toc-section"> - <a href="#toc0">Overview</a> - <div style="margin-left: 1em;" class="toc-entry"> - <a href="#clojure.contrib.datalog/build-work-plan">build-work-plan</a> - </div><div style="margin-left: 1em;" class="toc-entry"> - <a href="#clojure.contrib.datalog/run-work-plan">run-work-plan</a> - </div> - <br /> - </div><div style="margin-left: 1em;" class="toc-section"> - <a href="#datalog.database">datalog.database</a> - <div style="margin-left: 1em;" class="toc-entry"> - <a href="#clojure.contrib.datalog.database/add-index">add-index</a> - </div><div style="margin-left: 1em;" class="toc-entry"> - <a href="#clojure.contrib.datalog.database/add-relation">add-relation</a> - </div><div style="margin-left: 1em;" class="toc-entry"> - <a href="#clojure.contrib.datalog.database/add-tuple">add-tuple</a> - </div><div style="margin-left: 1em;" class="toc-entry"> - <a href="#clojure.contrib.datalog.database/add-tuples">add-tuples</a> - </div><div style="margin-left: 1em;" class="toc-entry"> - <a href="#clojure.contrib.datalog.database/any-match?">any-match?</a> - </div><div style="margin-left: 1em;" class="toc-entry"> - <a href="#clojure.contrib.datalog.database/database-counts">database-counts</a> - </div><div style="margin-left: 1em;" class="toc-entry"> - <a href="#clojure.contrib.datalog.database/database-merge">database-merge</a> - </div><div style="margin-left: 1em;" class="toc-entry"> - <a href="#clojure.contrib.datalog.database/database-merge-parallel">database-merge-parallel</a> - </div><div style="margin-left: 1em;" class="toc-entry"> - <a href="#clojure.contrib.datalog.database/datalog-relation">datalog-relation</a> - </div><div style="margin-left: 1em;" class="toc-entry"> - <a href="#clojure.contrib.datalog.database/ensure-relation">ensure-relation</a> - </div><div style="margin-left: 1em;" class="toc-entry"> - <a href="#clojure.contrib.datalog.database/get-relation">get-relation</a> - </div><div style="margin-left: 1em;" class="toc-entry"> - <a href="#clojure.contrib.datalog.database/make-database">make-database</a> - </div><div style="margin-left: 1em;" class="toc-entry"> - <a href="#clojure.contrib.datalog.database/merge-relations">merge-relations</a> - </div><div style="margin-left: 1em;" class="toc-entry"> - <a href="#clojure.contrib.datalog.database/remove-tuple">remove-tuple</a> - </div><div style="margin-left: 1em;" class="toc-entry"> - <a href="#clojure.contrib.datalog.database/replace-relation">replace-relation</a> - </div><div style="margin-left: 1em;" class="toc-entry"> - <a href="#clojure.contrib.datalog.database/select">select</a> - </div> - <br /> - </div><div style="margin-left: 1em;" class="toc-section"> - <a href="#datalog.literals">datalog.literals</a> - <div style="margin-left: 1em;" class="toc-entry"> - <a href="#clojure.contrib.datalog.literals/adorned-literal">adorned-literal</a> - </div><div style="margin-left: 1em;" class="toc-entry"> - <a href="#clojure.contrib.datalog.literals/build-atom">build-atom</a> - </div><div style="margin-left: 1em;" class="toc-entry"> - <a href="#clojure.contrib.datalog.literals/build-literal">build-literal</a> - </div><div style="margin-left: 1em;" class="toc-entry"> - <a href="#clojure.contrib.datalog.literals/build-seed-bindings">build-seed-bindings</a> - </div><div style="margin-left: 1em;" class="toc-entry"> - <a href="#clojure.contrib.datalog.literals/delta-literal">delta-literal</a> - </div><div style="margin-left: 1em;" class="toc-entry"> - <a href="#clojure.contrib.datalog.literals/display-literal">display-literal</a> - </div><div style="margin-left: 1em;" class="toc-entry"> - <a href="#clojure.contrib.datalog.literals/get-adorned-bindings">get-adorned-bindings</a> - </div><div style="margin-left: 1em;" class="toc-entry"> - <a href="#clojure.contrib.datalog.literals/get-base-predicate">get-base-predicate</a> - </div><div style="margin-left: 1em;" class="toc-entry"> - <a href="#clojure.contrib.datalog.literals/get-cs-from-vs">get-cs-from-vs</a> - </div><div style="margin-left: 1em;" class="toc-entry"> - <a href="#clojure.contrib.datalog.literals/get-self-bound-cs">get-self-bound-cs</a> - </div><div style="margin-left: 1em;" class="toc-entry"> - <a href="#clojure.contrib.datalog.literals/get-vs-from-cs">get-vs-from-cs</a> - </div><div style="margin-left: 1em;" class="toc-entry"> - <a href="#clojure.contrib.datalog.literals/join-literal">join-literal</a> - </div><div style="margin-left: 1em;" class="toc-entry"> - <a href="#clojure.contrib.datalog.literals/literal-appropriate?">literal-appropriate?</a> - </div><div style="margin-left: 1em;" class="toc-entry"> - <a href="#clojure.contrib.datalog.literals/literal-columns">literal-columns</a> - </div><div style="margin-left: 1em;" class="toc-entry"> - <a href="#clojure.contrib.datalog.literals/literal-magic?">literal-magic?</a> - </div><div style="margin-left: 1em;" class="toc-entry"> - <a href="#clojure.contrib.datalog.literals/literal-predicate">literal-predicate</a> - </div><div style="margin-left: 1em;" class="toc-entry"> - <a href="#clojure.contrib.datalog.literals/literal-vars">literal-vars</a> - </div><div style="margin-left: 1em;" class="toc-entry"> - <a href="#clojure.contrib.datalog.literals/magic-literal">magic-literal</a> - </div><div style="margin-left: 1em;" class="toc-entry"> - <a href="#clojure.contrib.datalog.literals/negated-literal">negated-literal</a> - </div><div style="margin-left: 1em;" class="toc-entry"> - <a href="#clojure.contrib.datalog.literals/negated?">negated?</a> - </div><div style="margin-left: 1em;" class="toc-entry"> - <a href="#clojure.contrib.datalog.literals/negative-vars">negative-vars</a> - </div><div style="margin-left: 1em;" class="toc-entry"> - <a href="#clojure.contrib.datalog.literals/positive-vars">positive-vars</a> - </div><div style="margin-left: 1em;" class="toc-entry"> - <a href="#clojure.contrib.datalog.literals/positive?">positive?</a> - </div><div style="margin-left: 1em;" class="toc-entry"> - <a href="#clojure.contrib.datalog.literals/project-literal">project-literal</a> - </div> - <br /> - </div><div style="margin-left: 1em;" class="toc-section"> - <a href="#datalog.magic">datalog.magic</a> - <div style="margin-left: 1em;" class="toc-entry"> - <a href="#clojure.contrib.datalog.magic/adorn-query">adorn-query</a> - </div><div style="margin-left: 1em;" class="toc-entry"> - <a href="#clojure.contrib.datalog.magic/adorn-rules-set">adorn-rules-set</a> - </div><div style="margin-left: 1em;" class="toc-entry"> - <a href="#clojure.contrib.datalog.magic/build-partial-tuple">build-partial-tuple</a> - </div><div style="margin-left: 1em;" class="toc-entry"> - <a href="#clojure.contrib.datalog.magic/magic-transform">magic-transform</a> - </div><div style="margin-left: 1em;" class="toc-entry"> - <a href="#clojure.contrib.datalog.magic/seed-predicate-for-insertion">seed-predicate-for-insertion</a> - </div><div style="margin-left: 1em;" class="toc-entry"> - <a href="#clojure.contrib.datalog.magic/seed-relation">seed-relation</a> - </div><div style="margin-left: 1em;" class="toc-entry"> - <a href="#clojure.contrib.datalog.magic/seed-rule">seed-rule</a> - </div> - <br /> - </div><div style="margin-left: 1em;" class="toc-section"> - <a href="#datalog.rules">datalog.rules</a> - <div style="margin-left: 1em;" class="toc-entry"> - <a href="#clojure.contrib.datalog.rules/<-"><-</a> - </div><div style="margin-left: 1em;" class="toc-entry"> - <a href="#clojure.contrib.datalog.rules/?-">?-</a> - </div><div style="margin-left: 1em;" class="toc-entry"> - <a href="#clojure.contrib.datalog.rules/all-predicates">all-predicates</a> - </div><div style="margin-left: 1em;" class="toc-entry"> - <a href="#clojure.contrib.datalog.rules/apply-rule">apply-rule</a> - </div><div style="margin-left: 1em;" class="toc-entry"> - <a href="#clojure.contrib.datalog.rules/compute-sip">compute-sip</a> - </div><div style="margin-left: 1em;" class="toc-entry"> - <a href="#clojure.contrib.datalog.rules/display-query">display-query</a> - </div><div style="margin-left: 1em;" class="toc-entry"> - <a href="#clojure.contrib.datalog.rules/display-rule">display-rule</a> - </div><div style="margin-left: 1em;" class="toc-entry"> - <a href="#clojure.contrib.datalog.rules/is-safe?">is-safe?</a> - </div><div style="margin-left: 1em;" class="toc-entry"> - <a href="#clojure.contrib.datalog.rules/make-rules-set">make-rules-set</a> - </div><div style="margin-left: 1em;" class="toc-entry"> - <a href="#clojure.contrib.datalog.rules/non-base-rules">non-base-rules</a> - </div><div style="margin-left: 1em;" class="toc-entry"> - <a href="#clojure.contrib.datalog.rules/predicate-map">predicate-map</a> - </div><div style="margin-left: 1em;" class="toc-entry"> - <a href="#clojure.contrib.datalog.rules/return-rule-data">return-rule-data</a> - </div><div style="margin-left: 1em;" class="toc-entry"> - <a href="#clojure.contrib.datalog.rules/rules-set">rules-set</a> - </div> - <br /> - </div><div style="margin-left: 1em;" class="toc-section"> - <a href="#datalog.softstrat">datalog.softstrat</a> - <div style="margin-left: 1em;" class="toc-entry"> - <a href="#clojure.contrib.datalog.softstrat/build-soft-strat-work-plan">build-soft-strat-work-plan</a> - </div><div style="margin-left: 1em;" class="toc-entry"> - <a href="#clojure.contrib.datalog.softstrat/get-all-relations">get-all-relations</a> - </div> - <br /> - </div><div style="margin-left: 1em;" class="toc-section"> - <a href="#datalog.util">datalog.util</a> - <div style="margin-left: 1em;" class="toc-entry"> - <a href="#clojure.contrib.datalog.util/is-query-var?">is-query-var?</a> - </div><div style="margin-left: 1em;" class="toc-entry"> - <a href="#clojure.contrib.datalog.util/is-var?">is-var?</a> - </div><div style="margin-left: 1em;" class="toc-entry"> - <a href="#clojure.contrib.datalog.util/keys-to-vals">keys-to-vals</a> - </div><div style="margin-left: 1em;" class="toc-entry"> - <a href="#clojure.contrib.datalog.util/map-values">map-values</a> - </div><div style="margin-left: 1em;" class="toc-entry"> - <a href="#clojure.contrib.datalog.util/preduce">preduce</a> - </div><div style="margin-left: 1em;" class="toc-entry"> - <a href="#clojure.contrib.datalog.util/reverse-map">reverse-map</a> - </div><div style="margin-left: 1em;" class="toc-entry"> - <a href="#clojure.contrib.datalog.util/trace-datalog">trace-datalog</a> - </div> - <br /> - </div> -</div> -</div> - <div id="content-tag"><h1 id="overview">API for <span id="namespace-name">datalog</span> - - <span id="header-project">clojure-contrib</span> <span id="header-version">next</span> (<span id="header-status">in development</span>) - </h1> -<span id="author-line">by <span id="author-name">Jeffrey Straszheim</span><br /></span> -<br />Usage: -<pre> -(ns your-namespace - (:require <span id="long-name">clojure.contrib.datalog</span>)) -</pre><pre> -</pre><h2>Overview</h2> -<pre id="namespace-docstr">A Clojure implementation of Datalog</pre> - - -<br /> -<span id="external-doc">Related documentation: - <span id="external-doc-link"> - <br /><a href="doc/datalog.html">An Overview of Datalog</a> - <br /></span><br /> -</span><h2>Public Variables and Functions</h2> -<div id="var-entry"> - <br /> - <hr /> - <h2 id="clojure.contrib.datalog/build-work-plan">build-work-plan</h2> - <span id="var-type">function</span><br /> - <pre id="var-usage">Usage: (build-work-plan rules query) -</pre> - <pre id="var-docstr">Given a list of rules and a query, build a work plan that can be -used to execute the query.</pre> - - - <a href="http://github.com/richhickey/clojure-contrib/blob/7188a51605136f36524e4091fe806859114d6056/src/main/clojure/clojure/contrib/datalog.clj#L46" id="var-source">Source</a> -</div><div id="var-entry"> - <br /> - <hr /> - <h2 id="clojure.contrib.datalog/run-work-plan">run-work-plan</h2> - <span id="var-type">function</span><br /> - <pre id="var-usage">Usage: (run-work-plan work-plan database query-bindings) -</pre> - <pre id="var-docstr">Given a work plan, a database, and some query bindings, run the -work plan and return the results.</pre> - - - <a href="http://github.com/richhickey/clojure-contrib/blob/7188a51605136f36524e4091fe806859114d6056/src/main/clojure/clojure/contrib/datalog.clj#L56" id="var-source">Source</a> -</div> -<h2 id="namespace-name">datalog.database</h2> -<pre id="namespace-docstr"></pre> - - -<br /> -<div id="var-entry"> - <hr /> - <h2 id="clojure.contrib.datalog.database/add-index">add-index</h2> - <span id="var-type">function</span><br /> - <pre id="var-usage">Usage: (add-index db name key) -</pre> - <pre id="var-docstr">Adds an index to an empty relation named name</pre> - - - <a href="http://github.com/richhickey/clojure-contrib/blob/7188a51605136f36524e4091fe806859114d6056/src/main/clojure/clojure/contrib/datalog/database.clj#L86" id="var-source">Source</a> -</div><div id="var-entry"> - <hr /> - <h2 id="clojure.contrib.datalog.database/add-relation">add-relation</h2> - <span id="var-type">function</span><br /> - <pre id="var-usage">Usage: (add-relation db name keys) -</pre> - <pre id="var-docstr">Adds a relation to the database</pre> - - - <a href="http://github.com/richhickey/clojure-contrib/blob/7188a51605136f36524e4091fe806859114d6056/src/main/clojure/clojure/contrib/datalog/database.clj#L81" id="var-source">Source</a> -</div><div id="var-entry"> - <hr /> - <h2 id="clojure.contrib.datalog.database/add-tuple">add-tuple</h2> - <span id="var-type">function</span><br /> - <pre id="var-usage">Usage: (add-tuple db rel-name tuple) - (add-tuple rel tuple) -</pre> - <pre id="var-docstr">Two forms: - -[db relation-name tuple] adds tuple to the named relation. Returns -the new database. - -[rel tuple] adds to the relation object. Returns the new relation.</pre> - - - <a href="http://github.com/richhickey/clojure-contrib/blob/7188a51605136f36524e4091fe806859114d6056/src/main/clojure/clojure/contrib/datalog/database.clj#L172" id="var-source">Source</a> -</div><div id="var-entry"> - <hr /> - <h2 id="clojure.contrib.datalog.database/add-tuples">add-tuples</h2> - <span id="var-type">function</span><br /> - <pre id="var-usage">Usage: (add-tuples db & tupls) -</pre> - <pre id="var-docstr">Adds a collection of tuples to the db, as -(add-tuples db - [:rel-name :key-1 1 :key-2 2] - [:rel-name :key-1 2 :key-2 3])</pre> - - - <a href="http://github.com/richhickey/clojure-contrib/blob/7188a51605136f36524e4091fe806859114d6056/src/main/clojure/clojure/contrib/datalog/database.clj#L207" id="var-source">Source</a> -</div><div id="var-entry"> - <hr /> - <h2 id="clojure.contrib.datalog.database/any-match?">any-match?</h2> - <span id="var-type">function</span><br /> - <pre id="var-usage">Usage: (any-match? db rn pt) -</pre> - <pre id="var-docstr">Finds if there are any matching records for the partial tuple</pre> - - - <a href="http://github.com/richhickey/clojure-contrib/blob/7188a51605136f36524e4091fe806859114d6056/src/main/clojure/clojure/contrib/datalog/database.clj#L253" id="var-source">Source</a> -</div><div id="var-entry"> - <hr /> - <h2 id="clojure.contrib.datalog.database/database-counts">database-counts</h2> - <span id="var-type">function</span><br /> - <pre id="var-usage">Usage: (database-counts db) -</pre> - <pre id="var-docstr">Returns a map with the count of elements in each relation.</pre> - - - <a href="http://github.com/richhickey/clojure-contrib/blob/7188a51605136f36524e4091fe806859114d6056/src/main/clojure/clojure/contrib/datalog/database.clj#L144" id="var-source">Source</a> -</div><div id="var-entry"> - <hr /> - <h2 id="clojure.contrib.datalog.database/database-merge">database-merge</h2> - <span id="var-type">function</span><br /> - <pre id="var-usage">Usage: (database-merge dbs) -</pre> - <pre id="var-docstr">Merges databases together</pre> - - - <a href="http://github.com/richhickey/clojure-contrib/blob/7188a51605136f36524e4091fe806859114d6056/src/main/clojure/clojure/contrib/datalog/database.clj#L277" id="var-source">Source</a> -</div><div id="var-entry"> - <hr /> - <h2 id="clojure.contrib.datalog.database/database-merge-parallel">database-merge-parallel</h2> - <span id="var-type">function</span><br /> - <pre id="var-usage">Usage: (database-merge-parallel dbs) -</pre> - <pre id="var-docstr">Merges databases together in parallel</pre> - - - <a href="http://github.com/richhickey/clojure-contrib/blob/7188a51605136f36524e4091fe806859114d6056/src/main/clojure/clojure/contrib/datalog/database.clj#L282" id="var-source">Source</a> -</div><div id="var-entry"> - <hr /> - <h2 id="clojure.contrib.datalog.database/datalog-relation">datalog-relation</h2> - <span id="var-type">function</span><br /> - <pre id="var-usage">Usage: (datalog-relation schema data indexes) -</pre> - <pre id="var-docstr">Creates a relation</pre> - - - <a href="http://github.com/richhickey/clojure-contrib/blob/7188a51605136f36524e4091fe806859114d6056/src/main/clojure/clojure/contrib/datalog/database.clj#L76" id="var-source">Source</a> -</div><div id="var-entry"> - <hr /> - <h2 id="clojure.contrib.datalog.database/ensure-relation">ensure-relation</h2> - <span id="var-type">function</span><br /> - <pre id="var-usage">Usage: (ensure-relation db name keys indexes) -</pre> - <pre id="var-docstr">If the database lacks the named relation, add it</pre> - - - <a href="http://github.com/richhickey/clojure-contrib/blob/7188a51605136f36524e4091fe806859114d6056/src/main/clojure/clojure/contrib/datalog/database.clj#L96" id="var-source">Source</a> -</div><div id="var-entry"> - <hr /> - <h2 id="clojure.contrib.datalog.database/get-relation">get-relation</h2> - <span id="var-type">function</span><br /> - <pre id="var-usage">Usage: (get-relation db rel-name) -</pre> - <pre id="var-docstr">Get a relation object by name</pre> - - - <a href="http://github.com/richhickey/clojure-contrib/blob/7188a51605136f36524e4091fe806859114d6056/src/main/clojure/clojure/contrib/datalog/database.clj#L130" id="var-source">Source</a> -</div><div id="var-entry"> - <hr /> - <h2 id="clojure.contrib.datalog.database/make-database">make-database</h2> - <span id="var-type">macro</span><br /> - <pre id="var-usage">Usage: (make-database & commands) -</pre> - <pre id="var-docstr">Makes a database, like this -(make-database - (relation :fred [:mary :sue]) - (index :fred :mary) - (relation :sally [:jen :becky]) - (index :sally :jen) - (index :sally :becky))</pre> - - - <a href="http://github.com/richhickey/clojure-contrib/blob/7188a51605136f36524e4091fe806859114d6056/src/main/clojure/clojure/contrib/datalog/database.clj#L109" id="var-source">Source</a> -</div><div id="var-entry"> - <hr /> - <h2 id="clojure.contrib.datalog.database/merge-relations">merge-relations</h2> - <span id="var-type">function</span><br /> - <pre id="var-usage">Usage: (merge-relations r1 r2) -</pre> - <pre id="var-docstr">Merges two relations</pre> - - - <a href="http://github.com/richhickey/clojure-contrib/blob/7188a51605136f36524e4091fe806859114d6056/src/main/clojure/clojure/contrib/datalog/database.clj#L267" id="var-source">Source</a> -</div><div id="var-entry"> - <hr /> - <h2 id="clojure.contrib.datalog.database/remove-tuple">remove-tuple</h2> - <span id="var-type">function</span><br /> - <pre id="var-usage">Usage: (remove-tuple db rel-name tuple) - (remove-tuple rel tuple) -</pre> - <pre id="var-docstr">Two forms: - -[db relation-name tuple] removes the tuple from the named relation, -returns a new database. - -[rel tuple] removes the tuple from the relation. Returns the new -relation.</pre> - - - <a href="http://github.com/richhickey/clojure-contrib/blob/7188a51605136f36524e4091fe806859114d6056/src/main/clojure/clojure/contrib/datalog/database.clj#L190" id="var-source">Source</a> -</div><div id="var-entry"> - <hr /> - <h2 id="clojure.contrib.datalog.database/replace-relation">replace-relation</h2> - <span id="var-type">function</span><br /> - <pre id="var-usage">Usage: (replace-relation db rel-name rel) -</pre> - <pre id="var-docstr">Add or replace a fully constructed relation object to the database.</pre> - - - <a href="http://github.com/richhickey/clojure-contrib/blob/7188a51605136f36524e4091fe806859114d6056/src/main/clojure/clojure/contrib/datalog/database.clj#L135" id="var-source">Source</a> -</div><div id="var-entry"> - <hr /> - <h2 id="clojure.contrib.datalog.database/select">select</h2> - <span id="var-type">function</span><br /> - <pre id="var-usage">Usage: (select db rn pt) -</pre> - <pre id="var-docstr">finds all matching tuples to the partial tuple (pt) in the relation named (rn)</pre> - - - <a href="http://github.com/richhickey/clojure-contrib/blob/7188a51605136f36524e4091fe806859114d6056/src/main/clojure/clojure/contrib/datalog/database.clj#L248" id="var-source">Source</a> -</div> -<h2 id="namespace-name">datalog.literals</h2> -<pre id="namespace-docstr"></pre> - - -<br /> -<div id="var-entry"> - <hr /> - <h2 id="clojure.contrib.datalog.literals/adorned-literal">adorned-literal</h2> - <span id="var-type">multimethod</span><br /> - <pre id="var-usage">No usage documentation available</pre> - <pre id="var-docstr">When passed a set of bound columns, returns the adorned literal</pre> - - - <a href="http://github.com/richhickey/clojure-contrib/blob/78ee9b3e64c5ac6082fb223fc79292175e8e4f0c/src/main/clojure/clojure/contrib/datalog/literals.clj#L253" id="var-source">Source</a> -</div><div id="var-entry"> - <hr /> - <h2 id="clojure.contrib.datalog.literals/build-atom">build-atom</h2> - <span id="var-type">function</span><br /> - <pre id="var-usage">Usage: (build-atom f type) -</pre> - <pre id="var-docstr">Returns an unevaluated expression (to be used in a macro) of an -atom.</pre> - - - <a href="http://github.com/richhickey/clojure-contrib/blob/78ee9b3e64c5ac6082fb223fc79292175e8e4f0c/src/main/clojure/clojure/contrib/datalog/literals.clj#L132" id="var-source">Source</a> -</div><div id="var-entry"> - <hr /> - <h2 id="clojure.contrib.datalog.literals/build-literal">build-literal</h2> - <span id="var-type">multimethod</span><br /> - <pre id="var-usage">No usage documentation available</pre> - <pre id="var-docstr">(Returns an unevaluated expression (to be used in macros) of a -literal.</pre> - - - <a href="http://github.com/richhickey/clojure-contrib/blob/78ee9b3e64c5ac6082fb223fc79292175e8e4f0c/src/main/clojure/clojure/contrib/datalog/literals.clj#L127" id="var-source">Source</a> -</div><div id="var-entry"> - <hr /> - <h2 id="clojure.contrib.datalog.literals/build-seed-bindings">build-seed-bindings</h2> - <span id="var-type">function</span><br /> - <pre id="var-usage">Usage: (build-seed-bindings s) -</pre> - <pre id="var-docstr">Given a seed literal, already adorned and in magic form, convert -its bound constants to new variables.</pre> - - - <a href="http://github.com/richhickey/clojure-contrib/blob/78ee9b3e64c5ac6082fb223fc79292175e8e4f0c/src/main/clojure/clojure/contrib/datalog/literals.clj#L302" id="var-source">Source</a> -</div><div id="var-entry"> - <hr /> - <h2 id="clojure.contrib.datalog.literals/delta-literal">delta-literal</h2> - <span id="var-type">function</span><br /> - <pre id="var-usage">Usage: (delta-literal l) -</pre> - <pre id="var-docstr">Given a literal l, return a delta version</pre> - - - <a href="http://github.com/richhickey/clojure-contrib/blob/78ee9b3e64c5ac6082fb223fc79292175e8e4f0c/src/main/clojure/clojure/contrib/datalog/literals.clj#L319" id="var-source">Source</a> -</div><div id="var-entry"> - <hr /> - <h2 id="clojure.contrib.datalog.literals/display-literal">display-literal</h2> - <span id="var-type">multimethod</span><br /> - <pre id="var-usage">No usage documentation available</pre> - <pre id="var-docstr">Converts a struct representing a literal to a normal list</pre> - - - <a href="http://github.com/richhickey/clojure-contrib/blob/78ee9b3e64c5ac6082fb223fc79292175e8e4f0c/src/main/clojure/clojure/contrib/datalog/literals.clj#L163" id="var-source">Source</a> -</div><div id="var-entry"> - <hr /> - <h2 id="clojure.contrib.datalog.literals/get-adorned-bindings">get-adorned-bindings</h2> - <span id="var-type">function</span><br /> - <pre id="var-usage">Usage: (get-adorned-bindings pred) -</pre> - <pre id="var-docstr">Get the bindings from this adorned literal.</pre> - - - <a href="http://github.com/richhickey/clojure-contrib/blob/78ee9b3e64c5ac6082fb223fc79292175e8e4f0c/src/main/clojure/clojure/contrib/datalog/literals.clj#L270" id="var-source">Source</a> -</div><div id="var-entry"> - <hr /> - <h2 id="clojure.contrib.datalog.literals/get-base-predicate">get-base-predicate</h2> - <span id="var-type">function</span><br /> - <pre id="var-usage">Usage: (get-base-predicate pred) -</pre> - <pre id="var-docstr">Get the base predicate from this predicate.</pre> - - - <a href="http://github.com/richhickey/clojure-contrib/blob/78ee9b3e64c5ac6082fb223fc79292175e8e4f0c/src/main/clojure/clojure/contrib/datalog/literals.clj#L275" id="var-source">Source</a> -</div><div id="var-entry"> - <hr /> - <h2 id="clojure.contrib.datalog.literals/get-cs-from-vs">get-cs-from-vs</h2> - <span id="var-type">multimethod</span><br /> - <pre id="var-usage">No usage documentation available</pre> - <pre id="var-docstr">From a set of vars, get the columns</pre> - - - <a href="http://github.com/richhickey/clojure-contrib/blob/78ee9b3e64c5ac6082fb223fc79292175e8e4f0c/src/main/clojure/clojure/contrib/datalog/literals.clj#L201" id="var-source">Source</a> -</div><div id="var-entry"> - <hr /> - <h2 id="clojure.contrib.datalog.literals/get-self-bound-cs">get-self-bound-cs</h2> - <span id="var-type">multimethod</span><br /> - <pre id="var-usage">No usage documentation available</pre> - <pre id="var-docstr">Get the columns that are bound withing the literal.</pre> - - - <a href="http://github.com/richhickey/clojure-contrib/blob/78ee9b3e64c5ac6082fb223fc79292175e8e4f0c/src/main/clojure/clojure/contrib/datalog/literals.clj#L218" id="var-source">Source</a> -</div><div id="var-entry"> - <hr /> - <h2 id="clojure.contrib.datalog.literals/get-vs-from-cs">get-vs-from-cs</h2> - <span id="var-type">multimethod</span><br /> - <pre id="var-usage">No usage documentation available</pre> - <pre id="var-docstr">From a set of columns, return the vars</pre> - - - <a href="http://github.com/richhickey/clojure-contrib/blob/78ee9b3e64c5ac6082fb223fc79292175e8e4f0c/src/main/clojure/clojure/contrib/datalog/literals.clj#L186" id="var-source">Source</a> -</div><div id="var-entry"> - <hr /> - <h2 id="clojure.contrib.datalog.literals/join-literal">join-literal</h2> - <span id="var-type">multimethod</span><br /> - <pre id="var-usage">No usage documentation available</pre> - <pre id="var-docstr">Given a database (db), a literal (lit) and a seq of bindings (bs), -return a new seq of bindings by joining this literal.</pre> - - - <a href="http://github.com/richhickey/clojure-contrib/blob/78ee9b3e64c5ac6082fb223fc79292175e8e4f0c/src/main/clojure/clojure/contrib/datalog/literals.clj#L360" id="var-source">Source</a> -</div><div id="var-entry"> - <hr /> - <h2 id="clojure.contrib.datalog.literals/literal-appropriate?">literal-appropriate?</h2> - <span id="var-type">multimethod</span><br /> - <pre id="var-usage">No usage documentation available</pre> - <pre id="var-docstr">When passed a set of bound vars, determines if this literal can be -used during this point of a SIP computation.</pre> - - - <a href="http://github.com/richhickey/clojure-contrib/blob/78ee9b3e64c5ac6082fb223fc79292175e8e4f0c/src/main/clojure/clojure/contrib/datalog/literals.clj#L235" id="var-source">Source</a> -</div><div id="var-entry"> - <hr /> - <h2 id="clojure.contrib.datalog.literals/literal-columns">literal-columns</h2> - <span id="var-type">multimethod</span><br /> - <pre id="var-usage">No usage documentation available</pre> - <pre id="var-docstr">Return the column names this applies to</pre> - - - <a href="http://github.com/richhickey/clojure-contrib/blob/78ee9b3e64c5ac6082fb223fc79292175e8e4f0c/src/main/clojure/clojure/contrib/datalog/literals.clj#L47" id="var-source">Source</a> -</div><div id="var-entry"> - <hr /> - <h2 id="clojure.contrib.datalog.literals/literal-magic?">literal-magic?</h2> - <span id="var-type">function</span><br /> - <pre id="var-usage">Usage: (literal-magic? lit) -</pre> - <pre id="var-docstr">Is this literal magic?</pre> - - - <a href="http://github.com/richhickey/clojure-contrib/blob/78ee9b3e64c5ac6082fb223fc79292175e8e4f0c/src/main/clojure/clojure/contrib/datalog/literals.clj#L295" id="var-source">Source</a> -</div><div id="var-entry"> - <hr /> - <h2 id="clojure.contrib.datalog.literals/literal-predicate">literal-predicate</h2> - <span id="var-type">multimethod</span><br /> - <pre id="var-usage">No usage documentation available</pre> - <pre id="var-docstr">Return the predicate/relation this conditional operates over</pre> - - - <a href="http://github.com/richhickey/clojure-contrib/blob/78ee9b3e64c5ac6082fb223fc79292175e8e4f0c/src/main/clojure/clojure/contrib/datalog/literals.clj#L43" id="var-source">Source</a> -</div><div id="var-entry"> - <hr /> - <h2 id="clojure.contrib.datalog.literals/literal-vars">literal-vars</h2> - <span id="var-type">multimethod</span><br /> - <pre id="var-usage">No usage documentation available</pre> - <pre id="var-docstr">Returns the logic vars used by this literal</pre> - - - <a href="http://github.com/richhickey/clojure-contrib/blob/78ee9b3e64c5ac6082fb223fc79292175e8e4f0c/src/main/clojure/clojure/contrib/datalog/literals.clj#L51" id="var-source">Source</a> -</div><div id="var-entry"> - <hr /> - <h2 id="clojure.contrib.datalog.literals/magic-literal">magic-literal</h2> - <span id="var-type">function</span><br /> - <pre id="var-usage">Usage: (magic-literal l) -</pre> - <pre id="var-docstr">Create a magic version of this adorned predicate.</pre> - - - <a href="http://github.com/richhickey/clojure-contrib/blob/78ee9b3e64c5ac6082fb223fc79292175e8e4f0c/src/main/clojure/clojure/contrib/datalog/literals.clj#L285" id="var-source">Source</a> -</div><div id="var-entry"> - <hr /> - <h2 id="clojure.contrib.datalog.literals/negated-literal">negated-literal</h2> - <span id="var-type">function</span><br /> - <pre id="var-usage">Usage: (negated-literal l) -</pre> - <pre id="var-docstr">Given a literal l, return a negated version</pre> - - - <a href="http://github.com/richhickey/clojure-contrib/blob/78ee9b3e64c5ac6082fb223fc79292175e8e4f0c/src/main/clojure/clojure/contrib/datalog/literals.clj#L313" id="var-source">Source</a> -</div><div id="var-entry"> - <hr /> - <h2 id="clojure.contrib.datalog.literals/negated?">negated?</h2> - <span id="var-type">function</span><br /> - <pre id="var-usage">Usage: (negated? l) -</pre> - <pre id="var-docstr">Is this literal a negated literal?</pre> - - - <a href="http://github.com/richhickey/clojure-contrib/blob/78ee9b3e64c5ac6082fb223fc79292175e8e4f0c/src/main/clojure/clojure/contrib/datalog/literals.clj#L111" id="var-source">Source</a> -</div><div id="var-entry"> - <hr /> - <h2 id="clojure.contrib.datalog.literals/negative-vars">negative-vars</h2> - <span id="var-type">multimethod</span><br /> - <pre id="var-usage">No usage documentation available</pre> - <pre id="var-docstr">Returns the logic vars used in a negative position</pre> - - - <a href="http://github.com/richhickey/clojure-contrib/blob/78ee9b3e64c5ac6082fb223fc79292175e8e4f0c/src/main/clojure/clojure/contrib/datalog/literals.clj#L59" id="var-source">Source</a> -</div><div id="var-entry"> - <hr /> - <h2 id="clojure.contrib.datalog.literals/positive-vars">positive-vars</h2> - <span id="var-type">multimethod</span><br /> - <pre id="var-usage">No usage documentation available</pre> - <pre id="var-docstr">Returns the logic vars used in a positive position</pre> - - - <a href="http://github.com/richhickey/clojure-contrib/blob/78ee9b3e64c5ac6082fb223fc79292175e8e4f0c/src/main/clojure/clojure/contrib/datalog/literals.clj#L55" id="var-source">Source</a> -</div><div id="var-entry"> - <hr /> - <h2 id="clojure.contrib.datalog.literals/positive?">positive?</h2> - <span id="var-type">function</span><br /> - <pre id="var-usage">Usage: (positive? l) -</pre> - <pre id="var-docstr">Is this a positive literal?</pre> - - - <a href="http://github.com/richhickey/clojure-contrib/blob/78ee9b3e64c5ac6082fb223fc79292175e8e4f0c/src/main/clojure/clojure/contrib/datalog/literals.clj#L116" id="var-source">Source</a> -</div><div id="var-entry"> - <hr /> - <h2 id="clojure.contrib.datalog.literals/project-literal">project-literal</h2> - <span id="var-type">function</span><br /> - <pre id="var-usage">Usage: (project-literal db lit bs) - (project-literal db lit bs var?) -</pre> - <pre id="var-docstr">Project a stream of bindings onto a literal/relation. Returns a new -db.</pre> - - - <a href="http://github.com/richhickey/clojure-contrib/blob/78ee9b3e64c5ac6082fb223fc79292175e8e4f0c/src/main/clojure/clojure/contrib/datalog/literals.clj#L392" id="var-source">Source</a> -</div> -<h2 id="namespace-name">datalog.magic</h2> -<pre id="namespace-docstr"></pre> - - -<br /> -<div id="var-entry"> - <hr /> - <h2 id="clojure.contrib.datalog.magic/adorn-query">adorn-query</h2> - <span id="var-type">function</span><br /> - <pre id="var-usage">Usage: (adorn-query q) -</pre> - <pre id="var-docstr">Adorn a query</pre> - - - <a href="http://github.com/richhickey/clojure-contrib/blob/2ede388a9267d175bfaa7781ee9d57532eb4f20f/src/main/clojure/clojure/contrib/datalog/magic.clj#L26" id="var-source">Source</a> -</div><div id="var-entry"> - <hr /> - <h2 id="clojure.contrib.datalog.magic/adorn-rules-set">adorn-rules-set</h2> - <span id="var-type">function</span><br /> - <pre id="var-usage">Usage: (adorn-rules-set rs q) -</pre> - <pre id="var-docstr">Adorns the given rules-set for the given query. (rs) is a -rules-set, (q) is an adorned query.</pre> - - - <a href="http://github.com/richhickey/clojure-contrib/blob/2ede388a9267d175bfaa7781ee9d57532eb4f20f/src/main/clojure/clojure/contrib/datalog/magic.clj#L31" id="var-source">Source</a> -</div><div id="var-entry"> - <hr /> - <h2 id="clojure.contrib.datalog.magic/build-partial-tuple">build-partial-tuple</h2> - <span id="var-type">function</span><br /> - <pre id="var-usage">Usage: (build-partial-tuple q bindings) -</pre> - <pre id="var-docstr">Given a query and a set of bindings, build a partial tuple needed -to extract the relation from the database.</pre> - - - <a href="http://github.com/richhickey/clojure-contrib/blob/2ede388a9267d175bfaa7781ee9d57532eb4f20f/src/main/clojure/clojure/contrib/datalog/magic.clj#L78" id="var-source">Source</a> -</div><div id="var-entry"> - <hr /> - <h2 id="clojure.contrib.datalog.magic/magic-transform">magic-transform</h2> - <span id="var-type">function</span><br /> - <pre id="var-usage">Usage: (magic-transform rs) - (magic-transform rs i-preds) -</pre> - <pre id="var-docstr">Return a magic transformation of an adorned rules-set (rs). The -(i-preds) are the predicates of the intension database. These -default to the predicates within the rules-set.</pre> - - - <a href="http://github.com/richhickey/clojure-contrib/blob/2ede388a9267d175bfaa7781ee9d57532eb4f20f/src/main/clojure/clojure/contrib/datalog/magic.clj#L98" id="var-source">Source</a> -</div><div id="var-entry"> - <hr /> - <h2 id="clojure.contrib.datalog.magic/seed-predicate-for-insertion">seed-predicate-for-insertion</h2> - <span id="var-type">function</span><br /> - <pre id="var-usage">Usage: (seed-predicate-for-insertion q) -</pre> - <pre id="var-docstr">Given a query, return the predicate to use for database insertion.</pre> - - - <a href="http://github.com/richhickey/clojure-contrib/blob/2ede388a9267d175bfaa7781ee9d57532eb4f20f/src/main/clojure/clojure/contrib/datalog/magic.clj#L90" id="var-source">Source</a> -</div><div id="var-entry"> - <hr /> - <h2 id="clojure.contrib.datalog.magic/seed-relation">seed-relation</h2> - <span id="var-type">function</span><br /> - <pre id="var-usage">Usage: (seed-relation q) -</pre> - <pre id="var-docstr">Given a magic form of a query, give back the literal form of its seed -relation</pre> - - - <a href="http://github.com/richhickey/clojure-contrib/blob/2ede388a9267d175bfaa7781ee9d57532eb4f20f/src/main/clojure/clojure/contrib/datalog/magic.clj#L63" id="var-source">Source</a> -</div><div id="var-entry"> - <hr /> - <h2 id="clojure.contrib.datalog.magic/seed-rule">seed-rule</h2> - <span id="var-type">function</span><br /> - <pre id="var-usage">Usage: (seed-rule q) -</pre> - <pre id="var-docstr">Given an adorned query, give back its seed rule</pre> - - - <a href="http://github.com/richhickey/clojure-contrib/blob/2ede388a9267d175bfaa7781ee9d57532eb4f20f/src/main/clojure/clojure/contrib/datalog/magic.clj#L71" id="var-source">Source</a> -</div> -<h2 id="namespace-name">datalog.rules</h2> -<pre id="namespace-docstr"></pre> - - -<br /> -<div id="var-entry"> - <hr /> - <h2 id="clojure.contrib.datalog.rules/<-"><-</h2> - <span id="var-type">macro</span><br /> - <pre id="var-usage">Usage: (<- hd & body) -</pre> - <pre id="var-docstr">Build a datalog rule. Like this: - -(<- (:head :x ?x :y ?y) (:body-1 :x ?x :y ?y) (:body-2 :z ?z) (not! :body-3 :x ?x) (if > ?y ?z))</pre> - - - <a href="http://github.com/richhickey/clojure-contrib/blob/7188a51605136f36524e4091fe806859114d6056/src/main/clojure/clojure/contrib/datalog/rules.clj#L67" id="var-source">Source</a> -</div><div id="var-entry"> - <hr /> - <h2 id="clojure.contrib.datalog.rules/?-">?-</h2> - <span id="var-type">macro</span><br /> - <pre id="var-usage">Usage: (?- & q) -</pre> - <pre id="var-docstr">Define a datalog query</pre> - - - <a href="http://github.com/richhickey/clojure-contrib/blob/7188a51605136f36524e4091fe806859114d6056/src/main/clojure/clojure/contrib/datalog/rules.clj#L85" id="var-source">Source</a> -</div><div id="var-entry"> - <hr /> - <h2 id="clojure.contrib.datalog.rules/all-predicates">all-predicates</h2> - <span id="var-type">function</span><br /> - <pre id="var-usage">Usage: (all-predicates rs) -</pre> - <pre id="var-docstr">Given a rules-set, return all defined predicates</pre> - - - <a href="http://github.com/richhickey/clojure-contrib/blob/7188a51605136f36524e4091fe806859114d6056/src/main/clojure/clojure/contrib/datalog/rules.clj#L162" id="var-source">Source</a> -</div><div id="var-entry"> - <hr /> - <h2 id="clojure.contrib.datalog.rules/apply-rule">apply-rule</h2> - <span id="var-type">function</span><br /> - <pre id="var-usage">Usage: (apply-rule db rule) - (apply-rule db-1 db-2 rule) -</pre> - <pre id="var-docstr">Apply the rule against db-1, adding the results to the appropriate -relation in db-2. The relation will be created if needed.</pre> - - - <a href="http://github.com/richhickey/clojure-contrib/blob/7188a51605136f36524e4091fe806859114d6056/src/main/clojure/clojure/contrib/datalog/rules.clj#L183" id="var-source">Source</a> -</div><div id="var-entry"> - <hr /> - <h2 id="clojure.contrib.datalog.rules/compute-sip">compute-sip</h2> - <span id="var-type">function</span><br /> - <pre id="var-usage">Usage: (compute-sip bindings i-preds rule) -</pre> - <pre id="var-docstr">Given a set of bound column names, return an adorned sip for this -rule. A set of intensional predicates should be provided to -determine what should be adorned.</pre> - - - <a href="http://github.com/richhickey/clojure-contrib/blob/7188a51605136f36524e4091fe806859114d6056/src/main/clojure/clojure/contrib/datalog/rules.clj#L99" id="var-source">Source</a> -</div><div id="var-entry"> - <hr /> - <h2 id="clojure.contrib.datalog.rules/display-query">display-query</h2> - <span id="var-type">function</span><br /> - <pre id="var-usage">Usage: (display-query query) -</pre> - <pre id="var-docstr">Return a query in a readable format.</pre> - - - <a href="http://github.com/richhickey/clojure-contrib/blob/7188a51605136f36524e4091fe806859114d6056/src/main/clojure/clojure/contrib/datalog/rules.clj#L38" id="var-source">Source</a> -</div><div id="var-entry"> - <hr /> - <h2 id="clojure.contrib.datalog.rules/display-rule">display-rule</h2> - <span id="var-type">function</span><br /> - <pre id="var-usage">Usage: (display-rule rule) -</pre> - <pre id="var-docstr">Return the rule in a readable format.</pre> - - - <a href="http://github.com/richhickey/clojure-contrib/blob/7188a51605136f36524e4091fe806859114d6056/src/main/clojure/clojure/contrib/datalog/rules.clj#L31" id="var-source">Source</a> -</div><div id="var-entry"> - <hr /> - <h2 id="clojure.contrib.datalog.rules/is-safe?">is-safe?</h2> - <span id="var-type">function</span><br /> - <pre id="var-usage">Usage: (is-safe? rule) -</pre> - <pre id="var-docstr">Is the rule safe according to the datalog protocol?</pre> - - - <a href="http://github.com/richhickey/clojure-contrib/blob/7188a51605136f36524e4091fe806859114d6056/src/main/clojure/clojure/contrib/datalog/rules.clj#L46" id="var-source">Source</a> -</div><div id="var-entry"> - <hr /> - <h2 id="clojure.contrib.datalog.rules/make-rules-set">make-rules-set</h2> - <span id="var-type">function</span><br /> - <pre id="var-usage">Usage: (make-rules-set rs) -</pre> - <pre id="var-docstr">Given an existing set of rules, make it a 'rules-set' for -printing.</pre> - - - <a href="http://github.com/richhickey/clojure-contrib/blob/7188a51605136f36524e4091fe806859114d6056/src/main/clojure/clojure/contrib/datalog/rules.clj#L128" id="var-source">Source</a> -</div><div id="var-entry"> - <hr /> - <h2 id="clojure.contrib.datalog.rules/non-base-rules">non-base-rules</h2> - <span id="var-type">function</span><br /> - <pre id="var-usage">Usage: (non-base-rules rs) -</pre> - <pre id="var-docstr">Return a collection of rules that depend, somehow, on other rules</pre> - - - <a href="http://github.com/richhickey/clojure-contrib/blob/7188a51605136f36524e4091fe806859114d6056/src/main/clojure/clojure/contrib/datalog/rules.clj#L167" id="var-source">Source</a> -</div><div id="var-entry"> - <hr /> - <h2 id="clojure.contrib.datalog.rules/predicate-map">predicate-map</h2> - <span id="var-type">function</span><br /> - <pre id="var-usage">Usage: (predicate-map rs) -</pre> - <pre id="var-docstr">Given a rules-set, return a map of rules keyed by their predicates. -Each value will be a set of rules.</pre> - - - <a href="http://github.com/richhickey/clojure-contrib/blob/7188a51605136f36524e4091fe806859114d6056/src/main/clojure/clojure/contrib/datalog/rules.clj#L152" id="var-source">Source</a> -</div><div id="var-entry"> - <hr /> - <h2 id="clojure.contrib.datalog.rules/return-rule-data">return-rule-data</h2> - <span id="var-type">function</span><br /> - <pre id="var-usage">Usage: (return-rule-data rule) -</pre> - <pre id="var-docstr">Returns an untypted rule that will be fully printed</pre> - - - <a href="http://github.com/richhickey/clojure-contrib/blob/7188a51605136f36524e4091fe806859114d6056/src/main/clojure/clojure/contrib/datalog/rules.clj#L80" id="var-source">Source</a> -</div><div id="var-entry"> - <hr /> - <h2 id="clojure.contrib.datalog.rules/rules-set">rules-set</h2> - <span id="var-type">function</span><br /> - <pre id="var-usage">Usage: (rules-set & rules) -</pre> - <pre id="var-docstr">Given a collection of rules return a rules set</pre> - - - <a href="http://github.com/richhickey/clojure-contrib/blob/7188a51605136f36524e4091fe806859114d6056/src/main/clojure/clojure/contrib/datalog/rules.clj#L136" id="var-source">Source</a> -</div> -<h2 id="namespace-name">datalog.softstrat</h2> -<pre id="namespace-docstr"></pre> - - -<br /> -<div id="var-entry"> - <hr /> - <h2 id="clojure.contrib.datalog.softstrat/build-soft-strat-work-plan">build-soft-strat-work-plan</h2> - <span id="var-type">function</span><br /> - <pre id="var-usage">Usage: (build-soft-strat-work-plan rs q) -</pre> - <pre id="var-docstr">Return a work plan for the given rules-set and query</pre> - - - <a href="http://github.com/richhickey/clojure-contrib/blob/ec6a7579d6b1c0bfa42e3666cfad196cffc966fe/src/main/clojure/clojure/contrib/datalog/softstrat.clj#L115" id="var-source">Source</a> -</div><div id="var-entry"> - <hr /> - <h2 id="clojure.contrib.datalog.softstrat/get-all-relations">get-all-relations</h2> - <span id="var-type">function</span><br /> - <pre id="var-usage">Usage: (get-all-relations ws) -</pre> - <pre id="var-docstr">Return a set of all relation names defined in this workplan</pre> - - - <a href="http://github.com/richhickey/clojure-contrib/blob/ec6a7579d6b1c0bfa42e3666cfad196cffc966fe/src/main/clojure/clojure/contrib/datalog/softstrat.clj#L121" id="var-source">Source</a> -</div> -<h2 id="namespace-name">datalog.util</h2> -<pre id="namespace-docstr"></pre> - - -<br /> -<div id="var-entry"> - <hr /> - <h2 id="clojure.contrib.datalog.util/is-query-var?">is-query-var?</h2> - <span id="var-type">function</span><br /> - <pre id="var-usage">Usage: (is-query-var? sym) -</pre> - <pre id="var-docstr">Is this a query variable: e.g. a symbol prefixed with ??</pre> - - - <a href="http://github.com/richhickey/clojure-contrib/blob/ec6a7579d6b1c0bfa42e3666cfad196cffc966fe/src/main/clojure/clojure/contrib/datalog/util.clj#L33" id="var-source">Source</a> -</div><div id="var-entry"> - <hr /> - <h2 id="clojure.contrib.datalog.util/is-var?">is-var?</h2> - <span id="var-type">function</span><br /> - <pre id="var-usage">Usage: (is-var? sym) -</pre> - <pre id="var-docstr">Is this a logic variable: e.g. a symbol prefixed with a ?</pre> - - - <a href="http://github.com/richhickey/clojure-contrib/blob/ec6a7579d6b1c0bfa42e3666cfad196cffc966fe/src/main/clojure/clojure/contrib/datalog/util.clj#L25" id="var-source">Source</a> -</div><div id="var-entry"> - <hr /> - <h2 id="clojure.contrib.datalog.util/keys-to-vals">keys-to-vals</h2> - <span id="var-type">function</span><br /> - <pre id="var-usage">Usage: (keys-to-vals m ks) -</pre> - <pre id="var-docstr">Given a map and a collection of keys, return the collection of vals</pre> - - - <a href="http://github.com/richhickey/clojure-contrib/blob/ec6a7579d6b1c0bfa42e3666cfad196cffc966fe/src/main/clojure/clojure/contrib/datalog/util.clj#L49" id="var-source">Source</a> -</div><div id="var-entry"> - <hr /> - <h2 id="clojure.contrib.datalog.util/map-values">map-values</h2> - <span id="var-type">function</span><br /> - <pre id="var-usage">Usage: (map-values f hash) -</pre> - <pre id="var-docstr">Like map, but works over the values of a hash map</pre> - - - <a href="http://github.com/richhickey/clojure-contrib/blob/ec6a7579d6b1c0bfa42e3666cfad196cffc966fe/src/main/clojure/clojure/contrib/datalog/util.clj#L41" id="var-source">Source</a> -</div><div id="var-entry"> - <hr /> - <h2 id="clojure.contrib.datalog.util/preduce">preduce</h2> - <span id="var-type">function</span><br /> - <pre id="var-usage">Usage: (preduce f data) -</pre> - <pre id="var-docstr">Similar to merge-with, but the contents of each key are merged in -parallel using f. - -f - a function of 2 arguments. -data - a collection of hashes.</pre> - - - <a href="http://github.com/richhickey/clojure-contrib/blob/ec6a7579d6b1c0bfa42e3666cfad196cffc966fe/src/main/clojure/clojure/contrib/datalog/util.clj#L62" id="var-source">Source</a> -</div><div id="var-entry"> - <hr /> - <h2 id="clojure.contrib.datalog.util/reverse-map">reverse-map</h2> - <span id="var-type">function</span><br /> - <pre id="var-usage">Usage: (reverse-map m) -</pre> - <pre id="var-docstr">Reverse the keys/values of a map</pre> - - - <a href="http://github.com/richhickey/clojure-contrib/blob/ec6a7579d6b1c0bfa42e3666cfad196cffc966fe/src/main/clojure/clojure/contrib/datalog/util.clj#L54" id="var-source">Source</a> -</div><div id="var-entry"> - <hr /> - <h2 id="clojure.contrib.datalog.util/trace-datalog">trace-datalog</h2> - <span id="var-type">macro</span><br /> - <pre id="var-usage">Usage: (trace-datalog & body) -</pre> - <pre id="var-docstr">If *test-datalog* is set to true, run the enclosed commands</pre> - - - <a href="http://github.com/richhickey/clojure-contrib/blob/ec6a7579d6b1c0bfa42e3666cfad196cffc966fe/src/main/clojure/clojure/contrib/datalog/util.clj#L82" id="var-source">Source</a> -</div> - - -</div> - </div> - </div> - </div> - </div> - <div id="foot"> - <div style="text-align: center;" id="copyright">Copyright 2007-2009 by Rich Hickey and the various contributors</div> - </div> - </div> - <div id="DesignedBy">Logo & site design by <a title="Visit Tom Hickey's website." href="http://www.tomhickey.com">Tom Hickey</a>.<br /> - Clojure auto-documentation system by Tom Faulhaber.</div> - </div> - <!-- /AllContentContainer --> - </body> - -</html>
\ No newline at end of file diff --git a/branch-master/def-api.html b/branch-master/def-api.html deleted file mode 100644 index e0f66051..00000000 --- a/branch-master/def-api.html +++ /dev/null @@ -1,276 +0,0 @@ -<html> - <head> - <title>def - clojure-contrib next API documentation</title> - <link href="../static/favicon.png" rel="icon" /> - <link href="../static/favicon.png" rel="shortcut icon" /> - <link media="all" type="text/css" href="../static/clojure.css" rel="stylesheet" /> - <link media="all" type="text/css" href="../static/wiki.css" rel="stylesheet" /> - <link media="all" type="text/css" href="../static/internal.css" rel="stylesheet" /> - <!-- TODO: are we using these (from clojure.org)? If so, add the files --> - <script src="file/view/code_highlighter.js" type="text/javascript"></script> - <script src="file/view/clojure.js" type="text/javascript"></script> - <style>.menuWrapper{height: 36px;}</style> - <!--[if lte IE 6]> - <link rel="stylesheet" href="http://www.wikispaces.com/_/2009051601/s/internal_ie.css" type="text/css" /> - <![endif]--> - </head> -<!-- -This document was auto-generated from the source by the clojure autodoc system. -To report errors or ask questions about the overall documentation structure, formatting, -etc., contact Tom Faulhaber (google mail name: tomfaulhaber). -For errors in the documentation of a particular namespace, contact the author of that -namespace. ---> - <body> - <div id="AllContentContainer"> - <div id="Header"> - <a id="Logo" href="index.html"><img alt="Clojure" height="100" width="100" src="../static/clojure-icon.gif" /></a> - <h1><a title="page header title" id="page-header" href="index.html">Clojure-contrib API Reference</a></h1> - </div> - <div id="leftcolumn"><div style="text-align: center;"></div> -<div class="menu"> - <div class="WikiCustomNav WikiElement wiki"> - <span class="toc-header"><span id="project-name">clojure-contrib</span> <span id="version">next</span> API</span><br /> - <ul> - <li><a class="wiki_link" href="index.html">Overview</a></li> - <li><a class="wiki_link" href="api-index.html">API Index</a></li> - </ul> - <span class="toc-header">Namespaces</span> - <ul id="left-sidebar-list"> - <li><a href="accumulators-api.html" class="wiki_link">accumulators</a></li><li><a href="agent-utils-api.html" class="wiki_link">agent-utils</a></li><li><a href="apply-macro-api.html" class="wiki_link">apply-macro</a></li><li><a href="base64-api.html" class="wiki_link">base64</a></li><li><a href="classpath-api.html" class="wiki_link">classpath</a></li><li><a href="combinatorics-api.html" class="wiki_link">combinatorics</a></li><li><a href="command-line-api.html" class="wiki_link">command-line</a></li><li><a href="complex-numbers-api.html" class="wiki_link">complex-numbers</a></li><li><a href="cond-api.html" class="wiki_link">cond</a></li><li><a href="condition-api.html" class="wiki_link">condition</a></li><li><a href="core-api.html" class="wiki_link">core</a></li><li><a href="dataflow-api.html" class="wiki_link">dataflow</a></li><li><a href="datalog-api.html" class="wiki_link">datalog</a></li><li><a href="def-api.html" class="wiki_link">def</a></li><li><a href="duck-streams-api.html" class="wiki_link">duck-streams</a></li><li><a href="error-kit-api.html" class="wiki_link">error-kit</a></li><li><a href="except-api.html" class="wiki_link">except</a></li><li><a href="fcase-api.html" class="wiki_link">fcase</a></li><li><a href="find-namespaces-api.html" class="wiki_link">find-namespaces</a></li><li><a href="fnmap-api.html" class="wiki_link">fnmap</a></li><li><a href="gen-html-docs-api.html" class="wiki_link">gen-html-docs</a></li><li><a href="generic.arithmetic-api.html" class="wiki_link">generic.arithmetic</a></li><li><a href="generic.collection-api.html" class="wiki_link">generic.collection</a></li><li><a href="generic.comparison-api.html" class="wiki_link">generic.comparison</a></li><li><a href="generic.functor-api.html" class="wiki_link">generic.functor</a></li><li><a href="generic.math-functions-api.html" class="wiki_link">generic.math-functions</a></li><li><a href="graph-api.html" class="wiki_link">graph</a></li><li><a href="greatest-least-api.html" class="wiki_link">greatest-least</a></li><li><a href="http.agent-api.html" class="wiki_link">http.agent</a></li><li><a href="http.connection-api.html" class="wiki_link">http.connection</a></li><li><a href="import-static-api.html" class="wiki_link">import-static</a></li><li><a href="io-api.html" class="wiki_link">io</a></li><li><a href="jar-api.html" class="wiki_link">jar</a></li><li><a href="java-utils-api.html" class="wiki_link">java-utils</a></li><li><a href="javadoc.browse-api.html" class="wiki_link">javadoc.browse</a></li><li><a href="jmx-api.html" class="wiki_link">jmx</a></li><li><a href="json-api.html" class="wiki_link">json</a></li><li><a href="lazy-seqs-api.html" class="wiki_link">lazy-seqs</a></li><li><a href="lazy-xml-api.html" class="wiki_link">lazy-xml</a></li><li><a href="logging-api.html" class="wiki_link">logging</a></li><li><a href="macro-utils-api.html" class="wiki_link">macro-utils</a></li><li><a href="macros-api.html" class="wiki_link">macros</a></li><li><a href="map-utils-api.html" class="wiki_link">map-utils</a></li><li><a href="math-api.html" class="wiki_link">math</a></li><li><a href="miglayout-api.html" class="wiki_link">miglayout</a></li><li><a href="mmap-api.html" class="wiki_link">mmap</a></li><li><a href="mock-api.html" class="wiki_link">mock</a></li><li><a href="monadic-io-streams-api.html" class="wiki_link">monadic-io-streams</a></li><li><a href="monads-api.html" class="wiki_link">monads</a></li><li><a href="ns-utils-api.html" class="wiki_link">ns-utils</a></li><li><a href="pprint-api.html" class="wiki_link">pprint</a></li><li><a href="priority-map-api.html" class="wiki_link">priority-map</a></li><li><a href="probabilities.finite-distributions-api.html" class="wiki_link">probabilities.finite-distributions</a></li><li><a href="probabilities.monte-carlo-api.html" class="wiki_link">probabilities.monte-carlo</a></li><li><a href="probabilities.random-numbers-api.html" class="wiki_link">probabilities.random-numbers</a></li><li><a href="profile-api.html" class="wiki_link">profile</a></li><li><a href="properties-api.html" class="wiki_link">properties</a></li><li><a href="prxml-api.html" class="wiki_link">prxml</a></li><li><a href="reflect-api.html" class="wiki_link">reflect</a></li><li><a href="repl-ln-api.html" class="wiki_link">repl-ln</a></li><li><a href="repl-utils-api.html" class="wiki_link">repl-utils</a></li><li><a href="seq-api.html" class="wiki_link">seq</a></li><li><a href="seq-utils-api.html" class="wiki_link">seq-utils</a></li><li><a href="server-socket-api.html" class="wiki_link">server-socket</a></li><li><a href="set-api.html" class="wiki_link">set</a></li><li><a href="shell-api.html" class="wiki_link">shell</a></li><li><a href="shell-out-api.html" class="wiki_link">shell-out</a></li><li><a href="singleton-api.html" class="wiki_link">singleton</a></li><li><a href="sql-api.html" class="wiki_link">sql</a></li><li><a href="str-utils-api.html" class="wiki_link">str-utils</a></li><li><a href="str-utils2-api.html" class="wiki_link">str-utils2</a></li><li><a href="stream-utils-api.html" class="wiki_link">stream-utils</a></li><li><a href="string-api.html" class="wiki_link">string</a></li><li><a href="strint-api.html" class="wiki_link">strint</a></li><li><a href="swing-utils-api.html" class="wiki_link">swing-utils</a></li><li><a href="test-is-api.html" class="wiki_link">test-is</a></li><li><a href="trace-api.html" class="wiki_link">trace</a></li><li><a href="types-api.html" class="wiki_link">types</a></li><li><a href="with-ns-api.html" class="wiki_link">with-ns</a></li><li><a href="zip-filter-api.html" class="wiki_link">zip-filter</a></li> - </ul> - <div class="BranchTOC"> - <span class="toc-header">Other Versions</span> - <ul id="left-sidebar-branch-list"> - <li><a href="../index.html" class="wiki_link">v1.2 (beta 1)</a></li><li><a href="../branch-1.1.x/index.html" class="wiki_link">v1.1 (stable)</a></li> - </ul> - </div> - <a href="http://clojure.org" class="wiki_link">Clojure Home</a> - </div> -</div> -</div> - <div id="rightcolumn"> - <div id="Content"> - <div class="contentBox"><div class="innerContentBox"> - <div id="content_view" class="wiki wikiPage"> - <div id="right-sidebar"><div id="toc"> - <h1 class="nopad">Table of Contents</h1> - <div style="margin-left: 1em;" class="toc-section"> - <a href="#toc0">Overview</a> - <div style="margin-left: 1em;" class="toc-entry"> - <a href="#clojure.contrib.def/defalias">defalias</a> - </div><div style="margin-left: 1em;" class="toc-entry"> - <a href="#clojure.contrib.def/defhinted">defhinted</a> - </div><div style="margin-left: 1em;" class="toc-entry"> - <a href="#clojure.contrib.def/defmacro-">defmacro-</a> - </div><div style="margin-left: 1em;" class="toc-entry"> - <a href="#clojure.contrib.def/defn-memo">defn-memo</a> - </div><div style="margin-left: 1em;" class="toc-entry"> - <a href="#clojure.contrib.def/defnk">defnk</a> - </div><div style="margin-left: 1em;" class="toc-entry"> - <a href="#clojure.contrib.def/defonce-">defonce-</a> - </div><div style="margin-left: 1em;" class="toc-entry"> - <a href="#clojure.contrib.def/defstruct-">defstruct-</a> - </div><div style="margin-left: 1em;" class="toc-entry"> - <a href="#clojure.contrib.def/defunbound">defunbound</a> - </div><div style="margin-left: 1em;" class="toc-entry"> - <a href="#clojure.contrib.def/defunbound-">defunbound-</a> - </div><div style="margin-left: 1em;" class="toc-entry"> - <a href="#clojure.contrib.def/defvar">defvar</a> - </div><div style="margin-left: 1em;" class="toc-entry"> - <a href="#clojure.contrib.def/defvar-">defvar-</a> - </div><div style="margin-left: 1em;" class="toc-entry"> - <a href="#clojure.contrib.def/name-with-attributes">name-with-attributes</a> - </div> - <br /> - </div> -</div> -</div> - <div id="content-tag"><h1 id="overview">API for <span id="namespace-name">def</span> - - <span id="header-project">clojure-contrib</span> <span id="header-version">next</span> (<span id="header-status">in development</span>) - </h1> - -<br />Usage: -<pre> -(ns your-namespace - (:require <span id="long-name">clojure.contrib.def</span>)) -</pre><pre> -</pre><h2>Overview</h2> -<pre id="namespace-docstr"></pre> - - -<br /> -<h2>Public Variables and Functions</h2> -<div id="var-entry"> - <br /> - <hr /> - <h2 id="clojure.contrib.def/defalias">defalias</h2> - <span id="var-type">macro</span><br /> - <pre id="var-usage">Usage: (defalias name orig) - (defalias name orig doc) -</pre> - <pre id="var-docstr">Defines an alias for a var: a new var with the same root binding (if -any) and similar metadata. The metadata of the alias is its initial -metadata (as provided by def) merged into the metadata of the original.</pre> - - - <a href="http://github.com/richhickey/clojure-contrib/blob/7188a51605136f36524e4091fe806859114d6056/src/main/clojure/clojure/contrib/def.clj#L66" id="var-source">Source</a> -</div><div id="var-entry"> - <br /> - <hr /> - <h2 id="clojure.contrib.def/defhinted">defhinted</h2> - <span id="var-type">macro</span><br /> - <pre id="var-usage">Usage: (defhinted sym init) -</pre> - <pre id="var-docstr">Defines a var with a type hint matching the class of the given -init. Be careful about using any form of 'def' or 'binding' to a -value of a different type. See <a href="http://paste.lisp.org/display/73344">http://paste.lisp.org/display/73344</a></pre> - - - <a href="http://github.com/richhickey/clojure-contrib/blob/7188a51605136f36524e4091fe806859114d6056/src/main/clojure/clojure/contrib/def.clj#L85" id="var-source">Source</a> -</div><div id="var-entry"> - <br /> - <hr /> - <h2 id="clojure.contrib.def/defmacro-">defmacro-</h2> - <span id="var-type">macro</span><br /> - <pre id="var-usage">Usage: (defmacro- name & decls) -</pre> - <pre id="var-docstr">Same as defmacro but yields a private definition</pre> - - - <a href="http://github.com/richhickey/clojure-contrib/blob/7188a51605136f36524e4091fe806859114d6056/src/main/clojure/clojure/contrib/def.clj#L39" id="var-source">Source</a> -</div><div id="var-entry"> - <br /> - <hr /> - <h2 id="clojure.contrib.def/defn-memo">defn-memo</h2> - <span id="var-type">macro</span><br /> - <pre id="var-usage">Usage: (defn-memo fn-name & defn-stuff) -</pre> - <pre id="var-docstr">Just like defn, but memoizes the function using clojure.core/memoize</pre> - - - <a href="http://github.com/richhickey/clojure-contrib/blob/7188a51605136f36524e4091fe806859114d6056/src/main/clojure/clojure/contrib/def.clj#L143" id="var-source">Source</a> -</div><div id="var-entry"> - <br /> - <hr /> - <h2 id="clojure.contrib.def/defnk">defnk</h2> - <span id="var-type">macro</span><br /> - <pre id="var-usage">Usage: (defnk fn-name & fn-tail) -</pre> - <pre id="var-docstr">Define a function accepting keyword arguments. Symbols up to the first -keyword in the parameter list are taken as positional arguments. Then -an alternating sequence of keywords and defaults values is expected. The -values of the keyword arguments are available in the function body by -virtue of the symbol corresponding to the keyword (cf. :keys destructuring). -defnk accepts an optional docstring as well as an optional metadata map.</pre> - - - <a href="http://github.com/richhickey/clojure-contrib/blob/7188a51605136f36524e4091fe806859114d6056/src/main/clojure/clojure/contrib/def.clj#L122" id="var-source">Source</a> -</div><div id="var-entry"> - <br /> - <hr /> - <h2 id="clojure.contrib.def/defonce-">defonce-</h2> - <span id="var-type">macro</span><br /> - <pre id="var-usage">Usage: (defonce- name expr) - (defonce- name expr doc) -</pre> - <pre id="var-docstr">Same as defonce but yields a private definition</pre> - - - <a href="http://github.com/richhickey/clojure-contrib/blob/7188a51605136f36524e4091fe806859114d6056/src/main/clojure/clojure/contrib/def.clj#L59" id="var-source">Source</a> -</div><div id="var-entry"> - <br /> - <hr /> - <h2 id="clojure.contrib.def/defstruct-">defstruct-</h2> - <span id="var-type">macro</span><br /> - <pre id="var-usage">Usage: (defstruct- name & decls) -</pre> - <pre id="var-docstr">Same as defstruct but yields a private definition</pre> - - - <a href="http://github.com/richhickey/clojure-contrib/blob/7188a51605136f36524e4091fe806859114d6056/src/main/clojure/clojure/contrib/def.clj#L54" id="var-source">Source</a> -</div><div id="var-entry"> - <br /> - <hr /> - <h2 id="clojure.contrib.def/defunbound">defunbound</h2> - <span id="var-type">macro</span><br /> - <pre id="var-usage">Usage: (defunbound name) - (defunbound name doc) -</pre> - <pre id="var-docstr">Defines an unbound var with optional doc string</pre> - - - <a href="http://github.com/richhickey/clojure-contrib/blob/7188a51605136f36524e4091fe806859114d6056/src/main/clojure/clojure/contrib/def.clj#L32" id="var-source">Source</a> -</div><div id="var-entry"> - <br /> - <hr /> - <h2 id="clojure.contrib.def/defunbound-">defunbound-</h2> - <span id="var-type">macro</span><br /> - <pre id="var-usage">Usage: (defunbound- name & decls) -</pre> - <pre id="var-docstr">Same as defunbound but yields a private definition</pre> - - - <a href="http://github.com/richhickey/clojure-contrib/blob/7188a51605136f36524e4091fe806859114d6056/src/main/clojure/clojure/contrib/def.clj#L49" id="var-source">Source</a> -</div><div id="var-entry"> - <br /> - <hr /> - <h2 id="clojure.contrib.def/defvar">defvar</h2> - <span id="var-type">macro</span><br /> - <pre id="var-usage">Usage: (defvar name) - (defvar name init) - (defvar name init doc) -</pre> - <pre id="var-docstr">Defines a var with an optional intializer and doc string</pre> - - - <a href="http://github.com/richhickey/clojure-contrib/blob/7188a51605136f36524e4091fe806859114d6056/src/main/clojure/clojure/contrib/def.clj#L23" id="var-source">Source</a> -</div><div id="var-entry"> - <br /> - <hr /> - <h2 id="clojure.contrib.def/defvar-">defvar-</h2> - <span id="var-type">macro</span><br /> - <pre id="var-usage">Usage: (defvar- name & decls) -</pre> - <pre id="var-docstr">Same as defvar but yields a private definition</pre> - - - <a href="http://github.com/richhickey/clojure-contrib/blob/7188a51605136f36524e4091fe806859114d6056/src/main/clojure/clojure/contrib/def.clj#L44" id="var-source">Source</a> -</div><div id="var-entry"> - <br /> - <hr /> - <h2 id="clojure.contrib.def/name-with-attributes">name-with-attributes</h2> - <span id="var-type">function</span><br /> - <pre id="var-usage">Usage: (name-with-attributes name macro-args) -</pre> - <pre id="var-docstr">To be used in macro definitions. -Handles optional docstrings and attribute maps for a name to be defined -in a list of macro arguments. If the first macro argument is a string, -it is added as a docstring to name and removed from the macro argument -list. If afterwards the first macro argument is a map, its entries are -added to the name's metadata map and the map is removed from the -macro argument list. The return value is a vector containing the name -with its extended metadata map and the list of unprocessed macro -arguments.</pre> - - - <a href="http://github.com/richhickey/clojure-contrib/blob/7188a51605136f36524e4091fe806859114d6056/src/main/clojure/clojure/contrib/def.clj#L96" id="var-source">Source</a> -</div> - - -</div> - </div> - </div> - </div> - </div> - <div id="foot"> - <div style="text-align: center;" id="copyright">Copyright 2007-2009 by Rich Hickey and the various contributors</div> - </div> - </div> - <div id="DesignedBy">Logo & site design by <a title="Visit Tom Hickey's website." href="http://www.tomhickey.com">Tom Hickey</a>.<br /> - Clojure auto-documentation system by Tom Faulhaber.</div> - </div> - <!-- /AllContentContainer --> - </body> - -</html>
\ No newline at end of file diff --git a/branch-master/doc/datalog.html b/branch-master/doc/datalog.html index 0e63dcde..346f7223 100644 --- a/branch-master/doc/datalog.html +++ b/branch-master/doc/datalog.html @@ -37,7 +37,7 @@ namespace. </ul> <span class="toc-header">Namespaces</span> <ul id="left-sidebar-list"> - <li><a href="../../accumulators-api.html" class="wiki_link">accumulators</a></li><li><a href="../../agent-utils-api.html" class="wiki_link">agent-utils</a></li><li><a href="../../apply-macro-api.html" class="wiki_link">apply-macro</a></li><li><a href="../../base64-api.html" class="wiki_link">base64</a></li><li><a href="../../classpath-api.html" class="wiki_link">classpath</a></li><li><a href="../../combinatorics-api.html" class="wiki_link">combinatorics</a></li><li><a href="../../command-line-api.html" class="wiki_link">command-line</a></li><li><a href="../../complex-numbers-api.html" class="wiki_link">complex-numbers</a></li><li><a href="../../cond-api.html" class="wiki_link">cond</a></li><li><a href="../../condition-api.html" class="wiki_link">condition</a></li><li><a href="../../core-api.html" class="wiki_link">core</a></li><li><a href="../../dataflow-api.html" class="wiki_link">dataflow</a></li><li><a href="../../datalog-api.html" class="wiki_link">datalog</a></li><li><a href="../../def-api.html" class="wiki_link">def</a></li><li><a href="../../duck-streams-api.html" class="wiki_link">duck-streams</a></li><li><a href="../../error-kit-api.html" class="wiki_link">error-kit</a></li><li><a href="../../except-api.html" class="wiki_link">except</a></li><li><a href="../../fcase-api.html" class="wiki_link">fcase</a></li><li><a href="../../find-namespaces-api.html" class="wiki_link">find-namespaces</a></li><li><a href="../../fnmap-api.html" class="wiki_link">fnmap</a></li><li><a href="../../gen-html-docs-api.html" class="wiki_link">gen-html-docs</a></li><li><a href="../../generic.arithmetic-api.html" class="wiki_link">generic.arithmetic</a></li><li><a href="../../generic.collection-api.html" class="wiki_link">generic.collection</a></li><li><a href="../../generic.comparison-api.html" class="wiki_link">generic.comparison</a></li><li><a href="../../generic.functor-api.html" class="wiki_link">generic.functor</a></li><li><a href="../../generic.math-functions-api.html" class="wiki_link">generic.math-functions</a></li><li><a href="../../graph-api.html" class="wiki_link">graph</a></li><li><a href="../../greatest-least-api.html" class="wiki_link">greatest-least</a></li><li><a href="../../http.agent-api.html" class="wiki_link">http.agent</a></li><li><a href="../../http.connection-api.html" class="wiki_link">http.connection</a></li><li><a href="../../import-static-api.html" class="wiki_link">import-static</a></li><li><a href="../../io-api.html" class="wiki_link">io</a></li><li><a href="../../jar-api.html" class="wiki_link">jar</a></li><li><a href="../../java-utils-api.html" class="wiki_link">java-utils</a></li><li><a href="../../javadoc.browse-api.html" class="wiki_link">javadoc.browse</a></li><li><a href="../../jmx-api.html" class="wiki_link">jmx</a></li><li><a href="../../json-api.html" class="wiki_link">json</a></li><li><a href="../../lazy-seqs-api.html" class="wiki_link">lazy-seqs</a></li><li><a href="../../lazy-xml-api.html" class="wiki_link">lazy-xml</a></li><li><a href="../../logging-api.html" class="wiki_link">logging</a></li><li><a href="../../macro-utils-api.html" class="wiki_link">macro-utils</a></li><li><a href="../../macros-api.html" class="wiki_link">macros</a></li><li><a href="../../map-utils-api.html" class="wiki_link">map-utils</a></li><li><a href="../../math-api.html" class="wiki_link">math</a></li><li><a href="../../miglayout-api.html" class="wiki_link">miglayout</a></li><li><a href="../../mmap-api.html" class="wiki_link">mmap</a></li><li><a href="../../mock-api.html" class="wiki_link">mock</a></li><li><a href="../../monadic-io-streams-api.html" class="wiki_link">monadic-io-streams</a></li><li><a href="../../monads-api.html" class="wiki_link">monads</a></li><li><a href="../../ns-utils-api.html" class="wiki_link">ns-utils</a></li><li><a href="../../pprint-api.html" class="wiki_link">pprint</a></li><li><a href="../../priority-map-api.html" class="wiki_link">priority-map</a></li><li><a href="../../probabilities.finite-distributions-api.html" class="wiki_link">probabilities.finite-distributions</a></li><li><a href="../../probabilities.monte-carlo-api.html" class="wiki_link">probabilities.monte-carlo</a></li><li><a href="../../probabilities.random-numbers-api.html" class="wiki_link">probabilities.random-numbers</a></li><li><a href="../../profile-api.html" class="wiki_link">profile</a></li><li><a href="../../properties-api.html" class="wiki_link">properties</a></li><li><a href="../../prxml-api.html" class="wiki_link">prxml</a></li><li><a href="../../reflect-api.html" class="wiki_link">reflect</a></li><li><a href="../../repl-ln-api.html" class="wiki_link">repl-ln</a></li><li><a href="../../repl-utils-api.html" class="wiki_link">repl-utils</a></li><li><a href="../../seq-api.html" class="wiki_link">seq</a></li><li><a href="../../seq-utils-api.html" class="wiki_link">seq-utils</a></li><li><a href="../../server-socket-api.html" class="wiki_link">server-socket</a></li><li><a href="../../set-api.html" class="wiki_link">set</a></li><li><a href="../../shell-api.html" class="wiki_link">shell</a></li><li><a href="../../shell-out-api.html" class="wiki_link">shell-out</a></li><li><a href="../../singleton-api.html" class="wiki_link">singleton</a></li><li><a href="../../sql-api.html" class="wiki_link">sql</a></li><li><a href="../../str-utils-api.html" class="wiki_link">str-utils</a></li><li><a href="../../str-utils2-api.html" class="wiki_link">str-utils2</a></li><li><a href="../../stream-utils-api.html" class="wiki_link">stream-utils</a></li><li><a href="../../string-api.html" class="wiki_link">string</a></li><li><a href="../../strint-api.html" class="wiki_link">strint</a></li><li><a href="../../swing-utils-api.html" class="wiki_link">swing-utils</a></li><li><a href="../../test-is-api.html" class="wiki_link">test-is</a></li><li><a href="../../trace-api.html" class="wiki_link">trace</a></li><li><a href="../../types-api.html" class="wiki_link">types</a></li><li><a href="../../with-ns-api.html" class="wiki_link">with-ns</a></li><li><a href="../../zip-filter-api.html" class="wiki_link">zip-filter</a></li> + </ul> <div class="BranchTOC"> <span class="toc-header">Other Versions</span> diff --git a/branch-master/doc/pprint/CommonLispFormat.html b/branch-master/doc/pprint/CommonLispFormat.html index e8071c85..de66475e 100644 --- a/branch-master/doc/pprint/CommonLispFormat.html +++ b/branch-master/doc/pprint/CommonLispFormat.html @@ -37,7 +37,7 @@ namespace. </ul> <span class="toc-header">Namespaces</span> <ul id="left-sidebar-list"> - <li><a href="../../../accumulators-api.html" class="wiki_link">accumulators</a></li><li><a href="../../../agent-utils-api.html" class="wiki_link">agent-utils</a></li><li><a href="../../../apply-macro-api.html" class="wiki_link">apply-macro</a></li><li><a href="../../../base64-api.html" class="wiki_link">base64</a></li><li><a href="../../../classpath-api.html" class="wiki_link">classpath</a></li><li><a href="../../../combinatorics-api.html" class="wiki_link">combinatorics</a></li><li><a href="../../../command-line-api.html" class="wiki_link">command-line</a></li><li><a href="../../../complex-numbers-api.html" class="wiki_link">complex-numbers</a></li><li><a href="../../../cond-api.html" class="wiki_link">cond</a></li><li><a href="../../../condition-api.html" class="wiki_link">condition</a></li><li><a href="../../../core-api.html" class="wiki_link">core</a></li><li><a href="../../../dataflow-api.html" class="wiki_link">dataflow</a></li><li><a href="../../../datalog-api.html" class="wiki_link">datalog</a></li><li><a href="../../../def-api.html" class="wiki_link">def</a></li><li><a href="../../../duck-streams-api.html" class="wiki_link">duck-streams</a></li><li><a href="../../../error-kit-api.html" class="wiki_link">error-kit</a></li><li><a href="../../../except-api.html" class="wiki_link">except</a></li><li><a href="../../../fcase-api.html" class="wiki_link">fcase</a></li><li><a href="../../../find-namespaces-api.html" class="wiki_link">find-namespaces</a></li><li><a href="../../../fnmap-api.html" class="wiki_link">fnmap</a></li><li><a href="../../../gen-html-docs-api.html" class="wiki_link">gen-html-docs</a></li><li><a href="../../../generic.arithmetic-api.html" class="wiki_link">generic.arithmetic</a></li><li><a href="../../../generic.collection-api.html" class="wiki_link">generic.collection</a></li><li><a href="../../../generic.comparison-api.html" class="wiki_link">generic.comparison</a></li><li><a href="../../../generic.functor-api.html" class="wiki_link">generic.functor</a></li><li><a href="../../../generic.math-functions-api.html" class="wiki_link">generic.math-functions</a></li><li><a href="../../../graph-api.html" class="wiki_link">graph</a></li><li><a href="../../../greatest-least-api.html" class="wiki_link">greatest-least</a></li><li><a href="../../../http.agent-api.html" class="wiki_link">http.agent</a></li><li><a href="../../../http.connection-api.html" class="wiki_link">http.connection</a></li><li><a href="../../../import-static-api.html" class="wiki_link">import-static</a></li><li><a href="../../../io-api.html" class="wiki_link">io</a></li><li><a href="../../../jar-api.html" class="wiki_link">jar</a></li><li><a href="../../../java-utils-api.html" class="wiki_link">java-utils</a></li><li><a href="../../../javadoc.browse-api.html" class="wiki_link">javadoc.browse</a></li><li><a href="../../../jmx-api.html" class="wiki_link">jmx</a></li><li><a href="../../../json-api.html" class="wiki_link">json</a></li><li><a href="../../../lazy-seqs-api.html" class="wiki_link">lazy-seqs</a></li><li><a href="../../../lazy-xml-api.html" class="wiki_link">lazy-xml</a></li><li><a href="../../../logging-api.html" class="wiki_link">logging</a></li><li><a href="../../../macro-utils-api.html" class="wiki_link">macro-utils</a></li><li><a href="../../../macros-api.html" class="wiki_link">macros</a></li><li><a href="../../../map-utils-api.html" class="wiki_link">map-utils</a></li><li><a href="../../../math-api.html" class="wiki_link">math</a></li><li><a href="../../../miglayout-api.html" class="wiki_link">miglayout</a></li><li><a href="../../../mmap-api.html" class="wiki_link">mmap</a></li><li><a href="../../../mock-api.html" class="wiki_link">mock</a></li><li><a href="../../../monadic-io-streams-api.html" class="wiki_link">monadic-io-streams</a></li><li><a href="../../../monads-api.html" class="wiki_link">monads</a></li><li><a href="../../../ns-utils-api.html" class="wiki_link">ns-utils</a></li><li><a href="../../../pprint-api.html" class="wiki_link">pprint</a></li><li><a href="../../../priority-map-api.html" class="wiki_link">priority-map</a></li><li><a href="../../../probabilities.finite-distributions-api.html" class="wiki_link">probabilities.finite-distributions</a></li><li><a href="../../../probabilities.monte-carlo-api.html" class="wiki_link">probabilities.monte-carlo</a></li><li><a href="../../../probabilities.random-numbers-api.html" class="wiki_link">probabilities.random-numbers</a></li><li><a href="../../../profile-api.html" class="wiki_link">profile</a></li><li><a href="../../../properties-api.html" class="wiki_link">properties</a></li><li><a href="../../../prxml-api.html" class="wiki_link">prxml</a></li><li><a href="../../../reflect-api.html" class="wiki_link">reflect</a></li><li><a href="../../../repl-ln-api.html" class="wiki_link">repl-ln</a></li><li><a href="../../../repl-utils-api.html" class="wiki_link">repl-utils</a></li><li><a href="../../../seq-api.html" class="wiki_link">seq</a></li><li><a href="../../../seq-utils-api.html" class="wiki_link">seq-utils</a></li><li><a href="../../../server-socket-api.html" class="wiki_link">server-socket</a></li><li><a href="../../../set-api.html" class="wiki_link">set</a></li><li><a href="../../../shell-api.html" class="wiki_link">shell</a></li><li><a href="../../../shell-out-api.html" class="wiki_link">shell-out</a></li><li><a href="../../../singleton-api.html" class="wiki_link">singleton</a></li><li><a href="../../../sql-api.html" class="wiki_link">sql</a></li><li><a href="../../../str-utils-api.html" class="wiki_link">str-utils</a></li><li><a href="../../../str-utils2-api.html" class="wiki_link">str-utils2</a></li><li><a href="../../../stream-utils-api.html" class="wiki_link">stream-utils</a></li><li><a href="../../../string-api.html" class="wiki_link">string</a></li><li><a href="../../../strint-api.html" class="wiki_link">strint</a></li><li><a href="../../../swing-utils-api.html" class="wiki_link">swing-utils</a></li><li><a href="../../../test-is-api.html" class="wiki_link">test-is</a></li><li><a href="../../../trace-api.html" class="wiki_link">trace</a></li><li><a href="../../../types-api.html" class="wiki_link">types</a></li><li><a href="../../../with-ns-api.html" class="wiki_link">with-ns</a></li><li><a href="../../../zip-filter-api.html" class="wiki_link">zip-filter</a></li> + </ul> <div class="BranchTOC"> <span class="toc-header">Other Versions</span> diff --git a/branch-master/doc/pprint/PrettyPrinting.html b/branch-master/doc/pprint/PrettyPrinting.html index c48ee1af..4242a9d6 100644 --- a/branch-master/doc/pprint/PrettyPrinting.html +++ b/branch-master/doc/pprint/PrettyPrinting.html @@ -37,7 +37,7 @@ namespace. </ul> <span class="toc-header">Namespaces</span> <ul id="left-sidebar-list"> - <li><a href="../../../accumulators-api.html" class="wiki_link">accumulators</a></li><li><a href="../../../agent-utils-api.html" class="wiki_link">agent-utils</a></li><li><a href="../../../apply-macro-api.html" class="wiki_link">apply-macro</a></li><li><a href="../../../base64-api.html" class="wiki_link">base64</a></li><li><a href="../../../classpath-api.html" class="wiki_link">classpath</a></li><li><a href="../../../combinatorics-api.html" class="wiki_link">combinatorics</a></li><li><a href="../../../command-line-api.html" class="wiki_link">command-line</a></li><li><a href="../../../complex-numbers-api.html" class="wiki_link">complex-numbers</a></li><li><a href="../../../cond-api.html" class="wiki_link">cond</a></li><li><a href="../../../condition-api.html" class="wiki_link">condition</a></li><li><a href="../../../core-api.html" class="wiki_link">core</a></li><li><a href="../../../dataflow-api.html" class="wiki_link">dataflow</a></li><li><a href="../../../datalog-api.html" class="wiki_link">datalog</a></li><li><a href="../../../def-api.html" class="wiki_link">def</a></li><li><a href="../../../duck-streams-api.html" class="wiki_link">duck-streams</a></li><li><a href="../../../error-kit-api.html" class="wiki_link">error-kit</a></li><li><a href="../../../except-api.html" class="wiki_link">except</a></li><li><a href="../../../fcase-api.html" class="wiki_link">fcase</a></li><li><a href="../../../find-namespaces-api.html" class="wiki_link">find-namespaces</a></li><li><a href="../../../fnmap-api.html" class="wiki_link">fnmap</a></li><li><a href="../../../gen-html-docs-api.html" class="wiki_link">gen-html-docs</a></li><li><a href="../../../generic.arithmetic-api.html" class="wiki_link">generic.arithmetic</a></li><li><a href="../../../generic.collection-api.html" class="wiki_link">generic.collection</a></li><li><a href="../../../generic.comparison-api.html" class="wiki_link">generic.comparison</a></li><li><a href="../../../generic.functor-api.html" class="wiki_link">generic.functor</a></li><li><a href="../../../generic.math-functions-api.html" class="wiki_link">generic.math-functions</a></li><li><a href="../../../graph-api.html" class="wiki_link">graph</a></li><li><a href="../../../greatest-least-api.html" class="wiki_link">greatest-least</a></li><li><a href="../../../http.agent-api.html" class="wiki_link">http.agent</a></li><li><a href="../../../http.connection-api.html" class="wiki_link">http.connection</a></li><li><a href="../../../import-static-api.html" class="wiki_link">import-static</a></li><li><a href="../../../io-api.html" class="wiki_link">io</a></li><li><a href="../../../jar-api.html" class="wiki_link">jar</a></li><li><a href="../../../java-utils-api.html" class="wiki_link">java-utils</a></li><li><a href="../../../javadoc.browse-api.html" class="wiki_link">javadoc.browse</a></li><li><a href="../../../jmx-api.html" class="wiki_link">jmx</a></li><li><a href="../../../json-api.html" class="wiki_link">json</a></li><li><a href="../../../lazy-seqs-api.html" class="wiki_link">lazy-seqs</a></li><li><a href="../../../lazy-xml-api.html" class="wiki_link">lazy-xml</a></li><li><a href="../../../logging-api.html" class="wiki_link">logging</a></li><li><a href="../../../macro-utils-api.html" class="wiki_link">macro-utils</a></li><li><a href="../../../macros-api.html" class="wiki_link">macros</a></li><li><a href="../../../map-utils-api.html" class="wiki_link">map-utils</a></li><li><a href="../../../math-api.html" class="wiki_link">math</a></li><li><a href="../../../miglayout-api.html" class="wiki_link">miglayout</a></li><li><a href="../../../mmap-api.html" class="wiki_link">mmap</a></li><li><a href="../../../mock-api.html" class="wiki_link">mock</a></li><li><a href="../../../monadic-io-streams-api.html" class="wiki_link">monadic-io-streams</a></li><li><a href="../../../monads-api.html" class="wiki_link">monads</a></li><li><a href="../../../ns-utils-api.html" class="wiki_link">ns-utils</a></li><li><a href="../../../pprint-api.html" class="wiki_link">pprint</a></li><li><a href="../../../priority-map-api.html" class="wiki_link">priority-map</a></li><li><a href="../../../probabilities.finite-distributions-api.html" class="wiki_link">probabilities.finite-distributions</a></li><li><a href="../../../probabilities.monte-carlo-api.html" class="wiki_link">probabilities.monte-carlo</a></li><li><a href="../../../probabilities.random-numbers-api.html" class="wiki_link">probabilities.random-numbers</a></li><li><a href="../../../profile-api.html" class="wiki_link">profile</a></li><li><a href="../../../properties-api.html" class="wiki_link">properties</a></li><li><a href="../../../prxml-api.html" class="wiki_link">prxml</a></li><li><a href="../../../reflect-api.html" class="wiki_link">reflect</a></li><li><a href="../../../repl-ln-api.html" class="wiki_link">repl-ln</a></li><li><a href="../../../repl-utils-api.html" class="wiki_link">repl-utils</a></li><li><a href="../../../seq-api.html" class="wiki_link">seq</a></li><li><a href="../../../seq-utils-api.html" class="wiki_link">seq-utils</a></li><li><a href="../../../server-socket-api.html" class="wiki_link">server-socket</a></li><li><a href="../../../set-api.html" class="wiki_link">set</a></li><li><a href="../../../shell-api.html" class="wiki_link">shell</a></li><li><a href="../../../shell-out-api.html" class="wiki_link">shell-out</a></li><li><a href="../../../singleton-api.html" class="wiki_link">singleton</a></li><li><a href="../../../sql-api.html" class="wiki_link">sql</a></li><li><a href="../../../str-utils-api.html" class="wiki_link">str-utils</a></li><li><a href="../../../str-utils2-api.html" class="wiki_link">str-utils2</a></li><li><a href="../../../stream-utils-api.html" class="wiki_link">stream-utils</a></li><li><a href="../../../string-api.html" class="wiki_link">string</a></li><li><a href="../../../strint-api.html" class="wiki_link">strint</a></li><li><a href="../../../swing-utils-api.html" class="wiki_link">swing-utils</a></li><li><a href="../../../test-is-api.html" class="wiki_link">test-is</a></li><li><a href="../../../trace-api.html" class="wiki_link">trace</a></li><li><a href="../../../types-api.html" class="wiki_link">types</a></li><li><a href="../../../with-ns-api.html" class="wiki_link">with-ns</a></li><li><a href="../../../zip-filter-api.html" class="wiki_link">zip-filter</a></li> + </ul> <div class="BranchTOC"> <span class="toc-header">Other Versions</span> diff --git a/branch-master/duck-streams-api.html b/branch-master/duck-streams-api.html deleted file mode 100644 index 097cb452..00000000 --- a/branch-master/duck-streams-api.html +++ /dev/null @@ -1,402 +0,0 @@ -<html> - <head> - <title>duck-streams - clojure-contrib next API documentation</title> - <link href="../static/favicon.png" rel="icon" /> - <link href="../static/favicon.png" rel="shortcut icon" /> - <link media="all" type="text/css" href="../static/clojure.css" rel="stylesheet" /> - <link media="all" type="text/css" href="../static/wiki.css" rel="stylesheet" /> - <link media="all" type="text/css" href="../static/internal.css" rel="stylesheet" /> - <!-- TODO: are we using these (from clojure.org)? If so, add the files --> - <script src="file/view/code_highlighter.js" type="text/javascript"></script> - <script src="file/view/clojure.js" type="text/javascript"></script> - <style>.menuWrapper{height: 36px;}</style> - <!--[if lte IE 6]> - <link rel="stylesheet" href="http://www.wikispaces.com/_/2009051601/s/internal_ie.css" type="text/css" /> - <![endif]--> - </head> -<!-- -This document was auto-generated from the source by the clojure autodoc system. -To report errors or ask questions about the overall documentation structure, formatting, -etc., contact Tom Faulhaber (google mail name: tomfaulhaber). -For errors in the documentation of a particular namespace, contact the author of that -namespace. ---> - <body> - <div id="AllContentContainer"> - <div id="Header"> - <a id="Logo" href="index.html"><img alt="Clojure" height="100" width="100" src="../static/clojure-icon.gif" /></a> - <h1><a title="page header title" id="page-header" href="index.html">Clojure-contrib API Reference</a></h1> - </div> - <div id="leftcolumn"><div style="text-align: center;"></div> -<div class="menu"> - <div class="WikiCustomNav WikiElement wiki"> - <span class="toc-header"><span id="project-name">clojure-contrib</span> <span id="version">next</span> API</span><br /> - <ul> - <li><a class="wiki_link" href="index.html">Overview</a></li> - <li><a class="wiki_link" href="api-index.html">API Index</a></li> - </ul> - <span class="toc-header">Namespaces</span> - <ul id="left-sidebar-list"> - <li><a href="accumulators-api.html" class="wiki_link">accumulators</a></li><li><a href="agent-utils-api.html" class="wiki_link">agent-utils</a></li><li><a href="apply-macro-api.html" class="wiki_link">apply-macro</a></li><li><a href="base64-api.html" class="wiki_link">base64</a></li><li><a href="classpath-api.html" class="wiki_link">classpath</a></li><li><a href="combinatorics-api.html" class="wiki_link">combinatorics</a></li><li><a href="command-line-api.html" class="wiki_link">command-line</a></li><li><a href="complex-numbers-api.html" class="wiki_link">complex-numbers</a></li><li><a href="cond-api.html" class="wiki_link">cond</a></li><li><a href="condition-api.html" class="wiki_link">condition</a></li><li><a href="core-api.html" class="wiki_link">core</a></li><li><a href="dataflow-api.html" class="wiki_link">dataflow</a></li><li><a href="datalog-api.html" class="wiki_link">datalog</a></li><li><a href="def-api.html" class="wiki_link">def</a></li><li><a href="duck-streams-api.html" class="wiki_link">duck-streams</a></li><li><a href="error-kit-api.html" class="wiki_link">error-kit</a></li><li><a href="except-api.html" class="wiki_link">except</a></li><li><a href="fcase-api.html" class="wiki_link">fcase</a></li><li><a href="find-namespaces-api.html" class="wiki_link">find-namespaces</a></li><li><a href="fnmap-api.html" class="wiki_link">fnmap</a></li><li><a href="gen-html-docs-api.html" class="wiki_link">gen-html-docs</a></li><li><a href="generic.arithmetic-api.html" class="wiki_link">generic.arithmetic</a></li><li><a href="generic.collection-api.html" class="wiki_link">generic.collection</a></li><li><a href="generic.comparison-api.html" class="wiki_link">generic.comparison</a></li><li><a href="generic.functor-api.html" class="wiki_link">generic.functor</a></li><li><a href="generic.math-functions-api.html" class="wiki_link">generic.math-functions</a></li><li><a href="graph-api.html" class="wiki_link">graph</a></li><li><a href="greatest-least-api.html" class="wiki_link">greatest-least</a></li><li><a href="http.agent-api.html" class="wiki_link">http.agent</a></li><li><a href="http.connection-api.html" class="wiki_link">http.connection</a></li><li><a href="import-static-api.html" class="wiki_link">import-static</a></li><li><a href="io-api.html" class="wiki_link">io</a></li><li><a href="jar-api.html" class="wiki_link">jar</a></li><li><a href="java-utils-api.html" class="wiki_link">java-utils</a></li><li><a href="javadoc.browse-api.html" class="wiki_link">javadoc.browse</a></li><li><a href="jmx-api.html" class="wiki_link">jmx</a></li><li><a href="json-api.html" class="wiki_link">json</a></li><li><a href="lazy-seqs-api.html" class="wiki_link">lazy-seqs</a></li><li><a href="lazy-xml-api.html" class="wiki_link">lazy-xml</a></li><li><a href="logging-api.html" class="wiki_link">logging</a></li><li><a href="macro-utils-api.html" class="wiki_link">macro-utils</a></li><li><a href="macros-api.html" class="wiki_link">macros</a></li><li><a href="map-utils-api.html" class="wiki_link">map-utils</a></li><li><a href="math-api.html" class="wiki_link">math</a></li><li><a href="miglayout-api.html" class="wiki_link">miglayout</a></li><li><a href="mmap-api.html" class="wiki_link">mmap</a></li><li><a href="mock-api.html" class="wiki_link">mock</a></li><li><a href="monadic-io-streams-api.html" class="wiki_link">monadic-io-streams</a></li><li><a href="monads-api.html" class="wiki_link">monads</a></li><li><a href="ns-utils-api.html" class="wiki_link">ns-utils</a></li><li><a href="pprint-api.html" class="wiki_link">pprint</a></li><li><a href="priority-map-api.html" class="wiki_link">priority-map</a></li><li><a href="probabilities.finite-distributions-api.html" class="wiki_link">probabilities.finite-distributions</a></li><li><a href="probabilities.monte-carlo-api.html" class="wiki_link">probabilities.monte-carlo</a></li><li><a href="probabilities.random-numbers-api.html" class="wiki_link">probabilities.random-numbers</a></li><li><a href="profile-api.html" class="wiki_link">profile</a></li><li><a href="properties-api.html" class="wiki_link">properties</a></li><li><a href="prxml-api.html" class="wiki_link">prxml</a></li><li><a href="reflect-api.html" class="wiki_link">reflect</a></li><li><a href="repl-ln-api.html" class="wiki_link">repl-ln</a></li><li><a href="repl-utils-api.html" class="wiki_link">repl-utils</a></li><li><a href="seq-api.html" class="wiki_link">seq</a></li><li><a href="seq-utils-api.html" class="wiki_link">seq-utils</a></li><li><a href="server-socket-api.html" class="wiki_link">server-socket</a></li><li><a href="set-api.html" class="wiki_link">set</a></li><li><a href="shell-api.html" class="wiki_link">shell</a></li><li><a href="shell-out-api.html" class="wiki_link">shell-out</a></li><li><a href="singleton-api.html" class="wiki_link">singleton</a></li><li><a href="sql-api.html" class="wiki_link">sql</a></li><li><a href="str-utils-api.html" class="wiki_link">str-utils</a></li><li><a href="str-utils2-api.html" class="wiki_link">str-utils2</a></li><li><a href="stream-utils-api.html" class="wiki_link">stream-utils</a></li><li><a href="string-api.html" class="wiki_link">string</a></li><li><a href="strint-api.html" class="wiki_link">strint</a></li><li><a href="swing-utils-api.html" class="wiki_link">swing-utils</a></li><li><a href="test-is-api.html" class="wiki_link">test-is</a></li><li><a href="trace-api.html" class="wiki_link">trace</a></li><li><a href="types-api.html" class="wiki_link">types</a></li><li><a href="with-ns-api.html" class="wiki_link">with-ns</a></li><li><a href="zip-filter-api.html" class="wiki_link">zip-filter</a></li> - </ul> - <div class="BranchTOC"> - <span class="toc-header">Other Versions</span> - <ul id="left-sidebar-branch-list"> - <li><a href="../index.html" class="wiki_link">v1.2 (beta 1)</a></li><li><a href="../branch-1.1.x/index.html" class="wiki_link">v1.1 (stable)</a></li> - </ul> - </div> - <a href="http://clojure.org" class="wiki_link">Clojure Home</a> - </div> -</div> -</div> - <div id="rightcolumn"> - <div id="Content"> - <div class="contentBox"><div class="innerContentBox"> - <div id="content_view" class="wiki wikiPage"> - <div id="right-sidebar"><div id="toc"> - <h1 class="nopad">Table of Contents</h1> - <div style="margin-left: 1em;" class="toc-section"> - <a href="#toc0">Overview</a> - <div style="margin-left: 1em;" class="toc-entry"> - <a href="#clojure.contrib.duck-streams/*append-to-writer*">*append-to-writer*</a> - </div><div style="margin-left: 1em;" class="toc-entry"> - <a href="#clojure.contrib.duck-streams/*buffer-size*">*buffer-size*</a> - </div><div style="margin-left: 1em;" class="toc-entry"> - <a href="#clojure.contrib.duck-streams/*byte-array-type*">*byte-array-type*</a> - </div><div style="margin-left: 1em;" class="toc-entry"> - <a href="#clojure.contrib.duck-streams/*default-encoding*">*default-encoding*</a> - </div><div style="margin-left: 1em;" class="toc-entry"> - <a href="#clojure.contrib.duck-streams/append-spit">append-spit</a> - </div><div style="margin-left: 1em;" class="toc-entry"> - <a href="#clojure.contrib.duck-streams/append-writer">append-writer</a> - </div><div style="margin-left: 1em;" class="toc-entry"> - <a href="#clojure.contrib.duck-streams/copy">copy</a> - </div><div style="margin-left: 1em;" class="toc-entry"> - <a href="#clojure.contrib.duck-streams/file-str">file-str</a> - </div><div style="margin-left: 1em;" class="toc-entry"> - <a href="#clojure.contrib.duck-streams/make-parents">make-parents</a> - </div><div style="margin-left: 1em;" class="toc-entry"> - <a href="#clojure.contrib.duck-streams/pwd">pwd</a> - </div><div style="margin-left: 1em;" class="toc-entry"> - <a href="#clojure.contrib.duck-streams/read-lines">read-lines</a> - </div><div style="margin-left: 1em;" class="toc-entry"> - <a href="#clojure.contrib.duck-streams/reader">reader</a> - </div><div style="margin-left: 1em;" class="toc-entry"> - <a href="#clojure.contrib.duck-streams/slurp*">slurp*</a> - </div><div style="margin-left: 1em;" class="toc-entry"> - <a href="#clojure.contrib.duck-streams/spit">spit</a> - </div><div style="margin-left: 1em;" class="toc-entry"> - <a href="#clojure.contrib.duck-streams/to-byte-array">to-byte-array</a> - </div><div style="margin-left: 1em;" class="toc-entry"> - <a href="#clojure.contrib.duck-streams/with-in-reader">with-in-reader</a> - </div><div style="margin-left: 1em;" class="toc-entry"> - <a href="#clojure.contrib.duck-streams/with-out-append-writer">with-out-append-writer</a> - </div><div style="margin-left: 1em;" class="toc-entry"> - <a href="#clojure.contrib.duck-streams/with-out-writer">with-out-writer</a> - </div><div style="margin-left: 1em;" class="toc-entry"> - <a href="#clojure.contrib.duck-streams/write-lines">write-lines</a> - </div><div style="margin-left: 1em;" class="toc-entry"> - <a href="#clojure.contrib.duck-streams/writer">writer</a> - </div> - <br /> - </div> -</div> -</div> - <div id="content-tag"><h1 id="overview">API for <span id="namespace-name">duck-streams</span> - - <span id="header-project">clojure-contrib</span> <span id="header-version">next</span> (<span id="header-status">in development</span>) - </h1> -<span id="author-line">by <span id="author-name">Stuart Sierra</span><br /></span> -<br />Usage: -<pre> -(ns your-namespace - (:require <span id="long-name">clojure.contrib.duck-streams</span>)) -</pre><pre> -</pre><h2>Overview</h2> -<pre id="namespace-docstr">This file defines "duck-typed" I/O utility functions for Clojure. -The 'reader' and 'writer' functions will open and return an -instance of java.io.BufferedReader and java.io.PrintWriter, -respectively, for a variety of argument types -- filenames as -strings, URLs, java.io.File's, etc. 'reader' even works on http -URLs. - -Note: this is not really "duck typing" as implemented in languages -like Ruby. A better name would have been "do-what-I-mean-streams" -or "just-give-me-a-stream", but ducks are funnier.</pre> - -<span class="ns-deprecated"><span id="content">Deprecated since clojure-contrib version 1.2</span><br /></span> -<br /> -<h2>Public Variables and Functions</h2> -<div id="var-entry"> - <br /> - <hr /> - <h2 id="clojure.contrib.duck-streams/*append-to-writer*">*append-to-writer*</h2> - <span id="var-type">var</span><br /> - <pre id="var-usage"></pre> - <pre id="var-docstr">If true, writer and spit will open files in append mode. -Defaults to false. Use append-writer or append-spit.</pre> - - - <a href="http://github.com/richhickey/clojure-contrib/blob/db64739467ed7bbe02643cd49c909f405eb781d7/src/main/clojure/clojure/contrib/duck_streams.clj#L146" id="var-source">Source</a> -</div><div id="var-entry"> - <br /> - <hr /> - <h2 id="clojure.contrib.duck-streams/*buffer-size*">*buffer-size*</h2> - <span id="var-type">var</span><br /> - <pre id="var-usage"></pre> - <pre id="var-docstr">Size, in bytes or characters, of the buffer used when -copying streams.</pre> - - - <a href="http://github.com/richhickey/clojure-contrib/blob/db64739467ed7bbe02643cd49c909f405eb781d7/src/main/clojure/clojure/contrib/duck_streams.clj#L78" id="var-source">Source</a> -</div><div id="var-entry"> - <br /> - <hr /> - <h2 id="clojure.contrib.duck-streams/*byte-array-type*">*byte-array-type*</h2> - <span id="var-type">var</span><br /> - <pre id="var-usage"></pre> - <pre id="var-docstr">Type object for a Java primitive byte array.</pre> - - - <a href="http://github.com/richhickey/clojure-contrib/blob/db64739467ed7bbe02643cd49c909f405eb781d7/src/main/clojure/clojure/contrib/duck_streams.clj#L83" id="var-source">Source</a> -</div><div id="var-entry"> - <br /> - <hr /> - <h2 id="clojure.contrib.duck-streams/*default-encoding*">*default-encoding*</h2> - <span id="var-type">var</span><br /> - <pre id="var-usage"></pre> - <pre id="var-docstr">Name of the default encoding to use when reading & writing. -Default is UTF-8.</pre> - - - <a href="http://github.com/richhickey/clojure-contrib/blob/db64739467ed7bbe02643cd49c909f405eb781d7/src/main/clojure/clojure/contrib/duck_streams.clj#L72" id="var-source">Source</a> -</div><div id="var-entry"> - <br /> - <hr /> - <h2 id="clojure.contrib.duck-streams/append-spit">append-spit</h2> - <span id="var-type">function</span><br /> - <pre id="var-usage">Usage: (append-spit f content) -</pre> - <pre id="var-docstr">Like spit but appends to file.</pre> - - - <a href="http://github.com/richhickey/clojure-contrib/blob/db64739467ed7bbe02643cd49c909f405eb781d7/src/main/clojure/clojure/contrib/duck_streams.clj#L265" id="var-source">Source</a> -</div><div id="var-entry"> - <br /> - <hr /> - <h2 id="clojure.contrib.duck-streams/append-writer">append-writer</h2> - <span id="var-type">function</span><br /> - <pre id="var-usage">Usage: (append-writer x) -</pre> - <pre id="var-docstr">Like writer but opens file for appending. Does not work on streams -that are already open.</pre> - - - <a href="http://github.com/richhickey/clojure-contrib/blob/db64739467ed7bbe02643cd49c909f405eb781d7/src/main/clojure/clojure/contrib/duck_streams.clj#L217" id="var-source">Source</a> -</div><div id="var-entry"> - <br /> - <hr /> - <h2 id="clojure.contrib.duck-streams/copy">copy</h2> - <span id="var-type">multimethod</span><br /> - <pre id="var-usage">Usage: (copy input output) -</pre> - <pre id="var-docstr">Copies input to output. Returns nil. -Input may be an InputStream, Reader, File, byte[], or String. -Output may be an OutputStream, Writer, or File. - -Does not close any streams except those it opens itself -(on a File). - -Writing a File fails if the parent directory does not exist.</pre> - - - <a href="http://github.com/richhickey/clojure-contrib/blob/db64739467ed7bbe02643cd49c909f405eb781d7/src/main/clojure/clojure/contrib/duck_streams.clj#L301" id="var-source">Source</a> -</div><div id="var-entry"> - <br /> - <hr /> - <h2 id="clojure.contrib.duck-streams/file-str">file-str</h2> - <span id="var-type">function</span><br /> - <pre id="var-usage">Usage: (file-str & args) -</pre> - <pre id="var-docstr">Concatenates args as strings and returns a java.io.File. Replaces -all / and \ with File/separatorChar. Replaces ~ at the start of -the path with the user.home system property.</pre> - - - <a href="http://github.com/richhickey/clojure-contrib/blob/db64739467ed7bbe02643cd49c909f405eb781d7/src/main/clojure/clojure/contrib/duck_streams.clj#L88" id="var-source">Source</a> -</div><div id="var-entry"> - <br /> - <hr /> - <h2 id="clojure.contrib.duck-streams/make-parents">make-parents</h2> - <span id="var-type">function</span><br /> - <pre id="var-usage">Usage: (make-parents file) -</pre> - <pre id="var-docstr">Creates all parent directories of file.</pre> - - - <a href="http://github.com/richhickey/clojure-contrib/blob/db64739467ed7bbe02643cd49c909f405eb781d7/src/main/clojure/clojure/contrib/duck_streams.clj#L388" id="var-source">Source</a> -</div><div id="var-entry"> - <br /> - <hr /> - <h2 id="clojure.contrib.duck-streams/pwd">pwd</h2> - <span id="var-type">function</span><br /> - <pre id="var-usage">Usage: (pwd) -</pre> - <pre id="var-docstr">Returns current working directory as a String. (Like UNIX 'pwd'.) -Note: In Java, you cannot change the current working directory.</pre> - - - <a href="http://github.com/richhickey/clojure-contrib/blob/db64739467ed7bbe02643cd49c909f405eb781d7/src/main/clojure/clojure/contrib/duck_streams.clj#L271" id="var-source">Source</a> -</div><div id="var-entry"> - <br /> - <hr /> - <h2 id="clojure.contrib.duck-streams/read-lines">read-lines</h2> - <span id="var-type">function</span><br /> - <pre id="var-usage">Usage: (read-lines f) -</pre> - <pre id="var-docstr">Like clojure.core/line-seq but opens f with reader. Automatically -closes the reader AFTER YOU CONSUME THE ENTIRE SEQUENCE.</pre> - - - <a href="http://github.com/richhickey/clojure-contrib/blob/db64739467ed7bbe02643cd49c909f405eb781d7/src/main/clojure/clojure/contrib/duck_streams.clj#L236" id="var-source">Source</a> -</div><div id="var-entry"> - <br /> - <hr /> - <h2 id="clojure.contrib.duck-streams/reader">reader</h2> - <span id="var-type">multimethod</span><br /> - <pre id="var-usage">Usage: (reader x) -</pre> - <pre id="var-docstr">Attempts to coerce its argument into an open -java.io.BufferedReader. Argument may be an instance of Reader, -BufferedReader, InputStream, File, URI, URL, Socket, or String. - -If argument is a String, it tries to resolve it first as a URI, then -as a local file name. URIs with a 'file' protocol are converted to -local file names. Uses *default-encoding* as the text encoding. - -Should be used inside with-open to ensure the Reader is properly -closed.</pre> - - - <a href="http://github.com/richhickey/clojure-contrib/blob/db64739467ed7bbe02643cd49c909f405eb781d7/src/main/clojure/clojure/contrib/duck_streams.clj#L102" id="var-source">Source</a> -</div><div id="var-entry"> - <br /> - <hr /> - <h2 id="clojure.contrib.duck-streams/slurp*">slurp*</h2> - <span id="var-type">function</span><br /> - <pre id="var-usage">Usage: (slurp* f) -</pre> - <pre id="var-docstr">Like clojure.core/slurp but opens f with reader.</pre> - - - <a href="http://github.com/richhickey/clojure-contrib/blob/db64739467ed7bbe02643cd49c909f405eb781d7/src/main/clojure/clojure/contrib/duck_streams.clj#L247" id="var-source">Source</a> -</div><div id="var-entry"> - <br /> - <hr /> - <h2 id="clojure.contrib.duck-streams/spit">spit</h2> - <span id="var-type">function</span><br /> - <pre id="var-usage">Usage: (spit f content) -</pre> - <pre id="var-docstr">Opposite of slurp. Opens f with writer, writes content, then -closes f.</pre> - - - <a href="http://github.com/richhickey/clojure-contrib/blob/db64739467ed7bbe02643cd49c909f405eb781d7/src/main/clojure/clojure/contrib/duck_streams.clj#L258" id="var-source">Source</a> -</div><div id="var-entry"> - <br /> - <hr /> - <h2 id="clojure.contrib.duck-streams/to-byte-array">to-byte-array</h2> - <span id="var-type">multimethod</span><br /> - <pre id="var-usage">Usage: (to-byte-array arg) -</pre> - <pre id="var-docstr">Converts argument into a Java byte array. Argument may be -a String, File, InputStream, or Reader. If the argument is already -a byte array, returns it.</pre> - - - <a href="http://github.com/richhickey/clojure-contrib/blob/db64739467ed7bbe02643cd49c909f405eb781d7/src/main/clojure/clojure/contrib/duck_streams.clj#L393" id="var-source">Source</a> -</div><div id="var-entry"> - <br /> - <hr /> - <h2 id="clojure.contrib.duck-streams/with-in-reader">with-in-reader</h2> - <span id="var-type">macro</span><br /> - <pre id="var-usage">Usage: (with-in-reader f & body) -</pre> - <pre id="var-docstr">Opens a PushbackReader on f, binds it to *in*, and evaluates body.</pre> - - - <a href="http://github.com/richhickey/clojure-contrib/blob/db64739467ed7bbe02643cd49c909f405eb781d7/src/main/clojure/clojure/contrib/duck_streams.clj#L294" id="var-source">Source</a> -</div><div id="var-entry"> - <br /> - <hr /> - <h2 id="clojure.contrib.duck-streams/with-out-append-writer">with-out-append-writer</h2> - <span id="var-type">macro</span><br /> - <pre id="var-usage">Usage: (with-out-append-writer f & body) -</pre> - <pre id="var-docstr">Like with-out-writer but appends to file.</pre> - - - <a href="http://github.com/richhickey/clojure-contrib/blob/db64739467ed7bbe02643cd49c909f405eb781d7/src/main/clojure/clojure/contrib/duck_streams.clj#L287" id="var-source">Source</a> -</div><div id="var-entry"> - <br /> - <hr /> - <h2 id="clojure.contrib.duck-streams/with-out-writer">with-out-writer</h2> - <span id="var-type">macro</span><br /> - <pre id="var-usage">Usage: (with-out-writer f & body) -</pre> - <pre id="var-docstr">Opens a writer on f, binds it to *out*, and evalutes body. -Anything printed within body will be written to f.</pre> - - - <a href="http://github.com/richhickey/clojure-contrib/blob/db64739467ed7bbe02643cd49c909f405eb781d7/src/main/clojure/clojure/contrib/duck_streams.clj#L279" id="var-source">Source</a> -</div><div id="var-entry"> - <br /> - <hr /> - <h2 id="clojure.contrib.duck-streams/write-lines">write-lines</h2> - <span id="var-type">function</span><br /> - <pre id="var-usage">Usage: (write-lines f lines) -</pre> - <pre id="var-docstr">Writes lines (a seq) to f, separated by newlines. f is opened with -writer, and automatically closed at the end of the sequence.</pre> - - - <a href="http://github.com/richhickey/clojure-contrib/blob/db64739467ed7bbe02643cd49c909f405eb781d7/src/main/clojure/clojure/contrib/duck_streams.clj#L225" id="var-source">Source</a> -</div><div id="var-entry"> - <br /> - <hr /> - <h2 id="clojure.contrib.duck-streams/writer">writer</h2> - <span id="var-type">multimethod</span><br /> - <pre id="var-usage">Usage: (writer x) -</pre> - <pre id="var-docstr">Attempts to coerce its argument into an open java.io.PrintWriter -wrapped around a java.io.BufferedWriter. Argument may be an -instance of Writer, PrintWriter, BufferedWriter, OutputStream, File, -URI, URL, Socket, or String. - -If argument is a String, it tries to resolve it first as a URI, then -as a local file name. URIs with a 'file' protocol are converted to -local file names. - -Should be used inside with-open to ensure the Writer is properly -closed.</pre> - - - <a href="http://github.com/richhickey/clojure-contrib/blob/db64739467ed7bbe02643cd49c909f405eb781d7/src/main/clojure/clojure/contrib/duck_streams.clj#L153" id="var-source">Source</a> -</div> - - -</div> - </div> - </div> - </div> - </div> - <div id="foot"> - <div style="text-align: center;" id="copyright">Copyright 2007-2009 by Rich Hickey and the various contributors</div> - </div> - </div> - <div id="DesignedBy">Logo & site design by <a title="Visit Tom Hickey's website." href="http://www.tomhickey.com">Tom Hickey</a>.<br /> - Clojure auto-documentation system by Tom Faulhaber.</div> - </div> - <!-- /AllContentContainer --> - </body> - -</html>
\ No newline at end of file diff --git a/branch-master/error-kit-api.html b/branch-master/error-kit-api.html deleted file mode 100644 index df89f3c8..00000000 --- a/branch-master/error-kit-api.html +++ /dev/null @@ -1,238 +0,0 @@ -<html> - <head> - <title>error-kit - clojure-contrib next API documentation</title> - <link href="../static/favicon.png" rel="icon" /> - <link href="../static/favicon.png" rel="shortcut icon" /> - <link media="all" type="text/css" href="../static/clojure.css" rel="stylesheet" /> - <link media="all" type="text/css" href="../static/wiki.css" rel="stylesheet" /> - <link media="all" type="text/css" href="../static/internal.css" rel="stylesheet" /> - <!-- TODO: are we using these (from clojure.org)? If so, add the files --> - <script src="file/view/code_highlighter.js" type="text/javascript"></script> - <script src="file/view/clojure.js" type="text/javascript"></script> - <style>.menuWrapper{height: 36px;}</style> - <!--[if lte IE 6]> - <link rel="stylesheet" href="http://www.wikispaces.com/_/2009051601/s/internal_ie.css" type="text/css" /> - <![endif]--> - </head> -<!-- -This document was auto-generated from the source by the clojure autodoc system. -To report errors or ask questions about the overall documentation structure, formatting, -etc., contact Tom Faulhaber (google mail name: tomfaulhaber). -For errors in the documentation of a particular namespace, contact the author of that -namespace. ---> - <body> - <div id="AllContentContainer"> - <div id="Header"> - <a id="Logo" href="index.html"><img alt="Clojure" height="100" width="100" src="../static/clojure-icon.gif" /></a> - <h1><a title="page header title" id="page-header" href="index.html">Clojure-contrib API Reference</a></h1> - </div> - <div id="leftcolumn"><div style="text-align: center;"></div> -<div class="menu"> - <div class="WikiCustomNav WikiElement wiki"> - <span class="toc-header"><span id="project-name">clojure-contrib</span> <span id="version">next</span> API</span><br /> - <ul> - <li><a class="wiki_link" href="index.html">Overview</a></li> - <li><a class="wiki_link" href="api-index.html">API Index</a></li> - </ul> - <span class="toc-header">Namespaces</span> - <ul id="left-sidebar-list"> - <li><a href="accumulators-api.html" class="wiki_link">accumulators</a></li><li><a href="agent-utils-api.html" class="wiki_link">agent-utils</a></li><li><a href="apply-macro-api.html" class="wiki_link">apply-macro</a></li><li><a href="base64-api.html" class="wiki_link">base64</a></li><li><a href="classpath-api.html" class="wiki_link">classpath</a></li><li><a href="combinatorics-api.html" class="wiki_link">combinatorics</a></li><li><a href="command-line-api.html" class="wiki_link">command-line</a></li><li><a href="complex-numbers-api.html" class="wiki_link">complex-numbers</a></li><li><a href="cond-api.html" class="wiki_link">cond</a></li><li><a href="condition-api.html" class="wiki_link">condition</a></li><li><a href="core-api.html" class="wiki_link">core</a></li><li><a href="dataflow-api.html" class="wiki_link">dataflow</a></li><li><a href="datalog-api.html" class="wiki_link">datalog</a></li><li><a href="def-api.html" class="wiki_link">def</a></li><li><a href="duck-streams-api.html" class="wiki_link">duck-streams</a></li><li><a href="error-kit-api.html" class="wiki_link">error-kit</a></li><li><a href="except-api.html" class="wiki_link">except</a></li><li><a href="fcase-api.html" class="wiki_link">fcase</a></li><li><a href="find-namespaces-api.html" class="wiki_link">find-namespaces</a></li><li><a href="fnmap-api.html" class="wiki_link">fnmap</a></li><li><a href="gen-html-docs-api.html" class="wiki_link">gen-html-docs</a></li><li><a href="generic.arithmetic-api.html" class="wiki_link">generic.arithmetic</a></li><li><a href="generic.collection-api.html" class="wiki_link">generic.collection</a></li><li><a href="generic.comparison-api.html" class="wiki_link">generic.comparison</a></li><li><a href="generic.functor-api.html" class="wiki_link">generic.functor</a></li><li><a href="generic.math-functions-api.html" class="wiki_link">generic.math-functions</a></li><li><a href="graph-api.html" class="wiki_link">graph</a></li><li><a href="greatest-least-api.html" class="wiki_link">greatest-least</a></li><li><a href="http.agent-api.html" class="wiki_link">http.agent</a></li><li><a href="http.connection-api.html" class="wiki_link">http.connection</a></li><li><a href="import-static-api.html" class="wiki_link">import-static</a></li><li><a href="io-api.html" class="wiki_link">io</a></li><li><a href="jar-api.html" class="wiki_link">jar</a></li><li><a href="java-utils-api.html" class="wiki_link">java-utils</a></li><li><a href="javadoc.browse-api.html" class="wiki_link">javadoc.browse</a></li><li><a href="jmx-api.html" class="wiki_link">jmx</a></li><li><a href="json-api.html" class="wiki_link">json</a></li><li><a href="lazy-seqs-api.html" class="wiki_link">lazy-seqs</a></li><li><a href="lazy-xml-api.html" class="wiki_link">lazy-xml</a></li><li><a href="logging-api.html" class="wiki_link">logging</a></li><li><a href="macro-utils-api.html" class="wiki_link">macro-utils</a></li><li><a href="macros-api.html" class="wiki_link">macros</a></li><li><a href="map-utils-api.html" class="wiki_link">map-utils</a></li><li><a href="math-api.html" class="wiki_link">math</a></li><li><a href="miglayout-api.html" class="wiki_link">miglayout</a></li><li><a href="mmap-api.html" class="wiki_link">mmap</a></li><li><a href="mock-api.html" class="wiki_link">mock</a></li><li><a href="monadic-io-streams-api.html" class="wiki_link">monadic-io-streams</a></li><li><a href="monads-api.html" class="wiki_link">monads</a></li><li><a href="ns-utils-api.html" class="wiki_link">ns-utils</a></li><li><a href="pprint-api.html" class="wiki_link">pprint</a></li><li><a href="priority-map-api.html" class="wiki_link">priority-map</a></li><li><a href="probabilities.finite-distributions-api.html" class="wiki_link">probabilities.finite-distributions</a></li><li><a href="probabilities.monte-carlo-api.html" class="wiki_link">probabilities.monte-carlo</a></li><li><a href="probabilities.random-numbers-api.html" class="wiki_link">probabilities.random-numbers</a></li><li><a href="profile-api.html" class="wiki_link">profile</a></li><li><a href="properties-api.html" class="wiki_link">properties</a></li><li><a href="prxml-api.html" class="wiki_link">prxml</a></li><li><a href="reflect-api.html" class="wiki_link">reflect</a></li><li><a href="repl-ln-api.html" class="wiki_link">repl-ln</a></li><li><a href="repl-utils-api.html" class="wiki_link">repl-utils</a></li><li><a href="seq-api.html" class="wiki_link">seq</a></li><li><a href="seq-utils-api.html" class="wiki_link">seq-utils</a></li><li><a href="server-socket-api.html" class="wiki_link">server-socket</a></li><li><a href="set-api.html" class="wiki_link">set</a></li><li><a href="shell-api.html" class="wiki_link">shell</a></li><li><a href="shell-out-api.html" class="wiki_link">shell-out</a></li><li><a href="singleton-api.html" class="wiki_link">singleton</a></li><li><a href="sql-api.html" class="wiki_link">sql</a></li><li><a href="str-utils-api.html" class="wiki_link">str-utils</a></li><li><a href="str-utils2-api.html" class="wiki_link">str-utils2</a></li><li><a href="stream-utils-api.html" class="wiki_link">stream-utils</a></li><li><a href="string-api.html" class="wiki_link">string</a></li><li><a href="strint-api.html" class="wiki_link">strint</a></li><li><a href="swing-utils-api.html" class="wiki_link">swing-utils</a></li><li><a href="test-is-api.html" class="wiki_link">test-is</a></li><li><a href="trace-api.html" class="wiki_link">trace</a></li><li><a href="types-api.html" class="wiki_link">types</a></li><li><a href="with-ns-api.html" class="wiki_link">with-ns</a></li><li><a href="zip-filter-api.html" class="wiki_link">zip-filter</a></li> - </ul> - <div class="BranchTOC"> - <span class="toc-header">Other Versions</span> - <ul id="left-sidebar-branch-list"> - <li><a href="../index.html" class="wiki_link">v1.2 (beta 1)</a></li><li><a href="../branch-1.1.x/index.html" class="wiki_link">v1.1 (stable)</a></li> - </ul> - </div> - <a href="http://clojure.org" class="wiki_link">Clojure Home</a> - </div> -</div> -</div> - <div id="rightcolumn"> - <div id="Content"> - <div class="contentBox"><div class="innerContentBox"> - <div id="content_view" class="wiki wikiPage"> - <div id="right-sidebar"><div id="toc"> - <h1 class="nopad">Table of Contents</h1> - <div style="margin-left: 1em;" class="toc-section"> - <a href="#toc0">Overview</a> - <div style="margin-left: 1em;" class="toc-entry"> - <a href="#clojure.contrib.error-kit/bind-continue">bind-continue</a> - </div><div style="margin-left: 1em;" class="toc-entry"> - <a href="#clojure.contrib.error-kit/deferror">deferror</a> - </div><div style="margin-left: 1em;" class="toc-entry"> - <a href="#clojure.contrib.error-kit/do-not-handle">do-not-handle</a> - </div><div style="margin-left: 1em;" class="toc-entry"> - <a href="#clojure.contrib.error-kit/error">error</a> - </div><div style="margin-left: 1em;" class="toc-entry"> - <a href="#clojure.contrib.error-kit/handle">handle</a> - </div><div style="margin-left: 1em;" class="toc-entry"> - <a href="#clojure.contrib.error-kit/raise">raise</a> - </div><div style="margin-left: 1em;" class="toc-entry"> - <a href="#clojure.contrib.error-kit/raise*">raise*</a> - </div><div style="margin-left: 1em;" class="toc-entry"> - <a href="#clojure.contrib.error-kit/throw-msg">throw-msg</a> - </div><div style="margin-left: 1em;" class="toc-entry"> - <a href="#clojure.contrib.error-kit/with-handler">with-handler</a> - </div> - <br /> - </div> -</div> -</div> - <div id="content-tag"><h1 id="overview">API for <span id="namespace-name">error-kit</span> - - <span id="header-project">clojure-contrib</span> <span id="header-version">next</span> (<span id="header-status">in development</span>) - </h1> -<span id="author-line">by <span id="author-name">Chris Houser</span><br /></span> -<br />Usage: -<pre> -(ns your-namespace - (:require <span id="long-name">clojure.contrib.error-kit</span>)) -</pre><pre> -</pre><h2>Overview</h2> -<pre id="namespace-docstr">EXPERIMENTAL -System for defining and using custom errors -Please contact Chouser if you have any suggestions for better names -or API adjustments.</pre> - - -<br /> -<h2>Public Variables and Functions</h2> -<div id="var-entry"> - <br /> - <hr /> - <h2 id="clojure.contrib.error-kit/bind-continue">bind-continue</h2> - <span id="var-type">function</span><br /> - <pre id="var-usage">Usage: (bind-continue continue-name [args*] & body) -</pre> - <pre id="var-docstr">Special form to be used inside a 'with-handler'. -Control can be passed to this 'continue' form from a 'raise' enclosed -in this with-handler's dynamic scope, when this 'continue-name' is -given to a 'continue' form.</pre> - - - <a href="http://github.com/richhickey/clojure-contrib/blob/7188a51605136f36524e4091fe806859114d6056/src/main/clojure/clojure/contrib/error_kit.clj#L150" id="var-source">Source</a> -</div><div id="var-entry"> - <br /> - <hr /> - <h2 id="clojure.contrib.error-kit/deferror">deferror</h2> - <span id="var-type">macro</span><br /> - <pre id="var-usage">Usage: (deferror name [parent-error?] doc-string? [args*] & body) - (deferror name [parent-error?] doc-string? args-destruct-map & body) -</pre> - <pre id="var-docstr">Define a new error type</pre> - - - <a href="http://github.com/richhickey/clojure-contrib/blob/7188a51605136f36524e4091fe806859114d6056/src/main/clojure/clojure/contrib/error_kit.clj#L59" id="var-source">Source</a> -</div><div id="var-entry"> - <br /> - <hr /> - <h2 id="clojure.contrib.error-kit/do-not-handle">do-not-handle</h2> - <span id="var-type">macro</span><br /> - <pre id="var-usage">Usage: (do-not-handle) -</pre> - <pre id="var-docstr">Use in a tail position of a 'handle' form to indicate 'raise' should -not consider the error handled, but should continue searching for an -appropriate 'handle' form. Allows finer-grain control over catching -than just the error type.</pre> - - - <a href="http://github.com/richhickey/clojure-contrib/blob/7188a51605136f36524e4091fe806859114d6056/src/main/clojure/clojure/contrib/error_kit.clj#L117" id="var-source">Source</a> -</div><div id="var-entry"> - <br /> - <hr /> - <h2 id="clojure.contrib.error-kit/error">error</h2> - <span id="var-type">function</span><br /> - <pre id="var-usage">Usage: (error details) -</pre> - <pre id="var-docstr">Base type for all error-kit errors</pre> - - - <a href="http://github.com/richhickey/clojure-contrib/blob/7188a51605136f36524e4091fe806859114d6056/src/main/clojure/clojure/contrib/error_kit.clj#L46" id="var-source">Source</a> -</div><div id="var-entry"> - <br /> - <hr /> - <h2 id="clojure.contrib.error-kit/handle">handle</h2> - <span id="var-type">function</span><br /> - <pre id="var-usage">Usage: (handle error-name? [args*] & body) - (handle error-name? args-destruct-map-args & body) -</pre> - <pre id="var-docstr">Special form to be used inside a 'with-handler'. When -any error is 'raised' from withing the dynamic scope of 'body' that -is of error-name's type or a derived type, the args will be bound -and the body executed. If no 'error-name' is given, the body will -be executed for regardless of the type of error raised. The body -may return a value, in which case that will be the return value of -the entire 'with-handler' form, or it may use any of the special -return forms, 'do-not-handle', 'continue-with', or 'continue'.</pre> - - - <a href="http://github.com/richhickey/clojure-contrib/blob/7188a51605136f36524e4091fe806859114d6056/src/main/clojure/clojure/contrib/error_kit.clj#L138" id="var-source">Source</a> -</div><div id="var-entry"> - <br /> - <hr /> - <h2 id="clojure.contrib.error-kit/raise">raise</h2> - <span id="var-type">macro</span><br /> - <pre id="var-usage">Usage: (raise err-name & args) -</pre> - <pre id="var-docstr">Raise an error of the type err-name, constructed with the given args</pre> - - - <a href="http://github.com/richhickey/clojure-contrib/blob/7188a51605136f36524e4091fe806859114d6056/src/main/clojure/clojure/contrib/error_kit.clj#L110" id="var-source">Source</a> -</div><div id="var-entry"> - <br /> - <hr /> - <h2 id="clojure.contrib.error-kit/raise*">raise*</h2> - <span id="var-type">function</span><br /> - <pre id="var-usage">Usage: (raise* err) -</pre> - <pre id="var-docstr">Raise the given error object, best if created by an error -constructor defined with deferror. See also 'raise' macro.</pre> - - - <a href="http://github.com/richhickey/clojure-contrib/blob/7188a51605136f36524e4091fe806859114d6056/src/main/clojure/clojure/contrib/error_kit.clj#L86" id="var-source">Source</a> -</div><div id="var-entry"> - <br /> - <hr /> - <h2 id="clojure.contrib.error-kit/throw-msg">throw-msg</h2> - <span id="var-type">macro</span><br /> - <pre id="var-usage">Usage: (throw-msg class-name) -</pre> - <pre id="var-docstr">Returns a function that throws a Java Exception with the given -name. Useful to associate a new error-kit error type with a -particular Java Exception class, via the :unhandled error key.</pre> - - - <a href="http://github.com/richhickey/clojure-contrib/blob/7188a51605136f36524e4091fe806859114d6056/src/main/clojure/clojure/contrib/error_kit.clj#L39" id="var-source">Source</a> -</div><div id="var-entry"> - <br /> - <hr /> - <h2 id="clojure.contrib.error-kit/with-handler">with-handler</h2> - <span id="var-type">macro</span><br /> - <pre id="var-usage">Usage: (with-handler & forms) -</pre> - <pre id="var-docstr">This is error-kit's dynamic scope form. The body will be executed -in a dynamic context that includes all of the following 'handle' and -'bind-continue' forms.</pre> - - - <a href="http://github.com/richhickey/clojure-contrib/blob/7188a51605136f36524e4091fe806859114d6056/src/main/clojure/clojure/contrib/error_kit.clj#L163" id="var-source">Source</a> -</div> - - -</div> - </div> - </div> - </div> - </div> - <div id="foot"> - <div style="text-align: center;" id="copyright">Copyright 2007-2009 by Rich Hickey and the various contributors</div> - </div> - </div> - <div id="DesignedBy">Logo & site design by <a title="Visit Tom Hickey's website." href="http://www.tomhickey.com">Tom Hickey</a>.<br /> - Clojure auto-documentation system by Tom Faulhaber.</div> - </div> - <!-- /AllContentContainer --> - </body> - -</html>
\ No newline at end of file diff --git a/branch-master/except-api.html b/branch-master/except-api.html deleted file mode 100644 index 9cadd803..00000000 --- a/branch-master/except-api.html +++ /dev/null @@ -1,171 +0,0 @@ -<html> - <head> - <title>except - clojure-contrib next API documentation</title> - <link href="../static/favicon.png" rel="icon" /> - <link href="../static/favicon.png" rel="shortcut icon" /> - <link media="all" type="text/css" href="../static/clojure.css" rel="stylesheet" /> - <link media="all" type="text/css" href="../static/wiki.css" rel="stylesheet" /> - <link media="all" type="text/css" href="../static/internal.css" rel="stylesheet" /> - <!-- TODO: are we using these (from clojure.org)? If so, add the files --> - <script src="file/view/code_highlighter.js" type="text/javascript"></script> - <script src="file/view/clojure.js" type="text/javascript"></script> - <style>.menuWrapper{height: 36px;}</style> - <!--[if lte IE 6]> - <link rel="stylesheet" href="http://www.wikispaces.com/_/2009051601/s/internal_ie.css" type="text/css" /> - <![endif]--> - </head> -<!-- -This document was auto-generated from the source by the clojure autodoc system. -To report errors or ask questions about the overall documentation structure, formatting, -etc., contact Tom Faulhaber (google mail name: tomfaulhaber). -For errors in the documentation of a particular namespace, contact the author of that -namespace. ---> - <body> - <div id="AllContentContainer"> - <div id="Header"> - <a id="Logo" href="index.html"><img alt="Clojure" height="100" width="100" src="../static/clojure-icon.gif" /></a> - <h1><a title="page header title" id="page-header" href="index.html">Clojure-contrib API Reference</a></h1> - </div> - <div id="leftcolumn"><div style="text-align: center;"></div> -<div class="menu"> - <div class="WikiCustomNav WikiElement wiki"> - <span class="toc-header"><span id="project-name">clojure-contrib</span> <span id="version">next</span> API</span><br /> - <ul> - <li><a class="wiki_link" href="index.html">Overview</a></li> - <li><a class="wiki_link" href="api-index.html">API Index</a></li> - </ul> - <span class="toc-header">Namespaces</span> - <ul id="left-sidebar-list"> - <li><a href="accumulators-api.html" class="wiki_link">accumulators</a></li><li><a href="agent-utils-api.html" class="wiki_link">agent-utils</a></li><li><a href="apply-macro-api.html" class="wiki_link">apply-macro</a></li><li><a href="base64-api.html" class="wiki_link">base64</a></li><li><a href="classpath-api.html" class="wiki_link">classpath</a></li><li><a href="combinatorics-api.html" class="wiki_link">combinatorics</a></li><li><a href="command-line-api.html" class="wiki_link">command-line</a></li><li><a href="complex-numbers-api.html" class="wiki_link">complex-numbers</a></li><li><a href="cond-api.html" class="wiki_link">cond</a></li><li><a href="condition-api.html" class="wiki_link">condition</a></li><li><a href="core-api.html" class="wiki_link">core</a></li><li><a href="dataflow-api.html" class="wiki_link">dataflow</a></li><li><a href="datalog-api.html" class="wiki_link">datalog</a></li><li><a href="def-api.html" class="wiki_link">def</a></li><li><a href="duck-streams-api.html" class="wiki_link">duck-streams</a></li><li><a href="error-kit-api.html" class="wiki_link">error-kit</a></li><li><a href="except-api.html" class="wiki_link">except</a></li><li><a href="fcase-api.html" class="wiki_link">fcase</a></li><li><a href="find-namespaces-api.html" class="wiki_link">find-namespaces</a></li><li><a href="fnmap-api.html" class="wiki_link">fnmap</a></li><li><a href="gen-html-docs-api.html" class="wiki_link">gen-html-docs</a></li><li><a href="generic.arithmetic-api.html" class="wiki_link">generic.arithmetic</a></li><li><a href="generic.collection-api.html" class="wiki_link">generic.collection</a></li><li><a href="generic.comparison-api.html" class="wiki_link">generic.comparison</a></li><li><a href="generic.functor-api.html" class="wiki_link">generic.functor</a></li><li><a href="generic.math-functions-api.html" class="wiki_link">generic.math-functions</a></li><li><a href="graph-api.html" class="wiki_link">graph</a></li><li><a href="greatest-least-api.html" class="wiki_link">greatest-least</a></li><li><a href="http.agent-api.html" class="wiki_link">http.agent</a></li><li><a href="http.connection-api.html" class="wiki_link">http.connection</a></li><li><a href="import-static-api.html" class="wiki_link">import-static</a></li><li><a href="io-api.html" class="wiki_link">io</a></li><li><a href="jar-api.html" class="wiki_link">jar</a></li><li><a href="java-utils-api.html" class="wiki_link">java-utils</a></li><li><a href="javadoc.browse-api.html" class="wiki_link">javadoc.browse</a></li><li><a href="jmx-api.html" class="wiki_link">jmx</a></li><li><a href="json-api.html" class="wiki_link">json</a></li><li><a href="lazy-seqs-api.html" class="wiki_link">lazy-seqs</a></li><li><a href="lazy-xml-api.html" class="wiki_link">lazy-xml</a></li><li><a href="logging-api.html" class="wiki_link">logging</a></li><li><a href="macro-utils-api.html" class="wiki_link">macro-utils</a></li><li><a href="macros-api.html" class="wiki_link">macros</a></li><li><a href="map-utils-api.html" class="wiki_link">map-utils</a></li><li><a href="math-api.html" class="wiki_link">math</a></li><li><a href="miglayout-api.html" class="wiki_link">miglayout</a></li><li><a href="mmap-api.html" class="wiki_link">mmap</a></li><li><a href="mock-api.html" class="wiki_link">mock</a></li><li><a href="monadic-io-streams-api.html" class="wiki_link">monadic-io-streams</a></li><li><a href="monads-api.html" class="wiki_link">monads</a></li><li><a href="ns-utils-api.html" class="wiki_link">ns-utils</a></li><li><a href="pprint-api.html" class="wiki_link">pprint</a></li><li><a href="priority-map-api.html" class="wiki_link">priority-map</a></li><li><a href="probabilities.finite-distributions-api.html" class="wiki_link">probabilities.finite-distributions</a></li><li><a href="probabilities.monte-carlo-api.html" class="wiki_link">probabilities.monte-carlo</a></li><li><a href="probabilities.random-numbers-api.html" class="wiki_link">probabilities.random-numbers</a></li><li><a href="profile-api.html" class="wiki_link">profile</a></li><li><a href="properties-api.html" class="wiki_link">properties</a></li><li><a href="prxml-api.html" class="wiki_link">prxml</a></li><li><a href="reflect-api.html" class="wiki_link">reflect</a></li><li><a href="repl-ln-api.html" class="wiki_link">repl-ln</a></li><li><a href="repl-utils-api.html" class="wiki_link">repl-utils</a></li><li><a href="seq-api.html" class="wiki_link">seq</a></li><li><a href="seq-utils-api.html" class="wiki_link">seq-utils</a></li><li><a href="server-socket-api.html" class="wiki_link">server-socket</a></li><li><a href="set-api.html" class="wiki_link">set</a></li><li><a href="shell-api.html" class="wiki_link">shell</a></li><li><a href="shell-out-api.html" class="wiki_link">shell-out</a></li><li><a href="singleton-api.html" class="wiki_link">singleton</a></li><li><a href="sql-api.html" class="wiki_link">sql</a></li><li><a href="str-utils-api.html" class="wiki_link">str-utils</a></li><li><a href="str-utils2-api.html" class="wiki_link">str-utils2</a></li><li><a href="stream-utils-api.html" class="wiki_link">stream-utils</a></li><li><a href="string-api.html" class="wiki_link">string</a></li><li><a href="strint-api.html" class="wiki_link">strint</a></li><li><a href="swing-utils-api.html" class="wiki_link">swing-utils</a></li><li><a href="test-is-api.html" class="wiki_link">test-is</a></li><li><a href="trace-api.html" class="wiki_link">trace</a></li><li><a href="types-api.html" class="wiki_link">types</a></li><li><a href="with-ns-api.html" class="wiki_link">with-ns</a></li><li><a href="zip-filter-api.html" class="wiki_link">zip-filter</a></li> - </ul> - <div class="BranchTOC"> - <span class="toc-header">Other Versions</span> - <ul id="left-sidebar-branch-list"> - <li><a href="../index.html" class="wiki_link">v1.2 (beta 1)</a></li><li><a href="../branch-1.1.x/index.html" class="wiki_link">v1.1 (stable)</a></li> - </ul> - </div> - <a href="http://clojure.org" class="wiki_link">Clojure Home</a> - </div> -</div> -</div> - <div id="rightcolumn"> - <div id="Content"> - <div class="contentBox"><div class="innerContentBox"> - <div id="content_view" class="wiki wikiPage"> - <div id="right-sidebar"><div id="toc"> - <h1 class="nopad">Table of Contents</h1> - <div style="margin-left: 1em;" class="toc-section"> - <a href="#toc0">Overview</a> - <div style="margin-left: 1em;" class="toc-entry"> - <a href="#clojure.contrib.except/throw-arg">throw-arg</a> - </div><div style="margin-left: 1em;" class="toc-entry"> - <a href="#clojure.contrib.except/throw-if">throw-if</a> - </div><div style="margin-left: 1em;" class="toc-entry"> - <a href="#clojure.contrib.except/throw-if-not">throw-if-not</a> - </div><div style="margin-left: 1em;" class="toc-entry"> - <a href="#clojure.contrib.except/throwf">throwf</a> - </div> - <br /> - </div> -</div> -</div> - <div id="content-tag"><h1 id="overview">API for <span id="namespace-name">except</span> - - <span id="header-project">clojure-contrib</span> <span id="header-version">next</span> (<span id="header-status">in development</span>) - </h1> -<span id="author-line">by <span id="author-name">Stephen C. Gilardi</span><br /></span> -<br />Usage: -<pre> -(ns your-namespace - (:require <span id="long-name">clojure.contrib.except</span>)) -</pre><pre> -</pre><h2>Overview</h2> -<pre id="namespace-docstr">Provides functions that make it easy to specify the class, cause, and -message when throwing an Exception or Error. The optional message is -formatted using clojure.core/format.</pre> - - -<br /> -<h2>Public Variables and Functions</h2> -<div id="var-entry"> - <br /> - <hr /> - <h2 id="clojure.contrib.except/throw-arg">throw-arg</h2> - <span id="var-type">function</span><br /> - <pre id="var-usage">Usage: (throw-arg & args) -</pre> - <pre id="var-docstr">Throws an IllegalArgumentException. All arguments are optional: - - cause? format? format-args* - -- cause defaults to nil, if present it must be a Throwable -- format is a format string for clojure.core/format -- format-args are objects that correspond to format specifiers in - format.</pre> - - - <a href="http://github.com/richhickey/clojure-contrib/blob/7188a51605136f36524e4091fe806859114d6056/src/main/clojure/clojure/contrib/except.clj#L57" id="var-source">Source</a> -</div><div id="var-entry"> - <br /> - <hr /> - <h2 id="clojure.contrib.except/throw-if">throw-if</h2> - <span id="var-type">function</span><br /> - <pre id="var-usage">Usage: (throw-if test & args) -</pre> - <pre id="var-docstr">Throws an Exception or Error if test is true. args are those documented -for throwf.</pre> - - - <a href="http://github.com/richhickey/clojure-contrib/blob/7188a51605136f36524e4091fe806859114d6056/src/main/clojure/clojure/contrib/except.clj#L43" id="var-source">Source</a> -</div><div id="var-entry"> - <br /> - <hr /> - <h2 id="clojure.contrib.except/throw-if-not">throw-if-not</h2> - <span id="var-type">function</span><br /> - <pre id="var-usage">Usage: (throw-if-not test & args) -</pre> - <pre id="var-docstr">Throws an Exception or Error if test is false. args are those documented -for throwf.</pre> - - - <a href="http://github.com/richhickey/clojure-contrib/blob/7188a51605136f36524e4091fe806859114d6056/src/main/clojure/clojure/contrib/except.clj#L50" id="var-source">Source</a> -</div><div id="var-entry"> - <br /> - <hr /> - <h2 id="clojure.contrib.except/throwf">throwf</h2> - <span id="var-type">function</span><br /> - <pre id="var-usage">Usage: (throwf & args) -</pre> - <pre id="var-docstr">Throws an Exception or Error with an optional message formatted using -clojure.core/format. All arguments are optional: - - class? cause? format? format-args* - -- class defaults to Exception, if present it must name a kind of - Throwable -- cause defaults to nil, if present it must be a Throwable -- format is a format string for clojure.core/format -- format-args are objects that correspond to format specifiers in - format.</pre> - - - <a href="http://github.com/richhickey/clojure-contrib/blob/7188a51605136f36524e4091fe806859114d6056/src/main/clojure/clojure/contrib/except.clj#L28" id="var-source">Source</a> -</div> - - -</div> - </div> - </div> - </div> - </div> - <div id="foot"> - <div style="text-align: center;" id="copyright">Copyright 2007-2009 by Rich Hickey and the various contributors</div> - </div> - </div> - <div id="DesignedBy">Logo & site design by <a title="Visit Tom Hickey's website." href="http://www.tomhickey.com">Tom Hickey</a>.<br /> - Clojure auto-documentation system by Tom Faulhaber.</div> - </div> - <!-- /AllContentContainer --> - </body> - -</html>
\ No newline at end of file diff --git a/branch-master/fcase-api.html b/branch-master/fcase-api.html deleted file mode 100644 index 815f1c8c..00000000 --- a/branch-master/fcase-api.html +++ /dev/null @@ -1,200 +0,0 @@ -<html> - <head> - <title>fcase - clojure-contrib next API documentation</title> - <link href="../static/favicon.png" rel="icon" /> - <link href="../static/favicon.png" rel="shortcut icon" /> - <link media="all" type="text/css" href="../static/clojure.css" rel="stylesheet" /> - <link media="all" type="text/css" href="../static/wiki.css" rel="stylesheet" /> - <link media="all" type="text/css" href="../static/internal.css" rel="stylesheet" /> - <!-- TODO: are we using these (from clojure.org)? If so, add the files --> - <script src="file/view/code_highlighter.js" type="text/javascript"></script> - <script src="file/view/clojure.js" type="text/javascript"></script> - <style>.menuWrapper{height: 36px;}</style> - <!--[if lte IE 6]> - <link rel="stylesheet" href="http://www.wikispaces.com/_/2009051601/s/internal_ie.css" type="text/css" /> - <![endif]--> - </head> -<!-- -This document was auto-generated from the source by the clojure autodoc system. -To report errors or ask questions about the overall documentation structure, formatting, -etc., contact Tom Faulhaber (google mail name: tomfaulhaber). -For errors in the documentation of a particular namespace, contact the author of that -namespace. ---> - <body> - <div id="AllContentContainer"> - <div id="Header"> - <a id="Logo" href="index.html"><img alt="Clojure" height="100" width="100" src="../static/clojure-icon.gif" /></a> - <h1><a title="page header title" id="page-header" href="index.html">Clojure-contrib API Reference</a></h1> - </div> - <div id="leftcolumn"><div style="text-align: center;"></div> -<div class="menu"> - <div class="WikiCustomNav WikiElement wiki"> - <span class="toc-header"><span id="project-name">clojure-contrib</span> <span id="version">next</span> API</span><br /> - <ul> - <li><a class="wiki_link" href="index.html">Overview</a></li> - <li><a class="wiki_link" href="api-index.html">API Index</a></li> - </ul> - <span class="toc-header">Namespaces</span> - <ul id="left-sidebar-list"> - <li><a href="accumulators-api.html" class="wiki_link">accumulators</a></li><li><a href="agent-utils-api.html" class="wiki_link">agent-utils</a></li><li><a href="apply-macro-api.html" class="wiki_link">apply-macro</a></li><li><a href="base64-api.html" class="wiki_link">base64</a></li><li><a href="classpath-api.html" class="wiki_link">classpath</a></li><li><a href="combinatorics-api.html" class="wiki_link">combinatorics</a></li><li><a href="command-line-api.html" class="wiki_link">command-line</a></li><li><a href="complex-numbers-api.html" class="wiki_link">complex-numbers</a></li><li><a href="cond-api.html" class="wiki_link">cond</a></li><li><a href="condition-api.html" class="wiki_link">condition</a></li><li><a href="core-api.html" class="wiki_link">core</a></li><li><a href="dataflow-api.html" class="wiki_link">dataflow</a></li><li><a href="datalog-api.html" class="wiki_link">datalog</a></li><li><a href="def-api.html" class="wiki_link">def</a></li><li><a href="duck-streams-api.html" class="wiki_link">duck-streams</a></li><li><a href="error-kit-api.html" class="wiki_link">error-kit</a></li><li><a href="except-api.html" class="wiki_link">except</a></li><li><a href="fcase-api.html" class="wiki_link">fcase</a></li><li><a href="find-namespaces-api.html" class="wiki_link">find-namespaces</a></li><li><a href="fnmap-api.html" class="wiki_link">fnmap</a></li><li><a href="gen-html-docs-api.html" class="wiki_link">gen-html-docs</a></li><li><a href="generic.arithmetic-api.html" class="wiki_link">generic.arithmetic</a></li><li><a href="generic.collection-api.html" class="wiki_link">generic.collection</a></li><li><a href="generic.comparison-api.html" class="wiki_link">generic.comparison</a></li><li><a href="generic.functor-api.html" class="wiki_link">generic.functor</a></li><li><a href="generic.math-functions-api.html" class="wiki_link">generic.math-functions</a></li><li><a href="graph-api.html" class="wiki_link">graph</a></li><li><a href="greatest-least-api.html" class="wiki_link">greatest-least</a></li><li><a href="http.agent-api.html" class="wiki_link">http.agent</a></li><li><a href="http.connection-api.html" class="wiki_link">http.connection</a></li><li><a href="import-static-api.html" class="wiki_link">import-static</a></li><li><a href="io-api.html" class="wiki_link">io</a></li><li><a href="jar-api.html" class="wiki_link">jar</a></li><li><a href="java-utils-api.html" class="wiki_link">java-utils</a></li><li><a href="javadoc.browse-api.html" class="wiki_link">javadoc.browse</a></li><li><a href="jmx-api.html" class="wiki_link">jmx</a></li><li><a href="json-api.html" class="wiki_link">json</a></li><li><a href="lazy-seqs-api.html" class="wiki_link">lazy-seqs</a></li><li><a href="lazy-xml-api.html" class="wiki_link">lazy-xml</a></li><li><a href="logging-api.html" class="wiki_link">logging</a></li><li><a href="macro-utils-api.html" class="wiki_link">macro-utils</a></li><li><a href="macros-api.html" class="wiki_link">macros</a></li><li><a href="map-utils-api.html" class="wiki_link">map-utils</a></li><li><a href="math-api.html" class="wiki_link">math</a></li><li><a href="miglayout-api.html" class="wiki_link">miglayout</a></li><li><a href="mmap-api.html" class="wiki_link">mmap</a></li><li><a href="mock-api.html" class="wiki_link">mock</a></li><li><a href="monadic-io-streams-api.html" class="wiki_link">monadic-io-streams</a></li><li><a href="monads-api.html" class="wiki_link">monads</a></li><li><a href="ns-utils-api.html" class="wiki_link">ns-utils</a></li><li><a href="pprint-api.html" class="wiki_link">pprint</a></li><li><a href="priority-map-api.html" class="wiki_link">priority-map</a></li><li><a href="probabilities.finite-distributions-api.html" class="wiki_link">probabilities.finite-distributions</a></li><li><a href="probabilities.monte-carlo-api.html" class="wiki_link">probabilities.monte-carlo</a></li><li><a href="probabilities.random-numbers-api.html" class="wiki_link">probabilities.random-numbers</a></li><li><a href="profile-api.html" class="wiki_link">profile</a></li><li><a href="properties-api.html" class="wiki_link">properties</a></li><li><a href="prxml-api.html" class="wiki_link">prxml</a></li><li><a href="reflect-api.html" class="wiki_link">reflect</a></li><li><a href="repl-ln-api.html" class="wiki_link">repl-ln</a></li><li><a href="repl-utils-api.html" class="wiki_link">repl-utils</a></li><li><a href="seq-api.html" class="wiki_link">seq</a></li><li><a href="seq-utils-api.html" class="wiki_link">seq-utils</a></li><li><a href="server-socket-api.html" class="wiki_link">server-socket</a></li><li><a href="set-api.html" class="wiki_link">set</a></li><li><a href="shell-api.html" class="wiki_link">shell</a></li><li><a href="shell-out-api.html" class="wiki_link">shell-out</a></li><li><a href="singleton-api.html" class="wiki_link">singleton</a></li><li><a href="sql-api.html" class="wiki_link">sql</a></li><li><a href="str-utils-api.html" class="wiki_link">str-utils</a></li><li><a href="str-utils2-api.html" class="wiki_link">str-utils2</a></li><li><a href="stream-utils-api.html" class="wiki_link">stream-utils</a></li><li><a href="string-api.html" class="wiki_link">string</a></li><li><a href="strint-api.html" class="wiki_link">strint</a></li><li><a href="swing-utils-api.html" class="wiki_link">swing-utils</a></li><li><a href="test-is-api.html" class="wiki_link">test-is</a></li><li><a href="trace-api.html" class="wiki_link">trace</a></li><li><a href="types-api.html" class="wiki_link">types</a></li><li><a href="with-ns-api.html" class="wiki_link">with-ns</a></li><li><a href="zip-filter-api.html" class="wiki_link">zip-filter</a></li> - </ul> - <div class="BranchTOC"> - <span class="toc-header">Other Versions</span> - <ul id="left-sidebar-branch-list"> - <li><a href="../index.html" class="wiki_link">v1.2 (beta 1)</a></li><li><a href="../branch-1.1.x/index.html" class="wiki_link">v1.1 (stable)</a></li> - </ul> - </div> - <a href="http://clojure.org" class="wiki_link">Clojure Home</a> - </div> -</div> -</div> - <div id="rightcolumn"> - <div id="Content"> - <div class="contentBox"><div class="innerContentBox"> - <div id="content_view" class="wiki wikiPage"> - <div id="right-sidebar"><div id="toc"> - <h1 class="nopad">Table of Contents</h1> - <div style="margin-left: 1em;" class="toc-section"> - <a href="#toc0">Overview</a> - <div style="margin-left: 1em;" class="toc-entry"> - <a href="#clojure.contrib.fcase/case">case</a> - </div><div style="margin-left: 1em;" class="toc-entry"> - <a href="#clojure.contrib.fcase/fcase">fcase</a> - </div><div style="margin-left: 1em;" class="toc-entry"> - <a href="#clojure.contrib.fcase/in-case">in-case</a> - </div><div style="margin-left: 1em;" class="toc-entry"> - <a href="#clojure.contrib.fcase/instance-case">instance-case</a> - </div><div style="margin-left: 1em;" class="toc-entry"> - <a href="#clojure.contrib.fcase/re-case">re-case</a> - </div> - <br /> - </div> -</div> -</div> - <div id="content-tag"><h1 id="overview">API for <span id="namespace-name">fcase</span> - - <span id="header-project">clojure-contrib</span> <span id="header-version">next</span> (<span id="header-status">in development</span>) - </h1> -<span id="author-line">by <span id="author-name">Stuart Sierra</span><br /></span> -<br />Usage: -<pre> -(ns your-namespace - (:require <span id="long-name">clojure.contrib.fcase</span>)) -</pre><pre> -</pre><h2>Overview</h2> -<pre id="namespace-docstr">This file defines a generic "case" macro called "fcase" which takes -the equality-testing function as an argument. It also defines a -traditional "case" macro that tests using "=" and variants that -test for regular expressions and class membership. - - -Note (December 23, 2008): This library has been supplanted by the -inclusion of "condp" in clojure.core as of Clojure SVN rev. 1180.</pre> - - -<br /> -<h2>Public Variables and Functions</h2> -<div id="var-entry"> - <br /> - <hr /> - <h2 id="clojure.contrib.fcase/case">case</h2> - <span id="var-type">macro</span><br /> - <pre id="var-usage">Usage: (case test-value & clauses) -</pre> - <pre id="var-docstr">Like cond, but test-value is compared against the value of each -test expression with =. If they are equal, executes the "body" -expression. Optional last expression is executed if none of the -test expressions match.</pre> - - - <a href="http://github.com/richhickey/clojure-contrib/blob/7188a51605136f36524e4091fe806859114d6056/src/main/clojure/clojure/contrib/fcase.clj#L79" id="var-source">Source</a> -</div><div id="var-entry"> - <br /> - <hr /> - <h2 id="clojure.contrib.fcase/fcase">fcase</h2> - <span id="var-type">macro</span><br /> - <pre id="var-usage">Usage: (fcase compare-fn case-value & test-expr-clauses) -</pre> - <pre id="var-docstr">Generic switch/case macro. 'fcase' is short for 'function case'. - -The 'compare-fn' is a fn of two arguments. - -The 'test-expr-clauses' are value-expression pairs without -surrounding parentheses, like in Clojure's 'cond'. - -The 'case-value' is evaluated once and cached. Then, 'compare-fn' -is called once for each clause, with the clause's test value as its -first argument and 'case-value' as its second argument. If -'compare-fn' returns logical true, the clause's expression is -evaluated and returned. If 'compare-fn' returns false/nil, we go to -the next test value. - -If 'test-expr-clauses' contains an odd number of items, the last -item is the default expression evaluated if no case-value matches. -If there is no default expression and no case-value matches, fcase -returns nil. - -See specific forms of this macro in 'case' and 're-case'. - -The test expressions in 'fcase' are always evaluated linearly, in -order. For a large number of case expressions it may be more -efficient to use a hash lookup.</pre> - - - <a href="http://github.com/richhickey/clojure-contrib/blob/7188a51605136f36524e4091fe806859114d6056/src/main/clojure/clojure/contrib/fcase.clj#L40" id="var-source">Source</a> -</div><div id="var-entry"> - <br /> - <hr /> - <h2 id="clojure.contrib.fcase/in-case">in-case</h2> - <span id="var-type">macro</span><br /> - <pre id="var-usage">Usage: (in-case test-value & clauses) -</pre> - <pre id="var-docstr">Like case, but test expressions are sequences. The test expression -is true if any item in the sequence is equal (tested with '=') to -the test value.</pre> - - - <a href="http://github.com/richhickey/clojure-contrib/blob/7188a51605136f36524e4091fe806859114d6056/src/main/clojure/clojure/contrib/fcase.clj#L103" id="var-source">Source</a> -</div><div id="var-entry"> - <br /> - <hr /> - <h2 id="clojure.contrib.fcase/instance-case">instance-case</h2> - <span id="var-type">macro</span><br /> - <pre id="var-usage">Usage: (instance-case test-value & clauses) -</pre> - <pre id="var-docstr">Like case, but the test expressions are Java class names, tested with -'instance?'.</pre> - - - <a href="http://github.com/richhickey/clojure-contrib/blob/7188a51605136f36524e4091fe806859114d6056/src/main/clojure/clojure/contrib/fcase.clj#L93" id="var-source">Source</a> -</div><div id="var-entry"> - <br /> - <hr /> - <h2 id="clojure.contrib.fcase/re-case">re-case</h2> - <span id="var-type">macro</span><br /> - <pre id="var-usage">Usage: (re-case test-value & clauses) -</pre> - <pre id="var-docstr">Like case, but the test expressions are regular expressions, tested -with re-find.</pre> - - - <a href="http://github.com/richhickey/clojure-contrib/blob/7188a51605136f36524e4091fe806859114d6056/src/main/clojure/clojure/contrib/fcase.clj#L87" id="var-source">Source</a> -</div> - - -</div> - </div> - </div> - </div> - </div> - <div id="foot"> - <div style="text-align: center;" id="copyright">Copyright 2007-2009 by Rich Hickey and the various contributors</div> - </div> - </div> - <div id="DesignedBy">Logo & site design by <a title="Visit Tom Hickey's website." href="http://www.tomhickey.com">Tom Hickey</a>.<br /> - Clojure auto-documentation system by Tom Faulhaber.</div> - </div> - <!-- /AllContentContainer --> - </body> - -</html>
\ No newline at end of file diff --git a/branch-master/find-namespaces-api.html b/branch-master/find-namespaces-api.html deleted file mode 100644 index 3f9e94e7..00000000 --- a/branch-master/find-namespaces-api.html +++ /dev/null @@ -1,297 +0,0 @@ -<html> - <head> - <title>find-namespaces - clojure-contrib next API documentation</title> - <link href="../static/favicon.png" rel="icon" /> - <link href="../static/favicon.png" rel="shortcut icon" /> - <link media="all" type="text/css" href="../static/clojure.css" rel="stylesheet" /> - <link media="all" type="text/css" href="../static/wiki.css" rel="stylesheet" /> - <link media="all" type="text/css" href="../static/internal.css" rel="stylesheet" /> - <!-- TODO: are we using these (from clojure.org)? If so, add the files --> - <script src="file/view/code_highlighter.js" type="text/javascript"></script> - <script src="file/view/clojure.js" type="text/javascript"></script> - <style>.menuWrapper{height: 36px;}</style> - <!--[if lte IE 6]> - <link rel="stylesheet" href="http://www.wikispaces.com/_/2009051601/s/internal_ie.css" type="text/css" /> - <![endif]--> - </head> -<!-- -This document was auto-generated from the source by the clojure autodoc system. -To report errors or ask questions about the overall documentation structure, formatting, -etc., contact Tom Faulhaber (google mail name: tomfaulhaber). -For errors in the documentation of a particular namespace, contact the author of that -namespace. ---> - <body> - <div id="AllContentContainer"> - <div id="Header"> - <a id="Logo" href="index.html"><img alt="Clojure" height="100" width="100" src="../static/clojure-icon.gif" /></a> - <h1><a title="page header title" id="page-header" href="index.html">Clojure-contrib API Reference</a></h1> - </div> - <div id="leftcolumn"><div style="text-align: center;"></div> -<div class="menu"> - <div class="WikiCustomNav WikiElement wiki"> - <span class="toc-header"><span id="project-name">clojure-contrib</span> <span id="version">next</span> API</span><br /> - <ul> - <li><a class="wiki_link" href="index.html">Overview</a></li> - <li><a class="wiki_link" href="api-index.html">API Index</a></li> - </ul> - <span class="toc-header">Namespaces</span> - <ul id="left-sidebar-list"> - <li><a href="accumulators-api.html" class="wiki_link">accumulators</a></li><li><a href="agent-utils-api.html" class="wiki_link">agent-utils</a></li><li><a href="apply-macro-api.html" class="wiki_link">apply-macro</a></li><li><a href="base64-api.html" class="wiki_link">base64</a></li><li><a href="classpath-api.html" class="wiki_link">classpath</a></li><li><a href="combinatorics-api.html" class="wiki_link">combinatorics</a></li><li><a href="command-line-api.html" class="wiki_link">command-line</a></li><li><a href="complex-numbers-api.html" class="wiki_link">complex-numbers</a></li><li><a href="cond-api.html" class="wiki_link">cond</a></li><li><a href="condition-api.html" class="wiki_link">condition</a></li><li><a href="core-api.html" class="wiki_link">core</a></li><li><a href="dataflow-api.html" class="wiki_link">dataflow</a></li><li><a href="datalog-api.html" class="wiki_link">datalog</a></li><li><a href="def-api.html" class="wiki_link">def</a></li><li><a href="duck-streams-api.html" class="wiki_link">duck-streams</a></li><li><a href="error-kit-api.html" class="wiki_link">error-kit</a></li><li><a href="except-api.html" class="wiki_link">except</a></li><li><a href="fcase-api.html" class="wiki_link">fcase</a></li><li><a href="find-namespaces-api.html" class="wiki_link">find-namespaces</a></li><li><a href="fnmap-api.html" class="wiki_link">fnmap</a></li><li><a href="gen-html-docs-api.html" class="wiki_link">gen-html-docs</a></li><li><a href="generic.arithmetic-api.html" class="wiki_link">generic.arithmetic</a></li><li><a href="generic.collection-api.html" class="wiki_link">generic.collection</a></li><li><a href="generic.comparison-api.html" class="wiki_link">generic.comparison</a></li><li><a href="generic.functor-api.html" class="wiki_link">generic.functor</a></li><li><a href="generic.math-functions-api.html" class="wiki_link">generic.math-functions</a></li><li><a href="graph-api.html" class="wiki_link">graph</a></li><li><a href="greatest-least-api.html" class="wiki_link">greatest-least</a></li><li><a href="http.agent-api.html" class="wiki_link">http.agent</a></li><li><a href="http.connection-api.html" class="wiki_link">http.connection</a></li><li><a href="import-static-api.html" class="wiki_link">import-static</a></li><li><a href="io-api.html" class="wiki_link">io</a></li><li><a href="jar-api.html" class="wiki_link">jar</a></li><li><a href="java-utils-api.html" class="wiki_link">java-utils</a></li><li><a href="javadoc.browse-api.html" class="wiki_link">javadoc.browse</a></li><li><a href="jmx-api.html" class="wiki_link">jmx</a></li><li><a href="json-api.html" class="wiki_link">json</a></li><li><a href="lazy-seqs-api.html" class="wiki_link">lazy-seqs</a></li><li><a href="lazy-xml-api.html" class="wiki_link">lazy-xml</a></li><li><a href="logging-api.html" class="wiki_link">logging</a></li><li><a href="macro-utils-api.html" class="wiki_link">macro-utils</a></li><li><a href="macros-api.html" class="wiki_link">macros</a></li><li><a href="map-utils-api.html" class="wiki_link">map-utils</a></li><li><a href="math-api.html" class="wiki_link">math</a></li><li><a href="miglayout-api.html" class="wiki_link">miglayout</a></li><li><a href="mmap-api.html" class="wiki_link">mmap</a></li><li><a href="mock-api.html" class="wiki_link">mock</a></li><li><a href="monadic-io-streams-api.html" class="wiki_link">monadic-io-streams</a></li><li><a href="monads-api.html" class="wiki_link">monads</a></li><li><a href="ns-utils-api.html" class="wiki_link">ns-utils</a></li><li><a href="pprint-api.html" class="wiki_link">pprint</a></li><li><a href="priority-map-api.html" class="wiki_link">priority-map</a></li><li><a href="probabilities.finite-distributions-api.html" class="wiki_link">probabilities.finite-distributions</a></li><li><a href="probabilities.monte-carlo-api.html" class="wiki_link">probabilities.monte-carlo</a></li><li><a href="probabilities.random-numbers-api.html" class="wiki_link">probabilities.random-numbers</a></li><li><a href="profile-api.html" class="wiki_link">profile</a></li><li><a href="properties-api.html" class="wiki_link">properties</a></li><li><a href="prxml-api.html" class="wiki_link">prxml</a></li><li><a href="reflect-api.html" class="wiki_link">reflect</a></li><li><a href="repl-ln-api.html" class="wiki_link">repl-ln</a></li><li><a href="repl-utils-api.html" class="wiki_link">repl-utils</a></li><li><a href="seq-api.html" class="wiki_link">seq</a></li><li><a href="seq-utils-api.html" class="wiki_link">seq-utils</a></li><li><a href="server-socket-api.html" class="wiki_link">server-socket</a></li><li><a href="set-api.html" class="wiki_link">set</a></li><li><a href="shell-api.html" class="wiki_link">shell</a></li><li><a href="shell-out-api.html" class="wiki_link">shell-out</a></li><li><a href="singleton-api.html" class="wiki_link">singleton</a></li><li><a href="sql-api.html" class="wiki_link">sql</a></li><li><a href="str-utils-api.html" class="wiki_link">str-utils</a></li><li><a href="str-utils2-api.html" class="wiki_link">str-utils2</a></li><li><a href="stream-utils-api.html" class="wiki_link">stream-utils</a></li><li><a href="string-api.html" class="wiki_link">string</a></li><li><a href="strint-api.html" class="wiki_link">strint</a></li><li><a href="swing-utils-api.html" class="wiki_link">swing-utils</a></li><li><a href="test-is-api.html" class="wiki_link">test-is</a></li><li><a href="trace-api.html" class="wiki_link">trace</a></li><li><a href="types-api.html" class="wiki_link">types</a></li><li><a href="with-ns-api.html" class="wiki_link">with-ns</a></li><li><a href="zip-filter-api.html" class="wiki_link">zip-filter</a></li> - </ul> - <div class="BranchTOC"> - <span class="toc-header">Other Versions</span> - <ul id="left-sidebar-branch-list"> - <li><a href="../index.html" class="wiki_link">v1.2 (beta 1)</a></li><li><a href="../branch-1.1.x/index.html" class="wiki_link">v1.1 (stable)</a></li> - </ul> - </div> - <a href="http://clojure.org" class="wiki_link">Clojure Home</a> - </div> -</div> -</div> - <div id="rightcolumn"> - <div id="Content"> - <div class="contentBox"><div class="innerContentBox"> - <div id="content_view" class="wiki wikiPage"> - <div id="right-sidebar"><div id="toc"> - <h1 class="nopad">Table of Contents</h1> - <div style="margin-left: 1em;" class="toc-section"> - <a href="#toc0">Overview</a> - <div style="margin-left: 1em;" class="toc-entry"> - <a href="#clojure.contrib.find-namespaces/clojure-source-file?">clojure-source-file?</a> - </div><div style="margin-left: 1em;" class="toc-entry"> - <a href="#clojure.contrib.find-namespaces/clojure-sources-in-jar">clojure-sources-in-jar</a> - </div><div style="margin-left: 1em;" class="toc-entry"> - <a href="#clojure.contrib.find-namespaces/comment?">comment?</a> - </div><div style="margin-left: 1em;" class="toc-entry"> - <a href="#clojure.contrib.find-namespaces/find-clojure-sources-in-dir">find-clojure-sources-in-dir</a> - </div><div style="margin-left: 1em;" class="toc-entry"> - <a href="#clojure.contrib.find-namespaces/find-namespaces-in-dir">find-namespaces-in-dir</a> - </div><div style="margin-left: 1em;" class="toc-entry"> - <a href="#clojure.contrib.find-namespaces/find-namespaces-in-jarfile">find-namespaces-in-jarfile</a> - </div><div style="margin-left: 1em;" class="toc-entry"> - <a href="#clojure.contrib.find-namespaces/find-namespaces-on-classpath">find-namespaces-on-classpath</a> - </div><div style="margin-left: 1em;" class="toc-entry"> - <a href="#clojure.contrib.find-namespaces/find-ns-decls-in-dir">find-ns-decls-in-dir</a> - </div><div style="margin-left: 1em;" class="toc-entry"> - <a href="#clojure.contrib.find-namespaces/find-ns-decls-in-jarfile">find-ns-decls-in-jarfile</a> - </div><div style="margin-left: 1em;" class="toc-entry"> - <a href="#clojure.contrib.find-namespaces/find-ns-decls-on-classpath">find-ns-decls-on-classpath</a> - </div><div style="margin-left: 1em;" class="toc-entry"> - <a href="#clojure.contrib.find-namespaces/ns-decl?">ns-decl?</a> - </div><div style="margin-left: 1em;" class="toc-entry"> - <a href="#clojure.contrib.find-namespaces/read-file-ns-decl">read-file-ns-decl</a> - </div><div style="margin-left: 1em;" class="toc-entry"> - <a href="#clojure.contrib.find-namespaces/read-ns-decl">read-ns-decl</a> - </div><div style="margin-left: 1em;" class="toc-entry"> - <a href="#clojure.contrib.find-namespaces/read-ns-decl-from-jarfile-entry">read-ns-decl-from-jarfile-entry</a> - </div> - <br /> - </div> -</div> -</div> - <div id="content-tag"><h1 id="overview">API for <span id="namespace-name">find-namespaces</span> - - <span id="header-project">clojure-contrib</span> <span id="header-version">next</span> (<span id="header-status">in development</span>) - </h1> -<span id="author-line">by <span id="author-name">Stuart Sierra</span><br /></span> -<br />Usage: -<pre> -(ns your-namespace - (:require <span id="long-name">clojure.contrib.find-namespaces</span>)) -</pre><pre> -</pre><h2>Overview</h2> -<pre id="namespace-docstr">Search for ns declarations in dirs, JARs, or CLASSPATH</pre> - - -<br /> -<h2>Public Variables and Functions</h2> -<div id="var-entry"> - <br /> - <hr /> - <h2 id="clojure.contrib.find-namespaces/clojure-source-file?">clojure-source-file?</h2> - <span id="var-type">function</span><br /> - <pre id="var-usage">Usage: (clojure-source-file? file) -</pre> - <pre id="var-docstr">Returns true if file is a normal file with a .clj extension.</pre> - - - <a href="http://github.com/richhickey/clojure-contrib/blob/7188a51605136f36524e4091fe806859114d6056/src/main/clojure/clojure/contrib/find_namespaces.clj#L28" id="var-source">Source</a> -</div><div id="var-entry"> - <br /> - <hr /> - <h2 id="clojure.contrib.find-namespaces/clojure-sources-in-jar">clojure-sources-in-jar</h2> - <span id="var-type">function</span><br /> - <pre id="var-usage">Usage: (clojure-sources-in-jar jar-file) -</pre> - <pre id="var-docstr">Returns a sequence of filenames ending in .clj found in the JAR file.</pre> - - - <a href="http://github.com/richhickey/clojure-contrib/blob/7188a51605136f36524e4091fe806859114d6056/src/main/clojure/clojure/contrib/find_namespaces.clj#L88" id="var-source">Source</a> -</div><div id="var-entry"> - <br /> - <hr /> - <h2 id="clojure.contrib.find-namespaces/comment?">comment?</h2> - <span id="var-type">function</span><br /> - <pre id="var-usage">Usage: (comment? form) -</pre> - <pre id="var-docstr">Returns true if form is a (comment ...)</pre> - - - <a href="http://github.com/richhickey/clojure-contrib/blob/7188a51605136f36524e4091fe806859114d6056/src/main/clojure/clojure/contrib/find_namespaces.clj#L42" id="var-source">Source</a> -</div><div id="var-entry"> - <br /> - <hr /> - <h2 id="clojure.contrib.find-namespaces/find-clojure-sources-in-dir">find-clojure-sources-in-dir</h2> - <span id="var-type">function</span><br /> - <pre id="var-usage">Usage: (find-clojure-sources-in-dir dir) -</pre> - <pre id="var-docstr">Searches recursively under dir for Clojure source files (.clj). -Returns a sequence of File objects, in breadth-first sort order.</pre> - - - <a href="http://github.com/richhickey/clojure-contrib/blob/7188a51605136f36524e4091fe806859114d6056/src/main/clojure/clojure/contrib/find_namespaces.clj#L34" id="var-source">Source</a> -</div><div id="var-entry"> - <br /> - <hr /> - <h2 id="clojure.contrib.find-namespaces/find-namespaces-in-dir">find-namespaces-in-dir</h2> - <span id="var-type">function</span><br /> - <pre id="var-usage">Usage: (find-namespaces-in-dir dir) -</pre> - <pre id="var-docstr">Searches dir recursively for (ns ...) declarations in Clojure -source files; returns the symbol names of the declared namespaces.</pre> - - - <a href="http://github.com/richhickey/clojure-contrib/blob/7188a51605136f36524e4091fe806859114d6056/src/main/clojure/clojure/contrib/find_namespaces.clj#L79" id="var-source">Source</a> -</div><div id="var-entry"> - <br /> - <hr /> - <h2 id="clojure.contrib.find-namespaces/find-namespaces-in-jarfile">find-namespaces-in-jarfile</h2> - <span id="var-type">function</span><br /> - <pre id="var-usage">Usage: (find-namespaces-in-jarfile jarfile) -</pre> - <pre id="var-docstr">Searches the JAR file for Clojure source files containing (ns ...) -declarations. Returns a sequence of the symbol names of the -declared namespaces.</pre> - - - <a href="http://github.com/richhickey/clojure-contrib/blob/7188a51605136f36524e4091fe806859114d6056/src/main/clojure/clojure/contrib/find_namespaces.clj#L112" id="var-source">Source</a> -</div><div id="var-entry"> - <br /> - <hr /> - <h2 id="clojure.contrib.find-namespaces/find-namespaces-on-classpath">find-namespaces-on-classpath</h2> - <span id="var-type">function</span><br /> - <pre id="var-usage">Usage: (find-namespaces-on-classpath) -</pre> - <pre id="var-docstr">Searches CLASSPATH (both directories and JAR files) for Clojure -source files containing (ns ...) declarations. Returns a sequence -of the symbol names of the declared namespaces.</pre> - - - <a href="http://github.com/richhickey/clojure-contrib/blob/7188a51605136f36524e4091fe806859114d6056/src/main/clojure/clojure/contrib/find_namespaces.clj#L131" id="var-source">Source</a> -</div><div id="var-entry"> - <br /> - <hr /> - <h2 id="clojure.contrib.find-namespaces/find-ns-decls-in-dir">find-ns-decls-in-dir</h2> - <span id="var-type">function</span><br /> - <pre id="var-usage">Usage: (find-ns-decls-in-dir dir) -</pre> - <pre id="var-docstr">Searches dir recursively for (ns ...) declarations in Clojure -source files; returns the unevaluated ns declarations.</pre> - - - <a href="http://github.com/richhickey/clojure-contrib/blob/7188a51605136f36524e4091fe806859114d6056/src/main/clojure/clojure/contrib/find_namespaces.clj#L73" id="var-source">Source</a> -</div><div id="var-entry"> - <br /> - <hr /> - <h2 id="clojure.contrib.find-namespaces/find-ns-decls-in-jarfile">find-ns-decls-in-jarfile</h2> - <span id="var-type">function</span><br /> - <pre id="var-usage">Usage: (find-ns-decls-in-jarfile jarfile) -</pre> - <pre id="var-docstr">Searches the JAR file for Clojure source files containing (ns ...) -declarations; returns the unevaluated ns declarations.</pre> - - - <a href="http://github.com/richhickey/clojure-contrib/blob/7188a51605136f36524e4091fe806859114d6056/src/main/clojure/clojure/contrib/find_namespaces.clj#L104" id="var-source">Source</a> -</div><div id="var-entry"> - <br /> - <hr /> - <h2 id="clojure.contrib.find-namespaces/find-ns-decls-on-classpath">find-ns-decls-on-classpath</h2> - <span id="var-type">function</span><br /> - <pre id="var-usage">Usage: (find-ns-decls-on-classpath) -</pre> - <pre id="var-docstr">Searches CLASSPATH (both directories and JAR files) for Clojure -source files containing (ns ...) declarations. Returns a sequence -of the unevaluated ns declaration forms.</pre> - - - <a href="http://github.com/richhickey/clojure-contrib/blob/7188a51605136f36524e4091fe806859114d6056/src/main/clojure/clojure/contrib/find_namespaces.clj#L122" id="var-source">Source</a> -</div><div id="var-entry"> - <br /> - <hr /> - <h2 id="clojure.contrib.find-namespaces/ns-decl?">ns-decl?</h2> - <span id="var-type">function</span><br /> - <pre id="var-usage">Usage: (ns-decl? form) -</pre> - <pre id="var-docstr">Returns true if form is a (ns ...) declaration.</pre> - - - <a href="http://github.com/richhickey/clojure-contrib/blob/7188a51605136f36524e4091fe806859114d6056/src/main/clojure/clojure/contrib/find_namespaces.clj#L47" id="var-source">Source</a> -</div><div id="var-entry"> - <br /> - <hr /> - <h2 id="clojure.contrib.find-namespaces/read-file-ns-decl">read-file-ns-decl</h2> - <span id="var-type">function</span><br /> - <pre id="var-usage">Usage: (read-file-ns-decl file) -</pre> - <pre id="var-docstr">Attempts to read a (ns ...) declaration from file, and returns the -unevaluated form. Returns nil if read fails, or if the first form -is not a ns declaration.</pre> - - - <a href="http://github.com/richhickey/clojure-contrib/blob/7188a51605136f36524e4091fe806859114d6056/src/main/clojure/clojure/contrib/find_namespaces.clj#L65" id="var-source">Source</a> -</div><div id="var-entry"> - <br /> - <hr /> - <h2 id="clojure.contrib.find-namespaces/read-ns-decl">read-ns-decl</h2> - <span id="var-type">function</span><br /> - <pre id="var-usage">Usage: (read-ns-decl rdr) -</pre> - <pre id="var-docstr">Attempts to read a (ns ...) declaration from rdr, and returns the -unevaluated form. Returns nil if read fails or if a ns declaration -cannot be found. The ns declaration must be the first Clojure form -in the file, except for (comment ...) forms.</pre> - - - <a href="http://github.com/richhickey/clojure-contrib/blob/7188a51605136f36524e4091fe806859114d6056/src/main/clojure/clojure/contrib/find_namespaces.clj#L52" id="var-source">Source</a> -</div><div id="var-entry"> - <br /> - <hr /> - <h2 id="clojure.contrib.find-namespaces/read-ns-decl-from-jarfile-entry">read-ns-decl-from-jarfile-entry</h2> - <span id="var-type">function</span><br /> - <pre id="var-usage">Usage: (read-ns-decl-from-jarfile-entry jarfile entry-name) -</pre> - <pre id="var-docstr">Attempts to read a (ns ...) declaration from the named entry in the -JAR file, and returns the unevaluated form. Returns nil if the read -fails, or if the first form is not a ns declaration.</pre> - - - <a href="http://github.com/richhickey/clojure-contrib/blob/7188a51605136f36524e4091fe806859114d6056/src/main/clojure/clojure/contrib/find_namespaces.clj#L93" id="var-source">Source</a> -</div> - - -</div> - </div> - </div> - </div> - </div> - <div id="foot"> - <div style="text-align: center;" id="copyright">Copyright 2007-2009 by Rich Hickey and the various contributors</div> - </div> - </div> - <div id="DesignedBy">Logo & site design by <a title="Visit Tom Hickey's website." href="http://www.tomhickey.com">Tom Hickey</a>.<br /> - Clojure auto-documentation system by Tom Faulhaber.</div> - </div> - <!-- /AllContentContainer --> - </body> - -</html>
\ No newline at end of file diff --git a/branch-master/fnmap-api.html b/branch-master/fnmap-api.html deleted file mode 100644 index 66dcd3c0..00000000 --- a/branch-master/fnmap-api.html +++ /dev/null @@ -1,124 +0,0 @@ -<html> - <head> - <title>fnmap - clojure-contrib next API documentation</title> - <link href="../static/favicon.png" rel="icon" /> - <link href="../static/favicon.png" rel="shortcut icon" /> - <link media="all" type="text/css" href="../static/clojure.css" rel="stylesheet" /> - <link media="all" type="text/css" href="../static/wiki.css" rel="stylesheet" /> - <link media="all" type="text/css" href="../static/internal.css" rel="stylesheet" /> - <!-- TODO: are we using these (from clojure.org)? If so, add the files --> - <script src="file/view/code_highlighter.js" type="text/javascript"></script> - <script src="file/view/clojure.js" type="text/javascript"></script> - <style>.menuWrapper{height: 36px;}</style> - <!--[if lte IE 6]> - <link rel="stylesheet" href="http://www.wikispaces.com/_/2009051601/s/internal_ie.css" type="text/css" /> - <![endif]--> - </head> -<!-- -This document was auto-generated from the source by the clojure autodoc system. -To report errors or ask questions about the overall documentation structure, formatting, -etc., contact Tom Faulhaber (google mail name: tomfaulhaber). -For errors in the documentation of a particular namespace, contact the author of that -namespace. ---> - <body> - <div id="AllContentContainer"> - <div id="Header"> - <a id="Logo" href="index.html"><img alt="Clojure" height="100" width="100" src="../static/clojure-icon.gif" /></a> - <h1><a title="page header title" id="page-header" href="index.html">Clojure-contrib API Reference</a></h1> - </div> - <div id="leftcolumn"><div style="text-align: center;"></div> -<div class="menu"> - <div class="WikiCustomNav WikiElement wiki"> - <span class="toc-header"><span id="project-name">clojure-contrib</span> <span id="version">next</span> API</span><br /> - <ul> - <li><a class="wiki_link" href="index.html">Overview</a></li> - <li><a class="wiki_link" href="api-index.html">API Index</a></li> - </ul> - <span class="toc-header">Namespaces</span> - <ul id="left-sidebar-list"> - <li><a href="accumulators-api.html" class="wiki_link">accumulators</a></li><li><a href="agent-utils-api.html" class="wiki_link">agent-utils</a></li><li><a href="apply-macro-api.html" class="wiki_link">apply-macro</a></li><li><a href="base64-api.html" class="wiki_link">base64</a></li><li><a href="classpath-api.html" class="wiki_link">classpath</a></li><li><a href="combinatorics-api.html" class="wiki_link">combinatorics</a></li><li><a href="command-line-api.html" class="wiki_link">command-line</a></li><li><a href="complex-numbers-api.html" class="wiki_link">complex-numbers</a></li><li><a href="cond-api.html" class="wiki_link">cond</a></li><li><a href="condition-api.html" class="wiki_link">condition</a></li><li><a href="core-api.html" class="wiki_link">core</a></li><li><a href="dataflow-api.html" class="wiki_link">dataflow</a></li><li><a href="datalog-api.html" class="wiki_link">datalog</a></li><li><a href="def-api.html" class="wiki_link">def</a></li><li><a href="duck-streams-api.html" class="wiki_link">duck-streams</a></li><li><a href="error-kit-api.html" class="wiki_link">error-kit</a></li><li><a href="except-api.html" class="wiki_link">except</a></li><li><a href="fcase-api.html" class="wiki_link">fcase</a></li><li><a href="find-namespaces-api.html" class="wiki_link">find-namespaces</a></li><li><a href="fnmap-api.html" class="wiki_link">fnmap</a></li><li><a href="gen-html-docs-api.html" class="wiki_link">gen-html-docs</a></li><li><a href="generic.arithmetic-api.html" class="wiki_link">generic.arithmetic</a></li><li><a href="generic.collection-api.html" class="wiki_link">generic.collection</a></li><li><a href="generic.comparison-api.html" class="wiki_link">generic.comparison</a></li><li><a href="generic.functor-api.html" class="wiki_link">generic.functor</a></li><li><a href="generic.math-functions-api.html" class="wiki_link">generic.math-functions</a></li><li><a href="graph-api.html" class="wiki_link">graph</a></li><li><a href="greatest-least-api.html" class="wiki_link">greatest-least</a></li><li><a href="http.agent-api.html" class="wiki_link">http.agent</a></li><li><a href="http.connection-api.html" class="wiki_link">http.connection</a></li><li><a href="import-static-api.html" class="wiki_link">import-static</a></li><li><a href="io-api.html" class="wiki_link">io</a></li><li><a href="jar-api.html" class="wiki_link">jar</a></li><li><a href="java-utils-api.html" class="wiki_link">java-utils</a></li><li><a href="javadoc.browse-api.html" class="wiki_link">javadoc.browse</a></li><li><a href="jmx-api.html" class="wiki_link">jmx</a></li><li><a href="json-api.html" class="wiki_link">json</a></li><li><a href="lazy-seqs-api.html" class="wiki_link">lazy-seqs</a></li><li><a href="lazy-xml-api.html" class="wiki_link">lazy-xml</a></li><li><a href="logging-api.html" class="wiki_link">logging</a></li><li><a href="macro-utils-api.html" class="wiki_link">macro-utils</a></li><li><a href="macros-api.html" class="wiki_link">macros</a></li><li><a href="map-utils-api.html" class="wiki_link">map-utils</a></li><li><a href="math-api.html" class="wiki_link">math</a></li><li><a href="miglayout-api.html" class="wiki_link">miglayout</a></li><li><a href="mmap-api.html" class="wiki_link">mmap</a></li><li><a href="mock-api.html" class="wiki_link">mock</a></li><li><a href="monadic-io-streams-api.html" class="wiki_link">monadic-io-streams</a></li><li><a href="monads-api.html" class="wiki_link">monads</a></li><li><a href="ns-utils-api.html" class="wiki_link">ns-utils</a></li><li><a href="pprint-api.html" class="wiki_link">pprint</a></li><li><a href="priority-map-api.html" class="wiki_link">priority-map</a></li><li><a href="probabilities.finite-distributions-api.html" class="wiki_link">probabilities.finite-distributions</a></li><li><a href="probabilities.monte-carlo-api.html" class="wiki_link">probabilities.monte-carlo</a></li><li><a href="probabilities.random-numbers-api.html" class="wiki_link">probabilities.random-numbers</a></li><li><a href="profile-api.html" class="wiki_link">profile</a></li><li><a href="properties-api.html" class="wiki_link">properties</a></li><li><a href="prxml-api.html" class="wiki_link">prxml</a></li><li><a href="reflect-api.html" class="wiki_link">reflect</a></li><li><a href="repl-ln-api.html" class="wiki_link">repl-ln</a></li><li><a href="repl-utils-api.html" class="wiki_link">repl-utils</a></li><li><a href="seq-api.html" class="wiki_link">seq</a></li><li><a href="seq-utils-api.html" class="wiki_link">seq-utils</a></li><li><a href="server-socket-api.html" class="wiki_link">server-socket</a></li><li><a href="set-api.html" class="wiki_link">set</a></li><li><a href="shell-api.html" class="wiki_link">shell</a></li><li><a href="shell-out-api.html" class="wiki_link">shell-out</a></li><li><a href="singleton-api.html" class="wiki_link">singleton</a></li><li><a href="sql-api.html" class="wiki_link">sql</a></li><li><a href="str-utils-api.html" class="wiki_link">str-utils</a></li><li><a href="str-utils2-api.html" class="wiki_link">str-utils2</a></li><li><a href="stream-utils-api.html" class="wiki_link">stream-utils</a></li><li><a href="string-api.html" class="wiki_link">string</a></li><li><a href="strint-api.html" class="wiki_link">strint</a></li><li><a href="swing-utils-api.html" class="wiki_link">swing-utils</a></li><li><a href="test-is-api.html" class="wiki_link">test-is</a></li><li><a href="trace-api.html" class="wiki_link">trace</a></li><li><a href="types-api.html" class="wiki_link">types</a></li><li><a href="with-ns-api.html" class="wiki_link">with-ns</a></li><li><a href="zip-filter-api.html" class="wiki_link">zip-filter</a></li> - </ul> - <div class="BranchTOC"> - <span class="toc-header">Other Versions</span> - <ul id="left-sidebar-branch-list"> - <li><a href="../index.html" class="wiki_link">v1.2 (beta 1)</a></li><li><a href="../branch-1.1.x/index.html" class="wiki_link">v1.1 (stable)</a></li> - </ul> - </div> - <a href="http://clojure.org" class="wiki_link">Clojure Home</a> - </div> -</div> -</div> - <div id="rightcolumn"> - <div id="Content"> - <div class="contentBox"><div class="innerContentBox"> - <div id="content_view" class="wiki wikiPage"> - <div id="right-sidebar"><div id="toc"> - <h1 class="nopad">Table of Contents</h1> - <div style="margin-left: 1em;" class="toc-section"> - <a href="#toc0">Overview</a> - <div style="margin-left: 1em;" class="toc-entry"> - <a href="#clojure.contrib.fnmap/fnmap">fnmap</a> - </div> - <br /> - </div> -</div> -</div> - <div id="content-tag"><h1 id="overview">API for <span id="namespace-name">fnmap</span> - - <span id="header-project">clojure-contrib</span> <span id="header-version">next</span> (<span id="header-status">in development</span>) - </h1> -<span id="author-line">by <span id="author-name">Stuart Sierra</span><br /></span> -<br />Usage: -<pre> -(ns your-namespace - (:require <span id="long-name">clojure.contrib.fnmap</span>)) -</pre><pre> -</pre><h2>Overview</h2> -<pre id="namespace-docstr">Maps that dispatch get/assoc to user-defined functions. - -Note: requires AOT-compilation</pre> - - -<br /> -<h2>Public Variables and Functions</h2> -<div id="var-entry"> - <br /> - <hr /> - <h2 id="clojure.contrib.fnmap/fnmap">fnmap</h2> - <span id="var-type">function</span><br /> - <pre id="var-usage">Usage: (fnmap getter setter) - (fnmap getter setter & keyvals) -</pre> - <pre id="var-docstr">Creates a fnmap, or functional map. A fnmap behaves like an -ordinary Clojure map, except that calls to get and assoc are -filtered through user-defined getter and setter functions, which -operate on an internal map. - -(getter m key) should return a value for key. - -(setter m key value) should assoc key with value and return a new -map for m. - -All other map operations are passed through to the internal map.</pre> - - - <a href="http://github.com/richhickey/clojure-contrib/blob/7188a51605136f36524e4091fe806859114d6056/src/main/clojure/clojure/contrib/fnmap.clj#L19" id="var-source">Source</a> -</div> - - -</div> - </div> - </div> - </div> - </div> - <div id="foot"> - <div style="text-align: center;" id="copyright">Copyright 2007-2009 by Rich Hickey and the various contributors</div> - </div> - </div> - <div id="DesignedBy">Logo & site design by <a title="Visit Tom Hickey's website." href="http://www.tomhickey.com">Tom Hickey</a>.<br /> - Clojure auto-documentation system by Tom Faulhaber.</div> - </div> - <!-- /AllContentContainer --> - </body> - -</html>
\ No newline at end of file diff --git a/branch-master/gen-html-docs-api.html b/branch-master/gen-html-docs-api.html deleted file mode 100644 index 1b977a9f..00000000 --- a/branch-master/gen-html-docs-api.html +++ /dev/null @@ -1,128 +0,0 @@ -<html> - <head> - <title>gen-html-docs - clojure-contrib next API documentation</title> - <link href="../static/favicon.png" rel="icon" /> - <link href="../static/favicon.png" rel="shortcut icon" /> - <link media="all" type="text/css" href="../static/clojure.css" rel="stylesheet" /> - <link media="all" type="text/css" href="../static/wiki.css" rel="stylesheet" /> - <link media="all" type="text/css" href="../static/internal.css" rel="stylesheet" /> - <!-- TODO: are we using these (from clojure.org)? If so, add the files --> - <script src="file/view/code_highlighter.js" type="text/javascript"></script> - <script src="file/view/clojure.js" type="text/javascript"></script> - <style>.menuWrapper{height: 36px;}</style> - <!--[if lte IE 6]> - <link rel="stylesheet" href="http://www.wikispaces.com/_/2009051601/s/internal_ie.css" type="text/css" /> - <![endif]--> - </head> -<!-- -This document was auto-generated from the source by the clojure autodoc system. -To report errors or ask questions about the overall documentation structure, formatting, -etc., contact Tom Faulhaber (google mail name: tomfaulhaber). -For errors in the documentation of a particular namespace, contact the author of that -namespace. ---> - <body> - <div id="AllContentContainer"> - <div id="Header"> - <a id="Logo" href="index.html"><img alt="Clojure" height="100" width="100" src="../static/clojure-icon.gif" /></a> - <h1><a title="page header title" id="page-header" href="index.html">Clojure-contrib API Reference</a></h1> - </div> - <div id="leftcolumn"><div style="text-align: center;"></div> -<div class="menu"> - <div class="WikiCustomNav WikiElement wiki"> - <span class="toc-header"><span id="project-name">clojure-contrib</span> <span id="version">next</span> API</span><br /> - <ul> - <li><a class="wiki_link" href="index.html">Overview</a></li> - <li><a class="wiki_link" href="api-index.html">API Index</a></li> - </ul> - <span class="toc-header">Namespaces</span> - <ul id="left-sidebar-list"> - <li><a href="accumulators-api.html" class="wiki_link">accumulators</a></li><li><a href="agent-utils-api.html" class="wiki_link">agent-utils</a></li><li><a href="apply-macro-api.html" class="wiki_link">apply-macro</a></li><li><a href="base64-api.html" class="wiki_link">base64</a></li><li><a href="classpath-api.html" class="wiki_link">classpath</a></li><li><a href="combinatorics-api.html" class="wiki_link">combinatorics</a></li><li><a href="command-line-api.html" class="wiki_link">command-line</a></li><li><a href="complex-numbers-api.html" class="wiki_link">complex-numbers</a></li><li><a href="cond-api.html" class="wiki_link">cond</a></li><li><a href="condition-api.html" class="wiki_link">condition</a></li><li><a href="core-api.html" class="wiki_link">core</a></li><li><a href="dataflow-api.html" class="wiki_link">dataflow</a></li><li><a href="datalog-api.html" class="wiki_link">datalog</a></li><li><a href="def-api.html" class="wiki_link">def</a></li><li><a href="duck-streams-api.html" class="wiki_link">duck-streams</a></li><li><a href="error-kit-api.html" class="wiki_link">error-kit</a></li><li><a href="except-api.html" class="wiki_link">except</a></li><li><a href="fcase-api.html" class="wiki_link">fcase</a></li><li><a href="find-namespaces-api.html" class="wiki_link">find-namespaces</a></li><li><a href="fnmap-api.html" class="wiki_link">fnmap</a></li><li><a href="gen-html-docs-api.html" class="wiki_link">gen-html-docs</a></li><li><a href="generic.arithmetic-api.html" class="wiki_link">generic.arithmetic</a></li><li><a href="generic.collection-api.html" class="wiki_link">generic.collection</a></li><li><a href="generic.comparison-api.html" class="wiki_link">generic.comparison</a></li><li><a href="generic.functor-api.html" class="wiki_link">generic.functor</a></li><li><a href="generic.math-functions-api.html" class="wiki_link">generic.math-functions</a></li><li><a href="graph-api.html" class="wiki_link">graph</a></li><li><a href="greatest-least-api.html" class="wiki_link">greatest-least</a></li><li><a href="http.agent-api.html" class="wiki_link">http.agent</a></li><li><a href="http.connection-api.html" class="wiki_link">http.connection</a></li><li><a href="import-static-api.html" class="wiki_link">import-static</a></li><li><a href="io-api.html" class="wiki_link">io</a></li><li><a href="jar-api.html" class="wiki_link">jar</a></li><li><a href="java-utils-api.html" class="wiki_link">java-utils</a></li><li><a href="javadoc.browse-api.html" class="wiki_link">javadoc.browse</a></li><li><a href="jmx-api.html" class="wiki_link">jmx</a></li><li><a href="json-api.html" class="wiki_link">json</a></li><li><a href="lazy-seqs-api.html" class="wiki_link">lazy-seqs</a></li><li><a href="lazy-xml-api.html" class="wiki_link">lazy-xml</a></li><li><a href="logging-api.html" class="wiki_link">logging</a></li><li><a href="macro-utils-api.html" class="wiki_link">macro-utils</a></li><li><a href="macros-api.html" class="wiki_link">macros</a></li><li><a href="map-utils-api.html" class="wiki_link">map-utils</a></li><li><a href="math-api.html" class="wiki_link">math</a></li><li><a href="miglayout-api.html" class="wiki_link">miglayout</a></li><li><a href="mmap-api.html" class="wiki_link">mmap</a></li><li><a href="mock-api.html" class="wiki_link">mock</a></li><li><a href="monadic-io-streams-api.html" class="wiki_link">monadic-io-streams</a></li><li><a href="monads-api.html" class="wiki_link">monads</a></li><li><a href="ns-utils-api.html" class="wiki_link">ns-utils</a></li><li><a href="pprint-api.html" class="wiki_link">pprint</a></li><li><a href="priority-map-api.html" class="wiki_link">priority-map</a></li><li><a href="probabilities.finite-distributions-api.html" class="wiki_link">probabilities.finite-distributions</a></li><li><a href="probabilities.monte-carlo-api.html" class="wiki_link">probabilities.monte-carlo</a></li><li><a href="probabilities.random-numbers-api.html" class="wiki_link">probabilities.random-numbers</a></li><li><a href="profile-api.html" class="wiki_link">profile</a></li><li><a href="properties-api.html" class="wiki_link">properties</a></li><li><a href="prxml-api.html" class="wiki_link">prxml</a></li><li><a href="reflect-api.html" class="wiki_link">reflect</a></li><li><a href="repl-ln-api.html" class="wiki_link">repl-ln</a></li><li><a href="repl-utils-api.html" class="wiki_link">repl-utils</a></li><li><a href="seq-api.html" class="wiki_link">seq</a></li><li><a href="seq-utils-api.html" class="wiki_link">seq-utils</a></li><li><a href="server-socket-api.html" class="wiki_link">server-socket</a></li><li><a href="set-api.html" class="wiki_link">set</a></li><li><a href="shell-api.html" class="wiki_link">shell</a></li><li><a href="shell-out-api.html" class="wiki_link">shell-out</a></li><li><a href="singleton-api.html" class="wiki_link">singleton</a></li><li><a href="sql-api.html" class="wiki_link">sql</a></li><li><a href="str-utils-api.html" class="wiki_link">str-utils</a></li><li><a href="str-utils2-api.html" class="wiki_link">str-utils2</a></li><li><a href="stream-utils-api.html" class="wiki_link">stream-utils</a></li><li><a href="string-api.html" class="wiki_link">string</a></li><li><a href="strint-api.html" class="wiki_link">strint</a></li><li><a href="swing-utils-api.html" class="wiki_link">swing-utils</a></li><li><a href="test-is-api.html" class="wiki_link">test-is</a></li><li><a href="trace-api.html" class="wiki_link">trace</a></li><li><a href="types-api.html" class="wiki_link">types</a></li><li><a href="with-ns-api.html" class="wiki_link">with-ns</a></li><li><a href="zip-filter-api.html" class="wiki_link">zip-filter</a></li> - </ul> - <div class="BranchTOC"> - <span class="toc-header">Other Versions</span> - <ul id="left-sidebar-branch-list"> - <li><a href="../index.html" class="wiki_link">v1.2 (beta 1)</a></li><li><a href="../branch-1.1.x/index.html" class="wiki_link">v1.1 (stable)</a></li> - </ul> - </div> - <a href="http://clojure.org" class="wiki_link">Clojure Home</a> - </div> -</div> -</div> - <div id="rightcolumn"> - <div id="Content"> - <div class="contentBox"><div class="innerContentBox"> - <div id="content_view" class="wiki wikiPage"> - <div id="right-sidebar"><div id="toc"> - <h1 class="nopad">Table of Contents</h1> - <div style="margin-left: 1em;" class="toc-section"> - <a href="#toc0">Overview</a> - <div style="margin-left: 1em;" class="toc-entry"> - <a href="#clojure.contrib.gen-html-docs/generate-documentation">generate-documentation</a> - </div><div style="margin-left: 1em;" class="toc-entry"> - <a href="#clojure.contrib.gen-html-docs/generate-documentation-to-file">generate-documentation-to-file</a> - </div> - <br /> - </div> -</div> -</div> - <div id="content-tag"><h1 id="overview">API for <span id="namespace-name">gen-html-docs</span> - - <span id="header-project">clojure-contrib</span> <span id="header-version">next</span> (<span id="header-status">in development</span>) - </h1> -<span id="author-line">by <span id="author-name">Craig Andera</span><br /></span> -<br />Usage: -<pre> -(ns your-namespace - (:require <span id="long-name">clojure.contrib.gen-html-docs</span>)) -</pre><pre> -</pre><h2>Overview</h2> -<pre id="namespace-docstr">Generates a single HTML page that contains the documentation for -one or more Clojure libraries.</pre> - - -<br /> -<h2>Public Variables and Functions</h2> -<div id="var-entry"> - <br /> - <hr /> - <h2 id="clojure.contrib.gen-html-docs/generate-documentation">generate-documentation</h2> - <span id="var-type">function</span><br /> - <pre id="var-usage">Usage: (generate-documentation libs) -</pre> - <pre id="var-docstr">Returns a string which is the HTML documentation for the libraries -named by libs. Libs is a vector of symbols identifying Clojure -libraries.</pre> - - - <a href="http://github.com/richhickey/clojure-contrib/blob/7188a51605136f36524e4091fe806859114d6056/src/main/clojure/clojure/contrib/gen_html_docs.clj#L431" id="var-source">Source</a> -</div><div id="var-entry"> - <br /> - <hr /> - <h2 id="clojure.contrib.gen-html-docs/generate-documentation-to-file">generate-documentation-to-file</h2> - <span id="var-type">function</span><br /> - <pre id="var-usage">Usage: (generate-documentation-to-file path libs) -</pre> - <pre id="var-docstr">Calls generate-documentation on the libraries named by libs and -emits the generated HTML to the path named by path.</pre> - - - <a href="http://github.com/richhickey/clojure-contrib/blob/7188a51605136f36524e4091fe806859114d6056/src/main/clojure/clojure/contrib/gen_html_docs.clj#L457" id="var-source">Source</a> -</div> - - -</div> - </div> - </div> - </div> - </div> - <div id="foot"> - <div style="text-align: center;" id="copyright">Copyright 2007-2009 by Rich Hickey and the various contributors</div> - </div> - </div> - <div id="DesignedBy">Logo & site design by <a title="Visit Tom Hickey's website." href="http://www.tomhickey.com">Tom Hickey</a>.<br /> - Clojure auto-documentation system by Tom Faulhaber.</div> - </div> - <!-- /AllContentContainer --> - </body> - -</html>
\ No newline at end of file diff --git a/branch-master/generic.arithmetic-api.html b/branch-master/generic.arithmetic-api.html deleted file mode 100644 index 1e719baa..00000000 --- a/branch-master/generic.arithmetic-api.html +++ /dev/null @@ -1,199 +0,0 @@ -<html> - <head> - <title>generic.arithmetic - clojure-contrib next API documentation</title> - <link href="../static/favicon.png" rel="icon" /> - <link href="../static/favicon.png" rel="shortcut icon" /> - <link media="all" type="text/css" href="../static/clojure.css" rel="stylesheet" /> - <link media="all" type="text/css" href="../static/wiki.css" rel="stylesheet" /> - <link media="all" type="text/css" href="../static/internal.css" rel="stylesheet" /> - <!-- TODO: are we using these (from clojure.org)? If so, add the files --> - <script src="file/view/code_highlighter.js" type="text/javascript"></script> - <script src="file/view/clojure.js" type="text/javascript"></script> - <style>.menuWrapper{height: 36px;}</style> - <!--[if lte IE 6]> - <link rel="stylesheet" href="http://www.wikispaces.com/_/2009051601/s/internal_ie.css" type="text/css" /> - <![endif]--> - </head> -<!-- -This document was auto-generated from the source by the clojure autodoc system. -To report errors or ask questions about the overall documentation structure, formatting, -etc., contact Tom Faulhaber (google mail name: tomfaulhaber). -For errors in the documentation of a particular namespace, contact the author of that -namespace. ---> - <body> - <div id="AllContentContainer"> - <div id="Header"> - <a id="Logo" href="index.html"><img alt="Clojure" height="100" width="100" src="../static/clojure-icon.gif" /></a> - <h1><a title="page header title" id="page-header" href="index.html">Clojure-contrib API Reference</a></h1> - </div> - <div id="leftcolumn"><div style="text-align: center;"></div> -<div class="menu"> - <div class="WikiCustomNav WikiElement wiki"> - <span class="toc-header"><span id="project-name">clojure-contrib</span> <span id="version">next</span> API</span><br /> - <ul> - <li><a class="wiki_link" href="index.html">Overview</a></li> - <li><a class="wiki_link" href="api-index.html">API Index</a></li> - </ul> - <span class="toc-header">Namespaces</span> - <ul id="left-sidebar-list"> - <li><a href="accumulators-api.html" class="wiki_link">accumulators</a></li><li><a href="agent-utils-api.html" class="wiki_link">agent-utils</a></li><li><a href="apply-macro-api.html" class="wiki_link">apply-macro</a></li><li><a href="base64-api.html" class="wiki_link">base64</a></li><li><a href="classpath-api.html" class="wiki_link">classpath</a></li><li><a href="combinatorics-api.html" class="wiki_link">combinatorics</a></li><li><a href="command-line-api.html" class="wiki_link">command-line</a></li><li><a href="complex-numbers-api.html" class="wiki_link">complex-numbers</a></li><li><a href="cond-api.html" class="wiki_link">cond</a></li><li><a href="condition-api.html" class="wiki_link">condition</a></li><li><a href="core-api.html" class="wiki_link">core</a></li><li><a href="dataflow-api.html" class="wiki_link">dataflow</a></li><li><a href="datalog-api.html" class="wiki_link">datalog</a></li><li><a href="def-api.html" class="wiki_link">def</a></li><li><a href="duck-streams-api.html" class="wiki_link">duck-streams</a></li><li><a href="error-kit-api.html" class="wiki_link">error-kit</a></li><li><a href="except-api.html" class="wiki_link">except</a></li><li><a href="fcase-api.html" class="wiki_link">fcase</a></li><li><a href="find-namespaces-api.html" class="wiki_link">find-namespaces</a></li><li><a href="fnmap-api.html" class="wiki_link">fnmap</a></li><li><a href="gen-html-docs-api.html" class="wiki_link">gen-html-docs</a></li><li><a href="generic.arithmetic-api.html" class="wiki_link">generic.arithmetic</a></li><li><a href="generic.collection-api.html" class="wiki_link">generic.collection</a></li><li><a href="generic.comparison-api.html" class="wiki_link">generic.comparison</a></li><li><a href="generic.functor-api.html" class="wiki_link">generic.functor</a></li><li><a href="generic.math-functions-api.html" class="wiki_link">generic.math-functions</a></li><li><a href="graph-api.html" class="wiki_link">graph</a></li><li><a href="greatest-least-api.html" class="wiki_link">greatest-least</a></li><li><a href="http.agent-api.html" class="wiki_link">http.agent</a></li><li><a href="http.connection-api.html" class="wiki_link">http.connection</a></li><li><a href="import-static-api.html" class="wiki_link">import-static</a></li><li><a href="io-api.html" class="wiki_link">io</a></li><li><a href="jar-api.html" class="wiki_link">jar</a></li><li><a href="java-utils-api.html" class="wiki_link">java-utils</a></li><li><a href="javadoc.browse-api.html" class="wiki_link">javadoc.browse</a></li><li><a href="jmx-api.html" class="wiki_link">jmx</a></li><li><a href="json-api.html" class="wiki_link">json</a></li><li><a href="lazy-seqs-api.html" class="wiki_link">lazy-seqs</a></li><li><a href="lazy-xml-api.html" class="wiki_link">lazy-xml</a></li><li><a href="logging-api.html" class="wiki_link">logging</a></li><li><a href="macro-utils-api.html" class="wiki_link">macro-utils</a></li><li><a href="macros-api.html" class="wiki_link">macros</a></li><li><a href="map-utils-api.html" class="wiki_link">map-utils</a></li><li><a href="math-api.html" class="wiki_link">math</a></li><li><a href="miglayout-api.html" class="wiki_link">miglayout</a></li><li><a href="mmap-api.html" class="wiki_link">mmap</a></li><li><a href="mock-api.html" class="wiki_link">mock</a></li><li><a href="monadic-io-streams-api.html" class="wiki_link">monadic-io-streams</a></li><li><a href="monads-api.html" class="wiki_link">monads</a></li><li><a href="ns-utils-api.html" class="wiki_link">ns-utils</a></li><li><a href="pprint-api.html" class="wiki_link">pprint</a></li><li><a href="priority-map-api.html" class="wiki_link">priority-map</a></li><li><a href="probabilities.finite-distributions-api.html" class="wiki_link">probabilities.finite-distributions</a></li><li><a href="probabilities.monte-carlo-api.html" class="wiki_link">probabilities.monte-carlo</a></li><li><a href="probabilities.random-numbers-api.html" class="wiki_link">probabilities.random-numbers</a></li><li><a href="profile-api.html" class="wiki_link">profile</a></li><li><a href="properties-api.html" class="wiki_link">properties</a></li><li><a href="prxml-api.html" class="wiki_link">prxml</a></li><li><a href="reflect-api.html" class="wiki_link">reflect</a></li><li><a href="repl-ln-api.html" class="wiki_link">repl-ln</a></li><li><a href="repl-utils-api.html" class="wiki_link">repl-utils</a></li><li><a href="seq-api.html" class="wiki_link">seq</a></li><li><a href="seq-utils-api.html" class="wiki_link">seq-utils</a></li><li><a href="server-socket-api.html" class="wiki_link">server-socket</a></li><li><a href="set-api.html" class="wiki_link">set</a></li><li><a href="shell-api.html" class="wiki_link">shell</a></li><li><a href="shell-out-api.html" class="wiki_link">shell-out</a></li><li><a href="singleton-api.html" class="wiki_link">singleton</a></li><li><a href="sql-api.html" class="wiki_link">sql</a></li><li><a href="str-utils-api.html" class="wiki_link">str-utils</a></li><li><a href="str-utils2-api.html" class="wiki_link">str-utils2</a></li><li><a href="stream-utils-api.html" class="wiki_link">stream-utils</a></li><li><a href="string-api.html" class="wiki_link">string</a></li><li><a href="strint-api.html" class="wiki_link">strint</a></li><li><a href="swing-utils-api.html" class="wiki_link">swing-utils</a></li><li><a href="test-is-api.html" class="wiki_link">test-is</a></li><li><a href="trace-api.html" class="wiki_link">trace</a></li><li><a href="types-api.html" class="wiki_link">types</a></li><li><a href="with-ns-api.html" class="wiki_link">with-ns</a></li><li><a href="zip-filter-api.html" class="wiki_link">zip-filter</a></li> - </ul> - <div class="BranchTOC"> - <span class="toc-header">Other Versions</span> - <ul id="left-sidebar-branch-list"> - <li><a href="../index.html" class="wiki_link">v1.2 (beta 1)</a></li><li><a href="../branch-1.1.x/index.html" class="wiki_link">v1.1 (stable)</a></li> - </ul> - </div> - <a href="http://clojure.org" class="wiki_link">Clojure Home</a> - </div> -</div> -</div> - <div id="rightcolumn"> - <div id="Content"> - <div class="contentBox"><div class="innerContentBox"> - <div id="content_view" class="wiki wikiPage"> - <div id="right-sidebar"><div id="toc"> - <h1 class="nopad">Table of Contents</h1> - <div style="margin-left: 1em;" class="toc-section"> - <a href="#toc0">Overview</a> - <div style="margin-left: 1em;" class="toc-entry"> - <a href="#clojure.contrib.generic.arithmetic/*">*</a> - </div><div style="margin-left: 1em;" class="toc-entry"> - <a href="#clojure.contrib.generic.arithmetic/+">+</a> - </div><div style="margin-left: 1em;" class="toc-entry"> - <a href="#clojure.contrib.generic.arithmetic/-">-</a> - </div><div style="margin-left: 1em;" class="toc-entry"> - <a href="#clojure.contrib.generic.arithmetic//">/</a> - </div><div style="margin-left: 1em;" class="toc-entry"> - <a href="#clojure.contrib.generic.arithmetic/defmethod*">defmethod*</a> - </div><div style="margin-left: 1em;" class="toc-entry"> - <a href="#clojure.contrib.generic.arithmetic/qsym">qsym</a> - </div> - <br /> - </div> -</div> -</div> - <div id="content-tag"><h1 id="overview">API for <span id="namespace-name">generic.arithmetic</span> - - <span id="header-project">clojure-contrib</span> <span id="header-version">next</span> (<span id="header-status">in development</span>) - </h1> -<span id="author-line">by <span id="author-name">Konrad Hinsen</span><br /></span> -<br />Usage: -<pre> -(ns your-namespace - (:require <span id="long-name">clojure.contrib.generic.arithmetic</span>)) -</pre><pre> -</pre><h2>Overview</h2> -<pre id="namespace-docstr">Generic arithmetic interface -This library defines generic versions of + - * / as multimethods -that can be defined for any type. The minimal required -implementations for a type are binary + and * plus unary - and /. -Everything else is derived from these automatically. Explicit -binary definitions for - and / can be provided for -efficiency reasons.</pre> - - -<br /> -<h2>Public Variables and Functions</h2> -<div id="var-entry"> - <br /> - <hr /> - <h2 id="clojure.contrib.generic.arithmetic/*">*</h2> - <span id="var-type">multimethod</span><br /> - <pre id="var-usage">Usage: (* x) - (* x y) - (* x y & more) -</pre> - <pre id="var-docstr">Return the product of all arguments. The minimal implementation for type -::my-type is the binary form with dispatch value [::my-type ::my-type].</pre> - - - <a href="http://github.com/richhickey/clojure-contrib/blob/7188a51605136f36524e4091fe806859114d6056/src/main/clojure/clojure/contrib/generic/arithmetic.clj#L111" id="var-source">Source</a> -</div><div id="var-entry"> - <br /> - <hr /> - <h2 id="clojure.contrib.generic.arithmetic/+">+</h2> - <span id="var-type">multimethod</span><br /> - <pre id="var-usage">Usage: (+ x) - (+ x y) - (+ x y & more) -</pre> - <pre id="var-docstr">Return the sum of all arguments. The minimal implementation for type -::my-type is the binary form with dispatch value [::my-type ::my-type].</pre> - - - <a href="http://github.com/richhickey/clojure-contrib/blob/7188a51605136f36524e4091fe806859114d6056/src/main/clojure/clojure/contrib/generic/arithmetic.clj#L45" id="var-source">Source</a> -</div><div id="var-entry"> - <br /> - <hr /> - <h2 id="clojure.contrib.generic.arithmetic/-">-</h2> - <span id="var-type">multimethod</span><br /> - <pre id="var-usage">Usage: (- x) - (- x y) - (- x y & more) -</pre> - <pre id="var-docstr">Return the difference of the first argument and the sum of all other -arguments. The minimal implementation for type ::my-type is the binary -form with dispatch value [::my-type ::my-type].</pre> - - - <a href="http://github.com/richhickey/clojure-contrib/blob/7188a51605136f36524e4091fe806859114d6056/src/main/clojure/clojure/contrib/generic/arithmetic.clj#L77" id="var-source">Source</a> -</div><div id="var-entry"> - <br /> - <hr /> - <h2 id="clojure.contrib.generic.arithmetic//">/</h2> - <span id="var-type">multimethod</span><br /> - <pre id="var-usage">Usage: (/ x) - (/ x y) - (/ x y & more) -</pre> - <pre id="var-docstr">Return the quotient of the first argument and the product of all other -arguments. The minimal implementation for type ::my-type is the binary -form with dispatch value [::my-type ::my-type].</pre> - - - <a href="http://github.com/richhickey/clojure-contrib/blob/7188a51605136f36524e4091fe806859114d6056/src/main/clojure/clojure/contrib/generic/arithmetic.clj#L143" id="var-source">Source</a> -</div><div id="var-entry"> - <br /> - <hr /> - <h2 id="clojure.contrib.generic.arithmetic/defmethod*">defmethod*</h2> - <span id="var-type">macro</span><br /> - <pre id="var-usage">Usage: (defmethod* ns name & args) -</pre> - <pre id="var-docstr">Define a method implementation for the multimethod name in namespace ns. -Required for implementing the division function from another namespace.</pre> - - - <a href="http://github.com/richhickey/clojure-contrib/blob/7188a51605136f36524e4091fe806859114d6056/src/main/clojure/clojure/contrib/generic/arithmetic.clj#L173" id="var-source">Source</a> -</div><div id="var-entry"> - <br /> - <hr /> - <h2 id="clojure.contrib.generic.arithmetic/qsym">qsym</h2> - <span id="var-type">macro</span><br /> - <pre id="var-usage">Usage: (qsym ns sym) -</pre> - <pre id="var-docstr">Create the qualified symbol corresponding to sym in namespace ns. -Required to access the division function from another namespace, -e.g. as (qsym clojure.contrib.generic.arithmetic /).</pre> - - - <a href="http://github.com/richhickey/clojure-contrib/blob/7188a51605136f36524e4091fe806859114d6056/src/main/clojure/clojure/contrib/generic/arithmetic.clj#L180" id="var-source">Source</a> -</div> - - -</div> - </div> - </div> - </div> - </div> - <div id="foot"> - <div style="text-align: center;" id="copyright">Copyright 2007-2009 by Rich Hickey and the various contributors</div> - </div> - </div> - <div id="DesignedBy">Logo & site design by <a title="Visit Tom Hickey's website." href="http://www.tomhickey.com">Tom Hickey</a>.<br /> - Clojure auto-documentation system by Tom Faulhaber.</div> - </div> - <!-- /AllContentContainer --> - </body> - -</html>
\ No newline at end of file diff --git a/branch-master/generic.collection-api.html b/branch-master/generic.collection-api.html deleted file mode 100644 index d77eee61..00000000 --- a/branch-master/generic.collection-api.html +++ /dev/null @@ -1,199 +0,0 @@ -<html> - <head> - <title>generic.collection - clojure-contrib next API documentation</title> - <link href="../static/favicon.png" rel="icon" /> - <link href="../static/favicon.png" rel="shortcut icon" /> - <link media="all" type="text/css" href="../static/clojure.css" rel="stylesheet" /> - <link media="all" type="text/css" href="../static/wiki.css" rel="stylesheet" /> - <link media="all" type="text/css" href="../static/internal.css" rel="stylesheet" /> - <!-- TODO: are we using these (from clojure.org)? If so, add the files --> - <script src="file/view/code_highlighter.js" type="text/javascript"></script> - <script src="file/view/clojure.js" type="text/javascript"></script> - <style>.menuWrapper{height: 36px;}</style> - <!--[if lte IE 6]> - <link rel="stylesheet" href="http://www.wikispaces.com/_/2009051601/s/internal_ie.css" type="text/css" /> - <![endif]--> - </head> -<!-- -This document was auto-generated from the source by the clojure autodoc system. -To report errors or ask questions about the overall documentation structure, formatting, -etc., contact Tom Faulhaber (google mail name: tomfaulhaber). -For errors in the documentation of a particular namespace, contact the author of that -namespace. ---> - <body> - <div id="AllContentContainer"> - <div id="Header"> - <a id="Logo" href="index.html"><img alt="Clojure" height="100" width="100" src="../static/clojure-icon.gif" /></a> - <h1><a title="page header title" id="page-header" href="index.html">Clojure-contrib API Reference</a></h1> - </div> - <div id="leftcolumn"><div style="text-align: center;"></div> -<div class="menu"> - <div class="WikiCustomNav WikiElement wiki"> - <span class="toc-header"><span id="project-name">clojure-contrib</span> <span id="version">next</span> API</span><br /> - <ul> - <li><a class="wiki_link" href="index.html">Overview</a></li> - <li><a class="wiki_link" href="api-index.html">API Index</a></li> - </ul> - <span class="toc-header">Namespaces</span> - <ul id="left-sidebar-list"> - <li><a href="accumulators-api.html" class="wiki_link">accumulators</a></li><li><a href="agent-utils-api.html" class="wiki_link">agent-utils</a></li><li><a href="apply-macro-api.html" class="wiki_link">apply-macro</a></li><li><a href="base64-api.html" class="wiki_link">base64</a></li><li><a href="classpath-api.html" class="wiki_link">classpath</a></li><li><a href="combinatorics-api.html" class="wiki_link">combinatorics</a></li><li><a href="command-line-api.html" class="wiki_link">command-line</a></li><li><a href="complex-numbers-api.html" class="wiki_link">complex-numbers</a></li><li><a href="cond-api.html" class="wiki_link">cond</a></li><li><a href="condition-api.html" class="wiki_link">condition</a></li><li><a href="core-api.html" class="wiki_link">core</a></li><li><a href="dataflow-api.html" class="wiki_link">dataflow</a></li><li><a href="datalog-api.html" class="wiki_link">datalog</a></li><li><a href="def-api.html" class="wiki_link">def</a></li><li><a href="duck-streams-api.html" class="wiki_link">duck-streams</a></li><li><a href="error-kit-api.html" class="wiki_link">error-kit</a></li><li><a href="except-api.html" class="wiki_link">except</a></li><li><a href="fcase-api.html" class="wiki_link">fcase</a></li><li><a href="find-namespaces-api.html" class="wiki_link">find-namespaces</a></li><li><a href="fnmap-api.html" class="wiki_link">fnmap</a></li><li><a href="gen-html-docs-api.html" class="wiki_link">gen-html-docs</a></li><li><a href="generic.arithmetic-api.html" class="wiki_link">generic.arithmetic</a></li><li><a href="generic.collection-api.html" class="wiki_link">generic.collection</a></li><li><a href="generic.comparison-api.html" class="wiki_link">generic.comparison</a></li><li><a href="generic.functor-api.html" class="wiki_link">generic.functor</a></li><li><a href="generic.math-functions-api.html" class="wiki_link">generic.math-functions</a></li><li><a href="graph-api.html" class="wiki_link">graph</a></li><li><a href="greatest-least-api.html" class="wiki_link">greatest-least</a></li><li><a href="http.agent-api.html" class="wiki_link">http.agent</a></li><li><a href="http.connection-api.html" class="wiki_link">http.connection</a></li><li><a href="import-static-api.html" class="wiki_link">import-static</a></li><li><a href="io-api.html" class="wiki_link">io</a></li><li><a href="jar-api.html" class="wiki_link">jar</a></li><li><a href="java-utils-api.html" class="wiki_link">java-utils</a></li><li><a href="javadoc.browse-api.html" class="wiki_link">javadoc.browse</a></li><li><a href="jmx-api.html" class="wiki_link">jmx</a></li><li><a href="json-api.html" class="wiki_link">json</a></li><li><a href="lazy-seqs-api.html" class="wiki_link">lazy-seqs</a></li><li><a href="lazy-xml-api.html" class="wiki_link">lazy-xml</a></li><li><a href="logging-api.html" class="wiki_link">logging</a></li><li><a href="macro-utils-api.html" class="wiki_link">macro-utils</a></li><li><a href="macros-api.html" class="wiki_link">macros</a></li><li><a href="map-utils-api.html" class="wiki_link">map-utils</a></li><li><a href="math-api.html" class="wiki_link">math</a></li><li><a href="miglayout-api.html" class="wiki_link">miglayout</a></li><li><a href="mmap-api.html" class="wiki_link">mmap</a></li><li><a href="mock-api.html" class="wiki_link">mock</a></li><li><a href="monadic-io-streams-api.html" class="wiki_link">monadic-io-streams</a></li><li><a href="monads-api.html" class="wiki_link">monads</a></li><li><a href="ns-utils-api.html" class="wiki_link">ns-utils</a></li><li><a href="pprint-api.html" class="wiki_link">pprint</a></li><li><a href="priority-map-api.html" class="wiki_link">priority-map</a></li><li><a href="probabilities.finite-distributions-api.html" class="wiki_link">probabilities.finite-distributions</a></li><li><a href="probabilities.monte-carlo-api.html" class="wiki_link">probabilities.monte-carlo</a></li><li><a href="probabilities.random-numbers-api.html" class="wiki_link">probabilities.random-numbers</a></li><li><a href="profile-api.html" class="wiki_link">profile</a></li><li><a href="properties-api.html" class="wiki_link">properties</a></li><li><a href="prxml-api.html" class="wiki_link">prxml</a></li><li><a href="reflect-api.html" class="wiki_link">reflect</a></li><li><a href="repl-ln-api.html" class="wiki_link">repl-ln</a></li><li><a href="repl-utils-api.html" class="wiki_link">repl-utils</a></li><li><a href="seq-api.html" class="wiki_link">seq</a></li><li><a href="seq-utils-api.html" class="wiki_link">seq-utils</a></li><li><a href="server-socket-api.html" class="wiki_link">server-socket</a></li><li><a href="set-api.html" class="wiki_link">set</a></li><li><a href="shell-api.html" class="wiki_link">shell</a></li><li><a href="shell-out-api.html" class="wiki_link">shell-out</a></li><li><a href="singleton-api.html" class="wiki_link">singleton</a></li><li><a href="sql-api.html" class="wiki_link">sql</a></li><li><a href="str-utils-api.html" class="wiki_link">str-utils</a></li><li><a href="str-utils2-api.html" class="wiki_link">str-utils2</a></li><li><a href="stream-utils-api.html" class="wiki_link">stream-utils</a></li><li><a href="string-api.html" class="wiki_link">string</a></li><li><a href="strint-api.html" class="wiki_link">strint</a></li><li><a href="swing-utils-api.html" class="wiki_link">swing-utils</a></li><li><a href="test-is-api.html" class="wiki_link">test-is</a></li><li><a href="trace-api.html" class="wiki_link">trace</a></li><li><a href="types-api.html" class="wiki_link">types</a></li><li><a href="with-ns-api.html" class="wiki_link">with-ns</a></li><li><a href="zip-filter-api.html" class="wiki_link">zip-filter</a></li> - </ul> - <div class="BranchTOC"> - <span class="toc-header">Other Versions</span> - <ul id="left-sidebar-branch-list"> - <li><a href="../index.html" class="wiki_link">v1.2 (beta 1)</a></li><li><a href="../branch-1.1.x/index.html" class="wiki_link">v1.1 (stable)</a></li> - </ul> - </div> - <a href="http://clojure.org" class="wiki_link">Clojure Home</a> - </div> -</div> -</div> - <div id="rightcolumn"> - <div id="Content"> - <div class="contentBox"><div class="innerContentBox"> - <div id="content_view" class="wiki wikiPage"> - <div id="right-sidebar"><div id="toc"> - <h1 class="nopad">Table of Contents</h1> - <div style="margin-left: 1em;" class="toc-section"> - <a href="#toc0">Overview</a> - <div style="margin-left: 1em;" class="toc-entry"> - <a href="#clojure.contrib.generic.collection/assoc">assoc</a> - </div><div style="margin-left: 1em;" class="toc-entry"> - <a href="#clojure.contrib.generic.collection/conj">conj</a> - </div><div style="margin-left: 1em;" class="toc-entry"> - <a href="#clojure.contrib.generic.collection/dissoc">dissoc</a> - </div><div style="margin-left: 1em;" class="toc-entry"> - <a href="#clojure.contrib.generic.collection/empty">empty</a> - </div><div style="margin-left: 1em;" class="toc-entry"> - <a href="#clojure.contrib.generic.collection/get">get</a> - </div><div style="margin-left: 1em;" class="toc-entry"> - <a href="#clojure.contrib.generic.collection/into">into</a> - </div><div style="margin-left: 1em;" class="toc-entry"> - <a href="#clojure.contrib.generic.collection/seq">seq</a> - </div> - <br /> - </div> -</div> -</div> - <div id="content-tag"><h1 id="overview">API for <span id="namespace-name">generic.collection</span> - - <span id="header-project">clojure-contrib</span> <span id="header-version">next</span> (<span id="header-status">in development</span>) - </h1> -<span id="author-line">by <span id="author-name">Konrad Hinsen</span><br /></span> -<br />Usage: -<pre> -(ns your-namespace - (:require <span id="long-name">clojure.contrib.generic.collection</span>)) -</pre><pre> -</pre><h2>Overview</h2> -<pre id="namespace-docstr">Generic arithmetic interface -This library defines generic versions of common -collection-related functions as multimethods that can be -defined for any type.</pre> - - -<br /> -<h2>Public Variables and Functions</h2> -<div id="var-entry"> - <br /> - <hr /> - <h2 id="clojure.contrib.generic.collection/assoc">assoc</h2> - <span id="var-type">multimethod</span><br /> - <pre id="var-usage">Usage: (assoc coll & key-val-pairs) -</pre> - <pre id="var-docstr">Returns a new collection in which the values corresponding to the -given keys are updated by the given values. Each type of collection -can have specific restrictions on the possible keys.</pre> - - - <a href="http://github.com/richhickey/clojure-contrib/blob/7188a51605136f36524e4091fe806859114d6056/src/main/clojure/clojure/contrib/generic/collection.clj#L26" id="var-source">Source</a> -</div><div id="var-entry"> - <br /> - <hr /> - <h2 id="clojure.contrib.generic.collection/conj">conj</h2> - <span id="var-type">multimethod</span><br /> - <pre id="var-usage">Usage: (conj coll & xs) -</pre> - <pre id="var-docstr">Returns a new collection resulting from adding all xs to coll.</pre> - - - <a href="http://github.com/richhickey/clojure-contrib/blob/7188a51605136f36524e4091fe806859114d6056/src/main/clojure/clojure/contrib/generic/collection.clj#L42" id="var-source">Source</a> -</div><div id="var-entry"> - <br /> - <hr /> - <h2 id="clojure.contrib.generic.collection/dissoc">dissoc</h2> - <span id="var-type">multimethod</span><br /> - <pre id="var-usage">Usage: (dissoc coll & keys) -</pre> - <pre id="var-docstr">Returns a new collection in which the entries corresponding to the -given keys are removed. Each type of collection can have specific -restrictions on the possible keys.</pre> - - - <a href="http://github.com/richhickey/clojure-contrib/blob/7188a51605136f36524e4091fe806859114d6056/src/main/clojure/clojure/contrib/generic/collection.clj#L54" id="var-source">Source</a> -</div><div id="var-entry"> - <br /> - <hr /> - <h2 id="clojure.contrib.generic.collection/empty">empty</h2> - <span id="var-type">multimethod</span><br /> - <pre id="var-usage">Usage: (empty coll) -</pre> - <pre id="var-docstr">Returns an empty collection of the same kind as the argument</pre> - - - <a href="http://github.com/richhickey/clojure-contrib/blob/7188a51605136f36524e4091fe806859114d6056/src/main/clojure/clojure/contrib/generic/collection.clj#L68" id="var-source">Source</a> -</div><div id="var-entry"> - <br /> - <hr /> - <h2 id="clojure.contrib.generic.collection/get">get</h2> - <span id="var-type">multimethod</span><br /> - <pre id="var-usage">Usage: (get coll key) - (get coll key not-found) -</pre> - <pre id="var-docstr">Returns the element of coll referred to by key. Each type of collection -can have specific restrictions on the possible keys.</pre> - - - <a href="http://github.com/richhickey/clojure-contrib/blob/7188a51605136f36524e4091fe806859114d6056/src/main/clojure/clojure/contrib/generic/collection.clj#L80" id="var-source">Source</a> -</div><div id="var-entry"> - <br /> - <hr /> - <h2 id="clojure.contrib.generic.collection/into">into</h2> - <span id="var-type">multimethod</span><br /> - <pre id="var-usage">Usage: (into to from) -</pre> - <pre id="var-docstr">Returns a new coll consisting of to-coll with all of the items of -from-coll conjoined.</pre> - - - <a href="http://github.com/richhickey/clojure-contrib/blob/7188a51605136f36524e4091fe806859114d6056/src/main/clojure/clojure/contrib/generic/collection.clj#L95" id="var-source">Source</a> -</div><div id="var-entry"> - <br /> - <hr /> - <h2 id="clojure.contrib.generic.collection/seq">seq</h2> - <span id="var-type">multimethod</span><br /> - <pre id="var-usage">Usage: (seq s) -</pre> - <pre id="var-docstr">Returns a seq on the object s.</pre> - - - <a href="http://github.com/richhickey/clojure-contrib/blob/7188a51605136f36524e4091fe806859114d6056/src/main/clojure/clojure/contrib/generic/collection.clj#L109" id="var-source">Source</a> -</div> - - -</div> - </div> - </div> - </div> - </div> - <div id="foot"> - <div style="text-align: center;" id="copyright">Copyright 2007-2009 by Rich Hickey and the various contributors</div> - </div> - </div> - <div id="DesignedBy">Logo & site design by <a title="Visit Tom Hickey's website." href="http://www.tomhickey.com">Tom Hickey</a>.<br /> - Clojure auto-documentation system by Tom Faulhaber.</div> - </div> - <!-- /AllContentContainer --> - </body> - -</html>
\ No newline at end of file diff --git a/branch-master/generic.comparison-api.html b/branch-master/generic.comparison-api.html deleted file mode 100644 index 01c12067..00000000 --- a/branch-master/generic.comparison-api.html +++ /dev/null @@ -1,259 +0,0 @@ -<html> - <head> - <title>generic.comparison - clojure-contrib next API documentation</title> - <link href="../static/favicon.png" rel="icon" /> - <link href="../static/favicon.png" rel="shortcut icon" /> - <link media="all" type="text/css" href="../static/clojure.css" rel="stylesheet" /> - <link media="all" type="text/css" href="../static/wiki.css" rel="stylesheet" /> - <link media="all" type="text/css" href="../static/internal.css" rel="stylesheet" /> - <!-- TODO: are we using these (from clojure.org)? If so, add the files --> - <script src="file/view/code_highlighter.js" type="text/javascript"></script> - <script src="file/view/clojure.js" type="text/javascript"></script> - <style>.menuWrapper{height: 36px;}</style> - <!--[if lte IE 6]> - <link rel="stylesheet" href="http://www.wikispaces.com/_/2009051601/s/internal_ie.css" type="text/css" /> - <![endif]--> - </head> -<!-- -This document was auto-generated from the source by the clojure autodoc system. -To report errors or ask questions about the overall documentation structure, formatting, -etc., contact Tom Faulhaber (google mail name: tomfaulhaber). -For errors in the documentation of a particular namespace, contact the author of that -namespace. ---> - <body> - <div id="AllContentContainer"> - <div id="Header"> - <a id="Logo" href="index.html"><img alt="Clojure" height="100" width="100" src="../static/clojure-icon.gif" /></a> - <h1><a title="page header title" id="page-header" href="index.html">Clojure-contrib API Reference</a></h1> - </div> - <div id="leftcolumn"><div style="text-align: center;"></div> -<div class="menu"> - <div class="WikiCustomNav WikiElement wiki"> - <span class="toc-header"><span id="project-name">clojure-contrib</span> <span id="version">next</span> API</span><br /> - <ul> - <li><a class="wiki_link" href="index.html">Overview</a></li> - <li><a class="wiki_link" href="api-index.html">API Index</a></li> - </ul> - <span class="toc-header">Namespaces</span> - <ul id="left-sidebar-list"> - <li><a href="accumulators-api.html" class="wiki_link">accumulators</a></li><li><a href="agent-utils-api.html" class="wiki_link">agent-utils</a></li><li><a href="apply-macro-api.html" class="wiki_link">apply-macro</a></li><li><a href="base64-api.html" class="wiki_link">base64</a></li><li><a href="classpath-api.html" class="wiki_link">classpath</a></li><li><a href="combinatorics-api.html" class="wiki_link">combinatorics</a></li><li><a href="command-line-api.html" class="wiki_link">command-line</a></li><li><a href="complex-numbers-api.html" class="wiki_link">complex-numbers</a></li><li><a href="cond-api.html" class="wiki_link">cond</a></li><li><a href="condition-api.html" class="wiki_link">condition</a></li><li><a href="core-api.html" class="wiki_link">core</a></li><li><a href="dataflow-api.html" class="wiki_link">dataflow</a></li><li><a href="datalog-api.html" class="wiki_link">datalog</a></li><li><a href="def-api.html" class="wiki_link">def</a></li><li><a href="duck-streams-api.html" class="wiki_link">duck-streams</a></li><li><a href="error-kit-api.html" class="wiki_link">error-kit</a></li><li><a href="except-api.html" class="wiki_link">except</a></li><li><a href="fcase-api.html" class="wiki_link">fcase</a></li><li><a href="find-namespaces-api.html" class="wiki_link">find-namespaces</a></li><li><a href="fnmap-api.html" class="wiki_link">fnmap</a></li><li><a href="gen-html-docs-api.html" class="wiki_link">gen-html-docs</a></li><li><a href="generic.arithmetic-api.html" class="wiki_link">generic.arithmetic</a></li><li><a href="generic.collection-api.html" class="wiki_link">generic.collection</a></li><li><a href="generic.comparison-api.html" class="wiki_link">generic.comparison</a></li><li><a href="generic.functor-api.html" class="wiki_link">generic.functor</a></li><li><a href="generic.math-functions-api.html" class="wiki_link">generic.math-functions</a></li><li><a href="graph-api.html" class="wiki_link">graph</a></li><li><a href="greatest-least-api.html" class="wiki_link">greatest-least</a></li><li><a href="http.agent-api.html" class="wiki_link">http.agent</a></li><li><a href="http.connection-api.html" class="wiki_link">http.connection</a></li><li><a href="import-static-api.html" class="wiki_link">import-static</a></li><li><a href="io-api.html" class="wiki_link">io</a></li><li><a href="jar-api.html" class="wiki_link">jar</a></li><li><a href="java-utils-api.html" class="wiki_link">java-utils</a></li><li><a href="javadoc.browse-api.html" class="wiki_link">javadoc.browse</a></li><li><a href="jmx-api.html" class="wiki_link">jmx</a></li><li><a href="json-api.html" class="wiki_link">json</a></li><li><a href="lazy-seqs-api.html" class="wiki_link">lazy-seqs</a></li><li><a href="lazy-xml-api.html" class="wiki_link">lazy-xml</a></li><li><a href="logging-api.html" class="wiki_link">logging</a></li><li><a href="macro-utils-api.html" class="wiki_link">macro-utils</a></li><li><a href="macros-api.html" class="wiki_link">macros</a></li><li><a href="map-utils-api.html" class="wiki_link">map-utils</a></li><li><a href="math-api.html" class="wiki_link">math</a></li><li><a href="miglayout-api.html" class="wiki_link">miglayout</a></li><li><a href="mmap-api.html" class="wiki_link">mmap</a></li><li><a href="mock-api.html" class="wiki_link">mock</a></li><li><a href="monadic-io-streams-api.html" class="wiki_link">monadic-io-streams</a></li><li><a href="monads-api.html" class="wiki_link">monads</a></li><li><a href="ns-utils-api.html" class="wiki_link">ns-utils</a></li><li><a href="pprint-api.html" class="wiki_link">pprint</a></li><li><a href="priority-map-api.html" class="wiki_link">priority-map</a></li><li><a href="probabilities.finite-distributions-api.html" class="wiki_link">probabilities.finite-distributions</a></li><li><a href="probabilities.monte-carlo-api.html" class="wiki_link">probabilities.monte-carlo</a></li><li><a href="probabilities.random-numbers-api.html" class="wiki_link">probabilities.random-numbers</a></li><li><a href="profile-api.html" class="wiki_link">profile</a></li><li><a href="properties-api.html" class="wiki_link">properties</a></li><li><a href="prxml-api.html" class="wiki_link">prxml</a></li><li><a href="reflect-api.html" class="wiki_link">reflect</a></li><li><a href="repl-ln-api.html" class="wiki_link">repl-ln</a></li><li><a href="repl-utils-api.html" class="wiki_link">repl-utils</a></li><li><a href="seq-api.html" class="wiki_link">seq</a></li><li><a href="seq-utils-api.html" class="wiki_link">seq-utils</a></li><li><a href="server-socket-api.html" class="wiki_link">server-socket</a></li><li><a href="set-api.html" class="wiki_link">set</a></li><li><a href="shell-api.html" class="wiki_link">shell</a></li><li><a href="shell-out-api.html" class="wiki_link">shell-out</a></li><li><a href="singleton-api.html" class="wiki_link">singleton</a></li><li><a href="sql-api.html" class="wiki_link">sql</a></li><li><a href="str-utils-api.html" class="wiki_link">str-utils</a></li><li><a href="str-utils2-api.html" class="wiki_link">str-utils2</a></li><li><a href="stream-utils-api.html" class="wiki_link">stream-utils</a></li><li><a href="string-api.html" class="wiki_link">string</a></li><li><a href="strint-api.html" class="wiki_link">strint</a></li><li><a href="swing-utils-api.html" class="wiki_link">swing-utils</a></li><li><a href="test-is-api.html" class="wiki_link">test-is</a></li><li><a href="trace-api.html" class="wiki_link">trace</a></li><li><a href="types-api.html" class="wiki_link">types</a></li><li><a href="with-ns-api.html" class="wiki_link">with-ns</a></li><li><a href="zip-filter-api.html" class="wiki_link">zip-filter</a></li> - </ul> - <div class="BranchTOC"> - <span class="toc-header">Other Versions</span> - <ul id="left-sidebar-branch-list"> - <li><a href="../index.html" class="wiki_link">v1.2 (beta 1)</a></li><li><a href="../branch-1.1.x/index.html" class="wiki_link">v1.1 (stable)</a></li> - </ul> - </div> - <a href="http://clojure.org" class="wiki_link">Clojure Home</a> - </div> -</div> -</div> - <div id="rightcolumn"> - <div id="Content"> - <div class="contentBox"><div class="innerContentBox"> - <div id="content_view" class="wiki wikiPage"> - <div id="right-sidebar"><div id="toc"> - <h1 class="nopad">Table of Contents</h1> - <div style="margin-left: 1em;" class="toc-section"> - <a href="#toc0">Overview</a> - <div style="margin-left: 1em;" class="toc-entry"> - <a href="#clojure.contrib.generic.comparison/<"><</a> - </div><div style="margin-left: 1em;" class="toc-entry"> - <a href="#clojure.contrib.generic.comparison/<="><=</a> - </div><div style="margin-left: 1em;" class="toc-entry"> - <a href="#clojure.contrib.generic.comparison/=">=</a> - </div><div style="margin-left: 1em;" class="toc-entry"> - <a href="#clojure.contrib.generic.comparison/>">></a> - </div><div style="margin-left: 1em;" class="toc-entry"> - <a href="#clojure.contrib.generic.comparison/>=">>=</a> - </div><div style="margin-left: 1em;" class="toc-entry"> - <a href="#clojure.contrib.generic.comparison/max">max</a> - </div><div style="margin-left: 1em;" class="toc-entry"> - <a href="#clojure.contrib.generic.comparison/min">min</a> - </div><div style="margin-left: 1em;" class="toc-entry"> - <a href="#clojure.contrib.generic.comparison/neg?">neg?</a> - </div><div style="margin-left: 1em;" class="toc-entry"> - <a href="#clojure.contrib.generic.comparison/pos?">pos?</a> - </div><div style="margin-left: 1em;" class="toc-entry"> - <a href="#clojure.contrib.generic.comparison/zero?">zero?</a> - </div> - <br /> - </div> -</div> -</div> - <div id="content-tag"><h1 id="overview">API for <span id="namespace-name">generic.comparison</span> - - <span id="header-project">clojure-contrib</span> <span id="header-version">next</span> (<span id="header-status">in development</span>) - </h1> -<span id="author-line">by <span id="author-name">Konrad Hinsen</span><br /></span> -<br />Usage: -<pre> -(ns your-namespace - (:require <span id="long-name">clojure.contrib.generic.comparison</span>)) -</pre><pre> -</pre><h2>Overview</h2> -<pre id="namespace-docstr">Generic comparison interface -This library defines generic versions of = < > <= >= zero? -as multimethods that can be defined for any type. Of the -greater/less-than relations, types must minimally implement >.</pre> - - -<br /> -<h2>Public Variables and Functions</h2> -<div id="var-entry"> - <br /> - <hr /> - <h2 id="clojure.contrib.generic.comparison/<"><</h2> - <span id="var-type">multimethod</span><br /> - <pre id="var-usage">Usage: (< x) - (< x y) - (< x y & more) -</pre> - <pre id="var-docstr">Return true if each argument is smaller than the following ones. -The minimal implementation for type ::my-type is the binary form -with dispatch value [::my-type ::my-type]. A default implementation -is provided in terms of >.</pre> - - - <a href="http://github.com/richhickey/clojure-contrib/blob/7188a51605136f36524e4091fe806859114d6056/src/main/clojure/clojure/contrib/generic/comparison.clj#L87" id="var-source">Source</a> -</div><div id="var-entry"> - <br /> - <hr /> - <h2 id="clojure.contrib.generic.comparison/<="><=</h2> - <span id="var-type">multimethod</span><br /> - <pre id="var-usage">Usage: (<= x) - (<= x y) - (<= x y & more) -</pre> - <pre id="var-docstr">Return true if each arguments is smaller than or equal to the following -ones. The minimal implementation for type ::my-type is the binary form -with dispatch value [::my-type ::my-type]. A default implementation -is provided in terms of >.</pre> - - - <a href="http://github.com/richhickey/clojure-contrib/blob/7188a51605136f36524e4091fe806859114d6056/src/main/clojure/clojure/contrib/generic/comparison.clj#L139" id="var-source">Source</a> -</div><div id="var-entry"> - <br /> - <hr /> - <h2 id="clojure.contrib.generic.comparison/=">=</h2> - <span id="var-type">multimethod</span><br /> - <pre id="var-usage">Usage: (= x) - (= x y) - (= x y & more) -</pre> - <pre id="var-docstr">Return true if all arguments are equal. The minimal implementation for type -::my-type is the binary form with dispatch value [::my-type ::my-type].</pre> - - - <a href="http://github.com/richhickey/clojure-contrib/blob/7188a51605136f36524e4091fe806859114d6056/src/main/clojure/clojure/contrib/generic/comparison.clj#L46" id="var-source">Source</a> -</div><div id="var-entry"> - <br /> - <hr /> - <h2 id="clojure.contrib.generic.comparison/>">></h2> - <span id="var-type">multimethod</span><br /> - <pre id="var-usage">Usage: (> x) - (> x y) - (> x y & more) -</pre> - <pre id="var-docstr">Return true if each argument is larger than the following ones. -The minimal implementation for type ::my-type is the binary form -with dispatch value [::my-type ::my-type].</pre> - - - <a href="http://github.com/richhickey/clojure-contrib/blob/7188a51605136f36524e4091fe806859114d6056/src/main/clojure/clojure/contrib/generic/comparison.clj#L66" id="var-source">Source</a> -</div><div id="var-entry"> - <br /> - <hr /> - <h2 id="clojure.contrib.generic.comparison/>=">>=</h2> - <span id="var-type">multimethod</span><br /> - <pre id="var-usage">Usage: (>= x) - (>= x y) - (>= x y & more) -</pre> - <pre id="var-docstr">Return true if each argument is larger than or equal to the following -ones. The minimal implementation for type ::my-type is the binary form -with dispatch value [::my-type ::my-type]. A default implementation -is provided in terms of <.</pre> - - - <a href="http://github.com/richhickey/clojure-contrib/blob/7188a51605136f36524e4091fe806859114d6056/src/main/clojure/clojure/contrib/generic/comparison.clj#L113" id="var-source">Source</a> -</div><div id="var-entry"> - <br /> - <hr /> - <h2 id="clojure.contrib.generic.comparison/max">max</h2> - <span id="var-type">function</span><br /> - <pre id="var-usage">Usage: (max x) - (max x y) - (max x y & more) -</pre> - <pre id="var-docstr">Returns the greatest of its arguments. Like clojure.core/max except that -is uses generic comparison functions implementable for any data type.</pre> - - - <a href="http://github.com/richhickey/clojure-contrib/blob/7188a51605136f36524e4091fe806859114d6056/src/main/clojure/clojure/contrib/generic/comparison.clj#L200" id="var-source">Source</a> -</div><div id="var-entry"> - <br /> - <hr /> - <h2 id="clojure.contrib.generic.comparison/min">min</h2> - <span id="var-type">function</span><br /> - <pre id="var-usage">Usage: (min x) - (min x y) - (min x y & more) -</pre> - <pre id="var-docstr">Returns the least of its arguments. Like clojure.core/min except that -is uses generic comparison functions implementable for any data type.</pre> - - - <a href="http://github.com/richhickey/clojure-contrib/blob/7188a51605136f36524e4091fe806859114d6056/src/main/clojure/clojure/contrib/generic/comparison.clj#L208" id="var-source">Source</a> -</div><div id="var-entry"> - <br /> - <hr /> - <h2 id="clojure.contrib.generic.comparison/neg?">neg?</h2> - <span id="var-type">multimethod</span><br /> - <pre id="var-usage">Usage: (neg? x) -</pre> - <pre id="var-docstr">Return true of x is negative.</pre> - - - <a href="http://github.com/richhickey/clojure-contrib/blob/7188a51605136f36524e4091fe806859114d6056/src/main/clojure/clojure/contrib/generic/comparison.clj#L38" id="var-source">Source</a> -</div><div id="var-entry"> - <br /> - <hr /> - <h2 id="clojure.contrib.generic.comparison/pos?">pos?</h2> - <span id="var-type">multimethod</span><br /> - <pre id="var-usage">Usage: (pos? x) -</pre> - <pre id="var-docstr">Return true of x is positive.</pre> - - - <a href="http://github.com/richhickey/clojure-contrib/blob/7188a51605136f36524e4091fe806859114d6056/src/main/clojure/clojure/contrib/generic/comparison.clj#L33" id="var-source">Source</a> -</div><div id="var-entry"> - <br /> - <hr /> - <h2 id="clojure.contrib.generic.comparison/zero?">zero?</h2> - <span id="var-type">multimethod</span><br /> - <pre id="var-usage">Usage: (zero? x) -</pre> - <pre id="var-docstr">Return true of x is zero.</pre> - - - <a href="http://github.com/richhickey/clojure-contrib/blob/7188a51605136f36524e4091fe806859114d6056/src/main/clojure/clojure/contrib/generic/comparison.clj#L28" id="var-source">Source</a> -</div> - - -</div> - </div> - </div> - </div> - </div> - <div id="foot"> - <div style="text-align: center;" id="copyright">Copyright 2007-2009 by Rich Hickey and the various contributors</div> - </div> - </div> - <div id="DesignedBy">Logo & site design by <a title="Visit Tom Hickey's website." href="http://www.tomhickey.com">Tom Hickey</a>.<br /> - Clojure auto-documentation system by Tom Faulhaber.</div> - </div> - <!-- /AllContentContainer --> - </body> - -</html>
\ No newline at end of file diff --git a/branch-master/generic.functor-api.html b/branch-master/generic.functor-api.html deleted file mode 100644 index 39d53330..00000000 --- a/branch-master/generic.functor-api.html +++ /dev/null @@ -1,112 +0,0 @@ -<html> - <head> - <title>generic.functor - clojure-contrib next API documentation</title> - <link href="../static/favicon.png" rel="icon" /> - <link href="../static/favicon.png" rel="shortcut icon" /> - <link media="all" type="text/css" href="../static/clojure.css" rel="stylesheet" /> - <link media="all" type="text/css" href="../static/wiki.css" rel="stylesheet" /> - <link media="all" type="text/css" href="../static/internal.css" rel="stylesheet" /> - <!-- TODO: are we using these (from clojure.org)? If so, add the files --> - <script src="file/view/code_highlighter.js" type="text/javascript"></script> - <script src="file/view/clojure.js" type="text/javascript"></script> - <style>.menuWrapper{height: 36px;}</style> - <!--[if lte IE 6]> - <link rel="stylesheet" href="http://www.wikispaces.com/_/2009051601/s/internal_ie.css" type="text/css" /> - <![endif]--> - </head> -<!-- -This document was auto-generated from the source by the clojure autodoc system. -To report errors or ask questions about the overall documentation structure, formatting, -etc., contact Tom Faulhaber (google mail name: tomfaulhaber). -For errors in the documentation of a particular namespace, contact the author of that -namespace. ---> - <body> - <div id="AllContentContainer"> - <div id="Header"> - <a id="Logo" href="index.html"><img alt="Clojure" height="100" width="100" src="../static/clojure-icon.gif" /></a> - <h1><a title="page header title" id="page-header" href="index.html">Clojure-contrib API Reference</a></h1> - </div> - <div id="leftcolumn"><div style="text-align: center;"></div> -<div class="menu"> - <div class="WikiCustomNav WikiElement wiki"> - <span class="toc-header"><span id="project-name">clojure-contrib</span> <span id="version">next</span> API</span><br /> - <ul> - <li><a class="wiki_link" href="index.html">Overview</a></li> - <li><a class="wiki_link" href="api-index.html">API Index</a></li> - </ul> - <span class="toc-header">Namespaces</span> - <ul id="left-sidebar-list"> - <li><a href="accumulators-api.html" class="wiki_link">accumulators</a></li><li><a href="agent-utils-api.html" class="wiki_link">agent-utils</a></li><li><a href="apply-macro-api.html" class="wiki_link">apply-macro</a></li><li><a href="base64-api.html" class="wiki_link">base64</a></li><li><a href="classpath-api.html" class="wiki_link">classpath</a></li><li><a href="combinatorics-api.html" class="wiki_link">combinatorics</a></li><li><a href="command-line-api.html" class="wiki_link">command-line</a></li><li><a href="complex-numbers-api.html" class="wiki_link">complex-numbers</a></li><li><a href="cond-api.html" class="wiki_link">cond</a></li><li><a href="condition-api.html" class="wiki_link">condition</a></li><li><a href="core-api.html" class="wiki_link">core</a></li><li><a href="dataflow-api.html" class="wiki_link">dataflow</a></li><li><a href="datalog-api.html" class="wiki_link">datalog</a></li><li><a href="def-api.html" class="wiki_link">def</a></li><li><a href="duck-streams-api.html" class="wiki_link">duck-streams</a></li><li><a href="error-kit-api.html" class="wiki_link">error-kit</a></li><li><a href="except-api.html" class="wiki_link">except</a></li><li><a href="fcase-api.html" class="wiki_link">fcase</a></li><li><a href="find-namespaces-api.html" class="wiki_link">find-namespaces</a></li><li><a href="fnmap-api.html" class="wiki_link">fnmap</a></li><li><a href="gen-html-docs-api.html" class="wiki_link">gen-html-docs</a></li><li><a href="generic.arithmetic-api.html" class="wiki_link">generic.arithmetic</a></li><li><a href="generic.collection-api.html" class="wiki_link">generic.collection</a></li><li><a href="generic.comparison-api.html" class="wiki_link">generic.comparison</a></li><li><a href="generic.functor-api.html" class="wiki_link">generic.functor</a></li><li><a href="generic.math-functions-api.html" class="wiki_link">generic.math-functions</a></li><li><a href="graph-api.html" class="wiki_link">graph</a></li><li><a href="greatest-least-api.html" class="wiki_link">greatest-least</a></li><li><a href="http.agent-api.html" class="wiki_link">http.agent</a></li><li><a href="http.connection-api.html" class="wiki_link">http.connection</a></li><li><a href="import-static-api.html" class="wiki_link">import-static</a></li><li><a href="io-api.html" class="wiki_link">io</a></li><li><a href="jar-api.html" class="wiki_link">jar</a></li><li><a href="java-utils-api.html" class="wiki_link">java-utils</a></li><li><a href="javadoc.browse-api.html" class="wiki_link">javadoc.browse</a></li><li><a href="jmx-api.html" class="wiki_link">jmx</a></li><li><a href="json-api.html" class="wiki_link">json</a></li><li><a href="lazy-seqs-api.html" class="wiki_link">lazy-seqs</a></li><li><a href="lazy-xml-api.html" class="wiki_link">lazy-xml</a></li><li><a href="logging-api.html" class="wiki_link">logging</a></li><li><a href="macro-utils-api.html" class="wiki_link">macro-utils</a></li><li><a href="macros-api.html" class="wiki_link">macros</a></li><li><a href="map-utils-api.html" class="wiki_link">map-utils</a></li><li><a href="math-api.html" class="wiki_link">math</a></li><li><a href="miglayout-api.html" class="wiki_link">miglayout</a></li><li><a href="mmap-api.html" class="wiki_link">mmap</a></li><li><a href="mock-api.html" class="wiki_link">mock</a></li><li><a href="monadic-io-streams-api.html" class="wiki_link">monadic-io-streams</a></li><li><a href="monads-api.html" class="wiki_link">monads</a></li><li><a href="ns-utils-api.html" class="wiki_link">ns-utils</a></li><li><a href="pprint-api.html" class="wiki_link">pprint</a></li><li><a href="priority-map-api.html" class="wiki_link">priority-map</a></li><li><a href="probabilities.finite-distributions-api.html" class="wiki_link">probabilities.finite-distributions</a></li><li><a href="probabilities.monte-carlo-api.html" class="wiki_link">probabilities.monte-carlo</a></li><li><a href="probabilities.random-numbers-api.html" class="wiki_link">probabilities.random-numbers</a></li><li><a href="profile-api.html" class="wiki_link">profile</a></li><li><a href="properties-api.html" class="wiki_link">properties</a></li><li><a href="prxml-api.html" class="wiki_link">prxml</a></li><li><a href="reflect-api.html" class="wiki_link">reflect</a></li><li><a href="repl-ln-api.html" class="wiki_link">repl-ln</a></li><li><a href="repl-utils-api.html" class="wiki_link">repl-utils</a></li><li><a href="seq-api.html" class="wiki_link">seq</a></li><li><a href="seq-utils-api.html" class="wiki_link">seq-utils</a></li><li><a href="server-socket-api.html" class="wiki_link">server-socket</a></li><li><a href="set-api.html" class="wiki_link">set</a></li><li><a href="shell-api.html" class="wiki_link">shell</a></li><li><a href="shell-out-api.html" class="wiki_link">shell-out</a></li><li><a href="singleton-api.html" class="wiki_link">singleton</a></li><li><a href="sql-api.html" class="wiki_link">sql</a></li><li><a href="str-utils-api.html" class="wiki_link">str-utils</a></li><li><a href="str-utils2-api.html" class="wiki_link">str-utils2</a></li><li><a href="stream-utils-api.html" class="wiki_link">stream-utils</a></li><li><a href="string-api.html" class="wiki_link">string</a></li><li><a href="strint-api.html" class="wiki_link">strint</a></li><li><a href="swing-utils-api.html" class="wiki_link">swing-utils</a></li><li><a href="test-is-api.html" class="wiki_link">test-is</a></li><li><a href="trace-api.html" class="wiki_link">trace</a></li><li><a href="types-api.html" class="wiki_link">types</a></li><li><a href="with-ns-api.html" class="wiki_link">with-ns</a></li><li><a href="zip-filter-api.html" class="wiki_link">zip-filter</a></li> - </ul> - <div class="BranchTOC"> - <span class="toc-header">Other Versions</span> - <ul id="left-sidebar-branch-list"> - <li><a href="../index.html" class="wiki_link">v1.2 (beta 1)</a></li><li><a href="../branch-1.1.x/index.html" class="wiki_link">v1.1 (stable)</a></li> - </ul> - </div> - <a href="http://clojure.org" class="wiki_link">Clojure Home</a> - </div> -</div> -</div> - <div id="rightcolumn"> - <div id="Content"> - <div class="contentBox"><div class="innerContentBox"> - <div id="content_view" class="wiki wikiPage"> - <div id="right-sidebar"><div id="toc"> - <h1 class="nopad">Table of Contents</h1> - <div style="margin-left: 1em;" class="toc-section"> - <a href="#toc0">Overview</a> - <div style="margin-left: 1em;" class="toc-entry"> - <a href="#clojure.contrib.generic.functor/fmap">fmap</a> - </div> - <br /> - </div> -</div> -</div> - <div id="content-tag"><h1 id="overview">API for <span id="namespace-name">generic.functor</span> - - <span id="header-project">clojure-contrib</span> <span id="header-version">next</span> (<span id="header-status">in development</span>) - </h1> -<span id="author-line">by <span id="author-name">Konrad Hinsen</span><br /></span> -<br />Usage: -<pre> -(ns your-namespace - (:require <span id="long-name">clojure.contrib.generic.functor</span>)) -</pre><pre> -</pre><h2>Overview</h2> -<pre id="namespace-docstr">Generic functor interface (fmap)</pre> - - -<br /> -<h2>Public Variables and Functions</h2> -<div id="var-entry"> - <br /> - <hr /> - <h2 id="clojure.contrib.generic.functor/fmap">fmap</h2> - <span id="var-type">multimethod</span><br /> - <pre id="var-usage">Usage: (fmap f s) -</pre> - <pre id="var-docstr">Applies function f to each item in the data structure s and returns -a structure of the same kind.</pre> - - - <a href="http://github.com/richhickey/clojure-contrib/blob/7188a51605136f36524e4091fe806859114d6056/src/main/clojure/clojure/contrib/generic/functor.clj#L20" id="var-source">Source</a> -</div> - - -</div> - </div> - </div> - </div> - </div> - <div id="foot"> - <div style="text-align: center;" id="copyright">Copyright 2007-2009 by Rich Hickey and the various contributors</div> - </div> - </div> - <div id="DesignedBy">Logo & site design by <a title="Visit Tom Hickey's website." href="http://www.tomhickey.com">Tom Hickey</a>.<br /> - Clojure auto-documentation system by Tom Faulhaber.</div> - </div> - <!-- /AllContentContainer --> - </body> - -</html>
\ No newline at end of file diff --git a/branch-master/generic.math-functions-api.html b/branch-master/generic.math-functions-api.html deleted file mode 100644 index ea68406c..00000000 --- a/branch-master/generic.math-functions-api.html +++ /dev/null @@ -1,362 +0,0 @@ -<html> - <head> - <title>generic.math-functions - clojure-contrib next API documentation</title> - <link href="../static/favicon.png" rel="icon" /> - <link href="../static/favicon.png" rel="shortcut icon" /> - <link media="all" type="text/css" href="../static/clojure.css" rel="stylesheet" /> - <link media="all" type="text/css" href="../static/wiki.css" rel="stylesheet" /> - <link media="all" type="text/css" href="../static/internal.css" rel="stylesheet" /> - <!-- TODO: are we using these (from clojure.org)? If so, add the files --> - <script src="file/view/code_highlighter.js" type="text/javascript"></script> - <script src="file/view/clojure.js" type="text/javascript"></script> - <style>.menuWrapper{height: 36px;}</style> - <!--[if lte IE 6]> - <link rel="stylesheet" href="http://www.wikispaces.com/_/2009051601/s/internal_ie.css" type="text/css" /> - <![endif]--> - </head> -<!-- -This document was auto-generated from the source by the clojure autodoc system. -To report errors or ask questions about the overall documentation structure, formatting, -etc., contact Tom Faulhaber (google mail name: tomfaulhaber). -For errors in the documentation of a particular namespace, contact the author of that -namespace. ---> - <body> - <div id="AllContentContainer"> - <div id="Header"> - <a id="Logo" href="index.html"><img alt="Clojure" height="100" width="100" src="../static/clojure-icon.gif" /></a> - <h1><a title="page header title" id="page-header" href="index.html">Clojure-contrib API Reference</a></h1> - </div> - <div id="leftcolumn"><div style="text-align: center;"></div> -<div class="menu"> - <div class="WikiCustomNav WikiElement wiki"> - <span class="toc-header"><span id="project-name">clojure-contrib</span> <span id="version">next</span> API</span><br /> - <ul> - <li><a class="wiki_link" href="index.html">Overview</a></li> - <li><a class="wiki_link" href="api-index.html">API Index</a></li> - </ul> - <span class="toc-header">Namespaces</span> - <ul id="left-sidebar-list"> - <li><a href="accumulators-api.html" class="wiki_link">accumulators</a></li><li><a href="agent-utils-api.html" class="wiki_link">agent-utils</a></li><li><a href="apply-macro-api.html" class="wiki_link">apply-macro</a></li><li><a href="base64-api.html" class="wiki_link">base64</a></li><li><a href="classpath-api.html" class="wiki_link">classpath</a></li><li><a href="combinatorics-api.html" class="wiki_link">combinatorics</a></li><li><a href="command-line-api.html" class="wiki_link">command-line</a></li><li><a href="complex-numbers-api.html" class="wiki_link">complex-numbers</a></li><li><a href="cond-api.html" class="wiki_link">cond</a></li><li><a href="condition-api.html" class="wiki_link">condition</a></li><li><a href="core-api.html" class="wiki_link">core</a></li><li><a href="dataflow-api.html" class="wiki_link">dataflow</a></li><li><a href="datalog-api.html" class="wiki_link">datalog</a></li><li><a href="def-api.html" class="wiki_link">def</a></li><li><a href="duck-streams-api.html" class="wiki_link">duck-streams</a></li><li><a href="error-kit-api.html" class="wiki_link">error-kit</a></li><li><a href="except-api.html" class="wiki_link">except</a></li><li><a href="fcase-api.html" class="wiki_link">fcase</a></li><li><a href="find-namespaces-api.html" class="wiki_link">find-namespaces</a></li><li><a href="fnmap-api.html" class="wiki_link">fnmap</a></li><li><a href="gen-html-docs-api.html" class="wiki_link">gen-html-docs</a></li><li><a href="generic.arithmetic-api.html" class="wiki_link">generic.arithmetic</a></li><li><a href="generic.collection-api.html" class="wiki_link">generic.collection</a></li><li><a href="generic.comparison-api.html" class="wiki_link">generic.comparison</a></li><li><a href="generic.functor-api.html" class="wiki_link">generic.functor</a></li><li><a href="generic.math-functions-api.html" class="wiki_link">generic.math-functions</a></li><li><a href="graph-api.html" class="wiki_link">graph</a></li><li><a href="greatest-least-api.html" class="wiki_link">greatest-least</a></li><li><a href="http.agent-api.html" class="wiki_link">http.agent</a></li><li><a href="http.connection-api.html" class="wiki_link">http.connection</a></li><li><a href="import-static-api.html" class="wiki_link">import-static</a></li><li><a href="io-api.html" class="wiki_link">io</a></li><li><a href="jar-api.html" class="wiki_link">jar</a></li><li><a href="java-utils-api.html" class="wiki_link">java-utils</a></li><li><a href="javadoc.browse-api.html" class="wiki_link">javadoc.browse</a></li><li><a href="jmx-api.html" class="wiki_link">jmx</a></li><li><a href="json-api.html" class="wiki_link">json</a></li><li><a href="lazy-seqs-api.html" class="wiki_link">lazy-seqs</a></li><li><a href="lazy-xml-api.html" class="wiki_link">lazy-xml</a></li><li><a href="logging-api.html" class="wiki_link">logging</a></li><li><a href="macro-utils-api.html" class="wiki_link">macro-utils</a></li><li><a href="macros-api.html" class="wiki_link">macros</a></li><li><a href="map-utils-api.html" class="wiki_link">map-utils</a></li><li><a href="math-api.html" class="wiki_link">math</a></li><li><a href="miglayout-api.html" class="wiki_link">miglayout</a></li><li><a href="mmap-api.html" class="wiki_link">mmap</a></li><li><a href="mock-api.html" class="wiki_link">mock</a></li><li><a href="monadic-io-streams-api.html" class="wiki_link">monadic-io-streams</a></li><li><a href="monads-api.html" class="wiki_link">monads</a></li><li><a href="ns-utils-api.html" class="wiki_link">ns-utils</a></li><li><a href="pprint-api.html" class="wiki_link">pprint</a></li><li><a href="priority-map-api.html" class="wiki_link">priority-map</a></li><li><a href="probabilities.finite-distributions-api.html" class="wiki_link">probabilities.finite-distributions</a></li><li><a href="probabilities.monte-carlo-api.html" class="wiki_link">probabilities.monte-carlo</a></li><li><a href="probabilities.random-numbers-api.html" class="wiki_link">probabilities.random-numbers</a></li><li><a href="profile-api.html" class="wiki_link">profile</a></li><li><a href="properties-api.html" class="wiki_link">properties</a></li><li><a href="prxml-api.html" class="wiki_link">prxml</a></li><li><a href="reflect-api.html" class="wiki_link">reflect</a></li><li><a href="repl-ln-api.html" class="wiki_link">repl-ln</a></li><li><a href="repl-utils-api.html" class="wiki_link">repl-utils</a></li><li><a href="seq-api.html" class="wiki_link">seq</a></li><li><a href="seq-utils-api.html" class="wiki_link">seq-utils</a></li><li><a href="server-socket-api.html" class="wiki_link">server-socket</a></li><li><a href="set-api.html" class="wiki_link">set</a></li><li><a href="shell-api.html" class="wiki_link">shell</a></li><li><a href="shell-out-api.html" class="wiki_link">shell-out</a></li><li><a href="singleton-api.html" class="wiki_link">singleton</a></li><li><a href="sql-api.html" class="wiki_link">sql</a></li><li><a href="str-utils-api.html" class="wiki_link">str-utils</a></li><li><a href="str-utils2-api.html" class="wiki_link">str-utils2</a></li><li><a href="stream-utils-api.html" class="wiki_link">stream-utils</a></li><li><a href="string-api.html" class="wiki_link">string</a></li><li><a href="strint-api.html" class="wiki_link">strint</a></li><li><a href="swing-utils-api.html" class="wiki_link">swing-utils</a></li><li><a href="test-is-api.html" class="wiki_link">test-is</a></li><li><a href="trace-api.html" class="wiki_link">trace</a></li><li><a href="types-api.html" class="wiki_link">types</a></li><li><a href="with-ns-api.html" class="wiki_link">with-ns</a></li><li><a href="zip-filter-api.html" class="wiki_link">zip-filter</a></li> - </ul> - <div class="BranchTOC"> - <span class="toc-header">Other Versions</span> - <ul id="left-sidebar-branch-list"> - <li><a href="../index.html" class="wiki_link">v1.2 (beta 1)</a></li><li><a href="../branch-1.1.x/index.html" class="wiki_link">v1.1 (stable)</a></li> - </ul> - </div> - <a href="http://clojure.org" class="wiki_link">Clojure Home</a> - </div> -</div> -</div> - <div id="rightcolumn"> - <div id="Content"> - <div class="contentBox"><div class="innerContentBox"> - <div id="content_view" class="wiki wikiPage"> - <div id="right-sidebar"><div id="toc"> - <h1 class="nopad">Table of Contents</h1> - <div style="margin-left: 1em;" class="toc-section"> - <a href="#toc0">Overview</a> - <div style="margin-left: 1em;" class="toc-entry"> - <a href="#clojure.contrib.generic.math-functions/abs">abs</a> - </div><div style="margin-left: 1em;" class="toc-entry"> - <a href="#clojure.contrib.generic.math-functions/acos">acos</a> - </div><div style="margin-left: 1em;" class="toc-entry"> - <a href="#clojure.contrib.generic.math-functions/approx=">approx=</a> - </div><div style="margin-left: 1em;" class="toc-entry"> - <a href="#clojure.contrib.generic.math-functions/asin">asin</a> - </div><div style="margin-left: 1em;" class="toc-entry"> - <a href="#clojure.contrib.generic.math-functions/atan">atan</a> - </div><div style="margin-left: 1em;" class="toc-entry"> - <a href="#clojure.contrib.generic.math-functions/atan2">atan2</a> - </div><div style="margin-left: 1em;" class="toc-entry"> - <a href="#clojure.contrib.generic.math-functions/ceil">ceil</a> - </div><div style="margin-left: 1em;" class="toc-entry"> - <a href="#clojure.contrib.generic.math-functions/conjugate">conjugate</a> - </div><div style="margin-left: 1em;" class="toc-entry"> - <a href="#clojure.contrib.generic.math-functions/cos">cos</a> - </div><div style="margin-left: 1em;" class="toc-entry"> - <a href="#clojure.contrib.generic.math-functions/exp">exp</a> - </div><div style="margin-left: 1em;" class="toc-entry"> - <a href="#clojure.contrib.generic.math-functions/floor">floor</a> - </div><div style="margin-left: 1em;" class="toc-entry"> - <a href="#clojure.contrib.generic.math-functions/log">log</a> - </div><div style="margin-left: 1em;" class="toc-entry"> - <a href="#clojure.contrib.generic.math-functions/pow">pow</a> - </div><div style="margin-left: 1em;" class="toc-entry"> - <a href="#clojure.contrib.generic.math-functions/rint">rint</a> - </div><div style="margin-left: 1em;" class="toc-entry"> - <a href="#clojure.contrib.generic.math-functions/round">round</a> - </div><div style="margin-left: 1em;" class="toc-entry"> - <a href="#clojure.contrib.generic.math-functions/sgn">sgn</a> - </div><div style="margin-left: 1em;" class="toc-entry"> - <a href="#clojure.contrib.generic.math-functions/sin">sin</a> - </div><div style="margin-left: 1em;" class="toc-entry"> - <a href="#clojure.contrib.generic.math-functions/sqr">sqr</a> - </div><div style="margin-left: 1em;" class="toc-entry"> - <a href="#clojure.contrib.generic.math-functions/sqrt">sqrt</a> - </div><div style="margin-left: 1em;" class="toc-entry"> - <a href="#clojure.contrib.generic.math-functions/tan">tan</a> - </div> - <br /> - </div> -</div> -</div> - <div id="content-tag"><h1 id="overview">API for <span id="namespace-name">generic.math-functions</span> - - <span id="header-project">clojure-contrib</span> <span id="header-version">next</span> (<span id="header-status">in development</span>) - </h1> -<span id="author-line">by <span id="author-name">Konrad Hinsen</span><br /></span> -<br />Usage: -<pre> -(ns your-namespace - (:require <span id="long-name">clojure.contrib.generic.math-functions</span>)) -</pre><pre> -</pre><h2>Overview</h2> -<pre id="namespace-docstr">Generic math function interface -This library defines generic versions of common mathematical -functions such as sqrt or sin as multimethods that can be -defined for any type.</pre> - - -<br /> -<h2>Public Variables and Functions</h2> -<div id="var-entry"> - <br /> - <hr /> - <h2 id="clojure.contrib.generic.math-functions/abs">abs</h2> - <span id="var-type">multimethod</span><br /> - <pre id="var-usage">Usage: (abs x) -</pre> - <pre id="var-docstr">Return the abs of x.</pre> - - - <a href="http://github.com/richhickey/clojure-contrib/blob/7188a51605136f36524e4091fe806859114d6056/src/main/clojure/clojure/contrib/generic/math_functions.clj#L53" id="var-source">Source</a> -</div><div id="var-entry"> - <br /> - <hr /> - <h2 id="clojure.contrib.generic.math-functions/acos">acos</h2> - <span id="var-type">multimethod</span><br /> - <pre id="var-usage">Usage: (acos x) -</pre> - <pre id="var-docstr">Return the acos of x.</pre> - - - <a href="http://github.com/richhickey/clojure-contrib/blob/7188a51605136f36524e4091fe806859114d6056/src/main/clojure/clojure/contrib/generic/math_functions.clj#L54" id="var-source">Source</a> -</div><div id="var-entry"> - <br /> - <hr /> - <h2 id="clojure.contrib.generic.math-functions/approx=">approx=</h2> - <span id="var-type">function</span><br /> - <pre id="var-usage">Usage: (approx= x y eps) -</pre> - <pre id="var-docstr">Return true if the absolute value of the difference between x and y -is less than eps.</pre> - - - <a href="http://github.com/richhickey/clojure-contrib/blob/7188a51605136f36524e4091fe806859114d6056/src/main/clojure/clojure/contrib/generic/math_functions.clj#L110" id="var-source">Source</a> -</div><div id="var-entry"> - <br /> - <hr /> - <h2 id="clojure.contrib.generic.math-functions/asin">asin</h2> - <span id="var-type">multimethod</span><br /> - <pre id="var-usage">Usage: (asin x) -</pre> - <pre id="var-docstr">Return the asin of x.</pre> - - - <a href="http://github.com/richhickey/clojure-contrib/blob/7188a51605136f36524e4091fe806859114d6056/src/main/clojure/clojure/contrib/generic/math_functions.clj#L55" id="var-source">Source</a> -</div><div id="var-entry"> - <br /> - <hr /> - <h2 id="clojure.contrib.generic.math-functions/atan">atan</h2> - <span id="var-type">multimethod</span><br /> - <pre id="var-usage">Usage: (atan x) -</pre> - <pre id="var-docstr">Return the atan of x.</pre> - - - <a href="http://github.com/richhickey/clojure-contrib/blob/7188a51605136f36524e4091fe806859114d6056/src/main/clojure/clojure/contrib/generic/math_functions.clj#L56" id="var-source">Source</a> -</div><div id="var-entry"> - <br /> - <hr /> - <h2 id="clojure.contrib.generic.math-functions/atan2">atan2</h2> - <span id="var-type">multimethod</span><br /> - <pre id="var-usage">Usage: (atan2 x y) -</pre> - <pre id="var-docstr">Return the atan2 of x and y.</pre> - - - <a href="http://github.com/richhickey/clojure-contrib/blob/7188a51605136f36524e4091fe806859114d6056/src/main/clojure/clojure/contrib/generic/math_functions.clj#L57" id="var-source">Source</a> -</div><div id="var-entry"> - <br /> - <hr /> - <h2 id="clojure.contrib.generic.math-functions/ceil">ceil</h2> - <span id="var-type">multimethod</span><br /> - <pre id="var-usage">Usage: (ceil x) -</pre> - <pre id="var-docstr">Return the ceil of x.</pre> - - - <a href="http://github.com/richhickey/clojure-contrib/blob/7188a51605136f36524e4091fe806859114d6056/src/main/clojure/clojure/contrib/generic/math_functions.clj#L58" id="var-source">Source</a> -</div><div id="var-entry"> - <br /> - <hr /> - <h2 id="clojure.contrib.generic.math-functions/conjugate">conjugate</h2> - <span id="var-type">multimethod</span><br /> - <pre id="var-usage">Usage: (conjugate x) -</pre> - <pre id="var-docstr">Return the conjugate of x.</pre> - - - <a href="http://github.com/richhickey/clojure-contrib/blob/7188a51605136f36524e4091fe806859114d6056/src/main/clojure/clojure/contrib/generic/math_functions.clj#L87" id="var-source">Source</a> -</div><div id="var-entry"> - <br /> - <hr /> - <h2 id="clojure.contrib.generic.math-functions/cos">cos</h2> - <span id="var-type">multimethod</span><br /> - <pre id="var-usage">Usage: (cos x) -</pre> - <pre id="var-docstr">Return the cos of x.</pre> - - - <a href="http://github.com/richhickey/clojure-contrib/blob/7188a51605136f36524e4091fe806859114d6056/src/main/clojure/clojure/contrib/generic/math_functions.clj#L59" id="var-source">Source</a> -</div><div id="var-entry"> - <br /> - <hr /> - <h2 id="clojure.contrib.generic.math-functions/exp">exp</h2> - <span id="var-type">multimethod</span><br /> - <pre id="var-usage">Usage: (exp x) -</pre> - <pre id="var-docstr">Return the exp of x.</pre> - - - <a href="http://github.com/richhickey/clojure-contrib/blob/7188a51605136f36524e4091fe806859114d6056/src/main/clojure/clojure/contrib/generic/math_functions.clj#L60" id="var-source">Source</a> -</div><div id="var-entry"> - <br /> - <hr /> - <h2 id="clojure.contrib.generic.math-functions/floor">floor</h2> - <span id="var-type">multimethod</span><br /> - <pre id="var-usage">Usage: (floor x) -</pre> - <pre id="var-docstr">Return the floor of x.</pre> - - - <a href="http://github.com/richhickey/clojure-contrib/blob/7188a51605136f36524e4091fe806859114d6056/src/main/clojure/clojure/contrib/generic/math_functions.clj#L61" id="var-source">Source</a> -</div><div id="var-entry"> - <br /> - <hr /> - <h2 id="clojure.contrib.generic.math-functions/log">log</h2> - <span id="var-type">multimethod</span><br /> - <pre id="var-usage">Usage: (log x) -</pre> - <pre id="var-docstr">Return the log of x.</pre> - - - <a href="http://github.com/richhickey/clojure-contrib/blob/7188a51605136f36524e4091fe806859114d6056/src/main/clojure/clojure/contrib/generic/math_functions.clj#L62" id="var-source">Source</a> -</div><div id="var-entry"> - <br /> - <hr /> - <h2 id="clojure.contrib.generic.math-functions/pow">pow</h2> - <span id="var-type">multimethod</span><br /> - <pre id="var-usage">Usage: (pow x y) -</pre> - <pre id="var-docstr">Return the pow of x and y.</pre> - - - <a href="http://github.com/richhickey/clojure-contrib/blob/7188a51605136f36524e4091fe806859114d6056/src/main/clojure/clojure/contrib/generic/math_functions.clj#L63" id="var-source">Source</a> -</div><div id="var-entry"> - <br /> - <hr /> - <h2 id="clojure.contrib.generic.math-functions/rint">rint</h2> - <span id="var-type">multimethod</span><br /> - <pre id="var-usage">Usage: (rint x) -</pre> - <pre id="var-docstr">Return the rint of x.</pre> - - - <a href="http://github.com/richhickey/clojure-contrib/blob/7188a51605136f36524e4091fe806859114d6056/src/main/clojure/clojure/contrib/generic/math_functions.clj#L64" id="var-source">Source</a> -</div><div id="var-entry"> - <br /> - <hr /> - <h2 id="clojure.contrib.generic.math-functions/round">round</h2> - <span id="var-type">multimethod</span><br /> - <pre id="var-usage">Usage: (round x) -</pre> - <pre id="var-docstr">Return the round of x.</pre> - - - <a href="http://github.com/richhickey/clojure-contrib/blob/7188a51605136f36524e4091fe806859114d6056/src/main/clojure/clojure/contrib/generic/math_functions.clj#L65" id="var-source">Source</a> -</div><div id="var-entry"> - <br /> - <hr /> - <h2 id="clojure.contrib.generic.math-functions/sgn">sgn</h2> - <span id="var-type">multimethod</span><br /> - <pre id="var-usage">Usage: (sgn x) -</pre> - <pre id="var-docstr">Return the sign of x (-1, 0, or 1).</pre> - - - <a href="http://github.com/richhickey/clojure-contrib/blob/7188a51605136f36524e4091fe806859114d6056/src/main/clojure/clojure/contrib/generic/math_functions.clj#L73" id="var-source">Source</a> -</div><div id="var-entry"> - <br /> - <hr /> - <h2 id="clojure.contrib.generic.math-functions/sin">sin</h2> - <span id="var-type">multimethod</span><br /> - <pre id="var-usage">Usage: (sin x) -</pre> - <pre id="var-docstr">Return the sin of x.</pre> - - - <a href="http://github.com/richhickey/clojure-contrib/blob/7188a51605136f36524e4091fe806859114d6056/src/main/clojure/clojure/contrib/generic/math_functions.clj#L66" id="var-source">Source</a> -</div><div id="var-entry"> - <br /> - <hr /> - <h2 id="clojure.contrib.generic.math-functions/sqr">sqr</h2> - <span id="var-type">multimethod</span><br /> - <pre id="var-usage">Usage: (sqr x) -</pre> - <pre id="var-docstr">Return the square of x.</pre> - - - <a href="http://github.com/richhickey/clojure-contrib/blob/7188a51605136f36524e4091fe806859114d6056/src/main/clojure/clojure/contrib/generic/math_functions.clj#L98" id="var-source">Source</a> -</div><div id="var-entry"> - <br /> - <hr /> - <h2 id="clojure.contrib.generic.math-functions/sqrt">sqrt</h2> - <span id="var-type">multimethod</span><br /> - <pre id="var-usage">Usage: (sqrt x) -</pre> - <pre id="var-docstr">Return the sqrt of x.</pre> - - - <a href="http://github.com/richhickey/clojure-contrib/blob/7188a51605136f36524e4091fe806859114d6056/src/main/clojure/clojure/contrib/generic/math_functions.clj#L67" id="var-source">Source</a> -</div><div id="var-entry"> - <br /> - <hr /> - <h2 id="clojure.contrib.generic.math-functions/tan">tan</h2> - <span id="var-type">multimethod</span><br /> - <pre id="var-usage">Usage: (tan x) -</pre> - <pre id="var-docstr">Return the tan of x.</pre> - - - <a href="http://github.com/richhickey/clojure-contrib/blob/7188a51605136f36524e4091fe806859114d6056/src/main/clojure/clojure/contrib/generic/math_functions.clj#L68" id="var-source">Source</a> -</div> - - -</div> - </div> - </div> - </div> - </div> - <div id="foot"> - <div style="text-align: center;" id="copyright">Copyright 2007-2009 by Rich Hickey and the various contributors</div> - </div> - </div> - <div id="DesignedBy">Logo & site design by <a title="Visit Tom Hickey's website." href="http://www.tomhickey.com">Tom Hickey</a>.<br /> - Clojure auto-documentation system by Tom Faulhaber.</div> - </div> - <!-- /AllContentContainer --> - </body> - -</html>
\ No newline at end of file diff --git a/branch-master/graph-api.html b/branch-master/graph-api.html deleted file mode 100644 index 012f30ec..00000000 --- a/branch-master/graph-api.html +++ /dev/null @@ -1,306 +0,0 @@ -<html> - <head> - <title>graph - clojure-contrib next API documentation</title> - <link href="../static/favicon.png" rel="icon" /> - <link href="../static/favicon.png" rel="shortcut icon" /> - <link media="all" type="text/css" href="../static/clojure.css" rel="stylesheet" /> - <link media="all" type="text/css" href="../static/wiki.css" rel="stylesheet" /> - <link media="all" type="text/css" href="../static/internal.css" rel="stylesheet" /> - <!-- TODO: are we using these (from clojure.org)? If so, add the files --> - <script src="file/view/code_highlighter.js" type="text/javascript"></script> - <script src="file/view/clojure.js" type="text/javascript"></script> - <style>.menuWrapper{height: 36px;}</style> - <!--[if lte IE 6]> - <link rel="stylesheet" href="http://www.wikispaces.com/_/2009051601/s/internal_ie.css" type="text/css" /> - <![endif]--> - </head> -<!-- -This document was auto-generated from the source by the clojure autodoc system. -To report errors or ask questions about the overall documentation structure, formatting, -etc., contact Tom Faulhaber (google mail name: tomfaulhaber). -For errors in the documentation of a particular namespace, contact the author of that -namespace. ---> - <body> - <div id="AllContentContainer"> - <div id="Header"> - <a id="Logo" href="index.html"><img alt="Clojure" height="100" width="100" src="../static/clojure-icon.gif" /></a> - <h1><a title="page header title" id="page-header" href="index.html">Clojure-contrib API Reference</a></h1> - </div> - <div id="leftcolumn"><div style="text-align: center;"></div> -<div class="menu"> - <div class="WikiCustomNav WikiElement wiki"> - <span class="toc-header"><span id="project-name">clojure-contrib</span> <span id="version">next</span> API</span><br /> - <ul> - <li><a class="wiki_link" href="index.html">Overview</a></li> - <li><a class="wiki_link" href="api-index.html">API Index</a></li> - </ul> - <span class="toc-header">Namespaces</span> - <ul id="left-sidebar-list"> - <li><a href="accumulators-api.html" class="wiki_link">accumulators</a></li><li><a href="agent-utils-api.html" class="wiki_link">agent-utils</a></li><li><a href="apply-macro-api.html" class="wiki_link">apply-macro</a></li><li><a href="base64-api.html" class="wiki_link">base64</a></li><li><a href="classpath-api.html" class="wiki_link">classpath</a></li><li><a href="combinatorics-api.html" class="wiki_link">combinatorics</a></li><li><a href="command-line-api.html" class="wiki_link">command-line</a></li><li><a href="complex-numbers-api.html" class="wiki_link">complex-numbers</a></li><li><a href="cond-api.html" class="wiki_link">cond</a></li><li><a href="condition-api.html" class="wiki_link">condition</a></li><li><a href="core-api.html" class="wiki_link">core</a></li><li><a href="dataflow-api.html" class="wiki_link">dataflow</a></li><li><a href="datalog-api.html" class="wiki_link">datalog</a></li><li><a href="def-api.html" class="wiki_link">def</a></li><li><a href="duck-streams-api.html" class="wiki_link">duck-streams</a></li><li><a href="error-kit-api.html" class="wiki_link">error-kit</a></li><li><a href="except-api.html" class="wiki_link">except</a></li><li><a href="fcase-api.html" class="wiki_link">fcase</a></li><li><a href="find-namespaces-api.html" class="wiki_link">find-namespaces</a></li><li><a href="fnmap-api.html" class="wiki_link">fnmap</a></li><li><a href="gen-html-docs-api.html" class="wiki_link">gen-html-docs</a></li><li><a href="generic.arithmetic-api.html" class="wiki_link">generic.arithmetic</a></li><li><a href="generic.collection-api.html" class="wiki_link">generic.collection</a></li><li><a href="generic.comparison-api.html" class="wiki_link">generic.comparison</a></li><li><a href="generic.functor-api.html" class="wiki_link">generic.functor</a></li><li><a href="generic.math-functions-api.html" class="wiki_link">generic.math-functions</a></li><li><a href="graph-api.html" class="wiki_link">graph</a></li><li><a href="greatest-least-api.html" class="wiki_link">greatest-least</a></li><li><a href="http.agent-api.html" class="wiki_link">http.agent</a></li><li><a href="http.connection-api.html" class="wiki_link">http.connection</a></li><li><a href="import-static-api.html" class="wiki_link">import-static</a></li><li><a href="io-api.html" class="wiki_link">io</a></li><li><a href="jar-api.html" class="wiki_link">jar</a></li><li><a href="java-utils-api.html" class="wiki_link">java-utils</a></li><li><a href="javadoc.browse-api.html" class="wiki_link">javadoc.browse</a></li><li><a href="jmx-api.html" class="wiki_link">jmx</a></li><li><a href="json-api.html" class="wiki_link">json</a></li><li><a href="lazy-seqs-api.html" class="wiki_link">lazy-seqs</a></li><li><a href="lazy-xml-api.html" class="wiki_link">lazy-xml</a></li><li><a href="logging-api.html" class="wiki_link">logging</a></li><li><a href="macro-utils-api.html" class="wiki_link">macro-utils</a></li><li><a href="macros-api.html" class="wiki_link">macros</a></li><li><a href="map-utils-api.html" class="wiki_link">map-utils</a></li><li><a href="math-api.html" class="wiki_link">math</a></li><li><a href="miglayout-api.html" class="wiki_link">miglayout</a></li><li><a href="mmap-api.html" class="wiki_link">mmap</a></li><li><a href="mock-api.html" class="wiki_link">mock</a></li><li><a href="monadic-io-streams-api.html" class="wiki_link">monadic-io-streams</a></li><li><a href="monads-api.html" class="wiki_link">monads</a></li><li><a href="ns-utils-api.html" class="wiki_link">ns-utils</a></li><li><a href="pprint-api.html" class="wiki_link">pprint</a></li><li><a href="priority-map-api.html" class="wiki_link">priority-map</a></li><li><a href="probabilities.finite-distributions-api.html" class="wiki_link">probabilities.finite-distributions</a></li><li><a href="probabilities.monte-carlo-api.html" class="wiki_link">probabilities.monte-carlo</a></li><li><a href="probabilities.random-numbers-api.html" class="wiki_link">probabilities.random-numbers</a></li><li><a href="profile-api.html" class="wiki_link">profile</a></li><li><a href="properties-api.html" class="wiki_link">properties</a></li><li><a href="prxml-api.html" class="wiki_link">prxml</a></li><li><a href="reflect-api.html" class="wiki_link">reflect</a></li><li><a href="repl-ln-api.html" class="wiki_link">repl-ln</a></li><li><a href="repl-utils-api.html" class="wiki_link">repl-utils</a></li><li><a href="seq-api.html" class="wiki_link">seq</a></li><li><a href="seq-utils-api.html" class="wiki_link">seq-utils</a></li><li><a href="server-socket-api.html" class="wiki_link">server-socket</a></li><li><a href="set-api.html" class="wiki_link">set</a></li><li><a href="shell-api.html" class="wiki_link">shell</a></li><li><a href="shell-out-api.html" class="wiki_link">shell-out</a></li><li><a href="singleton-api.html" class="wiki_link">singleton</a></li><li><a href="sql-api.html" class="wiki_link">sql</a></li><li><a href="str-utils-api.html" class="wiki_link">str-utils</a></li><li><a href="str-utils2-api.html" class="wiki_link">str-utils2</a></li><li><a href="stream-utils-api.html" class="wiki_link">stream-utils</a></li><li><a href="string-api.html" class="wiki_link">string</a></li><li><a href="strint-api.html" class="wiki_link">strint</a></li><li><a href="swing-utils-api.html" class="wiki_link">swing-utils</a></li><li><a href="test-is-api.html" class="wiki_link">test-is</a></li><li><a href="trace-api.html" class="wiki_link">trace</a></li><li><a href="types-api.html" class="wiki_link">types</a></li><li><a href="with-ns-api.html" class="wiki_link">with-ns</a></li><li><a href="zip-filter-api.html" class="wiki_link">zip-filter</a></li> - </ul> - <div class="BranchTOC"> - <span class="toc-header">Other Versions</span> - <ul id="left-sidebar-branch-list"> - <li><a href="../index.html" class="wiki_link">v1.2 (beta 1)</a></li><li><a href="../branch-1.1.x/index.html" class="wiki_link">v1.1 (stable)</a></li> - </ul> - </div> - <a href="http://clojure.org" class="wiki_link">Clojure Home</a> - </div> -</div> -</div> - <div id="rightcolumn"> - <div id="Content"> - <div class="contentBox"><div class="innerContentBox"> - <div id="content_view" class="wiki wikiPage"> - <div id="right-sidebar"><div id="toc"> - <h1 class="nopad">Table of Contents</h1> - <div style="margin-left: 1em;" class="toc-section"> - <a href="#toc0">Overview</a> - <div style="margin-left: 1em;" class="toc-entry"> - <a href="#clojure.contrib.graph/add-loops">add-loops</a> - </div><div style="margin-left: 1em;" class="toc-entry"> - <a href="#clojure.contrib.graph/component-graph">component-graph</a> - </div><div style="margin-left: 1em;" class="toc-entry"> - <a href="#clojure.contrib.graph/dependency-list">dependency-list</a> - </div><div style="margin-left: 1em;" class="toc-entry"> - <a href="#clojure.contrib.graph/fixed-point">fixed-point</a> - </div><div style="margin-left: 1em;" class="toc-entry"> - <a href="#clojure.contrib.graph/get-neighbors">get-neighbors</a> - </div><div style="margin-left: 1em;" class="toc-entry"> - <a href="#clojure.contrib.graph/lazy-walk">lazy-walk</a> - </div><div style="margin-left: 1em;" class="toc-entry"> - <a href="#clojure.contrib.graph/post-ordered-nodes">post-ordered-nodes</a> - </div><div style="margin-left: 1em;" class="toc-entry"> - <a href="#clojure.contrib.graph/recursive-component?">recursive-component?</a> - </div><div style="margin-left: 1em;" class="toc-entry"> - <a href="#clojure.contrib.graph/remove-loops">remove-loops</a> - </div><div style="margin-left: 1em;" class="toc-entry"> - <a href="#clojure.contrib.graph/reverse-graph">reverse-graph</a> - </div><div style="margin-left: 1em;" class="toc-entry"> - <a href="#clojure.contrib.graph/scc">scc</a> - </div><div style="margin-left: 1em;" class="toc-entry"> - <a href="#clojure.contrib.graph/self-recursive-sets">self-recursive-sets</a> - </div><div style="margin-left: 1em;" class="toc-entry"> - <a href="#clojure.contrib.graph/stratification-list">stratification-list</a> - </div><div style="margin-left: 1em;" class="toc-entry"> - <a href="#clojure.contrib.graph/transitive-closure">transitive-closure</a> - </div> - <br /> - </div> -</div> -</div> - <div id="content-tag"><h1 id="overview">API for <span id="namespace-name">graph</span> - - <span id="header-project">clojure-contrib</span> <span id="header-version">next</span> (<span id="header-status">in development</span>) - </h1> -<span id="author-line">by <span id="author-name">Jeffrey Straszheim</span><br /></span> -<br />Usage: -<pre> -(ns your-namespace - (:require <span id="long-name">clojure.contrib.graph</span>)) -</pre><pre> -</pre><h2>Overview</h2> -<pre id="namespace-docstr">Basic graph theory algorithms</pre> - - -<br /> -<h2>Public Variables and Functions</h2> -<div id="var-entry"> - <br /> - <hr /> - <h2 id="clojure.contrib.graph/add-loops">add-loops</h2> - <span id="var-type">function</span><br /> - <pre id="var-usage">Usage: (add-loops g) -</pre> - <pre id="var-docstr">For each node n, add the edge n->n if not already present.</pre> - - - <a href="http://github.com/richhickey/clojure-contrib/blob/7188a51605136f36524e4091fe806859114d6056/src/main/clojure/clojure/contrib/graph.clj#L49" id="var-source">Source</a> -</div><div id="var-entry"> - <br /> - <hr /> - <h2 id="clojure.contrib.graph/component-graph">component-graph</h2> - <span id="var-type">function</span><br /> - <pre id="var-usage">Usage: (component-graph g) - (component-graph g sccs) -</pre> - <pre id="var-docstr">Given a graph, perhaps with cycles, return a reduced graph that is acyclic. -Each node in the new graph will be a set of nodes from the old. -These sets are the strongly connected components. Each edge will -be the union of the corresponding edges of the prior graph.</pre> - - - <a href="http://github.com/richhickey/clojure-contrib/blob/7188a51605136f36524e4091fe806859114d6056/src/main/clojure/clojure/contrib/graph.clj#L133" id="var-source">Source</a> -</div><div id="var-entry"> - <br /> - <hr /> - <h2 id="clojure.contrib.graph/dependency-list">dependency-list</h2> - <span id="var-type">function</span><br /> - <pre id="var-usage">Usage: (dependency-list g) -</pre> - <pre id="var-docstr">Similar to a topological sort, this returns a vector of sets. The -set of nodes at index 0 are independent. The set at index 1 depend -on index 0; those at 2 depend on 0 and 1, and so on. Those withing -a set have no mutual dependencies. Assume the input graph (which -much be acyclic) has an edge a->b when a depends on b.</pre> - - - <a href="http://github.com/richhickey/clojure-contrib/blob/7188a51605136f36524e4091fe806859114d6056/src/main/clojure/clojure/contrib/graph.clj#L190" id="var-source">Source</a> -</div><div id="var-entry"> - <br /> - <hr /> - <h2 id="clojure.contrib.graph/fixed-point">fixed-point</h2> - <span id="var-type">function</span><br /> - <pre id="var-usage">Usage: (fixed-point data fun max equal) -</pre> - <pre id="var-docstr">Repeatedly apply fun to data until (equal old-data new-data) -returns true. If max iterations occur, it will throw an -exception. Set max to nil for unlimited iterations.</pre> - - - <a href="http://github.com/richhickey/clojure-contrib/blob/7188a51605136f36524e4091fe806859114d6056/src/main/clojure/clojure/contrib/graph.clj#L167" id="var-source">Source</a> -</div><div id="var-entry"> - <br /> - <hr /> - <h2 id="clojure.contrib.graph/get-neighbors">get-neighbors</h2> - <span id="var-type">function</span><br /> - <pre id="var-usage">Usage: (get-neighbors g n) -</pre> - <pre id="var-docstr">Get the neighbors of a node.</pre> - - - <a href="http://github.com/richhickey/clojure-contrib/blob/7188a51605136f36524e4091fe806859114d6056/src/main/clojure/clojure/contrib/graph.clj#L29" id="var-source">Source</a> -</div><div id="var-entry"> - <br /> - <hr /> - <h2 id="clojure.contrib.graph/lazy-walk">lazy-walk</h2> - <span id="var-type">function</span><br /> - <pre id="var-usage">Usage: (lazy-walk g n) - (lazy-walk g ns v) -</pre> - <pre id="var-docstr">Return a lazy sequence of the nodes of a graph starting a node n. Optionally, -provide a set of visited notes (v) and a collection of nodes to -visit (ns).</pre> - - - <a href="http://github.com/richhickey/clojure-contrib/blob/7188a51605136f36524e4091fe806859114d6056/src/main/clojure/clojure/contrib/graph.clj#L68" id="var-source">Source</a> -</div><div id="var-entry"> - <br /> - <hr /> - <h2 id="clojure.contrib.graph/post-ordered-nodes">post-ordered-nodes</h2> - <span id="var-type">function</span><br /> - <pre id="var-usage">Usage: (post-ordered-nodes g) -</pre> - <pre id="var-docstr">Return a sequence of indexes of a post-ordered walk of the graph.</pre> - - - <a href="http://github.com/richhickey/clojure-contrib/blob/7188a51605136f36524e4091fe806859114d6056/src/main/clojure/clojure/contrib/graph.clj#L110" id="var-source">Source</a> -</div><div id="var-entry"> - <br /> - <hr /> - <h2 id="clojure.contrib.graph/recursive-component?">recursive-component?</h2> - <span id="var-type">function</span><br /> - <pre id="var-usage">Usage: (recursive-component? g ns) -</pre> - <pre id="var-docstr">Is the component (recieved from scc) self recursive?</pre> - - - <a href="http://github.com/richhickey/clojure-contrib/blob/7188a51605136f36524e4091fe806859114d6056/src/main/clojure/clojure/contrib/graph.clj#L151" id="var-source">Source</a> -</div><div id="var-entry"> - <br /> - <hr /> - <h2 id="clojure.contrib.graph/remove-loops">remove-loops</h2> - <span id="var-type">function</span><br /> - <pre id="var-usage">Usage: (remove-loops g) -</pre> - <pre id="var-docstr">For each node n, remove any edges n->n.</pre> - - - <a href="http://github.com/richhickey/clojure-contrib/blob/7188a51605136f36524e4091fe806859114d6056/src/main/clojure/clojure/contrib/graph.clj#L57" id="var-source">Source</a> -</div><div id="var-entry"> - <br /> - <hr /> - <h2 id="clojure.contrib.graph/reverse-graph">reverse-graph</h2> - <span id="var-type">function</span><br /> - <pre id="var-usage">Usage: (reverse-graph g) -</pre> - <pre id="var-docstr">Given a directed graph, return another directed graph with the -order of the edges reversed.</pre> - - - <a href="http://github.com/richhickey/clojure-contrib/blob/7188a51605136f36524e4091fe806859114d6056/src/main/clojure/clojure/contrib/graph.clj#L37" id="var-source">Source</a> -</div><div id="var-entry"> - <br /> - <hr /> - <h2 id="clojure.contrib.graph/scc">scc</h2> - <span id="var-type">function</span><br /> - <pre id="var-usage">Usage: (scc g) -</pre> - <pre id="var-docstr">Returns, as a sequence of sets, the strongly connected components -of g.</pre> - - - <a href="http://github.com/richhickey/clojure-contrib/blob/7188a51605136f36524e4091fe806859114d6056/src/main/clojure/clojure/contrib/graph.clj#L117" id="var-source">Source</a> -</div><div id="var-entry"> - <br /> - <hr /> - <h2 id="clojure.contrib.graph/self-recursive-sets">self-recursive-sets</h2> - <span id="var-type">function</span><br /> - <pre id="var-usage">Usage: (self-recursive-sets g) -</pre> - <pre id="var-docstr">Returns, as a sequence of sets, the components of a graph that are -self-recursive.</pre> - - - <a href="http://github.com/richhickey/clojure-contrib/blob/7188a51605136f36524e4091fe806859114d6056/src/main/clojure/clojure/contrib/graph.clj#L158" id="var-source">Source</a> -</div><div id="var-entry"> - <br /> - <hr /> - <h2 id="clojure.contrib.graph/stratification-list">stratification-list</h2> - <span id="var-type">function</span><br /> - <pre id="var-usage">Usage: (stratification-list g1 g2) -</pre> - <pre id="var-docstr">Similar to dependency-list (see doc), except two graphs are -provided. The first is as dependency-list. The second (which may -have cycles) provides a partial-dependency relation. If node a -depends on node b (meaning an edge a->b exists) in the second -graph, node a must be equal or later in the sequence.</pre> - - - <a href="http://github.com/richhickey/clojure-contrib/blob/7188a51605136f36524e4091fe806859114d6056/src/main/clojure/clojure/contrib/graph.clj#L207" id="var-source">Source</a> -</div><div id="var-entry"> - <br /> - <hr /> - <h2 id="clojure.contrib.graph/transitive-closure">transitive-closure</h2> - <span id="var-type">function</span><br /> - <pre id="var-usage">Usage: (transitive-closure g) -</pre> - <pre id="var-docstr">Returns the transitive closure of a graph. The neighbors are lazily computed. - -Note: some version of this algorithm return all edges a->a -regardless of whether such loops exist in the original graph. This -version does not. Loops will be included only if produced by -cycles in the graph. If you have code that depends on such -behavior, call (-> g transitive-closure add-loops)</pre> - - - <a href="http://github.com/richhickey/clojure-contrib/blob/7188a51605136f36524e4091fe806859114d6056/src/main/clojure/clojure/contrib/graph.clj#L81" id="var-source">Source</a> -</div> - - -</div> - </div> - </div> - </div> - </div> - <div id="foot"> - <div style="text-align: center;" id="copyright">Copyright 2007-2009 by Rich Hickey and the various contributors</div> - </div> - </div> - <div id="DesignedBy">Logo & site design by <a title="Visit Tom Hickey's website." href="http://www.tomhickey.com">Tom Hickey</a>.<br /> - Clojure auto-documentation system by Tom Faulhaber.</div> - </div> - <!-- /AllContentContainer --> - </body> - -</html>
\ No newline at end of file diff --git a/branch-master/greatest-least-api.html b/branch-master/greatest-least-api.html deleted file mode 100644 index 8bca6522..00000000 --- a/branch-master/greatest-least-api.html +++ /dev/null @@ -1,202 +0,0 @@ -<html> - <head> - <title>greatest-least - clojure-contrib next API documentation</title> - <link href="../static/favicon.png" rel="icon" /> - <link href="../static/favicon.png" rel="shortcut icon" /> - <link media="all" type="text/css" href="../static/clojure.css" rel="stylesheet" /> - <link media="all" type="text/css" href="../static/wiki.css" rel="stylesheet" /> - <link media="all" type="text/css" href="../static/internal.css" rel="stylesheet" /> - <!-- TODO: are we using these (from clojure.org)? If so, add the files --> - <script src="file/view/code_highlighter.js" type="text/javascript"></script> - <script src="file/view/clojure.js" type="text/javascript"></script> - <style>.menuWrapper{height: 36px;}</style> - <!--[if lte IE 6]> - <link rel="stylesheet" href="http://www.wikispaces.com/_/2009051601/s/internal_ie.css" type="text/css" /> - <![endif]--> - </head> -<!-- -This document was auto-generated from the source by the clojure autodoc system. -To report errors or ask questions about the overall documentation structure, formatting, -etc., contact Tom Faulhaber (google mail name: tomfaulhaber). -For errors in the documentation of a particular namespace, contact the author of that -namespace. ---> - <body> - <div id="AllContentContainer"> - <div id="Header"> - <a id="Logo" href="index.html"><img alt="Clojure" height="100" width="100" src="../static/clojure-icon.gif" /></a> - <h1><a title="page header title" id="page-header" href="index.html">Clojure-contrib API Reference</a></h1> - </div> - <div id="leftcolumn"><div style="text-align: center;"></div> -<div class="menu"> - <div class="WikiCustomNav WikiElement wiki"> - <span class="toc-header"><span id="project-name">clojure-contrib</span> <span id="version">next</span> API</span><br /> - <ul> - <li><a class="wiki_link" href="index.html">Overview</a></li> - <li><a class="wiki_link" href="api-index.html">API Index</a></li> - </ul> - <span class="toc-header">Namespaces</span> - <ul id="left-sidebar-list"> - <li><a href="accumulators-api.html" class="wiki_link">accumulators</a></li><li><a href="agent-utils-api.html" class="wiki_link">agent-utils</a></li><li><a href="apply-macro-api.html" class="wiki_link">apply-macro</a></li><li><a href="base64-api.html" class="wiki_link">base64</a></li><li><a href="classpath-api.html" class="wiki_link">classpath</a></li><li><a href="combinatorics-api.html" class="wiki_link">combinatorics</a></li><li><a href="command-line-api.html" class="wiki_link">command-line</a></li><li><a href="complex-numbers-api.html" class="wiki_link">complex-numbers</a></li><li><a href="cond-api.html" class="wiki_link">cond</a></li><li><a href="condition-api.html" class="wiki_link">condition</a></li><li><a href="core-api.html" class="wiki_link">core</a></li><li><a href="dataflow-api.html" class="wiki_link">dataflow</a></li><li><a href="datalog-api.html" class="wiki_link">datalog</a></li><li><a href="def-api.html" class="wiki_link">def</a></li><li><a href="duck-streams-api.html" class="wiki_link">duck-streams</a></li><li><a href="error-kit-api.html" class="wiki_link">error-kit</a></li><li><a href="except-api.html" class="wiki_link">except</a></li><li><a href="fcase-api.html" class="wiki_link">fcase</a></li><li><a href="find-namespaces-api.html" class="wiki_link">find-namespaces</a></li><li><a href="fnmap-api.html" class="wiki_link">fnmap</a></li><li><a href="gen-html-docs-api.html" class="wiki_link">gen-html-docs</a></li><li><a href="generic.arithmetic-api.html" class="wiki_link">generic.arithmetic</a></li><li><a href="generic.collection-api.html" class="wiki_link">generic.collection</a></li><li><a href="generic.comparison-api.html" class="wiki_link">generic.comparison</a></li><li><a href="generic.functor-api.html" class="wiki_link">generic.functor</a></li><li><a href="generic.math-functions-api.html" class="wiki_link">generic.math-functions</a></li><li><a href="graph-api.html" class="wiki_link">graph</a></li><li><a href="greatest-least-api.html" class="wiki_link">greatest-least</a></li><li><a href="http.agent-api.html" class="wiki_link">http.agent</a></li><li><a href="http.connection-api.html" class="wiki_link">http.connection</a></li><li><a href="import-static-api.html" class="wiki_link">import-static</a></li><li><a href="io-api.html" class="wiki_link">io</a></li><li><a href="jar-api.html" class="wiki_link">jar</a></li><li><a href="java-utils-api.html" class="wiki_link">java-utils</a></li><li><a href="javadoc.browse-api.html" class="wiki_link">javadoc.browse</a></li><li><a href="jmx-api.html" class="wiki_link">jmx</a></li><li><a href="json-api.html" class="wiki_link">json</a></li><li><a href="lazy-seqs-api.html" class="wiki_link">lazy-seqs</a></li><li><a href="lazy-xml-api.html" class="wiki_link">lazy-xml</a></li><li><a href="logging-api.html" class="wiki_link">logging</a></li><li><a href="macro-utils-api.html" class="wiki_link">macro-utils</a></li><li><a href="macros-api.html" class="wiki_link">macros</a></li><li><a href="map-utils-api.html" class="wiki_link">map-utils</a></li><li><a href="math-api.html" class="wiki_link">math</a></li><li><a href="miglayout-api.html" class="wiki_link">miglayout</a></li><li><a href="mmap-api.html" class="wiki_link">mmap</a></li><li><a href="mock-api.html" class="wiki_link">mock</a></li><li><a href="monadic-io-streams-api.html" class="wiki_link">monadic-io-streams</a></li><li><a href="monads-api.html" class="wiki_link">monads</a></li><li><a href="ns-utils-api.html" class="wiki_link">ns-utils</a></li><li><a href="pprint-api.html" class="wiki_link">pprint</a></li><li><a href="priority-map-api.html" class="wiki_link">priority-map</a></li><li><a href="probabilities.finite-distributions-api.html" class="wiki_link">probabilities.finite-distributions</a></li><li><a href="probabilities.monte-carlo-api.html" class="wiki_link">probabilities.monte-carlo</a></li><li><a href="probabilities.random-numbers-api.html" class="wiki_link">probabilities.random-numbers</a></li><li><a href="profile-api.html" class="wiki_link">profile</a></li><li><a href="properties-api.html" class="wiki_link">properties</a></li><li><a href="prxml-api.html" class="wiki_link">prxml</a></li><li><a href="reflect-api.html" class="wiki_link">reflect</a></li><li><a href="repl-ln-api.html" class="wiki_link">repl-ln</a></li><li><a href="repl-utils-api.html" class="wiki_link">repl-utils</a></li><li><a href="seq-api.html" class="wiki_link">seq</a></li><li><a href="seq-utils-api.html" class="wiki_link">seq-utils</a></li><li><a href="server-socket-api.html" class="wiki_link">server-socket</a></li><li><a href="set-api.html" class="wiki_link">set</a></li><li><a href="shell-api.html" class="wiki_link">shell</a></li><li><a href="shell-out-api.html" class="wiki_link">shell-out</a></li><li><a href="singleton-api.html" class="wiki_link">singleton</a></li><li><a href="sql-api.html" class="wiki_link">sql</a></li><li><a href="str-utils-api.html" class="wiki_link">str-utils</a></li><li><a href="str-utils2-api.html" class="wiki_link">str-utils2</a></li><li><a href="stream-utils-api.html" class="wiki_link">stream-utils</a></li><li><a href="string-api.html" class="wiki_link">string</a></li><li><a href="strint-api.html" class="wiki_link">strint</a></li><li><a href="swing-utils-api.html" class="wiki_link">swing-utils</a></li><li><a href="test-is-api.html" class="wiki_link">test-is</a></li><li><a href="trace-api.html" class="wiki_link">trace</a></li><li><a href="types-api.html" class="wiki_link">types</a></li><li><a href="with-ns-api.html" class="wiki_link">with-ns</a></li><li><a href="zip-filter-api.html" class="wiki_link">zip-filter</a></li> - </ul> - <div class="BranchTOC"> - <span class="toc-header">Other Versions</span> - <ul id="left-sidebar-branch-list"> - <li><a href="../index.html" class="wiki_link">v1.2 (beta 1)</a></li><li><a href="../branch-1.1.x/index.html" class="wiki_link">v1.1 (stable)</a></li> - </ul> - </div> - <a href="http://clojure.org" class="wiki_link">Clojure Home</a> - </div> -</div> -</div> - <div id="rightcolumn"> - <div id="Content"> - <div class="contentBox"><div class="innerContentBox"> - <div id="content_view" class="wiki wikiPage"> - <div id="right-sidebar"><div id="toc"> - <h1 class="nopad">Table of Contents</h1> - <div style="margin-left: 1em;" class="toc-section"> - <a href="#toc0">Overview</a> - <div style="margin-left: 1em;" class="toc-entry"> - <a href="#clojure.contrib.greatest-least/all-greatest">all-greatest</a> - </div><div style="margin-left: 1em;" class="toc-entry"> - <a href="#clojure.contrib.greatest-least/all-greatest-by">all-greatest-by</a> - </div><div style="margin-left: 1em;" class="toc-entry"> - <a href="#clojure.contrib.greatest-least/all-least">all-least</a> - </div><div style="margin-left: 1em;" class="toc-entry"> - <a href="#clojure.contrib.greatest-least/all-least-by">all-least-by</a> - </div><div style="margin-left: 1em;" class="toc-entry"> - <a href="#clojure.contrib.greatest-least/greatest">greatest</a> - </div><div style="margin-left: 1em;" class="toc-entry"> - <a href="#clojure.contrib.greatest-least/greatest-by">greatest-by</a> - </div><div style="margin-left: 1em;" class="toc-entry"> - <a href="#clojure.contrib.greatest-least/least">least</a> - </div><div style="margin-left: 1em;" class="toc-entry"> - <a href="#clojure.contrib.greatest-least/least-by">least-by</a> - </div> - <br /> - </div> -</div> -</div> - <div id="content-tag"><h1 id="overview">API for <span id="namespace-name">greatest-least</span> - - <span id="header-project">clojure-contrib</span> <span id="header-version">next</span> (<span id="header-status">in development</span>) - </h1> -<span id="author-line">by <span id="author-name">Vincent Foley</span><br /></span> -<br />Usage: -<pre> -(ns your-namespace - (:require <span id="long-name">clojure.contrib.greatest-least</span>)) -</pre><pre> -</pre><h2>Overview</h2> -<pre id="namespace-docstr">Various functions for finding greatest and least values in a collection</pre> - - -<br /> -<h2>Public Variables and Functions</h2> -<div id="var-entry"> - <br /> - <hr /> - <h2 id="clojure.contrib.greatest-least/all-greatest">all-greatest</h2> - <span id="var-type">function</span><br /> - <pre id="var-usage">Usage: (all-greatest & args) -</pre> - <pre id="var-docstr">Returns all the greatest elements.</pre> - - - <a href="http://github.com/richhickey/clojure-contrib/blob/7188a51605136f36524e4091fe806859114d6056/src/main/clojure/clojure/contrib/greatest_least.clj#L52" id="var-source">Source</a> -</div><div id="var-entry"> - <br /> - <hr /> - <h2 id="clojure.contrib.greatest-least/all-greatest-by">all-greatest-by</h2> - <span id="var-type">function</span><br /> - <pre id="var-usage">Usage: (all-greatest-by f & args) -</pre> - <pre id="var-docstr">Return all the elements for which f yields the greatest value.</pre> - - - <a href="http://github.com/richhickey/clojure-contrib/blob/7188a51605136f36524e4091fe806859114d6056/src/main/clojure/clojure/contrib/greatest_least.clj#L47" id="var-source">Source</a> -</div><div id="var-entry"> - <br /> - <hr /> - <h2 id="clojure.contrib.greatest-least/all-least">all-least</h2> - <span id="var-type">function</span><br /> - <pre id="var-usage">Usage: (all-least & args) -</pre> - <pre id="var-docstr">Returns all the least elements.</pre> - - - <a href="http://github.com/richhickey/clojure-contrib/blob/7188a51605136f36524e4091fe806859114d6056/src/main/clojure/clojure/contrib/greatest_least.clj#L62" id="var-source">Source</a> -</div><div id="var-entry"> - <br /> - <hr /> - <h2 id="clojure.contrib.greatest-least/all-least-by">all-least-by</h2> - <span id="var-type">function</span><br /> - <pre id="var-usage">Usage: (all-least-by f & args) -</pre> - <pre id="var-docstr">Return all the elements for which f yields the least value.</pre> - - - <a href="http://github.com/richhickey/clojure-contrib/blob/7188a51605136f36524e4091fe806859114d6056/src/main/clojure/clojure/contrib/greatest_least.clj#L57" id="var-source">Source</a> -</div><div id="var-entry"> - <br /> - <hr /> - <h2 id="clojure.contrib.greatest-least/greatest">greatest</h2> - <span id="var-type">function</span><br /> - <pre id="var-usage">Usage: (greatest & args) -</pre> - <pre id="var-docstr">Return the greatest argument.</pre> - - - <a href="http://github.com/richhickey/clojure-contrib/blob/7188a51605136f36524e4091fe806859114d6056/src/main/clojure/clojure/contrib/greatest_least.clj#L18" id="var-source">Source</a> -</div><div id="var-entry"> - <br /> - <hr /> - <h2 id="clojure.contrib.greatest-least/greatest-by">greatest-by</h2> - <span id="var-type">function</span><br /> - <pre id="var-usage">Usage: (greatest-by f & args) -</pre> - <pre id="var-docstr">Return the argument for which f yields the greatest value.</pre> - - - <a href="http://github.com/richhickey/clojure-contrib/blob/7188a51605136f36524e4091fe806859114d6056/src/main/clojure/clojure/contrib/greatest_least.clj#L13" id="var-source">Source</a> -</div><div id="var-entry"> - <br /> - <hr /> - <h2 id="clojure.contrib.greatest-least/least">least</h2> - <span id="var-type">function</span><br /> - <pre id="var-usage">Usage: (least & args) -</pre> - <pre id="var-docstr">Return the smallest element.</pre> - - - <a href="http://github.com/richhickey/clojure-contrib/blob/7188a51605136f36524e4091fe806859114d6056/src/main/clojure/clojure/contrib/greatest_least.clj#L28" id="var-source">Source</a> -</div><div id="var-entry"> - <br /> - <hr /> - <h2 id="clojure.contrib.greatest-least/least-by">least-by</h2> - <span id="var-type">function</span><br /> - <pre id="var-usage">Usage: (least-by f & args) -</pre> - <pre id="var-docstr">Return the argument for which f yields the smallest value.</pre> - - - <a href="http://github.com/richhickey/clojure-contrib/blob/7188a51605136f36524e4091fe806859114d6056/src/main/clojure/clojure/contrib/greatest_least.clj#L23" id="var-source">Source</a> -</div> - - -</div> - </div> - </div> - </div> - </div> - <div id="foot"> - <div style="text-align: center;" id="copyright">Copyright 2007-2009 by Rich Hickey and the various contributors</div> - </div> - </div> - <div id="DesignedBy">Logo & site design by <a title="Visit Tom Hickey's website." href="http://www.tomhickey.com">Tom Hickey</a>.<br /> - Clojure auto-documentation system by Tom Faulhaber.</div> - </div> - <!-- /AllContentContainer --> - </body> - -</html>
\ No newline at end of file diff --git a/branch-master/http.agent-api.html b/branch-master/http.agent-api.html deleted file mode 100644 index 0974db19..00000000 --- a/branch-master/http.agent-api.html +++ /dev/null @@ -1,481 +0,0 @@ -<html> - <head> - <title>http.agent - clojure-contrib next API documentation</title> - <link href="../static/favicon.png" rel="icon" /> - <link href="../static/favicon.png" rel="shortcut icon" /> - <link media="all" type="text/css" href="../static/clojure.css" rel="stylesheet" /> - <link media="all" type="text/css" href="../static/wiki.css" rel="stylesheet" /> - <link media="all" type="text/css" href="../static/internal.css" rel="stylesheet" /> - <!-- TODO: are we using these (from clojure.org)? If so, add the files --> - <script src="file/view/code_highlighter.js" type="text/javascript"></script> - <script src="file/view/clojure.js" type="text/javascript"></script> - <style>.menuWrapper{height: 36px;}</style> - <!--[if lte IE 6]> - <link rel="stylesheet" href="http://www.wikispaces.com/_/2009051601/s/internal_ie.css" type="text/css" /> - <![endif]--> - </head> -<!-- -This document was auto-generated from the source by the clojure autodoc system. -To report errors or ask questions about the overall documentation structure, formatting, -etc., contact Tom Faulhaber (google mail name: tomfaulhaber). -For errors in the documentation of a particular namespace, contact the author of that -namespace. ---> - <body> - <div id="AllContentContainer"> - <div id="Header"> - <a id="Logo" href="index.html"><img alt="Clojure" height="100" width="100" src="../static/clojure-icon.gif" /></a> - <h1><a title="page header title" id="page-header" href="index.html">Clojure-contrib API Reference</a></h1> - </div> - <div id="leftcolumn"><div style="text-align: center;"></div> -<div class="menu"> - <div class="WikiCustomNav WikiElement wiki"> - <span class="toc-header"><span id="project-name">clojure-contrib</span> <span id="version">next</span> API</span><br /> - <ul> - <li><a class="wiki_link" href="index.html">Overview</a></li> - <li><a class="wiki_link" href="api-index.html">API Index</a></li> - </ul> - <span class="toc-header">Namespaces</span> - <ul id="left-sidebar-list"> - <li><a href="accumulators-api.html" class="wiki_link">accumulators</a></li><li><a href="agent-utils-api.html" class="wiki_link">agent-utils</a></li><li><a href="apply-macro-api.html" class="wiki_link">apply-macro</a></li><li><a href="base64-api.html" class="wiki_link">base64</a></li><li><a href="classpath-api.html" class="wiki_link">classpath</a></li><li><a href="combinatorics-api.html" class="wiki_link">combinatorics</a></li><li><a href="command-line-api.html" class="wiki_link">command-line</a></li><li><a href="complex-numbers-api.html" class="wiki_link">complex-numbers</a></li><li><a href="cond-api.html" class="wiki_link">cond</a></li><li><a href="condition-api.html" class="wiki_link">condition</a></li><li><a href="core-api.html" class="wiki_link">core</a></li><li><a href="dataflow-api.html" class="wiki_link">dataflow</a></li><li><a href="datalog-api.html" class="wiki_link">datalog</a></li><li><a href="def-api.html" class="wiki_link">def</a></li><li><a href="duck-streams-api.html" class="wiki_link">duck-streams</a></li><li><a href="error-kit-api.html" class="wiki_link">error-kit</a></li><li><a href="except-api.html" class="wiki_link">except</a></li><li><a href="fcase-api.html" class="wiki_link">fcase</a></li><li><a href="find-namespaces-api.html" class="wiki_link">find-namespaces</a></li><li><a href="fnmap-api.html" class="wiki_link">fnmap</a></li><li><a href="gen-html-docs-api.html" class="wiki_link">gen-html-docs</a></li><li><a href="generic.arithmetic-api.html" class="wiki_link">generic.arithmetic</a></li><li><a href="generic.collection-api.html" class="wiki_link">generic.collection</a></li><li><a href="generic.comparison-api.html" class="wiki_link">generic.comparison</a></li><li><a href="generic.functor-api.html" class="wiki_link">generic.functor</a></li><li><a href="generic.math-functions-api.html" class="wiki_link">generic.math-functions</a></li><li><a href="graph-api.html" class="wiki_link">graph</a></li><li><a href="greatest-least-api.html" class="wiki_link">greatest-least</a></li><li><a href="http.agent-api.html" class="wiki_link">http.agent</a></li><li><a href="http.connection-api.html" class="wiki_link">http.connection</a></li><li><a href="import-static-api.html" class="wiki_link">import-static</a></li><li><a href="io-api.html" class="wiki_link">io</a></li><li><a href="jar-api.html" class="wiki_link">jar</a></li><li><a href="java-utils-api.html" class="wiki_link">java-utils</a></li><li><a href="javadoc.browse-api.html" class="wiki_link">javadoc.browse</a></li><li><a href="jmx-api.html" class="wiki_link">jmx</a></li><li><a href="json-api.html" class="wiki_link">json</a></li><li><a href="lazy-seqs-api.html" class="wiki_link">lazy-seqs</a></li><li><a href="lazy-xml-api.html" class="wiki_link">lazy-xml</a></li><li><a href="logging-api.html" class="wiki_link">logging</a></li><li><a href="macro-utils-api.html" class="wiki_link">macro-utils</a></li><li><a href="macros-api.html" class="wiki_link">macros</a></li><li><a href="map-utils-api.html" class="wiki_link">map-utils</a></li><li><a href="math-api.html" class="wiki_link">math</a></li><li><a href="miglayout-api.html" class="wiki_link">miglayout</a></li><li><a href="mmap-api.html" class="wiki_link">mmap</a></li><li><a href="mock-api.html" class="wiki_link">mock</a></li><li><a href="monadic-io-streams-api.html" class="wiki_link">monadic-io-streams</a></li><li><a href="monads-api.html" class="wiki_link">monads</a></li><li><a href="ns-utils-api.html" class="wiki_link">ns-utils</a></li><li><a href="pprint-api.html" class="wiki_link">pprint</a></li><li><a href="priority-map-api.html" class="wiki_link">priority-map</a></li><li><a href="probabilities.finite-distributions-api.html" class="wiki_link">probabilities.finite-distributions</a></li><li><a href="probabilities.monte-carlo-api.html" class="wiki_link">probabilities.monte-carlo</a></li><li><a href="probabilities.random-numbers-api.html" class="wiki_link">probabilities.random-numbers</a></li><li><a href="profile-api.html" class="wiki_link">profile</a></li><li><a href="properties-api.html" class="wiki_link">properties</a></li><li><a href="prxml-api.html" class="wiki_link">prxml</a></li><li><a href="reflect-api.html" class="wiki_link">reflect</a></li><li><a href="repl-ln-api.html" class="wiki_link">repl-ln</a></li><li><a href="repl-utils-api.html" class="wiki_link">repl-utils</a></li><li><a href="seq-api.html" class="wiki_link">seq</a></li><li><a href="seq-utils-api.html" class="wiki_link">seq-utils</a></li><li><a href="server-socket-api.html" class="wiki_link">server-socket</a></li><li><a href="set-api.html" class="wiki_link">set</a></li><li><a href="shell-api.html" class="wiki_link">shell</a></li><li><a href="shell-out-api.html" class="wiki_link">shell-out</a></li><li><a href="singleton-api.html" class="wiki_link">singleton</a></li><li><a href="sql-api.html" class="wiki_link">sql</a></li><li><a href="str-utils-api.html" class="wiki_link">str-utils</a></li><li><a href="str-utils2-api.html" class="wiki_link">str-utils2</a></li><li><a href="stream-utils-api.html" class="wiki_link">stream-utils</a></li><li><a href="string-api.html" class="wiki_link">string</a></li><li><a href="strint-api.html" class="wiki_link">strint</a></li><li><a href="swing-utils-api.html" class="wiki_link">swing-utils</a></li><li><a href="test-is-api.html" class="wiki_link">test-is</a></li><li><a href="trace-api.html" class="wiki_link">trace</a></li><li><a href="types-api.html" class="wiki_link">types</a></li><li><a href="with-ns-api.html" class="wiki_link">with-ns</a></li><li><a href="zip-filter-api.html" class="wiki_link">zip-filter</a></li> - </ul> - <div class="BranchTOC"> - <span class="toc-header">Other Versions</span> - <ul id="left-sidebar-branch-list"> - <li><a href="../index.html" class="wiki_link">v1.2 (beta 1)</a></li><li><a href="../branch-1.1.x/index.html" class="wiki_link">v1.1 (stable)</a></li> - </ul> - </div> - <a href="http://clojure.org" class="wiki_link">Clojure Home</a> - </div> -</div> -</div> - <div id="rightcolumn"> - <div id="Content"> - <div class="contentBox"><div class="innerContentBox"> - <div id="content_view" class="wiki wikiPage"> - <div id="right-sidebar"><div id="toc"> - <h1 class="nopad">Table of Contents</h1> - <div style="margin-left: 1em;" class="toc-section"> - <a href="#toc0">Overview</a> - <div style="margin-left: 1em;" class="toc-entry"> - <a href="#clojure.contrib.http.agent/buffer-bytes">buffer-bytes</a> - </div><div style="margin-left: 1em;" class="toc-entry"> - <a href="#clojure.contrib.http.agent/bytes">bytes</a> - </div><div style="margin-left: 1em;" class="toc-entry"> - <a href="#clojure.contrib.http.agent/client-error?">client-error?</a> - </div><div style="margin-left: 1em;" class="toc-entry"> - <a href="#clojure.contrib.http.agent/done?">done?</a> - </div><div style="margin-left: 1em;" class="toc-entry"> - <a href="#clojure.contrib.http.agent/error?">error?</a> - </div><div style="margin-left: 1em;" class="toc-entry"> - <a href="#clojure.contrib.http.agent/headers">headers</a> - </div><div style="margin-left: 1em;" class="toc-entry"> - <a href="#clojure.contrib.http.agent/headers-seq">headers-seq</a> - </div><div style="margin-left: 1em;" class="toc-entry"> - <a href="#clojure.contrib.http.agent/http-agent">http-agent</a> - </div><div style="margin-left: 1em;" class="toc-entry"> - <a href="#clojure.contrib.http.agent/message">message</a> - </div><div style="margin-left: 1em;" class="toc-entry"> - <a href="#clojure.contrib.http.agent/method">method</a> - </div><div style="margin-left: 1em;" class="toc-entry"> - <a href="#clojure.contrib.http.agent/redirect?">redirect?</a> - </div><div style="margin-left: 1em;" class="toc-entry"> - <a href="#clojure.contrib.http.agent/request-body">request-body</a> - </div><div style="margin-left: 1em;" class="toc-entry"> - <a href="#clojure.contrib.http.agent/request-headers">request-headers</a> - </div><div style="margin-left: 1em;" class="toc-entry"> - <a href="#clojure.contrib.http.agent/request-uri">request-uri</a> - </div><div style="margin-left: 1em;" class="toc-entry"> - <a href="#clojure.contrib.http.agent/result">result</a> - </div><div style="margin-left: 1em;" class="toc-entry"> - <a href="#clojure.contrib.http.agent/server-error?">server-error?</a> - </div><div style="margin-left: 1em;" class="toc-entry"> - <a href="#clojure.contrib.http.agent/status">status</a> - </div><div style="margin-left: 1em;" class="toc-entry"> - <a href="#clojure.contrib.http.agent/stream">stream</a> - </div><div style="margin-left: 1em;" class="toc-entry"> - <a href="#clojure.contrib.http.agent/string">string</a> - </div><div style="margin-left: 1em;" class="toc-entry"> - <a href="#clojure.contrib.http.agent/success?">success?</a> - </div> - <br /> - </div> -</div> -</div> - <div id="content-tag"><h1 id="overview">API for <span id="namespace-name">http.agent</span> - - <span id="header-project">clojure-contrib</span> <span id="header-version">next</span> (<span id="header-status">in development</span>) - </h1> -<span id="author-line">by <span id="author-name">Stuart Sierra</span><br /></span> -<br />Usage: -<pre> -(ns your-namespace - (:require <span id="long-name">clojure.contrib.http.agent</span>)) -</pre><pre> -</pre><h2>Overview</h2> -<pre id="namespace-docstr">Agent-based asynchronous HTTP client. - -This is a HTTP client library based on Java's HttpURLConnection -class and Clojure's Agent system. It allows you to make multiple -HTTP requests in parallel. - -Start an HTTP request with the 'http-agent' function, which -immediately returns a Clojure Agent. You will never deref this -agent; that is handled by the accessor functions. The agent will -execute the HTTP request on a separate thread. - -If you pass a :handler function to http-agent, that function will be -called as soon as the HTTP response body is ready. The handler -function is called with one argument, the HTTP agent itself. The -handler can read the response body by calling the 'stream' function -on the agent. - -The value returned by the handler function becomes part of the state -of the agent, and you can retrieve it with the 'result' function. -If you call 'result' before the HTTP request has finished, it will -block until the handler function returns. - -If you don't provide a handler function, the default handler will -buffer the entire response body in memory, which you can retrieve -with the 'bytes', 'string', or 'stream' functions. Like 'result', -these functions will block until the HTTP request is completed. - -If you want to check if an HTTP request is finished without -blocking, use the 'done?' function. - -A single GET request could be as simple as: - - (string (http-agent "<a href="http://www.stuartsierra.com/">http://www.stuartsierra.com/</a>")) - -A simple POST might look like: - - (http-agent "http..." :method "POST" :body "foo=1") - -And you could write the response directly to a file like this: - - (require '[clojure.contrib.io :as d]) - - (http-agent "http..." - :handler (fn [agnt] - (with-open [w (d/writer "/tmp/out")] - (d/copy (stream agnt) w))))</pre> - -<span class="ns-deprecated"><span id="content">Deprecated since clojure-contrib version 1.2</span><br /></span> -<br /> -<h2>Public Variables and Functions</h2> -<div id="var-entry"> - <br /> - <hr /> - <h2 id="clojure.contrib.http.agent/buffer-bytes">buffer-bytes</h2> - <span id="var-type">function</span><br /> - <pre id="var-usage">Usage: (buffer-bytes http-agnt) -</pre> - <pre id="var-docstr">The default HTTP agent result handler; it collects the response -body in a java.io.ByteArrayOutputStream, which can later be -retrieved with the 'stream', 'string', and 'bytes' functions.</pre> - - - <a href="http://github.com/richhickey/clojure-contrib/blob/657482a412495b15ef3145c8af93871abdbb1660/src/main/clojure/clojure/contrib/http/agent.clj#L154" id="var-source">Source</a> -</div><div id="var-entry"> - <br /> - <hr /> - <h2 id="clojure.contrib.http.agent/bytes">bytes</h2> - <span id="var-type">function</span><br /> - <pre id="var-usage">Usage: (bytes http-agnt) -</pre> - <pre id="var-docstr">Returns a Java byte array of the content returned by the server; -nil if the content is not yet available.</pre> - - - <a href="http://github.com/richhickey/clojure-contrib/blob/657482a412495b15ef3145c8af93871abdbb1660/src/main/clojure/clojure/contrib/http/agent.clj#L260" id="var-source">Source</a> -</div><div id="var-entry"> - <br /> - <hr /> - <h2 id="clojure.contrib.http.agent/client-error?">client-error?</h2> - <span id="var-type">function</span><br /> - <pre id="var-usage">Usage: (client-error? http-agnt) -</pre> - <pre id="var-docstr">Returns true if the HTTP response code was in the 400-499 range.</pre> - - - <a href="http://github.com/richhickey/clojure-contrib/blob/657482a412495b15ef3145c8af93871abdbb1660/src/main/clojure/clojure/contrib/http/agent.clj#L371" id="var-source">Source</a> -</div><div id="var-entry"> - <br /> - <hr /> - <h2 id="clojure.contrib.http.agent/done?">done?</h2> - <span id="var-type">function</span><br /> - <pre id="var-usage">Usage: (done? http-agnt) -</pre> - <pre id="var-docstr">Returns true if the HTTP request/response has completed.</pre> - - - <a href="http://github.com/richhickey/clojure-contrib/blob/657482a412495b15ef3145c8af93871abdbb1660/src/main/clojure/clojure/contrib/http/agent.clj#L310" id="var-source">Source</a> -</div><div id="var-entry"> - <br /> - <hr /> - <h2 id="clojure.contrib.http.agent/error?">error?</h2> - <span id="var-type">function</span><br /> - <pre id="var-usage">Usage: (error? http-agnt) -</pre> - <pre id="var-docstr">Returns true if the HTTP response code was in the 400-499 range OR -the 500-599 range.</pre> - - - <a href="http://github.com/richhickey/clojure-contrib/blob/657482a412495b15ef3145c8af93871abdbb1660/src/main/clojure/clojure/contrib/http/agent.clj#L381" id="var-source">Source</a> -</div><div id="var-entry"> - <br /> - <hr /> - <h2 id="clojure.contrib.http.agent/headers">headers</h2> - <span id="var-type">function</span><br /> - <pre id="var-usage">Usage: (headers http-agnt) -</pre> - <pre id="var-docstr">Returns a map of HTTP response headers. Header names are converted -to keywords in all lower-case Header values are strings. If a -header appears more than once, only the last value is returned.</pre> - - - <a href="http://github.com/richhickey/clojure-contrib/blob/657482a412495b15ef3145c8af93871abdbb1660/src/main/clojure/clojure/contrib/http/agent.clj#L331" id="var-source">Source</a> -</div><div id="var-entry"> - <br /> - <hr /> - <h2 id="clojure.contrib.http.agent/headers-seq">headers-seq</h2> - <span id="var-type">function</span><br /> - <pre id="var-usage">Usage: (headers-seq http-agnt) -</pre> - <pre id="var-docstr">Returns the HTTP response headers in order as a sequence of -[String,String] pairs. The first 'header' name may be null for the -HTTP status line.</pre> - - - <a href="http://github.com/richhickey/clojure-contrib/blob/657482a412495b15ef3145c8af93871abdbb1660/src/main/clojure/clojure/contrib/http/agent.clj#L341" id="var-source">Source</a> -</div><div id="var-entry"> - <br /> - <hr /> - <h2 id="clojure.contrib.http.agent/http-agent">http-agent</h2> - <span id="var-type">function</span><br /> - <pre id="var-usage">Usage: (http-agent uri & options) -</pre> - <pre id="var-docstr">Creates (and immediately returns) an Agent representing an HTTP -request running in a new thread. - -options are key/value pairs: - -:method string - -The HTTP method name. Default is "GET". - -:headers h - -HTTP headers, as a Map or a sequence of pairs like -([key1,value1], [key2,value2]) Default is nil. - -:body b - -HTTP request entity body, one of nil, String, byte[], InputStream, -Reader, or File. Default is nil. - -:connect-timeout int - -Timeout value, in milliseconds, when opening a connection to the -URL. Default is zero, meaning no timeout. - -:read-timeout int - -Timeout value, in milliseconds, when reading data from the -connection. Default is zero, meaning no timeout. - -:follow-redirects boolean - -If true, HTTP 3xx redirects will be followed automatically. Default -is true. - -:handler f - -Function to be called when the HTTP response body is ready. If you -do not provide a handler function, the default is to buffer the -entire response body in memory. - -The handler function will be called with the HTTP agent as its -argument, and can use the 'stream' function to read the response -body. The return value of this function will be stored in the state -of the agent and can be retrieved with the 'result' function. Any -exceptions thrown by this function will be added to the agent's -error queue (see agent-errors). The default function collects the -response stream in a memory buffer. -</pre> - - - <a href="http://github.com/richhickey/clojure-contrib/blob/657482a412495b15ef3145c8af93871abdbb1660/src/main/clojure/clojure/contrib/http/agent.clj#L175" id="var-source">Source</a> -</div><div id="var-entry"> - <br /> - <hr /> - <h2 id="clojure.contrib.http.agent/message">message</h2> - <span id="var-type">function</span><br /> - <pre id="var-usage">Usage: (message http-agnt) -</pre> - <pre id="var-docstr">Returns the HTTP response message (e.g. 'Not Found'), for this -request, or nil if the response has not yet been received.</pre> - - - <a href="http://github.com/richhickey/clojure-contrib/blob/657482a412495b15ef3145c8af93871abdbb1660/src/main/clojure/clojure/contrib/http/agent.clj#L324" id="var-source">Source</a> -</div><div id="var-entry"> - <br /> - <hr /> - <h2 id="clojure.contrib.http.agent/method">method</h2> - <span id="var-type">function</span><br /> - <pre id="var-usage">Usage: (method http-agnt) -</pre> - <pre id="var-docstr">Returns the HTTP method name used by this HTTP agent, as a String.</pre> - - - <a href="http://github.com/richhickey/clojure-contrib/blob/657482a412495b15ef3145c8af93871abdbb1660/src/main/clojure/clojure/contrib/http/agent.clj#L294" id="var-source">Source</a> -</div><div id="var-entry"> - <br /> - <hr /> - <h2 id="clojure.contrib.http.agent/redirect?">redirect?</h2> - <span id="var-type">function</span><br /> - <pre id="var-usage">Usage: (redirect? http-agnt) -</pre> - <pre id="var-docstr">Returns true if the HTTP response code was in the 300-399 range. - -Note: if the :follow-redirects option was true (the default), -redirects will be followed automatically and a the agent will never -return a 3xx response code.</pre> - - - <a href="http://github.com/richhickey/clojure-contrib/blob/657482a412495b15ef3145c8af93871abdbb1660/src/main/clojure/clojure/contrib/http/agent.clj#L362" id="var-source">Source</a> -</div><div id="var-entry"> - <br /> - <hr /> - <h2 id="clojure.contrib.http.agent/request-body">request-body</h2> - <span id="var-type">function</span><br /> - <pre id="var-usage">Usage: (request-body http-agnt) -</pre> - <pre id="var-docstr">Returns the HTTP request body given to this HTTP agent. - -Note: if the request body was an InputStream or a Reader, it will no -longer be usable.</pre> - - - <a href="http://github.com/richhickey/clojure-contrib/blob/657482a412495b15ef3145c8af93871abdbb1660/src/main/clojure/clojure/contrib/http/agent.clj#L299" id="var-source">Source</a> -</div><div id="var-entry"> - <br /> - <hr /> - <h2 id="clojure.contrib.http.agent/request-headers">request-headers</h2> - <span id="var-type">function</span><br /> - <pre id="var-usage">Usage: (request-headers http-agnt) -</pre> - <pre id="var-docstr">Returns the request headers specified for this HTTP agent.</pre> - - - <a href="http://github.com/richhickey/clojure-contrib/blob/657482a412495b15ef3145c8af93871abdbb1660/src/main/clojure/clojure/contrib/http/agent.clj#L289" id="var-source">Source</a> -</div><div id="var-entry"> - <br /> - <hr /> - <h2 id="clojure.contrib.http.agent/request-uri">request-uri</h2> - <span id="var-type">function</span><br /> - <pre id="var-usage">Usage: (request-uri http-agnt) -</pre> - <pre id="var-docstr">Returns the URI/URL requested by this HTTP agent, as a String.</pre> - - - <a href="http://github.com/richhickey/clojure-contrib/blob/657482a412495b15ef3145c8af93871abdbb1660/src/main/clojure/clojure/contrib/http/agent.clj#L284" id="var-source">Source</a> -</div><div id="var-entry"> - <br /> - <hr /> - <h2 id="clojure.contrib.http.agent/result">result</h2> - <span id="var-type">function</span><br /> - <pre id="var-usage">Usage: (result http-agnt) -</pre> - <pre id="var-docstr">Returns the value returned by the :handler function of the HTTP -agent; blocks until the HTTP request is completed. The default -handler function returns a ByteArrayOutputStream.</pre> - - - <a href="http://github.com/richhickey/clojure-contrib/blob/657482a412495b15ef3145c8af93871abdbb1660/src/main/clojure/clojure/contrib/http/agent.clj#L238" id="var-source">Source</a> -</div><div id="var-entry"> - <br /> - <hr /> - <h2 id="clojure.contrib.http.agent/server-error?">server-error?</h2> - <span id="var-type">function</span><br /> - <pre id="var-usage">Usage: (server-error? http-agnt) -</pre> - <pre id="var-docstr">Returns true if the HTTP response code was in the 500-599 range.</pre> - - - <a href="http://github.com/richhickey/clojure-contrib/blob/657482a412495b15ef3145c8af93871abdbb1660/src/main/clojure/clojure/contrib/http/agent.clj#L376" id="var-source">Source</a> -</div><div id="var-entry"> - <br /> - <hr /> - <h2 id="clojure.contrib.http.agent/status">status</h2> - <span id="var-type">function</span><br /> - <pre id="var-usage">Usage: (status http-agnt) -</pre> - <pre id="var-docstr">Returns the HTTP response status code (e.g. 200, 404) for this -request, as an Integer, or nil if the status has not yet been -received.</pre> - - - <a href="http://github.com/richhickey/clojure-contrib/blob/657482a412495b15ef3145c8af93871abdbb1660/src/main/clojure/clojure/contrib/http/agent.clj#L316" id="var-source">Source</a> -</div><div id="var-entry"> - <br /> - <hr /> - <h2 id="clojure.contrib.http.agent/stream">stream</h2> - <span id="var-type">function</span><br /> - <pre id="var-usage">Usage: (stream http-agnt) -</pre> - <pre id="var-docstr">Returns an InputStream of the HTTP response body. When called by -the handler function passed to http-agent, this is the raw -HttpURLConnection stream. - -If the default handler function was used, this function returns a -ByteArrayInputStream on the buffered response body.</pre> - - - <a href="http://github.com/richhickey/clojure-contrib/blob/657482a412495b15ef3145c8af93871abdbb1660/src/main/clojure/clojure/contrib/http/agent.clj#L246" id="var-source">Source</a> -</div><div id="var-entry"> - <br /> - <hr /> - <h2 id="clojure.contrib.http.agent/string">string</h2> - <span id="var-type">function</span><br /> - <pre id="var-usage">Usage: (string http-agnt) - (string http-agnt encoding) -</pre> - <pre id="var-docstr">Returns the HTTP response body as a string, using the given -encoding. - -If no encoding is given, uses the encoding specified in the server -headers, or clojure.contrib.io/*default-encoding* if it is -not specified.</pre> - - - <a href="http://github.com/richhickey/clojure-contrib/blob/657482a412495b15ef3145c8af93871abdbb1660/src/main/clojure/clojure/contrib/http/agent.clj#L266" id="var-source">Source</a> -</div><div id="var-entry"> - <br /> - <hr /> - <h2 id="clojure.contrib.http.agent/success?">success?</h2> - <span id="var-type">function</span><br /> - <pre id="var-usage">Usage: (success? http-agnt) -</pre> - <pre id="var-docstr">Returns true if the HTTP response code was in the 200-299 range.</pre> - - - <a href="http://github.com/richhickey/clojure-contrib/blob/657482a412495b15ef3145c8af93871abdbb1660/src/main/clojure/clojure/contrib/http/agent.clj#L357" id="var-source">Source</a> -</div> - - -</div> - </div> - </div> - </div> - </div> - <div id="foot"> - <div style="text-align: center;" id="copyright">Copyright 2007-2009 by Rich Hickey and the various contributors</div> - </div> - </div> - <div id="DesignedBy">Logo & site design by <a title="Visit Tom Hickey's website." href="http://www.tomhickey.com">Tom Hickey</a>.<br /> - Clojure auto-documentation system by Tom Faulhaber.</div> - </div> - <!-- /AllContentContainer --> - </body> - -</html>
\ No newline at end of file diff --git a/branch-master/http.connection-api.html b/branch-master/http.connection-api.html deleted file mode 100644 index 0c2c43ce..00000000 --- a/branch-master/http.connection-api.html +++ /dev/null @@ -1,123 +0,0 @@ -<html> - <head> - <title>http.connection - clojure-contrib next API documentation</title> - <link href="../static/favicon.png" rel="icon" /> - <link href="../static/favicon.png" rel="shortcut icon" /> - <link media="all" type="text/css" href="../static/clojure.css" rel="stylesheet" /> - <link media="all" type="text/css" href="../static/wiki.css" rel="stylesheet" /> - <link media="all" type="text/css" href="../static/internal.css" rel="stylesheet" /> - <!-- TODO: are we using these (from clojure.org)? If so, add the files --> - <script src="file/view/code_highlighter.js" type="text/javascript"></script> - <script src="file/view/clojure.js" type="text/javascript"></script> - <style>.menuWrapper{height: 36px;}</style> - <!--[if lte IE 6]> - <link rel="stylesheet" href="http://www.wikispaces.com/_/2009051601/s/internal_ie.css" type="text/css" /> - <![endif]--> - </head> -<!-- -This document was auto-generated from the source by the clojure autodoc system. -To report errors or ask questions about the overall documentation structure, formatting, -etc., contact Tom Faulhaber (google mail name: tomfaulhaber). -For errors in the documentation of a particular namespace, contact the author of that -namespace. ---> - <body> - <div id="AllContentContainer"> - <div id="Header"> - <a id="Logo" href="index.html"><img alt="Clojure" height="100" width="100" src="../static/clojure-icon.gif" /></a> - <h1><a title="page header title" id="page-header" href="index.html">Clojure-contrib API Reference</a></h1> - </div> - <div id="leftcolumn"><div style="text-align: center;"></div> -<div class="menu"> - <div class="WikiCustomNav WikiElement wiki"> - <span class="toc-header"><span id="project-name">clojure-contrib</span> <span id="version">next</span> API</span><br /> - <ul> - <li><a class="wiki_link" href="index.html">Overview</a></li> - <li><a class="wiki_link" href="api-index.html">API Index</a></li> - </ul> - <span class="toc-header">Namespaces</span> - <ul id="left-sidebar-list"> - <li><a href="accumulators-api.html" class="wiki_link">accumulators</a></li><li><a href="agent-utils-api.html" class="wiki_link">agent-utils</a></li><li><a href="apply-macro-api.html" class="wiki_link">apply-macro</a></li><li><a href="base64-api.html" class="wiki_link">base64</a></li><li><a href="classpath-api.html" class="wiki_link">classpath</a></li><li><a href="combinatorics-api.html" class="wiki_link">combinatorics</a></li><li><a href="command-line-api.html" class="wiki_link">command-line</a></li><li><a href="complex-numbers-api.html" class="wiki_link">complex-numbers</a></li><li><a href="cond-api.html" class="wiki_link">cond</a></li><li><a href="condition-api.html" class="wiki_link">condition</a></li><li><a href="core-api.html" class="wiki_link">core</a></li><li><a href="dataflow-api.html" class="wiki_link">dataflow</a></li><li><a href="datalog-api.html" class="wiki_link">datalog</a></li><li><a href="def-api.html" class="wiki_link">def</a></li><li><a href="duck-streams-api.html" class="wiki_link">duck-streams</a></li><li><a href="error-kit-api.html" class="wiki_link">error-kit</a></li><li><a href="except-api.html" class="wiki_link">except</a></li><li><a href="fcase-api.html" class="wiki_link">fcase</a></li><li><a href="find-namespaces-api.html" class="wiki_link">find-namespaces</a></li><li><a href="fnmap-api.html" class="wiki_link">fnmap</a></li><li><a href="gen-html-docs-api.html" class="wiki_link">gen-html-docs</a></li><li><a href="generic.arithmetic-api.html" class="wiki_link">generic.arithmetic</a></li><li><a href="generic.collection-api.html" class="wiki_link">generic.collection</a></li><li><a href="generic.comparison-api.html" class="wiki_link">generic.comparison</a></li><li><a href="generic.functor-api.html" class="wiki_link">generic.functor</a></li><li><a href="generic.math-functions-api.html" class="wiki_link">generic.math-functions</a></li><li><a href="graph-api.html" class="wiki_link">graph</a></li><li><a href="greatest-least-api.html" class="wiki_link">greatest-least</a></li><li><a href="http.agent-api.html" class="wiki_link">http.agent</a></li><li><a href="http.connection-api.html" class="wiki_link">http.connection</a></li><li><a href="import-static-api.html" class="wiki_link">import-static</a></li><li><a href="io-api.html" class="wiki_link">io</a></li><li><a href="jar-api.html" class="wiki_link">jar</a></li><li><a href="java-utils-api.html" class="wiki_link">java-utils</a></li><li><a href="javadoc.browse-api.html" class="wiki_link">javadoc.browse</a></li><li><a href="jmx-api.html" class="wiki_link">jmx</a></li><li><a href="json-api.html" class="wiki_link">json</a></li><li><a href="lazy-seqs-api.html" class="wiki_link">lazy-seqs</a></li><li><a href="lazy-xml-api.html" class="wiki_link">lazy-xml</a></li><li><a href="logging-api.html" class="wiki_link">logging</a></li><li><a href="macro-utils-api.html" class="wiki_link">macro-utils</a></li><li><a href="macros-api.html" class="wiki_link">macros</a></li><li><a href="map-utils-api.html" class="wiki_link">map-utils</a></li><li><a href="math-api.html" class="wiki_link">math</a></li><li><a href="miglayout-api.html" class="wiki_link">miglayout</a></li><li><a href="mmap-api.html" class="wiki_link">mmap</a></li><li><a href="mock-api.html" class="wiki_link">mock</a></li><li><a href="monadic-io-streams-api.html" class="wiki_link">monadic-io-streams</a></li><li><a href="monads-api.html" class="wiki_link">monads</a></li><li><a href="ns-utils-api.html" class="wiki_link">ns-utils</a></li><li><a href="pprint-api.html" class="wiki_link">pprint</a></li><li><a href="priority-map-api.html" class="wiki_link">priority-map</a></li><li><a href="probabilities.finite-distributions-api.html" class="wiki_link">probabilities.finite-distributions</a></li><li><a href="probabilities.monte-carlo-api.html" class="wiki_link">probabilities.monte-carlo</a></li><li><a href="probabilities.random-numbers-api.html" class="wiki_link">probabilities.random-numbers</a></li><li><a href="profile-api.html" class="wiki_link">profile</a></li><li><a href="properties-api.html" class="wiki_link">properties</a></li><li><a href="prxml-api.html" class="wiki_link">prxml</a></li><li><a href="reflect-api.html" class="wiki_link">reflect</a></li><li><a href="repl-ln-api.html" class="wiki_link">repl-ln</a></li><li><a href="repl-utils-api.html" class="wiki_link">repl-utils</a></li><li><a href="seq-api.html" class="wiki_link">seq</a></li><li><a href="seq-utils-api.html" class="wiki_link">seq-utils</a></li><li><a href="server-socket-api.html" class="wiki_link">server-socket</a></li><li><a href="set-api.html" class="wiki_link">set</a></li><li><a href="shell-api.html" class="wiki_link">shell</a></li><li><a href="shell-out-api.html" class="wiki_link">shell-out</a></li><li><a href="singleton-api.html" class="wiki_link">singleton</a></li><li><a href="sql-api.html" class="wiki_link">sql</a></li><li><a href="str-utils-api.html" class="wiki_link">str-utils</a></li><li><a href="str-utils2-api.html" class="wiki_link">str-utils2</a></li><li><a href="stream-utils-api.html" class="wiki_link">stream-utils</a></li><li><a href="string-api.html" class="wiki_link">string</a></li><li><a href="strint-api.html" class="wiki_link">strint</a></li><li><a href="swing-utils-api.html" class="wiki_link">swing-utils</a></li><li><a href="test-is-api.html" class="wiki_link">test-is</a></li><li><a href="trace-api.html" class="wiki_link">trace</a></li><li><a href="types-api.html" class="wiki_link">types</a></li><li><a href="with-ns-api.html" class="wiki_link">with-ns</a></li><li><a href="zip-filter-api.html" class="wiki_link">zip-filter</a></li> - </ul> - <div class="BranchTOC"> - <span class="toc-header">Other Versions</span> - <ul id="left-sidebar-branch-list"> - <li><a href="../index.html" class="wiki_link">v1.2 (beta 1)</a></li><li><a href="../branch-1.1.x/index.html" class="wiki_link">v1.1 (stable)</a></li> - </ul> - </div> - <a href="http://clojure.org" class="wiki_link">Clojure Home</a> - </div> -</div> -</div> - <div id="rightcolumn"> - <div id="Content"> - <div class="contentBox"><div class="innerContentBox"> - <div id="content_view" class="wiki wikiPage"> - <div id="right-sidebar"><div id="toc"> - <h1 class="nopad">Table of Contents</h1> - <div style="margin-left: 1em;" class="toc-section"> - <a href="#toc0">Overview</a> - <div style="margin-left: 1em;" class="toc-entry"> - <a href="#clojure.contrib.http.connection/http-connection">http-connection</a> - </div><div style="margin-left: 1em;" class="toc-entry"> - <a href="#clojure.contrib.http.connection/send-request-entity">send-request-entity</a> - </div> - <br /> - </div> -</div> -</div> - <div id="content-tag"><h1 id="overview">API for <span id="namespace-name">http.connection</span> - - <span id="header-project">clojure-contrib</span> <span id="header-version">next</span> (<span id="header-status">in development</span>) - </h1> - -<br />Usage: -<pre> -(ns your-namespace - (:require <span id="long-name">clojure.contrib.http.connection</span>)) -</pre><pre> -</pre><h2>Overview</h2> -<pre id="namespace-docstr">Low-level HTTP client API around HttpURLConnection</pre> - -<span class="ns-deprecated"><span id="content">Deprecated since clojure-contrib version 1.2</span><br /></span> -<br /> -<h2>Public Variables and Functions</h2> -<div id="var-entry"> - <br /> - <hr /> - <h2 id="clojure.contrib.http.connection/http-connection">http-connection</h2> - <span id="var-type">function</span><br /> - <pre id="var-usage">Usage: (http-connection url) -</pre> - <pre id="var-docstr">Opens an HttpURLConnection at the URL, handled by as-url.</pre> - - - <a href="http://github.com/richhickey/clojure-contrib/blob/657482a412495b15ef3145c8af93871abdbb1660/src/main/clojure/clojure/contrib/http/connection.clj#L24" id="var-source">Source</a> -</div><div id="var-entry"> - <br /> - <hr /> - <h2 id="clojure.contrib.http.connection/send-request-entity">send-request-entity</h2> - <span id="var-type">var</span><br /> - <pre id="var-usage"></pre> - <pre id="var-docstr">Transmits a request entity body.</pre> - - - <a href="http://github.com/richhickey/clojure-contrib/blob/657482a412495b15ef3145c8af93871abdbb1660/src/main/clojure/clojure/contrib/http/connection.clj#L29" id="var-source">Source</a> -</div> - - -</div> - </div> - </div> - </div> - </div> - <div id="foot"> - <div style="text-align: center;" id="copyright">Copyright 2007-2009 by Rich Hickey and the various contributors</div> - </div> - </div> - <div id="DesignedBy">Logo & site design by <a title="Visit Tom Hickey's website." href="http://www.tomhickey.com">Tom Hickey</a>.<br /> - Clojure auto-documentation system by Tom Faulhaber.</div> - </div> - <!-- /AllContentContainer --> - </body> - -</html>
\ No newline at end of file diff --git a/branch-master/import-static-api.html b/branch-master/import-static-api.html deleted file mode 100644 index 5bef3cfa..00000000 --- a/branch-master/import-static-api.html +++ /dev/null @@ -1,124 +0,0 @@ -<html> - <head> - <title>import-static - clojure-contrib next API documentation</title> - <link href="../static/favicon.png" rel="icon" /> - <link href="../static/favicon.png" rel="shortcut icon" /> - <link media="all" type="text/css" href="../static/clojure.css" rel="stylesheet" /> - <link media="all" type="text/css" href="../static/wiki.css" rel="stylesheet" /> - <link media="all" type="text/css" href="../static/internal.css" rel="stylesheet" /> - <!-- TODO: are we using these (from clojure.org)? If so, add the files --> - <script src="file/view/code_highlighter.js" type="text/javascript"></script> - <script src="file/view/clojure.js" type="text/javascript"></script> - <style>.menuWrapper{height: 36px;}</style> - <!--[if lte IE 6]> - <link rel="stylesheet" href="http://www.wikispaces.com/_/2009051601/s/internal_ie.css" type="text/css" /> - <![endif]--> - </head> -<!-- -This document was auto-generated from the source by the clojure autodoc system. -To report errors or ask questions about the overall documentation structure, formatting, -etc., contact Tom Faulhaber (google mail name: tomfaulhaber). -For errors in the documentation of a particular namespace, contact the author of that -namespace. ---> - <body> - <div id="AllContentContainer"> - <div id="Header"> - <a id="Logo" href="index.html"><img alt="Clojure" height="100" width="100" src="../static/clojure-icon.gif" /></a> - <h1><a title="page header title" id="page-header" href="index.html">Clojure-contrib API Reference</a></h1> - </div> - <div id="leftcolumn"><div style="text-align: center;"></div> -<div class="menu"> - <div class="WikiCustomNav WikiElement wiki"> - <span class="toc-header"><span id="project-name">clojure-contrib</span> <span id="version">next</span> API</span><br /> - <ul> - <li><a class="wiki_link" href="index.html">Overview</a></li> - <li><a class="wiki_link" href="api-index.html">API Index</a></li> - </ul> - <span class="toc-header">Namespaces</span> - <ul id="left-sidebar-list"> - <li><a href="accumulators-api.html" class="wiki_link">accumulators</a></li><li><a href="agent-utils-api.html" class="wiki_link">agent-utils</a></li><li><a href="apply-macro-api.html" class="wiki_link">apply-macro</a></li><li><a href="base64-api.html" class="wiki_link">base64</a></li><li><a href="classpath-api.html" class="wiki_link">classpath</a></li><li><a href="combinatorics-api.html" class="wiki_link">combinatorics</a></li><li><a href="command-line-api.html" class="wiki_link">command-line</a></li><li><a href="complex-numbers-api.html" class="wiki_link">complex-numbers</a></li><li><a href="cond-api.html" class="wiki_link">cond</a></li><li><a href="condition-api.html" class="wiki_link">condition</a></li><li><a href="core-api.html" class="wiki_link">core</a></li><li><a href="dataflow-api.html" class="wiki_link">dataflow</a></li><li><a href="datalog-api.html" class="wiki_link">datalog</a></li><li><a href="def-api.html" class="wiki_link">def</a></li><li><a href="duck-streams-api.html" class="wiki_link">duck-streams</a></li><li><a href="error-kit-api.html" class="wiki_link">error-kit</a></li><li><a href="except-api.html" class="wiki_link">except</a></li><li><a href="fcase-api.html" class="wiki_link">fcase</a></li><li><a href="find-namespaces-api.html" class="wiki_link">find-namespaces</a></li><li><a href="fnmap-api.html" class="wiki_link">fnmap</a></li><li><a href="gen-html-docs-api.html" class="wiki_link">gen-html-docs</a></li><li><a href="generic.arithmetic-api.html" class="wiki_link">generic.arithmetic</a></li><li><a href="generic.collection-api.html" class="wiki_link">generic.collection</a></li><li><a href="generic.comparison-api.html" class="wiki_link">generic.comparison</a></li><li><a href="generic.functor-api.html" class="wiki_link">generic.functor</a></li><li><a href="generic.math-functions-api.html" class="wiki_link">generic.math-functions</a></li><li><a href="graph-api.html" class="wiki_link">graph</a></li><li><a href="greatest-least-api.html" class="wiki_link">greatest-least</a></li><li><a href="http.agent-api.html" class="wiki_link">http.agent</a></li><li><a href="http.connection-api.html" class="wiki_link">http.connection</a></li><li><a href="import-static-api.html" class="wiki_link">import-static</a></li><li><a href="io-api.html" class="wiki_link">io</a></li><li><a href="jar-api.html" class="wiki_link">jar</a></li><li><a href="java-utils-api.html" class="wiki_link">java-utils</a></li><li><a href="javadoc.browse-api.html" class="wiki_link">javadoc.browse</a></li><li><a href="jmx-api.html" class="wiki_link">jmx</a></li><li><a href="json-api.html" class="wiki_link">json</a></li><li><a href="lazy-seqs-api.html" class="wiki_link">lazy-seqs</a></li><li><a href="lazy-xml-api.html" class="wiki_link">lazy-xml</a></li><li><a href="logging-api.html" class="wiki_link">logging</a></li><li><a href="macro-utils-api.html" class="wiki_link">macro-utils</a></li><li><a href="macros-api.html" class="wiki_link">macros</a></li><li><a href="map-utils-api.html" class="wiki_link">map-utils</a></li><li><a href="math-api.html" class="wiki_link">math</a></li><li><a href="miglayout-api.html" class="wiki_link">miglayout</a></li><li><a href="mmap-api.html" class="wiki_link">mmap</a></li><li><a href="mock-api.html" class="wiki_link">mock</a></li><li><a href="monadic-io-streams-api.html" class="wiki_link">monadic-io-streams</a></li><li><a href="monads-api.html" class="wiki_link">monads</a></li><li><a href="ns-utils-api.html" class="wiki_link">ns-utils</a></li><li><a href="pprint-api.html" class="wiki_link">pprint</a></li><li><a href="priority-map-api.html" class="wiki_link">priority-map</a></li><li><a href="probabilities.finite-distributions-api.html" class="wiki_link">probabilities.finite-distributions</a></li><li><a href="probabilities.monte-carlo-api.html" class="wiki_link">probabilities.monte-carlo</a></li><li><a href="probabilities.random-numbers-api.html" class="wiki_link">probabilities.random-numbers</a></li><li><a href="profile-api.html" class="wiki_link">profile</a></li><li><a href="properties-api.html" class="wiki_link">properties</a></li><li><a href="prxml-api.html" class="wiki_link">prxml</a></li><li><a href="reflect-api.html" class="wiki_link">reflect</a></li><li><a href="repl-ln-api.html" class="wiki_link">repl-ln</a></li><li><a href="repl-utils-api.html" class="wiki_link">repl-utils</a></li><li><a href="seq-api.html" class="wiki_link">seq</a></li><li><a href="seq-utils-api.html" class="wiki_link">seq-utils</a></li><li><a href="server-socket-api.html" class="wiki_link">server-socket</a></li><li><a href="set-api.html" class="wiki_link">set</a></li><li><a href="shell-api.html" class="wiki_link">shell</a></li><li><a href="shell-out-api.html" class="wiki_link">shell-out</a></li><li><a href="singleton-api.html" class="wiki_link">singleton</a></li><li><a href="sql-api.html" class="wiki_link">sql</a></li><li><a href="str-utils-api.html" class="wiki_link">str-utils</a></li><li><a href="str-utils2-api.html" class="wiki_link">str-utils2</a></li><li><a href="stream-utils-api.html" class="wiki_link">stream-utils</a></li><li><a href="string-api.html" class="wiki_link">string</a></li><li><a href="strint-api.html" class="wiki_link">strint</a></li><li><a href="swing-utils-api.html" class="wiki_link">swing-utils</a></li><li><a href="test-is-api.html" class="wiki_link">test-is</a></li><li><a href="trace-api.html" class="wiki_link">trace</a></li><li><a href="types-api.html" class="wiki_link">types</a></li><li><a href="with-ns-api.html" class="wiki_link">with-ns</a></li><li><a href="zip-filter-api.html" class="wiki_link">zip-filter</a></li> - </ul> - <div class="BranchTOC"> - <span class="toc-header">Other Versions</span> - <ul id="left-sidebar-branch-list"> - <li><a href="../index.html" class="wiki_link">v1.2 (beta 1)</a></li><li><a href="../branch-1.1.x/index.html" class="wiki_link">v1.1 (stable)</a></li> - </ul> - </div> - <a href="http://clojure.org" class="wiki_link">Clojure Home</a> - </div> -</div> -</div> - <div id="rightcolumn"> - <div id="Content"> - <div class="contentBox"><div class="innerContentBox"> - <div id="content_view" class="wiki wikiPage"> - <div id="right-sidebar"><div id="toc"> - <h1 class="nopad">Table of Contents</h1> - <div style="margin-left: 1em;" class="toc-section"> - <a href="#toc0">Overview</a> - <div style="margin-left: 1em;" class="toc-entry"> - <a href="#clojure.contrib.import-static/import-static">import-static</a> - </div> - <br /> - </div> -</div> -</div> - <div id="content-tag"><h1 id="overview">API for <span id="namespace-name">import-static</span> - - <span id="header-project">clojure-contrib</span> <span id="header-version">next</span> (<span id="header-status">in development</span>) - </h1> -<span id="author-line">by <span id="author-name">Stuart Sierra</span><br /></span> -<br />Usage: -<pre> -(ns your-namespace - (:require <span id="long-name">clojure.contrib.import-static</span>)) -</pre><pre> -</pre><h2>Overview</h2> -<pre id="namespace-docstr">Import static Java methods/fields into Clojure</pre> - - -<br /> -<h2>Public Variables and Functions</h2> -<div id="var-entry"> - <br /> - <hr /> - <h2 id="clojure.contrib.import-static/import-static">import-static</h2> - <span id="var-type">macro</span><br /> - <pre id="var-usage">Usage: (import-static class & fields-and-methods) -</pre> - <pre id="var-docstr">Imports the named static fields and/or static methods of the class -as (private) symbols in the current namespace. - -Example: - user=> (import-static java.lang.Math PI sqrt) - nil - user=> PI - 3.141592653589793 - user=> (sqrt 16) - 4.0 - -Note: The class name must be fully qualified, even if it has already -been imported. Static methods are defined as MACROS, not -first-class fns.</pre> - - - <a href="http://github.com/richhickey/clojure-contrib/blob/7188a51605136f36524e4091fe806859114d6056/src/main/clojure/clojure/contrib/import_static.clj#L22" id="var-source">Source</a> -</div> - - -</div> - </div> - </div> - </div> - </div> - <div id="foot"> - <div style="text-align: center;" id="copyright">Copyright 2007-2009 by Rich Hickey and the various contributors</div> - </div> - </div> - <div id="DesignedBy">Logo & site design by <a title="Visit Tom Hickey's website." href="http://www.tomhickey.com">Tom Hickey</a>.<br /> - Clojure auto-documentation system by Tom Faulhaber.</div> - </div> - <!-- /AllContentContainer --> - </body> - -</html>
\ No newline at end of file diff --git a/branch-master/index.html b/branch-master/index.html index 6bd402f0..7cfb0912 100644 --- a/branch-master/index.html +++ b/branch-master/index.html @@ -37,7 +37,7 @@ namespace. </ul> <span class="toc-header">Namespaces</span> <ul id="left-sidebar-list"> - <li><a href="accumulators-api.html" class="wiki_link">accumulators</a></li><li><a href="agent-utils-api.html" class="wiki_link">agent-utils</a></li><li><a href="apply-macro-api.html" class="wiki_link">apply-macro</a></li><li><a href="base64-api.html" class="wiki_link">base64</a></li><li><a href="classpath-api.html" class="wiki_link">classpath</a></li><li><a href="combinatorics-api.html" class="wiki_link">combinatorics</a></li><li><a href="command-line-api.html" class="wiki_link">command-line</a></li><li><a href="complex-numbers-api.html" class="wiki_link">complex-numbers</a></li><li><a href="cond-api.html" class="wiki_link">cond</a></li><li><a href="condition-api.html" class="wiki_link">condition</a></li><li><a href="core-api.html" class="wiki_link">core</a></li><li><a href="dataflow-api.html" class="wiki_link">dataflow</a></li><li><a href="datalog-api.html" class="wiki_link">datalog</a></li><li><a href="def-api.html" class="wiki_link">def</a></li><li><a href="duck-streams-api.html" class="wiki_link">duck-streams</a></li><li><a href="error-kit-api.html" class="wiki_link">error-kit</a></li><li><a href="except-api.html" class="wiki_link">except</a></li><li><a href="fcase-api.html" class="wiki_link">fcase</a></li><li><a href="find-namespaces-api.html" class="wiki_link">find-namespaces</a></li><li><a href="fnmap-api.html" class="wiki_link">fnmap</a></li><li><a href="gen-html-docs-api.html" class="wiki_link">gen-html-docs</a></li><li><a href="generic.arithmetic-api.html" class="wiki_link">generic.arithmetic</a></li><li><a href="generic.collection-api.html" class="wiki_link">generic.collection</a></li><li><a href="generic.comparison-api.html" class="wiki_link">generic.comparison</a></li><li><a href="generic.functor-api.html" class="wiki_link">generic.functor</a></li><li><a href="generic.math-functions-api.html" class="wiki_link">generic.math-functions</a></li><li><a href="graph-api.html" class="wiki_link">graph</a></li><li><a href="greatest-least-api.html" class="wiki_link">greatest-least</a></li><li><a href="http.agent-api.html" class="wiki_link">http.agent</a></li><li><a href="http.connection-api.html" class="wiki_link">http.connection</a></li><li><a href="import-static-api.html" class="wiki_link">import-static</a></li><li><a href="io-api.html" class="wiki_link">io</a></li><li><a href="jar-api.html" class="wiki_link">jar</a></li><li><a href="java-utils-api.html" class="wiki_link">java-utils</a></li><li><a href="javadoc.browse-api.html" class="wiki_link">javadoc.browse</a></li><li><a href="jmx-api.html" class="wiki_link">jmx</a></li><li><a href="json-api.html" class="wiki_link">json</a></li><li><a href="lazy-seqs-api.html" class="wiki_link">lazy-seqs</a></li><li><a href="lazy-xml-api.html" class="wiki_link">lazy-xml</a></li><li><a href="logging-api.html" class="wiki_link">logging</a></li><li><a href="macro-utils-api.html" class="wiki_link">macro-utils</a></li><li><a href="macros-api.html" class="wiki_link">macros</a></li><li><a href="map-utils-api.html" class="wiki_link">map-utils</a></li><li><a href="math-api.html" class="wiki_link">math</a></li><li><a href="miglayout-api.html" class="wiki_link">miglayout</a></li><li><a href="mmap-api.html" class="wiki_link">mmap</a></li><li><a href="mock-api.html" class="wiki_link">mock</a></li><li><a href="monadic-io-streams-api.html" class="wiki_link">monadic-io-streams</a></li><li><a href="monads-api.html" class="wiki_link">monads</a></li><li><a href="ns-utils-api.html" class="wiki_link">ns-utils</a></li><li><a href="pprint-api.html" class="wiki_link">pprint</a></li><li><a href="priority-map-api.html" class="wiki_link">priority-map</a></li><li><a href="probabilities.finite-distributions-api.html" class="wiki_link">probabilities.finite-distributions</a></li><li><a href="probabilities.monte-carlo-api.html" class="wiki_link">probabilities.monte-carlo</a></li><li><a href="probabilities.random-numbers-api.html" class="wiki_link">probabilities.random-numbers</a></li><li><a href="profile-api.html" class="wiki_link">profile</a></li><li><a href="properties-api.html" class="wiki_link">properties</a></li><li><a href="prxml-api.html" class="wiki_link">prxml</a></li><li><a href="reflect-api.html" class="wiki_link">reflect</a></li><li><a href="repl-ln-api.html" class="wiki_link">repl-ln</a></li><li><a href="repl-utils-api.html" class="wiki_link">repl-utils</a></li><li><a href="seq-api.html" class="wiki_link">seq</a></li><li><a href="seq-utils-api.html" class="wiki_link">seq-utils</a></li><li><a href="server-socket-api.html" class="wiki_link">server-socket</a></li><li><a href="set-api.html" class="wiki_link">set</a></li><li><a href="shell-api.html" class="wiki_link">shell</a></li><li><a href="shell-out-api.html" class="wiki_link">shell-out</a></li><li><a href="singleton-api.html" class="wiki_link">singleton</a></li><li><a href="sql-api.html" class="wiki_link">sql</a></li><li><a href="str-utils-api.html" class="wiki_link">str-utils</a></li><li><a href="str-utils2-api.html" class="wiki_link">str-utils2</a></li><li><a href="stream-utils-api.html" class="wiki_link">stream-utils</a></li><li><a href="string-api.html" class="wiki_link">string</a></li><li><a href="strint-api.html" class="wiki_link">strint</a></li><li><a href="swing-utils-api.html" class="wiki_link">swing-utils</a></li><li><a href="test-is-api.html" class="wiki_link">test-is</a></li><li><a href="trace-api.html" class="wiki_link">trace</a></li><li><a href="types-api.html" class="wiki_link">types</a></li><li><a href="with-ns-api.html" class="wiki_link">with-ns</a></li><li><a href="zip-filter-api.html" class="wiki_link">zip-filter</a></li> + </ul> <div class="BranchTOC"> <span class="toc-header">Other Versions</span> @@ -55,327 +55,7 @@ namespace. <div id="content_view" class="wiki wikiPage"> <div id="right-sidebar"><div id="toc"> <h1 class="nopad">Table of Contents</h1> - <div style="margin-left: 1em;" class="toc-section"> - <a href="#accumulators">accumulators</a> - - <br /> - </div><div style="margin-left: 1em;" class="toc-section"> - <a href="#agent-utils">agent-utils</a> - - <br /> - </div><div style="margin-left: 1em;" class="toc-section"> - <a href="#apply-macro">apply-macro</a> - - <br /> - </div><div style="margin-left: 1em;" class="toc-section"> - <a href="#base64">base64</a> - - <br /> - </div><div style="margin-left: 1em;" class="toc-section"> - <a href="#classpath">classpath</a> - - <br /> - </div><div style="margin-left: 1em;" class="toc-section"> - <a href="#combinatorics">combinatorics</a> - - <br /> - </div><div style="margin-left: 1em;" class="toc-section"> - <a href="#command-line">command-line</a> - - <br /> - </div><div style="margin-left: 1em;" class="toc-section"> - <a href="#complex-numbers">complex-numbers</a> - - <br /> - </div><div style="margin-left: 1em;" class="toc-section"> - <a href="#cond">cond</a> - - <br /> - </div><div style="margin-left: 1em;" class="toc-section"> - <a href="#condition">condition</a> - - <br /> - </div><div style="margin-left: 1em;" class="toc-section"> - <a href="#core">core</a> - - <br /> - </div><div style="margin-left: 1em;" class="toc-section"> - <a href="#dataflow">dataflow</a> - - <br /> - </div><div style="margin-left: 1em;" class="toc-section"> - <a href="#datalog">datalog</a> - - <br /> - </div><div style="margin-left: 1em;" class="toc-section"> - <a href="#def">def</a> - - <br /> - </div><div style="margin-left: 1em;" class="toc-section"> - <a href="#duck-streams">duck-streams</a> - - <br /> - </div><div style="margin-left: 1em;" class="toc-section"> - <a href="#error-kit">error-kit</a> - - <br /> - </div><div style="margin-left: 1em;" class="toc-section"> - <a href="#except">except</a> - - <br /> - </div><div style="margin-left: 1em;" class="toc-section"> - <a href="#fcase">fcase</a> - - <br /> - </div><div style="margin-left: 1em;" class="toc-section"> - <a href="#find-namespaces">find-namespaces</a> - - <br /> - </div><div style="margin-left: 1em;" class="toc-section"> - <a href="#fnmap">fnmap</a> - - <br /> - </div><div style="margin-left: 1em;" class="toc-section"> - <a href="#gen-html-docs">gen-html-docs</a> - - <br /> - </div><div style="margin-left: 1em;" class="toc-section"> - <a href="#generic.arithmetic">generic.arithmetic</a> - - <br /> - </div><div style="margin-left: 1em;" class="toc-section"> - <a href="#generic.collection">generic.collection</a> - - <br /> - </div><div style="margin-left: 1em;" class="toc-section"> - <a href="#generic.comparison">generic.comparison</a> - - <br /> - </div><div style="margin-left: 1em;" class="toc-section"> - <a href="#generic.functor">generic.functor</a> - - <br /> - </div><div style="margin-left: 1em;" class="toc-section"> - <a href="#generic.math-functions">generic.math-functions</a> - - <br /> - </div><div style="margin-left: 1em;" class="toc-section"> - <a href="#graph">graph</a> - - <br /> - </div><div style="margin-left: 1em;" class="toc-section"> - <a href="#greatest-least">greatest-least</a> - - <br /> - </div><div style="margin-left: 1em;" class="toc-section"> - <a href="#http.agent">http.agent</a> - - <br /> - </div><div style="margin-left: 1em;" class="toc-section"> - <a href="#http.connection">http.connection</a> - - <br /> - </div><div style="margin-left: 1em;" class="toc-section"> - <a href="#import-static">import-static</a> - - <br /> - </div><div style="margin-left: 1em;" class="toc-section"> - <a href="#io">io</a> - - <br /> - </div><div style="margin-left: 1em;" class="toc-section"> - <a href="#jar">jar</a> - - <br /> - </div><div style="margin-left: 1em;" class="toc-section"> - <a href="#java-utils">java-utils</a> - - <br /> - </div><div style="margin-left: 1em;" class="toc-section"> - <a href="#javadoc.browse">javadoc.browse</a> - - <br /> - </div><div style="margin-left: 1em;" class="toc-section"> - <a href="#jmx">jmx</a> - - <br /> - </div><div style="margin-left: 1em;" class="toc-section"> - <a href="#json">json</a> - - <br /> - </div><div style="margin-left: 1em;" class="toc-section"> - <a href="#lazy-seqs">lazy-seqs</a> - - <br /> - </div><div style="margin-left: 1em;" class="toc-section"> - <a href="#lazy-xml">lazy-xml</a> - - <br /> - </div><div style="margin-left: 1em;" class="toc-section"> - <a href="#logging">logging</a> - - <br /> - </div><div style="margin-left: 1em;" class="toc-section"> - <a href="#macro-utils">macro-utils</a> - - <br /> - </div><div style="margin-left: 1em;" class="toc-section"> - <a href="#macros">macros</a> - - <br /> - </div><div style="margin-left: 1em;" class="toc-section"> - <a href="#map-utils">map-utils</a> - - <br /> - </div><div style="margin-left: 1em;" class="toc-section"> - <a href="#math">math</a> - - <br /> - </div><div style="margin-left: 1em;" class="toc-section"> - <a href="#miglayout">miglayout</a> - - <br /> - </div><div style="margin-left: 1em;" class="toc-section"> - <a href="#mmap">mmap</a> - - <br /> - </div><div style="margin-left: 1em;" class="toc-section"> - <a href="#mock">mock</a> - - <br /> - </div><div style="margin-left: 1em;" class="toc-section"> - <a href="#monadic-io-streams">monadic-io-streams</a> - - <br /> - </div><div style="margin-left: 1em;" class="toc-section"> - <a href="#monads">monads</a> - - <br /> - </div><div style="margin-left: 1em;" class="toc-section"> - <a href="#ns-utils">ns-utils</a> - - <br /> - </div><div style="margin-left: 1em;" class="toc-section"> - <a href="#pprint">pprint</a> - - <br /> - </div><div style="margin-left: 1em;" class="toc-section"> - <a href="#priority-map">priority-map</a> - - <br /> - </div><div style="margin-left: 1em;" class="toc-section"> - <a href="#probabilities.finite-distributions">probabilities.finite-distributions</a> - - <br /> - </div><div style="margin-left: 1em;" class="toc-section"> - <a href="#probabilities.monte-carlo">probabilities.monte-carlo</a> - - <br /> - </div><div style="margin-left: 1em;" class="toc-section"> - <a href="#probabilities.random-numbers">probabilities.random-numbers</a> - - <br /> - </div><div style="margin-left: 1em;" class="toc-section"> - <a href="#profile">profile</a> - - <br /> - </div><div style="margin-left: 1em;" class="toc-section"> - <a href="#properties">properties</a> - - <br /> - </div><div style="margin-left: 1em;" class="toc-section"> - <a href="#prxml">prxml</a> - - <br /> - </div><div style="margin-left: 1em;" class="toc-section"> - <a href="#reflect">reflect</a> - - <br /> - </div><div style="margin-left: 1em;" class="toc-section"> - <a href="#repl-ln">repl-ln</a> - - <br /> - </div><div style="margin-left: 1em;" class="toc-section"> - <a href="#repl-utils">repl-utils</a> - - <br /> - </div><div style="margin-left: 1em;" class="toc-section"> - <a href="#seq">seq</a> - - <br /> - </div><div style="margin-left: 1em;" class="toc-section"> - <a href="#seq-utils">seq-utils</a> - - <br /> - </div><div style="margin-left: 1em;" class="toc-section"> - <a href="#server-socket">server-socket</a> - - <br /> - </div><div style="margin-left: 1em;" class="toc-section"> - <a href="#set">set</a> - - <br /> - </div><div style="margin-left: 1em;" class="toc-section"> - <a href="#shell">shell</a> - - <br /> - </div><div style="margin-left: 1em;" class="toc-section"> - <a href="#shell-out">shell-out</a> - - <br /> - </div><div style="margin-left: 1em;" class="toc-section"> - <a href="#singleton">singleton</a> - - <br /> - </div><div style="margin-left: 1em;" class="toc-section"> - <a href="#sql">sql</a> - - <br /> - </div><div style="margin-left: 1em;" class="toc-section"> - <a href="#str-utils">str-utils</a> - - <br /> - </div><div style="margin-left: 1em;" class="toc-section"> - <a href="#str-utils2">str-utils2</a> - - <br /> - </div><div style="margin-left: 1em;" class="toc-section"> - <a href="#stream-utils">stream-utils</a> - - <br /> - </div><div style="margin-left: 1em;" class="toc-section"> - <a href="#string">string</a> - - <br /> - </div><div style="margin-left: 1em;" class="toc-section"> - <a href="#strint">strint</a> - - <br /> - </div><div style="margin-left: 1em;" class="toc-section"> - <a href="#swing-utils">swing-utils</a> - - <br /> - </div><div style="margin-left: 1em;" class="toc-section"> - <a href="#test-is">test-is</a> - - <br /> - </div><div style="margin-left: 1em;" class="toc-section"> - <a href="#trace">trace</a> - - <br /> - </div><div style="margin-left: 1em;" class="toc-section"> - <a href="#types">types</a> - - <br /> - </div><div style="margin-left: 1em;" class="toc-section"> - <a href="#with-ns">with-ns</a> - - <br /> - </div><div style="margin-left: 1em;" class="toc-section"> - <a href="#zip-filter">zip-filter</a> - - <br /> - </div> + </div> </div> <div id="content-tag"><h1 id="toc0">API Overview - <span id="header-project">clojure-contrib</span> <span id="header-version">next</span> (<span id="header-status">in development</span>)</h1> @@ -451,1818 +131,7 @@ clojure.contrib is copyright 2008-2009 Rich Hickey and the various contributors. </ul> </div> <br /> -<div id="namespace-entry"> - <br /> - <hr /> - <h2 id="accumulators">accumulators</h2> - <span id="author-line">by <span id="author-name">Konrad Hinsen</span><br /></span> - <a href="accumulators-api.html" id="api-link">Detailed API documentation</a><br /> - <pre id="namespace-docstr">A generic accumulator interface and implementations of various -accumulators.</pre> - - - - Public variables and functions: - <span id="var-link"><a href="accumulators-api.html#clojure.contrib.accumulators/add" id="var-tag">add</a> </span><span id="var-link"><a href="accumulators-api.html#clojure.contrib.accumulators/add-items" id="var-tag">add-items</a> </span><span id="var-link"><a href="accumulators-api.html#clojure.contrib.accumulators/combine" id="var-tag">combine</a> </span><span id="var-link"><a href="accumulators-api.html#clojure.contrib.accumulators/empty-counter" id="var-tag">empty-counter</a> </span><span id="var-link"><a href="accumulators-api.html#clojure.contrib.accumulators/empty-counter-with-total" id="var-tag">empty-counter-with-total</a> </span><span id="var-link"><a href="accumulators-api.html#clojure.contrib.accumulators/empty-list" id="var-tag">empty-list</a> </span><span id="var-link"><a href="accumulators-api.html#clojure.contrib.accumulators/empty-map" id="var-tag">empty-map</a> </span><span id="var-link"><a href="accumulators-api.html#clojure.contrib.accumulators/empty-maximum" id="var-tag">empty-maximum</a> </span><span id="var-link"><a href="accumulators-api.html#clojure.contrib.accumulators/empty-mean-variance" id="var-tag">empty-mean-variance</a> </span><span id="var-link"><a href="accumulators-api.html#clojure.contrib.accumulators/empty-min-max" id="var-tag">empty-min-max</a> </span><span id="var-link"><a href="accumulators-api.html#clojure.contrib.accumulators/empty-minimum" id="var-tag">empty-minimum</a> </span><span id="var-link"><a href="accumulators-api.html#clojure.contrib.accumulators/empty-product" id="var-tag">empty-product</a> </span><span id="var-link"><a href="accumulators-api.html#clojure.contrib.accumulators/empty-queue" id="var-tag">empty-queue</a> </span><span id="var-link"><a href="accumulators-api.html#clojure.contrib.accumulators/empty-set" id="var-tag">empty-set</a> </span><span id="var-link"><a href="accumulators-api.html#clojure.contrib.accumulators/empty-string" id="var-tag">empty-string</a> </span><span id="var-link"><a href="accumulators-api.html#clojure.contrib.accumulators/empty-sum" id="var-tag">empty-sum</a> </span><span id="var-link"><a href="accumulators-api.html#clojure.contrib.accumulators/empty-tuple" id="var-tag">empty-tuple</a> </span><span id="var-link"><a href="accumulators-api.html#clojure.contrib.accumulators/empty-vector" id="var-tag">empty-vector</a> </span><br /> - -</div><div id="namespace-entry"> - <br /> - <hr /> - <h2 id="agent-utils">agent-utils</h2> - <span id="author-line">by <span id="author-name">Christophe Grande</span><br /></span> - <a href="agent-utils-api.html" id="api-link">Detailed API documentation</a><br /> - <pre id="namespace-docstr">Miscellaneous agent utilities -(note to other contrib members: feel free to add to this lib)</pre> - - - - Public variables and functions: - <span id="var-link"><a href="agent-utils-api.html#clojure.contrib.agent-utils/capture-and-send" id="var-tag">capture-and-send</a> </span><br /> - -</div><div id="namespace-entry"> - <br /> - <hr /> - <h2 id="apply-macro">apply-macro</h2> - - <a href="apply-macro-api.html" id="api-link">Detailed API documentation</a><br /> - <pre id="namespace-docstr"></pre> - - <span class="ns-deprecated"><span id="content">Deprecated since clojure-contrib version 1.2</span><br /></span> - - Public variables and functions: - <span id="var-link"><a href="apply-macro-api.html#clojure.contrib.apply-macro/apply-macro" id="var-tag">apply-macro</a> </span><br /> - -</div><div id="namespace-entry"> - <br /> - <hr /> - <h2 id="base64">base64</h2> - <span id="author-line">by <span id="author-name">Stuart Sierra</span><br /></span> - <a href="base64-api.html" id="api-link">Detailed API documentation</a><br /> - <pre id="namespace-docstr">Base-64 encoding and (maybe later) decoding. - -This is mainly here as an example. It is much slower than the -Apache Commons Codec implementation or sun.misc.BASE64Encoder.</pre> - - - - Public variables and functions: - <span id="var-link"><a href="base64-api.html#clojure.contrib.base64/encode" id="var-tag">encode</a> </span><span id="var-link"><a href="base64-api.html#clojure.contrib.base64/encode-str" id="var-tag">encode-str</a> </span><br /> - -</div><div id="namespace-entry"> - <br /> - <hr /> - <h2 id="classpath">classpath</h2> - <span id="author-line">by <span id="author-name">Stuart Sierra</span><br /></span> - <a href="classpath-api.html" id="api-link">Detailed API documentation</a><br /> - <pre id="namespace-docstr">Utilities for dealing with the JVM's classpath</pre> - - - - Public variables and functions: - <span id="var-link"><a href="classpath-api.html#clojure.contrib.classpath/classpath" id="var-tag">classpath</a> </span><span id="var-link"><a href="classpath-api.html#clojure.contrib.classpath/classpath-directories" id="var-tag">classpath-directories</a> </span><span id="var-link"><a href="classpath-api.html#clojure.contrib.classpath/classpath-jarfiles" id="var-tag">classpath-jarfiles</a> </span><br /> - -</div><div id="namespace-entry"> - <br /> - <hr /> - <h2 id="combinatorics">combinatorics</h2> - <span id="author-line">by <span id="author-name">Mark Engelberg</span><br /></span> - <a href="combinatorics-api.html" id="api-link">Detailed API documentation</a><br /> - <pre id="namespace-docstr">Efficient, functional algorithms for generating lazy -sequences for common combinatorial functions. (See the source code -for a longer description.)</pre> - - - - Public variables and functions: - <span id="var-link"><a href="combinatorics-api.html#clojure.contrib.combinatorics/cartesian-product" id="var-tag">cartesian-product</a> </span><span id="var-link"><a href="combinatorics-api.html#clojure.contrib.combinatorics/combinations" id="var-tag">combinations</a> </span><span id="var-link"><a href="combinatorics-api.html#clojure.contrib.combinatorics/lex-permutations" id="var-tag">lex-permutations</a> </span><span id="var-link"><a href="combinatorics-api.html#clojure.contrib.combinatorics/permutations" id="var-tag">permutations</a> </span><span id="var-link"><a href="combinatorics-api.html#clojure.contrib.combinatorics/selections" id="var-tag">selections</a> </span><span id="var-link"><a href="combinatorics-api.html#clojure.contrib.combinatorics/subsets" id="var-tag">subsets</a> </span><br /> - -</div><div id="namespace-entry"> - <br /> - <hr /> - <h2 id="command-line">command-line</h2> - <span id="author-line">by <span id="author-name">Chris Houser</span><br /></span> - <a href="command-line-api.html" id="api-link">Detailed API documentation</a><br /> - <pre id="namespace-docstr">Process command-line arguments according to a given cmdspec</pre> - - - - Public variables and functions: - <span id="var-link"><a href="command-line-api.html#clojure.contrib.command-line/with-command-line" id="var-tag">with-command-line</a> </span><br /> - -</div><div id="namespace-entry"> - <br /> - <hr /> - <h2 id="complex-numbers">complex-numbers</h2> - <span id="author-line">by <span id="author-name">Konrad Hinsen</span><br /></span> - <a href="complex-numbers-api.html" id="api-link">Detailed API documentation</a><br /> - <pre id="namespace-docstr">Complex numbers -NOTE: This library is in evolution. Most math functions are - not implemented yet.</pre> - - - - Public variables and functions: - <br /> - -</div><div id="namespace-entry"> - <br /> - <hr /> - <h2 id="cond">cond</h2> - <span id="author-line">by <span id="author-name">Stephen C. Gilardi</span><br /></span> - <a href="cond-api.html" id="api-link">Detailed API documentation</a><br /> - <pre id="namespace-docstr">Extensions to the basic cond function.</pre> - - - - Public variables and functions: - <span id="var-link"><a href="cond-api.html#clojure.contrib.cond/cond-let" id="var-tag">cond-let</a> </span><br /> - -</div><div id="namespace-entry"> - <br /> - <hr /> - <h2 id="condition">condition</h2> - <span id="author-line">by <span id="author-name">Stephen C. Gilardi</span><br /></span> - <a href="condition-api.html" id="api-link">Detailed API documentation</a><br /> - <pre id="namespace-docstr">Flexible raising and handling of conditions: - -Functions: - - raise: raises a condition - handler-case: dispatches raised conditions to appropriate handlers - print-stack-trace: prints abbreviated or full condition stack traces - -Data: - - A condition is a map containing values for these keys: - - - :type, a condition type specifier, typically a keyword - - :stack-trace, a stack trace to the site of the raise - - :message, a human-readable message (optional) - - :cause, a wrapped exception or condition (optional) - - other keys given as arguments to raise (optional) - -Note: requires AOT compilation. - -Based on an idea from Chouser: -<a href="http://groups.google.com/group/clojure/browse_frm/thread/da1285c538f22bb5">http://groups.google.com/group/clojure/browse_frm/thread/da1285c538f22bb5</a></pre> - - - - Public variables and functions: - <span id="var-link"><a href="condition-api.html#clojure.contrib.condition/*full-stack-traces*" id="var-tag">*full-stack-traces*</a> </span><span id="var-link"><a href="condition-api.html#clojure.contrib.condition/handler-case" id="var-tag">handler-case</a> </span><span id="var-link"><a href="condition-api.html#clojure.contrib.condition/print-stack-trace" id="var-tag">print-stack-trace</a> </span><span id="var-link"><a href="condition-api.html#clojure.contrib.condition/raise" id="var-tag">raise</a> </span><span id="var-link"><a href="condition-api.html#clojure.contrib.condition/stack-trace-info" id="var-tag">stack-trace-info</a> </span><br /> - <span id="subspace"><br />Variables and functions in - <span id="name">condition.Condition</span>: - <span id="sub-var-link"> - <a href="condition-api.html#clojure.contrib.condition.Condition/-init">-init</a> - </span><span id="sub-var-link"> - <a href="condition-api.html#clojure.contrib.condition.Condition/-meta">-meta</a> - </span><span id="sub-var-link"> - <a href="condition-api.html#clojure.contrib.condition.Condition/-post-init">-post-init</a> - </span> - <br /> - </span> -</div><div id="namespace-entry"> - <br /> - <hr /> - <h2 id="core">core</h2> - <span id="author-line">by <span id="author-name">Laurent Petit (and others)</span><br /></span> - <a href="core-api.html" id="api-link">Detailed API documentation</a><br /> - <pre id="namespace-docstr">Functions/macros variants of the ones that can be found in clojure.core -(note to other contrib members: feel free to add to this lib)</pre> - - - - Public variables and functions: - <span id="var-link"><a href="core-api.html#clojure.contrib.core/-?>" id="var-tag">-?></a> </span><span id="var-link"><a href="core-api.html#clojure.contrib.core/-?>>" id="var-tag">-?>></a> </span><span id="var-link"><a href="core-api.html#clojure.contrib.core/.?." id="var-tag">.?.</a> </span><span id="var-link"><a href="core-api.html#clojure.contrib.core/dissoc-in" id="var-tag">dissoc-in</a> </span><span id="var-link"><a href="core-api.html#clojure.contrib.core/new-by-name" id="var-tag">new-by-name</a> </span><span id="var-link"><a href="core-api.html#clojure.contrib.core/seqable?" id="var-tag">seqable?</a> </span><br /> - -</div><div id="namespace-entry"> - <br /> - <hr /> - <h2 id="dataflow">dataflow</h2> - <span id="author-line">by <span id="author-name">Jeffrey Straszheim</span><br /></span> - <a href="dataflow-api.html" id="api-link">Detailed API documentation</a><br /> - <pre id="namespace-docstr">A library to support a dataflow model of state</pre> - - - - Public variables and functions: - <span id="var-link"><a href="dataflow-api.html#clojure.contrib.dataflow/add-cell-watcher" id="var-tag">add-cell-watcher</a> </span><span id="var-link"><a href="dataflow-api.html#clojure.contrib.dataflow/add-cells" id="var-tag">add-cells</a> </span><span id="var-link"><a href="dataflow-api.html#clojure.contrib.dataflow/build-dataflow" id="var-tag">build-dataflow</a> </span><span id="var-link"><a href="dataflow-api.html#clojure.contrib.dataflow/build-source-cell" id="var-tag">build-source-cell</a> </span><span id="var-link"><a href="dataflow-api.html#clojure.contrib.dataflow/build-standard-cell" id="var-tag">build-standard-cell</a> </span><span id="var-link"><a href="dataflow-api.html#clojure.contrib.dataflow/build-validator-cell" id="var-tag">build-validator-cell</a> </span><span id="var-link"><a href="dataflow-api.html#clojure.contrib.dataflow/cell" id="var-tag">cell</a> </span><span id="var-link"><a href="dataflow-api.html#clojure.contrib.dataflow/display-cell" id="var-tag">display-cell</a> </span><span id="var-link"><a href="dataflow-api.html#clojure.contrib.dataflow/eval-cell" id="var-tag">eval-cell</a> </span><span id="var-link"><a href="dataflow-api.html#clojure.contrib.dataflow/get-cell" id="var-tag">get-cell</a> </span><span id="var-link"><a href="dataflow-api.html#clojure.contrib.dataflow/get-cells" id="var-tag">get-cells</a> </span><span id="var-link"><a href="dataflow-api.html#clojure.contrib.dataflow/get-old-value" id="var-tag">get-old-value</a> </span><span id="var-link"><a href="dataflow-api.html#clojure.contrib.dataflow/get-source-cells" id="var-tag">get-source-cells</a> </span><span id="var-link"><a href="dataflow-api.html#clojure.contrib.dataflow/get-value" id="var-tag">get-value</a> </span><span id="var-link"><a href="dataflow-api.html#clojure.contrib.dataflow/get-value-from-cell" id="var-tag">get-value-from-cell</a> </span><span id="var-link"><a href="dataflow-api.html#clojure.contrib.dataflow/get-values" id="var-tag">get-values</a> </span><span id="var-link"><a href="dataflow-api.html#clojure.contrib.dataflow/print-dataflow" id="var-tag">print-dataflow</a> </span><span id="var-link"><a href="dataflow-api.html#clojure.contrib.dataflow/remove-cells" id="var-tag">remove-cells</a> </span><span id="var-link"><a href="dataflow-api.html#clojure.contrib.dataflow/source-cell?" id="var-tag">source-cell?</a> </span><span id="var-link"><a href="dataflow-api.html#clojure.contrib.dataflow/update-values" id="var-tag">update-values</a> </span><br /> - -</div><div id="namespace-entry"> - <br /> - <hr /> - <h2 id="datalog">datalog</h2> - <span id="author-line">by <span id="author-name">Jeffrey Straszheim</span><br /></span> - <a href="datalog-api.html" id="api-link">Detailed API documentation</a><br /> - <pre id="namespace-docstr">A Clojure implementation of Datalog</pre> - - - - Public variables and functions: - <span id="var-link"><a href="datalog-api.html#clojure.contrib.datalog/build-work-plan" id="var-tag">build-work-plan</a> </span><span id="var-link"><a href="datalog-api.html#clojure.contrib.datalog/run-work-plan" id="var-tag">run-work-plan</a> </span><br /> - <span id="subspace"><br />Variables and functions in - <span id="name">datalog.database</span>: - <span id="sub-var-link"> - <a href="datalog-api.html#clojure.contrib.datalog.database/add-index">add-index</a> - </span><span id="sub-var-link"> - <a href="datalog-api.html#clojure.contrib.datalog.database/add-relation">add-relation</a> - </span><span id="sub-var-link"> - <a href="datalog-api.html#clojure.contrib.datalog.database/add-tuple">add-tuple</a> - </span><span id="sub-var-link"> - <a href="datalog-api.html#clojure.contrib.datalog.database/add-tuples">add-tuples</a> - </span><span id="sub-var-link"> - <a href="datalog-api.html#clojure.contrib.datalog.database/any-match?">any-match?</a> - </span><span id="sub-var-link"> - <a href="datalog-api.html#clojure.contrib.datalog.database/database-counts">database-counts</a> - </span><span id="sub-var-link"> - <a href="datalog-api.html#clojure.contrib.datalog.database/database-merge">database-merge</a> - </span><span id="sub-var-link"> - <a href="datalog-api.html#clojure.contrib.datalog.database/database-merge-parallel">database-merge-parallel</a> - </span><span id="sub-var-link"> - <a href="datalog-api.html#clojure.contrib.datalog.database/datalog-relation">datalog-relation</a> - </span><span id="sub-var-link"> - <a href="datalog-api.html#clojure.contrib.datalog.database/ensure-relation">ensure-relation</a> - </span><span id="sub-var-link"> - <a href="datalog-api.html#clojure.contrib.datalog.database/get-relation">get-relation</a> - </span><span id="sub-var-link"> - <a href="datalog-api.html#clojure.contrib.datalog.database/make-database">make-database</a> - </span><span id="sub-var-link"> - <a href="datalog-api.html#clojure.contrib.datalog.database/merge-relations">merge-relations</a> - </span><span id="sub-var-link"> - <a href="datalog-api.html#clojure.contrib.datalog.database/remove-tuple">remove-tuple</a> - </span><span id="sub-var-link"> - <a href="datalog-api.html#clojure.contrib.datalog.database/replace-relation">replace-relation</a> - </span><span id="sub-var-link"> - <a href="datalog-api.html#clojure.contrib.datalog.database/select">select</a> - </span> - <br /> - </span><span id="subspace"><br />Variables and functions in - <span id="name">datalog.literals</span>: - <span id="sub-var-link"> - <a href="datalog-api.html#clojure.contrib.datalog.literals/adorned-literal">adorned-literal</a> - </span><span id="sub-var-link"> - <a href="datalog-api.html#clojure.contrib.datalog.literals/build-atom">build-atom</a> - </span><span id="sub-var-link"> - <a href="datalog-api.html#clojure.contrib.datalog.literals/build-literal">build-literal</a> - </span><span id="sub-var-link"> - <a href="datalog-api.html#clojure.contrib.datalog.literals/build-seed-bindings">build-seed-bindings</a> - </span><span id="sub-var-link"> - <a href="datalog-api.html#clojure.contrib.datalog.literals/delta-literal">delta-literal</a> - </span><span id="sub-var-link"> - <a href="datalog-api.html#clojure.contrib.datalog.literals/display-literal">display-literal</a> - </span><span id="sub-var-link"> - <a href="datalog-api.html#clojure.contrib.datalog.literals/get-adorned-bindings">get-adorned-bindings</a> - </span><span id="sub-var-link"> - <a href="datalog-api.html#clojure.contrib.datalog.literals/get-base-predicate">get-base-predicate</a> - </span><span id="sub-var-link"> - <a href="datalog-api.html#clojure.contrib.datalog.literals/get-cs-from-vs">get-cs-from-vs</a> - </span><span id="sub-var-link"> - <a href="datalog-api.html#clojure.contrib.datalog.literals/get-self-bound-cs">get-self-bound-cs</a> - </span><span id="sub-var-link"> - <a href="datalog-api.html#clojure.contrib.datalog.literals/get-vs-from-cs">get-vs-from-cs</a> - </span><span id="sub-var-link"> - <a href="datalog-api.html#clojure.contrib.datalog.literals/join-literal">join-literal</a> - </span><span id="sub-var-link"> - <a href="datalog-api.html#clojure.contrib.datalog.literals/literal-appropriate?">literal-appropriate?</a> - </span><span id="sub-var-link"> - <a href="datalog-api.html#clojure.contrib.datalog.literals/literal-columns">literal-columns</a> - </span><span id="sub-var-link"> - <a href="datalog-api.html#clojure.contrib.datalog.literals/literal-magic?">literal-magic?</a> - </span><span id="sub-var-link"> - <a href="datalog-api.html#clojure.contrib.datalog.literals/literal-predicate">literal-predicate</a> - </span><span id="sub-var-link"> - <a href="datalog-api.html#clojure.contrib.datalog.literals/literal-vars">literal-vars</a> - </span><span id="sub-var-link"> - <a href="datalog-api.html#clojure.contrib.datalog.literals/magic-literal">magic-literal</a> - </span><span id="sub-var-link"> - <a href="datalog-api.html#clojure.contrib.datalog.literals/negated-literal">negated-literal</a> - </span><span id="sub-var-link"> - <a href="datalog-api.html#clojure.contrib.datalog.literals/negated?">negated?</a> - </span><span id="sub-var-link"> - <a href="datalog-api.html#clojure.contrib.datalog.literals/negative-vars">negative-vars</a> - </span><span id="sub-var-link"> - <a href="datalog-api.html#clojure.contrib.datalog.literals/positive-vars">positive-vars</a> - </span><span id="sub-var-link"> - <a href="datalog-api.html#clojure.contrib.datalog.literals/positive?">positive?</a> - </span><span id="sub-var-link"> - <a href="datalog-api.html#clojure.contrib.datalog.literals/project-literal">project-literal</a> - </span> - <br /> - </span><span id="subspace"><br />Variables and functions in - <span id="name">datalog.magic</span>: - <span id="sub-var-link"> - <a href="datalog-api.html#clojure.contrib.datalog.magic/adorn-query">adorn-query</a> - </span><span id="sub-var-link"> - <a href="datalog-api.html#clojure.contrib.datalog.magic/adorn-rules-set">adorn-rules-set</a> - </span><span id="sub-var-link"> - <a href="datalog-api.html#clojure.contrib.datalog.magic/build-partial-tuple">build-partial-tuple</a> - </span><span id="sub-var-link"> - <a href="datalog-api.html#clojure.contrib.datalog.magic/magic-transform">magic-transform</a> - </span><span id="sub-var-link"> - <a href="datalog-api.html#clojure.contrib.datalog.magic/seed-predicate-for-insertion">seed-predicate-for-insertion</a> - </span><span id="sub-var-link"> - <a href="datalog-api.html#clojure.contrib.datalog.magic/seed-relation">seed-relation</a> - </span><span id="sub-var-link"> - <a href="datalog-api.html#clojure.contrib.datalog.magic/seed-rule">seed-rule</a> - </span> - <br /> - </span><span id="subspace"><br />Variables and functions in - <span id="name">datalog.rules</span>: - <span id="sub-var-link"> - <a href="datalog-api.html#clojure.contrib.datalog.rules/<-"><-</a> - </span><span id="sub-var-link"> - <a href="datalog-api.html#clojure.contrib.datalog.rules/?-">?-</a> - </span><span id="sub-var-link"> - <a href="datalog-api.html#clojure.contrib.datalog.rules/all-predicates">all-predicates</a> - </span><span id="sub-var-link"> - <a href="datalog-api.html#clojure.contrib.datalog.rules/apply-rule">apply-rule</a> - </span><span id="sub-var-link"> - <a href="datalog-api.html#clojure.contrib.datalog.rules/compute-sip">compute-sip</a> - </span><span id="sub-var-link"> - <a href="datalog-api.html#clojure.contrib.datalog.rules/display-query">display-query</a> - </span><span id="sub-var-link"> - <a href="datalog-api.html#clojure.contrib.datalog.rules/display-rule">display-rule</a> - </span><span id="sub-var-link"> - <a href="datalog-api.html#clojure.contrib.datalog.rules/is-safe?">is-safe?</a> - </span><span id="sub-var-link"> - <a href="datalog-api.html#clojure.contrib.datalog.rules/make-rules-set">make-rules-set</a> - </span><span id="sub-var-link"> - <a href="datalog-api.html#clojure.contrib.datalog.rules/non-base-rules">non-base-rules</a> - </span><span id="sub-var-link"> - <a href="datalog-api.html#clojure.contrib.datalog.rules/predicate-map">predicate-map</a> - </span><span id="sub-var-link"> - <a href="datalog-api.html#clojure.contrib.datalog.rules/return-rule-data">return-rule-data</a> - </span><span id="sub-var-link"> - <a href="datalog-api.html#clojure.contrib.datalog.rules/rules-set">rules-set</a> - </span> - <br /> - </span><span id="subspace"><br />Variables and functions in - <span id="name">datalog.softstrat</span>: - <span id="sub-var-link"> - <a href="datalog-api.html#clojure.contrib.datalog.softstrat/build-soft-strat-work-plan">build-soft-strat-work-plan</a> - </span><span id="sub-var-link"> - <a href="datalog-api.html#clojure.contrib.datalog.softstrat/get-all-relations">get-all-relations</a> - </span> - <br /> - </span><span id="subspace"><br />Variables and functions in - <span id="name">datalog.util</span>: - <span id="sub-var-link"> - <a href="datalog-api.html#clojure.contrib.datalog.util/is-query-var?">is-query-var?</a> - </span><span id="sub-var-link"> - <a href="datalog-api.html#clojure.contrib.datalog.util/is-var?">is-var?</a> - </span><span id="sub-var-link"> - <a href="datalog-api.html#clojure.contrib.datalog.util/keys-to-vals">keys-to-vals</a> - </span><span id="sub-var-link"> - <a href="datalog-api.html#clojure.contrib.datalog.util/map-values">map-values</a> - </span><span id="sub-var-link"> - <a href="datalog-api.html#clojure.contrib.datalog.util/preduce">preduce</a> - </span><span id="sub-var-link"> - <a href="datalog-api.html#clojure.contrib.datalog.util/reverse-map">reverse-map</a> - </span><span id="sub-var-link"> - <a href="datalog-api.html#clojure.contrib.datalog.util/trace-datalog">trace-datalog</a> - </span> - <br /> - </span> -</div><div id="namespace-entry"> - <br /> - <hr /> - <h2 id="def">def</h2> - - <a href="def-api.html" id="api-link">Detailed API documentation</a><br /> - <pre id="namespace-docstr"></pre> - - - - Public variables and functions: - <span id="var-link"><a href="def-api.html#clojure.contrib.def/defalias" id="var-tag">defalias</a> </span><span id="var-link"><a href="def-api.html#clojure.contrib.def/defhinted" id="var-tag">defhinted</a> </span><span id="var-link"><a href="def-api.html#clojure.contrib.def/defmacro-" id="var-tag">defmacro-</a> </span><span id="var-link"><a href="def-api.html#clojure.contrib.def/defn-memo" id="var-tag">defn-memo</a> </span><span id="var-link"><a href="def-api.html#clojure.contrib.def/defnk" id="var-tag">defnk</a> </span><span id="var-link"><a href="def-api.html#clojure.contrib.def/defonce-" id="var-tag">defonce-</a> </span><span id="var-link"><a href="def-api.html#clojure.contrib.def/defstruct-" id="var-tag">defstruct-</a> </span><span id="var-link"><a href="def-api.html#clojure.contrib.def/defunbound" id="var-tag">defunbound</a> </span><span id="var-link"><a href="def-api.html#clojure.contrib.def/defunbound-" id="var-tag">defunbound-</a> </span><span id="var-link"><a href="def-api.html#clojure.contrib.def/defvar" id="var-tag">defvar</a> </span><span id="var-link"><a href="def-api.html#clojure.contrib.def/defvar-" id="var-tag">defvar-</a> </span><span id="var-link"><a href="def-api.html#clojure.contrib.def/name-with-attributes" id="var-tag">name-with-attributes</a> </span><br /> - -</div><div id="namespace-entry"> - <br /> - <hr /> - <h2 id="duck-streams">duck-streams</h2> - <span id="author-line">by <span id="author-name">Stuart Sierra</span><br /></span> - <a href="duck-streams-api.html" id="api-link">Detailed API documentation</a><br /> - <pre id="namespace-docstr">This file defines "duck-typed" I/O utility functions for Clojure. -The 'reader' and 'writer' functions will open and return an -instance of java.io.BufferedReader and java.io.PrintWriter, -respectively, for a variety of argument types -- filenames as -strings, URLs, java.io.File's, etc. 'reader' even works on http -URLs. - -Note: this is not really "duck typing" as implemented in languages -like Ruby. A better name would have been "do-what-I-mean-streams" -or "just-give-me-a-stream", but ducks are funnier.</pre> - - <span class="ns-deprecated"><span id="content">Deprecated since clojure-contrib version 1.2</span><br /></span> - - Public variables and functions: - <span id="var-link"><a href="duck-streams-api.html#clojure.contrib.duck-streams/*append-to-writer*" id="var-tag">*append-to-writer*</a> </span><span id="var-link"><a href="duck-streams-api.html#clojure.contrib.duck-streams/*buffer-size*" id="var-tag">*buffer-size*</a> </span><span id="var-link"><a href="duck-streams-api.html#clojure.contrib.duck-streams/*byte-array-type*" id="var-tag">*byte-array-type*</a> </span><span id="var-link"><a href="duck-streams-api.html#clojure.contrib.duck-streams/*default-encoding*" id="var-tag">*default-encoding*</a> </span><span id="var-link"><a href="duck-streams-api.html#clojure.contrib.duck-streams/append-spit" id="var-tag">append-spit</a> </span><span id="var-link"><a href="duck-streams-api.html#clojure.contrib.duck-streams/append-writer" id="var-tag">append-writer</a> </span><span id="var-link"><a href="duck-streams-api.html#clojure.contrib.duck-streams/copy" id="var-tag">copy</a> </span><span id="var-link"><a href="duck-streams-api.html#clojure.contrib.duck-streams/file-str" id="var-tag">file-str</a> </span><span id="var-link"><a href="duck-streams-api.html#clojure.contrib.duck-streams/make-parents" id="var-tag">make-parents</a> </span><span id="var-link"><a href="duck-streams-api.html#clojure.contrib.duck-streams/pwd" id="var-tag">pwd</a> </span><span id="var-link"><a href="duck-streams-api.html#clojure.contrib.duck-streams/read-lines" id="var-tag">read-lines</a> </span><span id="var-link"><a href="duck-streams-api.html#clojure.contrib.duck-streams/reader" id="var-tag">reader</a> </span><span id="var-link"><a href="duck-streams-api.html#clojure.contrib.duck-streams/slurp*" id="var-tag">slurp*</a> </span><span id="var-link"><a href="duck-streams-api.html#clojure.contrib.duck-streams/spit" id="var-tag">spit</a> </span><span id="var-link"><a href="duck-streams-api.html#clojure.contrib.duck-streams/to-byte-array" id="var-tag">to-byte-array</a> </span><span id="var-link"><a href="duck-streams-api.html#clojure.contrib.duck-streams/with-in-reader" id="var-tag">with-in-reader</a> </span><span id="var-link"><a href="duck-streams-api.html#clojure.contrib.duck-streams/with-out-append-writer" id="var-tag">with-out-append-writer</a> </span><span id="var-link"><a href="duck-streams-api.html#clojure.contrib.duck-streams/with-out-writer" id="var-tag">with-out-writer</a> </span><span id="var-link"><a href="duck-streams-api.html#clojure.contrib.duck-streams/write-lines" id="var-tag">write-lines</a> </span><span id="var-link"><a href="duck-streams-api.html#clojure.contrib.duck-streams/writer" id="var-tag">writer</a> </span><br /> - -</div><div id="namespace-entry"> - <br /> - <hr /> - <h2 id="error-kit">error-kit</h2> - <span id="author-line">by <span id="author-name">Chris Houser</span><br /></span> - <a href="error-kit-api.html" id="api-link">Detailed API documentation</a><br /> - <pre id="namespace-docstr">EXPERIMENTAL -System for defining and using custom errors -Please contact Chouser if you have any suggestions for better names -or API adjustments.</pre> - - - - Public variables and functions: - <span id="var-link"><a href="error-kit-api.html#clojure.contrib.error-kit/bind-continue" id="var-tag">bind-continue</a> </span><span id="var-link"><a href="error-kit-api.html#clojure.contrib.error-kit/deferror" id="var-tag">deferror</a> </span><span id="var-link"><a href="error-kit-api.html#clojure.contrib.error-kit/do-not-handle" id="var-tag">do-not-handle</a> </span><span id="var-link"><a href="error-kit-api.html#clojure.contrib.error-kit/error" id="var-tag">error</a> </span><span id="var-link"><a href="error-kit-api.html#clojure.contrib.error-kit/handle" id="var-tag">handle</a> </span><span id="var-link"><a href="error-kit-api.html#clojure.contrib.error-kit/raise" id="var-tag">raise</a> </span><span id="var-link"><a href="error-kit-api.html#clojure.contrib.error-kit/raise*" id="var-tag">raise*</a> </span><span id="var-link"><a href="error-kit-api.html#clojure.contrib.error-kit/throw-msg" id="var-tag">throw-msg</a> </span><span id="var-link"><a href="error-kit-api.html#clojure.contrib.error-kit/with-handler" id="var-tag">with-handler</a> </span><br /> - -</div><div id="namespace-entry"> - <br /> - <hr /> - <h2 id="except">except</h2> - <span id="author-line">by <span id="author-name">Stephen C. Gilardi</span><br /></span> - <a href="except-api.html" id="api-link">Detailed API documentation</a><br /> - <pre id="namespace-docstr">Provides functions that make it easy to specify the class, cause, and -message when throwing an Exception or Error. The optional message is -formatted using clojure.core/format.</pre> - - - - Public variables and functions: - <span id="var-link"><a href="except-api.html#clojure.contrib.except/throw-arg" id="var-tag">throw-arg</a> </span><span id="var-link"><a href="except-api.html#clojure.contrib.except/throw-if" id="var-tag">throw-if</a> </span><span id="var-link"><a href="except-api.html#clojure.contrib.except/throw-if-not" id="var-tag">throw-if-not</a> </span><span id="var-link"><a href="except-api.html#clojure.contrib.except/throwf" id="var-tag">throwf</a> </span><br /> - -</div><div id="namespace-entry"> - <br /> - <hr /> - <h2 id="fcase">fcase</h2> - <span id="author-line">by <span id="author-name">Stuart Sierra</span><br /></span> - <a href="fcase-api.html" id="api-link">Detailed API documentation</a><br /> - <pre id="namespace-docstr">This file defines a generic "case" macro called "fcase" which takes -the equality-testing function as an argument. It also defines a -traditional "case" macro that tests using "=" and variants that -test for regular expressions and class membership. - - -Note (December 23, 2008): This library has been supplanted by the -inclusion of "condp" in clojure.core as of Clojure SVN rev. 1180.</pre> - - - - Public variables and functions: - <span id="var-link"><a href="fcase-api.html#clojure.contrib.fcase/case" id="var-tag">case</a> </span><span id="var-link"><a href="fcase-api.html#clojure.contrib.fcase/fcase" id="var-tag">fcase</a> </span><span id="var-link"><a href="fcase-api.html#clojure.contrib.fcase/in-case" id="var-tag">in-case</a> </span><span id="var-link"><a href="fcase-api.html#clojure.contrib.fcase/instance-case" id="var-tag">instance-case</a> </span><span id="var-link"><a href="fcase-api.html#clojure.contrib.fcase/re-case" id="var-tag">re-case</a> </span><br /> - -</div><div id="namespace-entry"> - <br /> - <hr /> - <h2 id="find-namespaces">find-namespaces</h2> - <span id="author-line">by <span id="author-name">Stuart Sierra</span><br /></span> - <a href="find-namespaces-api.html" id="api-link">Detailed API documentation</a><br /> - <pre id="namespace-docstr">Search for ns declarations in dirs, JARs, or CLASSPATH</pre> - - - - Public variables and functions: - <span id="var-link"><a href="find-namespaces-api.html#clojure.contrib.find-namespaces/clojure-source-file?" id="var-tag">clojure-source-file?</a> </span><span id="var-link"><a href="find-namespaces-api.html#clojure.contrib.find-namespaces/clojure-sources-in-jar" id="var-tag">clojure-sources-in-jar</a> </span><span id="var-link"><a href="find-namespaces-api.html#clojure.contrib.find-namespaces/comment?" id="var-tag">comment?</a> </span><span id="var-link"><a href="find-namespaces-api.html#clojure.contrib.find-namespaces/find-clojure-sources-in-dir" id="var-tag">find-clojure-sources-in-dir</a> </span><span id="var-link"><a href="find-namespaces-api.html#clojure.contrib.find-namespaces/find-namespaces-in-dir" id="var-tag">find-namespaces-in-dir</a> </span><span id="var-link"><a href="find-namespaces-api.html#clojure.contrib.find-namespaces/find-namespaces-in-jarfile" id="var-tag">find-namespaces-in-jarfile</a> </span><span id="var-link"><a href="find-namespaces-api.html#clojure.contrib.find-namespaces/find-namespaces-on-classpath" id="var-tag">find-namespaces-on-classpath</a> </span><span id="var-link"><a href="find-namespaces-api.html#clojure.contrib.find-namespaces/find-ns-decls-in-dir" id="var-tag">find-ns-decls-in-dir</a> </span><span id="var-link"><a href="find-namespaces-api.html#clojure.contrib.find-namespaces/find-ns-decls-in-jarfile" id="var-tag">find-ns-decls-in-jarfile</a> </span><span id="var-link"><a href="find-namespaces-api.html#clojure.contrib.find-namespaces/find-ns-decls-on-classpath" id="var-tag">find-ns-decls-on-classpath</a> </span><span id="var-link"><a href="find-namespaces-api.html#clojure.contrib.find-namespaces/ns-decl?" id="var-tag">ns-decl?</a> </span><span id="var-link"><a href="find-namespaces-api.html#clojure.contrib.find-namespaces/read-file-ns-decl" id="var-tag">read-file-ns-decl</a> </span><span id="var-link"><a href="find-namespaces-api.html#clojure.contrib.find-namespaces/read-ns-decl" id="var-tag">read-ns-decl</a> </span><span id="var-link"><a href="find-namespaces-api.html#clojure.contrib.find-namespaces/read-ns-decl-from-jarfile-entry" id="var-tag">read-ns-decl-from-jarfile-entry</a> </span><br /> - -</div><div id="namespace-entry"> - <br /> - <hr /> - <h2 id="fnmap">fnmap</h2> - <span id="author-line">by <span id="author-name">Stuart Sierra</span><br /></span> - <a href="fnmap-api.html" id="api-link">Detailed API documentation</a><br /> - <pre id="namespace-docstr">Maps that dispatch get/assoc to user-defined functions. - -Note: requires AOT-compilation</pre> - - - - Public variables and functions: - <span id="var-link"><a href="fnmap-api.html#clojure.contrib.fnmap/fnmap" id="var-tag">fnmap</a> </span><br /> - -</div><div id="namespace-entry"> - <br /> - <hr /> - <h2 id="gen-html-docs">gen-html-docs</h2> - <span id="author-line">by <span id="author-name">Craig Andera</span><br /></span> - <a href="gen-html-docs-api.html" id="api-link">Detailed API documentation</a><br /> - <pre id="namespace-docstr">Generates a single HTML page that contains the documentation for -one or more Clojure libraries.</pre> - - - - Public variables and functions: - <span id="var-link"><a href="gen-html-docs-api.html#clojure.contrib.gen-html-docs/generate-documentation" id="var-tag">generate-documentation</a> </span><span id="var-link"><a href="gen-html-docs-api.html#clojure.contrib.gen-html-docs/generate-documentation-to-file" id="var-tag">generate-documentation-to-file</a> </span><br /> - -</div><div id="namespace-entry"> - <br /> - <hr /> - <h2 id="generic.arithmetic">generic.arithmetic</h2> - <span id="author-line">by <span id="author-name">Konrad Hinsen</span><br /></span> - <a href="generic.arithmetic-api.html" id="api-link">Detailed API documentation</a><br /> - <pre id="namespace-docstr">Generic arithmetic interface -This library defines generic versions of + - * / as multimethods -that can be defined for any type. The minimal required -implementations for a type are binary + and * plus unary - and /. -Everything else is derived from these automatically. Explicit -binary definitions for - and / can be provided for -efficiency reasons.</pre> - - - - Public variables and functions: - <span id="var-link"><a href="generic.arithmetic-api.html#clojure.contrib.generic.arithmetic/*" id="var-tag">*</a> </span><span id="var-link"><a href="generic.arithmetic-api.html#clojure.contrib.generic.arithmetic/+" id="var-tag">+</a> </span><span id="var-link"><a href="generic.arithmetic-api.html#clojure.contrib.generic.arithmetic/-" id="var-tag">-</a> </span><span id="var-link"><a href="generic.arithmetic-api.html#clojure.contrib.generic.arithmetic//" id="var-tag">/</a> </span><span id="var-link"><a href="generic.arithmetic-api.html#clojure.contrib.generic.arithmetic/defmethod*" id="var-tag">defmethod*</a> </span><span id="var-link"><a href="generic.arithmetic-api.html#clojure.contrib.generic.arithmetic/qsym" id="var-tag">qsym</a> </span><br /> - -</div><div id="namespace-entry"> - <br /> - <hr /> - <h2 id="generic.collection">generic.collection</h2> - <span id="author-line">by <span id="author-name">Konrad Hinsen</span><br /></span> - <a href="generic.collection-api.html" id="api-link">Detailed API documentation</a><br /> - <pre id="namespace-docstr">Generic arithmetic interface -This library defines generic versions of common -collection-related functions as multimethods that can be -defined for any type.</pre> - - - - Public variables and functions: - <span id="var-link"><a href="generic.collection-api.html#clojure.contrib.generic.collection/assoc" id="var-tag">assoc</a> </span><span id="var-link"><a href="generic.collection-api.html#clojure.contrib.generic.collection/conj" id="var-tag">conj</a> </span><span id="var-link"><a href="generic.collection-api.html#clojure.contrib.generic.collection/dissoc" id="var-tag">dissoc</a> </span><span id="var-link"><a href="generic.collection-api.html#clojure.contrib.generic.collection/empty" id="var-tag">empty</a> </span><span id="var-link"><a href="generic.collection-api.html#clojure.contrib.generic.collection/get" id="var-tag">get</a> </span><span id="var-link"><a href="generic.collection-api.html#clojure.contrib.generic.collection/into" id="var-tag">into</a> </span><span id="var-link"><a href="generic.collection-api.html#clojure.contrib.generic.collection/seq" id="var-tag">seq</a> </span><br /> - -</div><div id="namespace-entry"> - <br /> - <hr /> - <h2 id="generic.comparison">generic.comparison</h2> - <span id="author-line">by <span id="author-name">Konrad Hinsen</span><br /></span> - <a href="generic.comparison-api.html" id="api-link">Detailed API documentation</a><br /> - <pre id="namespace-docstr">Generic comparison interface -This library defines generic versions of = < > <= >= zero? -as multimethods that can be defined for any type. Of the -greater/less-than relations, types must minimally implement >.</pre> - - - - Public variables and functions: - <span id="var-link"><a href="generic.comparison-api.html#clojure.contrib.generic.comparison/<" id="var-tag"><</a> </span><span id="var-link"><a href="generic.comparison-api.html#clojure.contrib.generic.comparison/<=" id="var-tag"><=</a> </span><span id="var-link"><a href="generic.comparison-api.html#clojure.contrib.generic.comparison/=" id="var-tag">=</a> </span><span id="var-link"><a href="generic.comparison-api.html#clojure.contrib.generic.comparison/>" id="var-tag">></a> </span><span id="var-link"><a href="generic.comparison-api.html#clojure.contrib.generic.comparison/>=" id="var-tag">>=</a> </span><span id="var-link"><a href="generic.comparison-api.html#clojure.contrib.generic.comparison/max" id="var-tag">max</a> </span><span id="var-link"><a href="generic.comparison-api.html#clojure.contrib.generic.comparison/min" id="var-tag">min</a> </span><span id="var-link"><a href="generic.comparison-api.html#clojure.contrib.generic.comparison/neg?" id="var-tag">neg?</a> </span><span id="var-link"><a href="generic.comparison-api.html#clojure.contrib.generic.comparison/pos?" id="var-tag">pos?</a> </span><span id="var-link"><a href="generic.comparison-api.html#clojure.contrib.generic.comparison/zero?" id="var-tag">zero?</a> </span><br /> - -</div><div id="namespace-entry"> - <br /> - <hr /> - <h2 id="generic.functor">generic.functor</h2> - <span id="author-line">by <span id="author-name">Konrad Hinsen</span><br /></span> - <a href="generic.functor-api.html" id="api-link">Detailed API documentation</a><br /> - <pre id="namespace-docstr">Generic functor interface (fmap)</pre> - - - - Public variables and functions: - <span id="var-link"><a href="generic.functor-api.html#clojure.contrib.generic.functor/fmap" id="var-tag">fmap</a> </span><br /> - -</div><div id="namespace-entry"> - <br /> - <hr /> - <h2 id="generic.math-functions">generic.math-functions</h2> - <span id="author-line">by <span id="author-name">Konrad Hinsen</span><br /></span> - <a href="generic.math-functions-api.html" id="api-link">Detailed API documentation</a><br /> - <pre id="namespace-docstr">Generic math function interface -This library defines generic versions of common mathematical -functions such as sqrt or sin as multimethods that can be -defined for any type.</pre> - - - - Public variables and functions: - <span id="var-link"><a href="generic.math-functions-api.html#clojure.contrib.generic.math-functions/abs" id="var-tag">abs</a> </span><span id="var-link"><a href="generic.math-functions-api.html#clojure.contrib.generic.math-functions/acos" id="var-tag">acos</a> </span><span id="var-link"><a href="generic.math-functions-api.html#clojure.contrib.generic.math-functions/approx=" id="var-tag">approx=</a> </span><span id="var-link"><a href="generic.math-functions-api.html#clojure.contrib.generic.math-functions/asin" id="var-tag">asin</a> </span><span id="var-link"><a href="generic.math-functions-api.html#clojure.contrib.generic.math-functions/atan" id="var-tag">atan</a> </span><span id="var-link"><a href="generic.math-functions-api.html#clojure.contrib.generic.math-functions/atan2" id="var-tag">atan2</a> </span><span id="var-link"><a href="generic.math-functions-api.html#clojure.contrib.generic.math-functions/ceil" id="var-tag">ceil</a> </span><span id="var-link"><a href="generic.math-functions-api.html#clojure.contrib.generic.math-functions/conjugate" id="var-tag">conjugate</a> </span><span id="var-link"><a href="generic.math-functions-api.html#clojure.contrib.generic.math-functions/cos" id="var-tag">cos</a> </span><span id="var-link"><a href="generic.math-functions-api.html#clojure.contrib.generic.math-functions/exp" id="var-tag">exp</a> </span><span id="var-link"><a href="generic.math-functions-api.html#clojure.contrib.generic.math-functions/floor" id="var-tag">floor</a> </span><span id="var-link"><a href="generic.math-functions-api.html#clojure.contrib.generic.math-functions/log" id="var-tag">log</a> </span><span id="var-link"><a href="generic.math-functions-api.html#clojure.contrib.generic.math-functions/pow" id="var-tag">pow</a> </span><span id="var-link"><a href="generic.math-functions-api.html#clojure.contrib.generic.math-functions/rint" id="var-tag">rint</a> </span><span id="var-link"><a href="generic.math-functions-api.html#clojure.contrib.generic.math-functions/round" id="var-tag">round</a> </span><span id="var-link"><a href="generic.math-functions-api.html#clojure.contrib.generic.math-functions/sgn" id="var-tag">sgn</a> </span><span id="var-link"><a href="generic.math-functions-api.html#clojure.contrib.generic.math-functions/sin" id="var-tag">sin</a> </span><span id="var-link"><a href="generic.math-functions-api.html#clojure.contrib.generic.math-functions/sqr" id="var-tag">sqr</a> </span><span id="var-link"><a href="generic.math-functions-api.html#clojure.contrib.generic.math-functions/sqrt" id="var-tag">sqrt</a> </span><span id="var-link"><a href="generic.math-functions-api.html#clojure.contrib.generic.math-functions/tan" id="var-tag">tan</a> </span><br /> - -</div><div id="namespace-entry"> - <br /> - <hr /> - <h2 id="graph">graph</h2> - <span id="author-line">by <span id="author-name">Jeffrey Straszheim</span><br /></span> - <a href="graph-api.html" id="api-link">Detailed API documentation</a><br /> - <pre id="namespace-docstr">Basic graph theory algorithms</pre> - - - - Public variables and functions: - <span id="var-link"><a href="graph-api.html#clojure.contrib.graph/add-loops" id="var-tag">add-loops</a> </span><span id="var-link"><a href="graph-api.html#clojure.contrib.graph/component-graph" id="var-tag">component-graph</a> </span><span id="var-link"><a href="graph-api.html#clojure.contrib.graph/dependency-list" id="var-tag">dependency-list</a> </span><span id="var-link"><a href="graph-api.html#clojure.contrib.graph/fixed-point" id="var-tag">fixed-point</a> </span><span id="var-link"><a href="graph-api.html#clojure.contrib.graph/get-neighbors" id="var-tag">get-neighbors</a> </span><span id="var-link"><a href="graph-api.html#clojure.contrib.graph/lazy-walk" id="var-tag">lazy-walk</a> </span><span id="var-link"><a href="graph-api.html#clojure.contrib.graph/post-ordered-nodes" id="var-tag">post-ordered-nodes</a> </span><span id="var-link"><a href="graph-api.html#clojure.contrib.graph/recursive-component?" id="var-tag">recursive-component?</a> </span><span id="var-link"><a href="graph-api.html#clojure.contrib.graph/remove-loops" id="var-tag">remove-loops</a> </span><span id="var-link"><a href="graph-api.html#clojure.contrib.graph/reverse-graph" id="var-tag">reverse-graph</a> </span><span id="var-link"><a href="graph-api.html#clojure.contrib.graph/scc" id="var-tag">scc</a> </span><span id="var-link"><a href="graph-api.html#clojure.contrib.graph/self-recursive-sets" id="var-tag">self-recursive-sets</a> </span><span id="var-link"><a href="graph-api.html#clojure.contrib.graph/stratification-list" id="var-tag">stratification-list</a> </span><span id="var-link"><a href="graph-api.html#clojure.contrib.graph/transitive-closure" id="var-tag">transitive-closure</a> </span><br /> - -</div><div id="namespace-entry"> - <br /> - <hr /> - <h2 id="greatest-least">greatest-least</h2> - <span id="author-line">by <span id="author-name">Vincent Foley</span><br /></span> - <a href="greatest-least-api.html" id="api-link">Detailed API documentation</a><br /> - <pre id="namespace-docstr">Various functions for finding greatest and least values in a collection</pre> - - - - Public variables and functions: - <span id="var-link"><a href="greatest-least-api.html#clojure.contrib.greatest-least/all-greatest" id="var-tag">all-greatest</a> </span><span id="var-link"><a href="greatest-least-api.html#clojure.contrib.greatest-least/all-greatest-by" id="var-tag">all-greatest-by</a> </span><span id="var-link"><a href="greatest-least-api.html#clojure.contrib.greatest-least/all-least" id="var-tag">all-least</a> </span><span id="var-link"><a href="greatest-least-api.html#clojure.contrib.greatest-least/all-least-by" id="var-tag">all-least-by</a> </span><span id="var-link"><a href="greatest-least-api.html#clojure.contrib.greatest-least/greatest" id="var-tag">greatest</a> </span><span id="var-link"><a href="greatest-least-api.html#clojure.contrib.greatest-least/greatest-by" id="var-tag">greatest-by</a> </span><span id="var-link"><a href="greatest-least-api.html#clojure.contrib.greatest-least/least" id="var-tag">least</a> </span><span id="var-link"><a href="greatest-least-api.html#clojure.contrib.greatest-least/least-by" id="var-tag">least-by</a> </span><br /> - -</div><div id="namespace-entry"> - <br /> - <hr /> - <h2 id="http.agent">http.agent</h2> - <span id="author-line">by <span id="author-name">Stuart Sierra</span><br /></span> - <a href="http.agent-api.html" id="api-link">Detailed API documentation</a><br /> - <pre id="namespace-docstr">Agent-based asynchronous HTTP client. - -This is a HTTP client library based on Java's HttpURLConnection -class and Clojure's Agent system. It allows you to make multiple -HTTP requests in parallel. - -Start an HTTP request with the 'http-agent' function, which -immediately returns a Clojure Agent. You will never deref this -agent; that is handled by the accessor functions. The agent will -execute the HTTP request on a separate thread. - -If you pass a :handler function to http-agent, that function will be -called as soon as the HTTP response body is ready. The handler -function is called with one argument, the HTTP agent itself. The -handler can read the response body by calling the 'stream' function -on the agent. - -The value returned by the handler function becomes part of the state -of the agent, and you can retrieve it with the 'result' function. -If you call 'result' before the HTTP request has finished, it will -block until the handler function returns. - -If you don't provide a handler function, the default handler will -buffer the entire response body in memory, which you can retrieve -with the 'bytes', 'string', or 'stream' functions. Like 'result', -these functions will block until the HTTP request is completed. - -If you want to check if an HTTP request is finished without -blocking, use the 'done?' function. - -A single GET request could be as simple as: - - (string (http-agent "<a href="http://www.stuartsierra.com/">http://www.stuartsierra.com/</a>")) - -A simple POST might look like: - - (http-agent "http..." :method "POST" :body "foo=1") - -And you could write the response directly to a file like this: - - (require '[clojure.contrib.io :as d]) - - (http-agent "http..." - :handler (fn [agnt] - (with-open [w (d/writer "/tmp/out")] - (d/copy (stream agnt) w))))</pre> - - <span class="ns-deprecated"><span id="content">Deprecated since clojure-contrib version 1.2</span><br /></span> - - Public variables and functions: - <span id="var-link"><a href="http.agent-api.html#clojure.contrib.http.agent/buffer-bytes" id="var-tag">buffer-bytes</a> </span><span id="var-link"><a href="http.agent-api.html#clojure.contrib.http.agent/bytes" id="var-tag">bytes</a> </span><span id="var-link"><a href="http.agent-api.html#clojure.contrib.http.agent/client-error?" id="var-tag">client-error?</a> </span><span id="var-link"><a href="http.agent-api.html#clojure.contrib.http.agent/done?" id="var-tag">done?</a> </span><span id="var-link"><a href="http.agent-api.html#clojure.contrib.http.agent/error?" id="var-tag">error?</a> </span><span id="var-link"><a href="http.agent-api.html#clojure.contrib.http.agent/headers" id="var-tag">headers</a> </span><span id="var-link"><a href="http.agent-api.html#clojure.contrib.http.agent/headers-seq" id="var-tag">headers-seq</a> </span><span id="var-link"><a href="http.agent-api.html#clojure.contrib.http.agent/http-agent" id="var-tag">http-agent</a> </span><span id="var-link"><a href="http.agent-api.html#clojure.contrib.http.agent/message" id="var-tag">message</a> </span><span id="var-link"><a href="http.agent-api.html#clojure.contrib.http.agent/method" id="var-tag">method</a> </span><span id="var-link"><a href="http.agent-api.html#clojure.contrib.http.agent/redirect?" id="var-tag">redirect?</a> </span><span id="var-link"><a href="http.agent-api.html#clojure.contrib.http.agent/request-body" id="var-tag">request-body</a> </span><span id="var-link"><a href="http.agent-api.html#clojure.contrib.http.agent/request-headers" id="var-tag">request-headers</a> </span><span id="var-link"><a href="http.agent-api.html#clojure.contrib.http.agent/request-uri" id="var-tag">request-uri</a> </span><span id="var-link"><a href="http.agent-api.html#clojure.contrib.http.agent/result" id="var-tag">result</a> </span><span id="var-link"><a href="http.agent-api.html#clojure.contrib.http.agent/server-error?" id="var-tag">server-error?</a> </span><span id="var-link"><a href="http.agent-api.html#clojure.contrib.http.agent/status" id="var-tag">status</a> </span><span id="var-link"><a href="http.agent-api.html#clojure.contrib.http.agent/stream" id="var-tag">stream</a> </span><span id="var-link"><a href="http.agent-api.html#clojure.contrib.http.agent/string" id="var-tag">string</a> </span><span id="var-link"><a href="http.agent-api.html#clojure.contrib.http.agent/success?" id="var-tag">success?</a> </span><br /> - -</div><div id="namespace-entry"> - <br /> - <hr /> - <h2 id="http.connection">http.connection</h2> - - <a href="http.connection-api.html" id="api-link">Detailed API documentation</a><br /> - <pre id="namespace-docstr">Low-level HTTP client API around HttpURLConnection</pre> - - <span class="ns-deprecated"><span id="content">Deprecated since clojure-contrib version 1.2</span><br /></span> - - Public variables and functions: - <span id="var-link"><a href="http.connection-api.html#clojure.contrib.http.connection/http-connection" id="var-tag">http-connection</a> </span><span id="var-link"><a href="http.connection-api.html#clojure.contrib.http.connection/send-request-entity" id="var-tag">send-request-entity</a> </span><br /> - -</div><div id="namespace-entry"> - <br /> - <hr /> - <h2 id="import-static">import-static</h2> - <span id="author-line">by <span id="author-name">Stuart Sierra</span><br /></span> - <a href="import-static-api.html" id="api-link">Detailed API documentation</a><br /> - <pre id="namespace-docstr">Import static Java methods/fields into Clojure</pre> - - - - Public variables and functions: - <span id="var-link"><a href="import-static-api.html#clojure.contrib.import-static/import-static" id="var-tag">import-static</a> </span><br /> - -</div><div id="namespace-entry"> - <br /> - <hr /> - <h2 id="io">io</h2> - <span id="author-line">by <span id="author-name">Stuart Sierra</span><br /></span> - <a href="io-api.html" id="api-link">Detailed API documentation</a><br /> - <pre id="namespace-docstr">This file defines polymorphic I/O utility functions for Clojure. - -The Streams protocol defines reader, writer, input-stream and -output-stream methods that return BufferedReader, BufferedWriter, -BufferedInputStream and BufferedOutputStream instances (respectively), -with default implementations extended to a variety of argument -types: URLs or filenames as strings, java.io.File's, Sockets, etc.</pre> - - - - Public variables and functions: - <span id="var-link"><a href="io-api.html#clojure.contrib.io/*append*" id="var-tag">*append*</a> </span><span id="var-link"><a href="io-api.html#clojure.contrib.io/*buffer-size*" id="var-tag">*buffer-size*</a> </span><span id="var-link"><a href="io-api.html#clojure.contrib.io/*byte-array-type*" id="var-tag">*byte-array-type*</a> </span><span id="var-link"><a href="io-api.html#clojure.contrib.io/*char-array-type*" id="var-tag">*char-array-type*</a> </span><span id="var-link"><a href="io-api.html#clojure.contrib.io/*default-encoding*" id="var-tag">*default-encoding*</a> </span><span id="var-link"><a href="io-api.html#clojure.contrib.io/append-output-stream" id="var-tag">append-output-stream</a> </span><span id="var-link"><a href="io-api.html#clojure.contrib.io/append-spit" id="var-tag">append-spit</a> </span><span id="var-link"><a href="io-api.html#clojure.contrib.io/append-writer" id="var-tag">append-writer</a> </span><span id="var-link"><a href="io-api.html#clojure.contrib.io/as-url" id="var-tag">as-url</a> </span><span id="var-link"><a href="io-api.html#clojure.contrib.io/copy" id="var-tag">copy</a> </span><span id="var-link"><a href="io-api.html#clojure.contrib.io/delete-file" id="var-tag">delete-file</a> </span><span id="var-link"><a href="io-api.html#clojure.contrib.io/delete-file-recursively" id="var-tag">delete-file-recursively</a> </span><span id="var-link"><a href="io-api.html#clojure.contrib.io/file" id="var-tag">file</a> </span><span id="var-link"><a href="io-api.html#clojure.contrib.io/file-str" id="var-tag">file-str</a> </span><span id="var-link"><a href="io-api.html#clojure.contrib.io/input-stream" id="var-tag">input-stream</a> </span><span id="var-link"><a href="io-api.html#clojure.contrib.io/make-parents" id="var-tag">make-parents</a> </span><span id="var-link"><a href="io-api.html#clojure.contrib.io/output-stream" id="var-tag">output-stream</a> </span><span id="var-link"><a href="io-api.html#clojure.contrib.io/pwd" id="var-tag">pwd</a> </span><span id="var-link"><a href="io-api.html#clojure.contrib.io/read-lines" id="var-tag">read-lines</a> </span><span id="var-link"><a href="io-api.html#clojure.contrib.io/reader" id="var-tag">reader</a> </span><span id="var-link"><a href="io-api.html#clojure.contrib.io/relative-path-string" id="var-tag">relative-path-string</a> </span><span id="var-link"><a href="io-api.html#clojure.contrib.io/slurp*" id="var-tag">slurp*</a> </span><span id="var-link"><a href="io-api.html#clojure.contrib.io/spit" id="var-tag">spit</a> </span><span id="var-link"><a href="io-api.html#clojure.contrib.io/to-byte-array" id="var-tag">to-byte-array</a> </span><span id="var-link"><a href="io-api.html#clojure.contrib.io/with-in-reader" id="var-tag">with-in-reader</a> </span><span id="var-link"><a href="io-api.html#clojure.contrib.io/with-out-append-writer" id="var-tag">with-out-append-writer</a> </span><span id="var-link"><a href="io-api.html#clojure.contrib.io/with-out-writer" id="var-tag">with-out-writer</a> </span><span id="var-link"><a href="io-api.html#clojure.contrib.io/write-lines" id="var-tag">write-lines</a> </span><span id="var-link"><a href="io-api.html#clojure.contrib.io/writer" id="var-tag">writer</a> </span><br /> - -</div><div id="namespace-entry"> - <br /> - <hr /> - <h2 id="jar">jar</h2> - <span id="author-line">by <span id="author-name">Stuart Sierra</span><br /></span> - <a href="jar-api.html" id="api-link">Detailed API documentation</a><br /> - <pre id="namespace-docstr">Utilities for working with Java JAR files</pre> - - - - Public variables and functions: - <span id="var-link"><a href="jar-api.html#clojure.contrib.jar/filenames-in-jar" id="var-tag">filenames-in-jar</a> </span><span id="var-link"><a href="jar-api.html#clojure.contrib.jar/jar-file?" id="var-tag">jar-file?</a> </span><br /> - -</div><div id="namespace-entry"> - <br /> - <hr /> - <h2 id="java-utils">java-utils</h2> - <span id="author-line">by <span id="author-name">Stuart Halloway, Stephen C. Gilardi, Shawn Hoover, Perry Trolard, Stuart Sierra</span><br /></span> - <a href="java-utils-api.html" id="api-link">Detailed API documentation</a><br /> - <pre id="namespace-docstr">A set of utilties for dealing with Java stuff like files and properties. - -Design goals: - -(1) Ease-of-use. These APIs should be convenient. Performance is secondary. - -(2) Duck typing. I hate having to think about the difference between - a string that names a file, and a File. Ditto for a ton of other - wrapper classes in the Java world (URL, InternetAddress). With these - APIs you should be able to think about domain equivalence, not type - equivalence. - -(3) No bossiness. I am not marking any of these functions as private - the docstrings will tell you the intended usage but do what works for you. - -Feedback welcome! - -If something in this module violates the principle of least surprise, please -let me (Stu) and the Clojure community know via the mailing list. -Contributors: - -Stuart Halloway -Stephen C. Gilardi -Shawn Hoover -Perry Trolard -Stuart Sierra</pre> - - - - Public variables and functions: - <span id="var-link"><a href="java-utils-api.html#clojure.contrib.java-utils/as-file" id="var-tag">as-file</a> </span><span id="var-link"><a href="java-utils-api.html#clojure.contrib.java-utils/as-properties" id="var-tag">as-properties</a> </span><span id="var-link"><a href="java-utils-api.html#clojure.contrib.java-utils/as-str" id="var-tag">as-str</a> </span><span id="var-link"><a href="java-utils-api.html#clojure.contrib.java-utils/as-url" id="var-tag">as-url</a> </span><span id="var-link"><a href="java-utils-api.html#clojure.contrib.java-utils/delete-file" id="var-tag">delete-file</a> </span><span id="var-link"><a href="java-utils-api.html#clojure.contrib.java-utils/delete-file-recursively" id="var-tag">delete-file-recursively</a> </span><span id="var-link"><a href="java-utils-api.html#clojure.contrib.java-utils/file" id="var-tag">file</a> </span><span id="var-link"><a href="java-utils-api.html#clojure.contrib.java-utils/get-system-property" id="var-tag">get-system-property</a> </span><span id="var-link"><a href="java-utils-api.html#clojure.contrib.java-utils/read-properties" id="var-tag">read-properties</a> </span><span id="var-link"><a href="java-utils-api.html#clojure.contrib.java-utils/relative-path-string" id="var-tag">relative-path-string</a> </span><span id="var-link"><a href="java-utils-api.html#clojure.contrib.java-utils/set-system-properties" id="var-tag">set-system-properties</a> </span><span id="var-link"><a href="java-utils-api.html#clojure.contrib.java-utils/wall-hack-field" id="var-tag">wall-hack-field</a> </span><span id="var-link"><a href="java-utils-api.html#clojure.contrib.java-utils/wall-hack-method" id="var-tag">wall-hack-method</a> </span><span id="var-link"><a href="java-utils-api.html#clojure.contrib.java-utils/with-system-properties" id="var-tag">with-system-properties</a> </span><span id="var-link"><a href="java-utils-api.html#clojure.contrib.java-utils/write-properties" id="var-tag">write-properties</a> </span><br /> - -</div><div id="namespace-entry"> - <br /> - <hr /> - <h2 id="javadoc.browse">javadoc.browse</h2> - <span id="author-line">by <span id="author-name">Christophe Grand</span><br /></span> - <a href="javadoc.browse-api.html" id="api-link">Detailed API documentation</a><br /> - <pre id="namespace-docstr">Start a web browser from Clojure</pre> - - <span class="ns-deprecated"><span id="content">Deprecated since clojure-contrib version 1.2</span><br /></span> - - Public variables and functions: - <span id="var-link"><a href="javadoc.browse-api.html#clojure.contrib.javadoc.browse/open-url-in-browser" id="var-tag">open-url-in-browser</a> </span><span id="var-link"><a href="javadoc.browse-api.html#clojure.contrib.javadoc.browse/open-url-in-swing" id="var-tag">open-url-in-swing</a> </span><br /> - -</div><div id="namespace-entry"> - <br /> - <hr /> - <h2 id="jmx">jmx</h2> - <span id="author-line">by <span id="author-name">Stuart Halloway</span><br /></span> - <a href="jmx-api.html" id="api-link">Detailed API documentation</a><br /> - <pre id="namespace-docstr">JMX support for Clojure - -Requires post-Clojure 1.0 git edge for clojure.test, clojure.backtrace. -This is prerelease. -This API will change. -Send reports to stu@thinkrelevance.com. - -Usage - (require '[clojure.contrib.jmx :as jmx]) - -What beans do I have? - - (jmx/mbean-names "*:*") - -> #<HashSet [java.lang:type=MemoryPool,name=CMS Old Gen, - java.lang:type=Memory, ...] - -What attributes does a bean have? - - (jmx/attribute-names "java.lang:type=Memory") - -> (:Verbose :ObjectPendingFinalizationCount - :HeapMemoryUsage :NonHeapMemoryUsage) - -What is the value of an attribute? - - (jmx/read "java.lang:type=Memory" :ObjectPendingFinalizationCount) - -> 0 - -Can't I just have *all* the attributes in a Clojure map? - - (jmx/mbean "java.lang:type=Memory") - -> {:NonHeapMemoryUsage - {:used 16674024, :max 138412032, :init 24317952, :committed 24317952}, - :HeapMemoryUsage - {:used 18619064, :max 85393408, :init 0, :committed 83230720}, - :ObjectPendingFinalizationCount 0, - :Verbose false} - -Can I find and invoke an operation? - - (jmx/operation-names "java.lang:type=Memory") - -> (:gc) - (jmx/invoke "java.lang:type=Memory" :gc) - -> nil - -What about some other process? Just run *any* of the above code -inside a with-connection: - - (jmx/with-connection {:host "localhost", :port 3000} - (jmx/mbean "java.lang:type=Memory")) - -> {:ObjectPendingFinalizationCount 0, - :HeapMemoryUsage ... etc.} - -Can I serve my own beans? Sure, just drop a Clojure ref -into an instance of clojure.contrib.jmx.Bean, and the bean -will expose read-only attributes for every key/value pair -in the ref: - - (jmx/register-mbean - (Bean. - (ref {:string-attribute "a-string"})) - "my.namespace:name=Value")</pre> - - - - Public variables and functions: - <span id="var-link"><a href="jmx-api.html#clojure.contrib.jmx/*connection*" id="var-tag">*connection*</a> </span><span id="var-link"><a href="jmx-api.html#clojure.contrib.jmx/as-object-name" id="var-tag">as-object-name</a> </span><span id="var-link"><a href="jmx-api.html#clojure.contrib.jmx/attribute-info" id="var-tag">attribute-info</a> </span><span id="var-link"><a href="jmx-api.html#clojure.contrib.jmx/attribute-names" id="var-tag">attribute-names</a> </span><span id="var-link"><a href="jmx-api.html#clojure.contrib.jmx/build-attribute-info" id="var-tag">build-attribute-info</a> </span><span id="var-link"><a href="jmx-api.html#clojure.contrib.jmx/guess-attribute-typename" id="var-tag">guess-attribute-typename</a> </span><span id="var-link"><a href="jmx-api.html#clojure.contrib.jmx/jmx->clj" id="var-tag">jmx->clj</a> </span><span id="var-link"><a href="jmx-api.html#clojure.contrib.jmx/jmx-url" id="var-tag">jmx-url</a> </span><span id="var-link"><a href="jmx-api.html#clojure.contrib.jmx/map->attribute-infos" id="var-tag">map->attribute-infos</a> </span><span id="var-link"><a href="jmx-api.html#clojure.contrib.jmx/maybe-atomize" id="var-tag">maybe-atomize</a> </span><span id="var-link"><a href="jmx-api.html#clojure.contrib.jmx/maybe-keywordize" id="var-tag">maybe-keywordize</a> </span><span id="var-link"><a href="jmx-api.html#clojure.contrib.jmx/mbean" id="var-tag">mbean</a> </span><span id="var-link"><a href="jmx-api.html#clojure.contrib.jmx/mbean-names" id="var-tag">mbean-names</a> </span><span id="var-link"><a href="jmx-api.html#clojure.contrib.jmx/op-param-types" id="var-tag">op-param-types</a> </span><span id="var-link"><a href="jmx-api.html#clojure.contrib.jmx/operation" id="var-tag">operation</a> </span><span id="var-link"><a href="jmx-api.html#clojure.contrib.jmx/operation-names" id="var-tag">operation-names</a> </span><span id="var-link"><a href="jmx-api.html#clojure.contrib.jmx/operations" id="var-tag">operations</a> </span><span id="var-link"><a href="jmx-api.html#clojure.contrib.jmx/raw-read" id="var-tag">raw-read</a> </span><span id="var-link"><a href="jmx-api.html#clojure.contrib.jmx/read" id="var-tag">read</a> </span><span id="var-link"><a href="jmx-api.html#clojure.contrib.jmx/read-supported" id="var-tag">read-supported</a> </span><span id="var-link"><a href="jmx-api.html#clojure.contrib.jmx/readable?" id="var-tag">readable?</a> </span><span id="var-link"><a href="jmx-api.html#clojure.contrib.jmx/with-connection" id="var-tag">with-connection</a> </span><br /> - -</div><div id="namespace-entry"> - <br /> - <hr /> - <h2 id="json">json</h2> - <span id="author-line">by <span id="author-name">Stuart Sierra</span><br /></span> - <a href="json-api.html" id="api-link">Detailed API documentation</a><br /> - <pre id="namespace-docstr">JavaScript Object Notation (JSON) parser/writer. -See <a href="http://www.json.org/">http://www.json.org/</a> -To write JSON, use json-str, write-json, or write-json. -To read JSON, use read-json.</pre> - - - - Public variables and functions: - <span id="var-link"><a href="json-api.html#clojure.contrib.json/json-str" id="var-tag">json-str</a> </span><span id="var-link"><a href="json-api.html#clojure.contrib.json/pprint-json" id="var-tag">pprint-json</a> </span><span id="var-link"><a href="json-api.html#clojure.contrib.json/print-json" id="var-tag">print-json</a> </span><span id="var-link"><a href="json-api.html#clojure.contrib.json/read-json" id="var-tag">read-json</a> </span><span id="var-link"><a href="json-api.html#clojure.contrib.json/read-json-from" id="var-tag">read-json-from</a> </span><span id="var-link"><a href="json-api.html#clojure.contrib.json/write-json" id="var-tag">write-json</a> </span><br /> - -</div><div id="namespace-entry"> - <br /> - <hr /> - <h2 id="lazy-seqs">lazy-seqs</h2> - <span id="author-line">by <span id="author-name">Stephen C. Gilardi</span><br /></span> - <a href="lazy-seqs-api.html" id="api-link">Detailed API documentation</a><br /> - <pre id="namespace-docstr"> -==== Lazy sequences ==== - - primes - based on the "naive" implemention described in [1] plus a - small "wheel" which eliminates multiples of 2, 3, 5, and - 7 from consideration by incrementing past them. Also inspired - by code from Christophe Grand in [2]. - - fibs - all the Fibonacci numbers - - powers-of-2 - all the powers of 2 - - ==== Lazy sequence functions ==== - - (partition-all, shuffle moved to clojure.core) - (rand-elt moved to clojure.core/rand-nth) - (rotations, rand-elt moved to seq_utils.clj) - (permutations and combinations moved to combinatorics.clj) - - [1] <a href="http://www.cs.hmc.edu/~oneill/papers/Sieve-JFP.pdf">http://www.cs.hmc.edu/~oneill/papers/Sieve-JFP.pdf</a> - [2] <a href="http://clj-me.blogspot.com/2008/06/primes.html">http://clj-me.blogspot.com/2008/06/primes.html</a></pre> - - - - Public variables and functions: - <span id="var-link"><a href="lazy-seqs-api.html#clojure.contrib.lazy-seqs/fibs" id="var-tag">fibs</a> </span><span id="var-link"><a href="lazy-seqs-api.html#clojure.contrib.lazy-seqs/powers-of-2" id="var-tag">powers-of-2</a> </span><span id="var-link"><a href="lazy-seqs-api.html#clojure.contrib.lazy-seqs/primes" id="var-tag">primes</a> </span><br /> - -</div><div id="namespace-entry"> - <br /> - <hr /> - <h2 id="lazy-xml">lazy-xml</h2> - <span id="author-line">by <span id="author-name">Chris Houser</span><br /></span> - <a href="lazy-xml-api.html" id="api-link">Detailed API documentation</a><br /> - <pre id="namespace-docstr">Functions to parse xml lazily and emit back to text.</pre> - - - - Public variables and functions: - <span id="var-link"><a href="lazy-xml-api.html#clojure.contrib.lazy-xml/parse-seq" id="var-tag">parse-seq</a> </span><span id="var-link"><a href="lazy-xml-api.html#clojure.contrib.lazy-xml/parse-trim" id="var-tag">parse-trim</a> </span><br /> - -</div><div id="namespace-entry"> - <br /> - <hr /> - <h2 id="logging">logging</h2> - <span id="author-line">by <span id="author-name">Alex Taggart, Timothy Pratley</span><br /></span> - <a href="logging-api.html" id="api-link">Detailed API documentation</a><br /> - <pre id="namespace-docstr">Logging macros which delegate to a specific logging implementation. At -runtime a specific implementation is selected from, in order, Apache -commons-logging, log4j, and finally java.util.logging. - -Logging levels are specified by clojure keywords corresponding to the -values used in log4j and commons-logging: - :trace, :debug, :info, :warn, :error, :fatal - -Logging occurs with the log macro, or the level-specific convenience macros, -which write either directly or via an agent. For performance reasons, direct -logging is enabled by default, but setting the *allow-direct-logging* boolean -atom to false will disable it. If logging is invoked within a transaction it -will always use an agent. - -The log macros will not evaluate their 'message' unless the specific logging -level is in effect. Alternately, you can use the spy macro when you have code -that needs to be evaluated, and also want to output the code and its result to -the debug log. - -Unless otherwise specified, the current namespace (as identified by *ns*) will -be used as the log-ns (similar to how the java class name is usually used). -Note: your log configuration should display the name that was passed to the -logging implementation, and not perform stack-inspection, otherwise you'll see -something like "fn__72$impl_write_BANG__39__auto____81" in your logs. - -Use the enabled? macro to write conditional code against the logging level -(beyond simply whether or not to call log, which is handled automatically). - -You can redirect all java writes of System.out and System.err to the log -system by calling log-capture!. To rebind *out* and *err* to the log system -invoke with-logs. In both cases a log-ns (e.g., "com.example.captured") -needs to be specified to namespace the output.</pre> - - - - Public variables and functions: - <span id="var-link"><a href="logging-api.html#clojure.contrib.logging/*allow-direct-logging*" id="var-tag">*allow-direct-logging*</a> </span><span id="var-link"><a href="logging-api.html#clojure.contrib.logging/*impl-name*" id="var-tag">*impl-name*</a> </span><span id="var-link"><a href="logging-api.html#clojure.contrib.logging/*logging-agent*" id="var-tag">*logging-agent*</a> </span><span id="var-link"><a href="logging-api.html#clojure.contrib.logging/debug" id="var-tag">debug</a> </span><span id="var-link"><a href="logging-api.html#clojure.contrib.logging/enabled?" id="var-tag">enabled?</a> </span><span id="var-link"><a href="logging-api.html#clojure.contrib.logging/error" id="var-tag">error</a> </span><span id="var-link"><a href="logging-api.html#clojure.contrib.logging/fatal" id="var-tag">fatal</a> </span><span id="var-link"><a href="logging-api.html#clojure.contrib.logging/impl-enabled?" id="var-tag">impl-enabled?</a> </span><span id="var-link"><a href="logging-api.html#clojure.contrib.logging/impl-get-log" id="var-tag">impl-get-log</a> </span><span id="var-link"><a href="logging-api.html#clojure.contrib.logging/impl-write!" id="var-tag">impl-write!</a> </span><span id="var-link"><a href="logging-api.html#clojure.contrib.logging/info" id="var-tag">info</a> </span><span id="var-link"><a href="logging-api.html#clojure.contrib.logging/log" id="var-tag">log</a> </span><span id="var-link"><a href="logging-api.html#clojure.contrib.logging/log-capture!" id="var-tag">log-capture!</a> </span><span id="var-link"><a href="logging-api.html#clojure.contrib.logging/log-stream" id="var-tag">log-stream</a> </span><span id="var-link"><a href="logging-api.html#clojure.contrib.logging/log-uncapture!" id="var-tag">log-uncapture!</a> </span><span id="var-link"><a href="logging-api.html#clojure.contrib.logging/spy" id="var-tag">spy</a> </span><span id="var-link"><a href="logging-api.html#clojure.contrib.logging/trace" id="var-tag">trace</a> </span><span id="var-link"><a href="logging-api.html#clojure.contrib.logging/warn" id="var-tag">warn</a> </span><span id="var-link"><a href="logging-api.html#clojure.contrib.logging/with-logs" id="var-tag">with-logs</a> </span><br /> - -</div><div id="namespace-entry"> - <br /> - <hr /> - <h2 id="macro-utils">macro-utils</h2> - <span id="author-line">by <span id="author-name">Konrad Hinsen</span><br /></span> - <a href="macro-utils-api.html" id="api-link">Detailed API documentation</a><br /> - <pre id="namespace-docstr">Local macros and symbol macros - -Local macros are defined by a macrolet form. They are usable only -inside its body. Symbol macros can be defined globally -(defsymbolmacro) or locally (symbol-macrolet). A symbol -macro defines a form that replaces a symbol during macro -expansion. Function arguments and symbols bound in let -forms are not subject to symbol macro expansion. - -Local macros are most useful in the definition of the expansion -of another macro, they may be used anywhere. Global symbol -macros can be used only inside a with-symbol-macros form.</pre> - - - - Public variables and functions: - <span id="var-link"><a href="macro-utils-api.html#clojure.contrib.macro-utils/defsymbolmacro" id="var-tag">defsymbolmacro</a> </span><span id="var-link"><a href="macro-utils-api.html#clojure.contrib.macro-utils/deftemplate" id="var-tag">deftemplate</a> </span><span id="var-link"><a href="macro-utils-api.html#clojure.contrib.macro-utils/macrolet" id="var-tag">macrolet</a> </span><span id="var-link"><a href="macro-utils-api.html#clojure.contrib.macro-utils/mexpand" id="var-tag">mexpand</a> </span><span id="var-link"><a href="macro-utils-api.html#clojure.contrib.macro-utils/mexpand-1" id="var-tag">mexpand-1</a> </span><span id="var-link"><a href="macro-utils-api.html#clojure.contrib.macro-utils/mexpand-all" id="var-tag">mexpand-all</a> </span><span id="var-link"><a href="macro-utils-api.html#clojure.contrib.macro-utils/symbol-macrolet" id="var-tag">symbol-macrolet</a> </span><span id="var-link"><a href="macro-utils-api.html#clojure.contrib.macro-utils/with-symbol-macros" id="var-tag">with-symbol-macros</a> </span><br /> - -</div><div id="namespace-entry"> - <br /> - <hr /> - <h2 id="macros">macros</h2> - <span id="author-line">by <span id="author-name">Konrad Hinsen</span><br /></span> - <a href="macros-api.html" id="api-link">Detailed API documentation</a><br /> - <pre id="namespace-docstr">Various small macros</pre> - - - - Public variables and functions: - <span id="var-link"><a href="macros-api.html#clojure.contrib.macros/const" id="var-tag">const</a> </span><span id="var-link"><a href="macros-api.html#clojure.contrib.macros/letfn-" id="var-tag">letfn-</a> </span><span id="var-link"><a href="macros-api.html#clojure.contrib.macros/with-direct-linking" id="var-tag">with-direct-linking</a> </span><br /> - -</div><div id="namespace-entry"> - <br /> - <hr /> - <h2 id="map-utils">map-utils</h2> - <span id="author-line">by <span id="author-name">Jason Wolfe, Chris Houser</span><br /></span> - <a href="map-utils-api.html" id="api-link">Detailed API documentation</a><br /> - <pre id="namespace-docstr">Utilities for operating on Clojure maps.</pre> - - - - Public variables and functions: - <span id="var-link"><a href="map-utils-api.html#clojure.contrib.map-utils/deep-merge-with" id="var-tag">deep-merge-with</a> </span><span id="var-link"><a href="map-utils-api.html#clojure.contrib.map-utils/lazy-get" id="var-tag">lazy-get</a> </span><span id="var-link"><a href="map-utils-api.html#clojure.contrib.map-utils/safe-get" id="var-tag">safe-get</a> </span><span id="var-link"><a href="map-utils-api.html#clojure.contrib.map-utils/safe-get-in" id="var-tag">safe-get-in</a> </span><br /> - -</div><div id="namespace-entry"> - <br /> - <hr /> - <h2 id="math">math</h2> - <span id="author-line">by <span id="author-name">Mark Engelberg</span><br /></span> - <a href="math-api.html" id="api-link">Detailed API documentation</a><br /> - <pre id="namespace-docstr">Math functions that deal intelligently with the various -types in Clojure's numeric tower, as well as math functions -commonly found in Scheme implementations. - -expt - (expt x y) is x to the yth power, returns an exact number - if the base is an exact number, and the power is an integer, - otherwise returns a double. -abs - (abs n) is the absolute value of n -gcd - (gcd m n) returns the greatest common divisor of m and n -lcm - (lcm m n) returns the least common multiple of m and n - -The behavior of the next three functions on doubles is consistent -with the behavior of the corresponding functions -in Java's Math library, but on exact numbers, returns an integer. - -floor - (floor n) returns the greatest integer less than or equal to n. - If n is an exact number, floor returns an integer, - otherwise a double. -ceil - (ceil n) returns the least integer greater than or equal to n. - If n is an exact number, ceil returns an integer, - otherwise a double. -round - (round n) rounds to the nearest integer. - round always returns an integer. round rounds up for values - exactly in between two integers. - - -sqrt - Implements the sqrt behavior I'm accustomed to from PLT Scheme, - specifically, if the input is an exact number, and is a square - of an exact number, the output will be exact. The downside - is that for the common case (inexact square root), some extra - computation is done to look for an exact square root first. - So if you need blazingly fast square root performance, and you - know you're just going to need a double result, you're better - off calling java's Math/sqrt, or alternatively, you could just - convert your input to a double before calling this sqrt function. - If Clojure ever gets complex numbers, then this function will - need to be updated (so negative inputs yield complex outputs). -exact-integer-sqrt - Implements a math function from the R6RS Scheme - standard. (exact-integer-sqrt k) where k is a non-negative integer, - returns [s r] where k = s^2+r and k < (s+1)^2. In other words, it - returns the floor of the square root and the </pre> - - - - Public variables and functions: - <span id="var-link"><a href="math-api.html#clojure.contrib.math/abs" id="var-tag">abs</a> </span><span id="var-link"><a href="math-api.html#clojure.contrib.math/ceil" id="var-tag">ceil</a> </span><span id="var-link"><a href="math-api.html#clojure.contrib.math/exact-integer-sqrt" id="var-tag">exact-integer-sqrt</a> </span><span id="var-link"><a href="math-api.html#clojure.contrib.math/expt" id="var-tag">expt</a> </span><span id="var-link"><a href="math-api.html#clojure.contrib.math/floor" id="var-tag">floor</a> </span><span id="var-link"><a href="math-api.html#clojure.contrib.math/gcd" id="var-tag">gcd</a> </span><span id="var-link"><a href="math-api.html#clojure.contrib.math/lcm" id="var-tag">lcm</a> </span><span id="var-link"><a href="math-api.html#clojure.contrib.math/round" id="var-tag">round</a> </span><span id="var-link"><a href="math-api.html#clojure.contrib.math/sqrt" id="var-tag">sqrt</a> </span><br /> - -</div><div id="namespace-entry"> - <br /> - <hr /> - <h2 id="miglayout">miglayout</h2> - <span id="author-line">by <span id="author-name">Stephen C. Gilardi</span><br /></span> - <a href="miglayout-api.html" id="api-link">Detailed API documentation</a><br /> - <pre id="namespace-docstr">Clojure support for the MiGLayout layout manager -<a href="http://www.miglayout.com/">http://www.miglayout.com/</a> - -Example: - - (use '[clojure.contrib.miglayout.test :as mlt :only ()]) - (dotimes [i 5] (mlt/run-test i))</pre> - - - - Public variables and functions: - <span id="var-link"><a href="miglayout-api.html#clojure.contrib.miglayout/components" id="var-tag">components</a> </span><span id="var-link"><a href="miglayout-api.html#clojure.contrib.miglayout/miglayout" id="var-tag">miglayout</a> </span><br /> - <span id="subspace"><br />Variables and functions in - <span id="name">miglayout.example</span>: - <span id="sub-var-link"> - <a href="miglayout-api.html#clojure.contrib.miglayout.example/converter-ui">converter-ui</a> - </span><span id="sub-var-link"> - <a href="miglayout-api.html#clojure.contrib.miglayout.example/fahrenheit">fahrenheit</a> - </span><span id="sub-var-link"> - <a href="miglayout-api.html#clojure.contrib.miglayout.example/main">main</a> - </span> - <br /> - </span><span id="subspace"><br />Variables and functions in - <span id="name">miglayout.internal</span>: - <span id="sub-var-link"> - <a href="miglayout-api.html#clojure.contrib.miglayout.internal/add-components">add-components</a> - </span><span id="sub-var-link"> - <a href="miglayout-api.html#clojure.contrib.miglayout.internal/component?">component?</a> - </span><span id="sub-var-link"> - <a href="miglayout-api.html#clojure.contrib.miglayout.internal/constraint?">constraint?</a> - </span><span id="sub-var-link"> - <a href="miglayout-api.html#clojure.contrib.miglayout.internal/do-layout">do-layout</a> - </span><span id="sub-var-link"> - <a href="miglayout-api.html#clojure.contrib.miglayout.internal/format-constraint">format-constraint</a> - </span><span id="sub-var-link"> - <a href="miglayout-api.html#clojure.contrib.miglayout.internal/format-constraints">format-constraints</a> - </span><span id="sub-var-link"> - <a href="miglayout-api.html#clojure.contrib.miglayout.internal/get-components">get-components</a> - </span><span id="sub-var-link"> - <a href="miglayout-api.html#clojure.contrib.miglayout.internal/parse-component-constraint">parse-component-constraint</a> - </span><span id="sub-var-link"> - <a href="miglayout-api.html#clojure.contrib.miglayout.internal/parse-item-constraints">parse-item-constraints</a> - </span> - <br /> - </span> -</div><div id="namespace-entry"> - <br /> - <hr /> - <h2 id="mmap">mmap</h2> - <span id="author-line">by <span id="author-name">Chris Houser</span><br /></span> - <a href="mmap-api.html" id="api-link">Detailed API documentation</a><br /> - <pre id="namespace-docstr">Functions for memory-mapping files, plus some functions that use a -mmaped file for "normal" activies -- slurp, load-file, etc.</pre> - - - - Public variables and functions: - <span id="var-link"><a href="mmap-api.html#clojure.contrib.mmap/buffer-stream" id="var-tag">buffer-stream</a> </span><span id="var-link"><a href="mmap-api.html#clojure.contrib.mmap/mmap" id="var-tag">mmap</a> </span><span id="var-link"><a href="mmap-api.html#clojure.contrib.mmap/slurp" id="var-tag">slurp</a> </span><br /> - -</div><div id="namespace-entry"> - <br /> - <hr /> - <h2 id="mock">mock</h2> - - <a href="mock-api.html" id="api-link">Detailed API documentation</a><br /> - <pre id="namespace-docstr"></pre> - - - - Public variables and functions: - <span id="var-link"><a href="mock-api.html#clojure.contrib.mock/calls" id="var-tag">calls</a> </span><span id="var-link"><a href="mock-api.html#clojure.contrib.mock/expect" id="var-tag">expect</a> </span><span id="var-link"><a href="mock-api.html#clojure.contrib.mock/has-args" id="var-tag">has-args</a> </span><span id="var-link"><a href="mock-api.html#clojure.contrib.mock/has-matching-signature?" id="var-tag">has-matching-signature?</a> </span><span id="var-link"><a href="mock-api.html#clojure.contrib.mock/make-arg-checker" id="var-tag">make-arg-checker</a> </span><span id="var-link"><a href="mock-api.html#clojure.contrib.mock/make-count-checker" id="var-tag">make-count-checker</a> </span><span id="var-link"><a href="mock-api.html#clojure.contrib.mock/make-mock" id="var-tag">make-mock</a> </span><span id="var-link"><a href="mock-api.html#clojure.contrib.mock/returns" id="var-tag">returns</a> </span><span id="var-link"><a href="mock-api.html#clojure.contrib.mock/times" id="var-tag">times</a> </span><span id="var-link"><a href="mock-api.html#clojure.contrib.mock/validate-counts" id="var-tag">validate-counts</a> </span><br /> - <span id="subspace"><br />Variables and functions in - <span id="name">mock.test-adapter</span>: - <span id="sub-var-link"> - <a href="mock-api.html#clojure.contrib.mock.test-adapter/calls">calls</a> - </span><span id="sub-var-link"> - <a href="mock-api.html#clojure.contrib.mock.test-adapter/has-args">has-args</a> - </span><span id="sub-var-link"> - <a href="mock-api.html#clojure.contrib.mock.test-adapter/has-matching-signature?">has-matching-signature?</a> - </span><span id="sub-var-link"> - <a href="mock-api.html#clojure.contrib.mock.test-adapter/make-arg-checker">make-arg-checker</a> - </span><span id="sub-var-link"> - <a href="mock-api.html#clojure.contrib.mock.test-adapter/make-count-checker">make-count-checker</a> - </span><span id="sub-var-link"> - <a href="mock-api.html#clojure.contrib.mock.test-adapter/make-mock">make-mock</a> - </span><span id="sub-var-link"> - <a href="mock-api.html#clojure.contrib.mock.test-adapter/report-problem">report-problem</a> - </span><span id="sub-var-link"> - <a href="mock-api.html#clojure.contrib.mock.test-adapter/returns">returns</a> - </span><span id="sub-var-link"> - <a href="mock-api.html#clojure.contrib.mock.test-adapter/times">times</a> - </span><span id="sub-var-link"> - <a href="mock-api.html#clojure.contrib.mock.test-adapter/validate-counts">validate-counts</a> - </span> - <br /> - </span> -</div><div id="namespace-entry"> - <br /> - <hr /> - <h2 id="monadic-io-streams">monadic-io-streams</h2> - <span id="author-line">by <span id="author-name">Konrad Hinsen</span><br /></span> - <a href="monadic-io-streams-api.html" id="api-link">Detailed API documentation</a><br /> - <pre id="namespace-docstr">Monadic I/O with Java input/output streams -Defines monadic I/O statements to be used in a state monad -with an input or output stream as the state. The macro -monadic-io creates a stream, runs a monadic I/O statement -on it, and closes the stream. This structure permits the -definition of purely functional compound I/O statements -which are applied to streams that can never escape from the -monadic statement sequence.</pre> - - - - Public variables and functions: - <span id="var-link"><a href="monadic-io-streams-api.html#clojure.contrib.monadic-io-streams/flush" id="var-tag">flush</a> </span><span id="var-link"><a href="monadic-io-streams-api.html#clojure.contrib.monadic-io-streams/print" id="var-tag">print</a> </span><span id="var-link"><a href="monadic-io-streams-api.html#clojure.contrib.monadic-io-streams/println" id="var-tag">println</a> </span><span id="var-link"><a href="monadic-io-streams-api.html#clojure.contrib.monadic-io-streams/read-char" id="var-tag">read-char</a> </span><span id="var-link"><a href="monadic-io-streams-api.html#clojure.contrib.monadic-io-streams/read-line" id="var-tag">read-line</a> </span><span id="var-link"><a href="monadic-io-streams-api.html#clojure.contrib.monadic-io-streams/read-lines" id="var-tag">read-lines</a> </span><span id="var-link"><a href="monadic-io-streams-api.html#clojure.contrib.monadic-io-streams/skip-chars" id="var-tag">skip-chars</a> </span><span id="var-link"><a href="monadic-io-streams-api.html#clojure.contrib.monadic-io-streams/with-io-streams" id="var-tag">with-io-streams</a> </span><span id="var-link"><a href="monadic-io-streams-api.html#clojure.contrib.monadic-io-streams/with-reader" id="var-tag">with-reader</a> </span><span id="var-link"><a href="monadic-io-streams-api.html#clojure.contrib.monadic-io-streams/with-writer" id="var-tag">with-writer</a> </span><span id="var-link"><a href="monadic-io-streams-api.html#clojure.contrib.monadic-io-streams/write" id="var-tag">write</a> </span><br /> - -</div><div id="namespace-entry"> - <br /> - <hr /> - <h2 id="monads">monads</h2> - <span id="author-line">by <span id="author-name">Konrad Hinsen</span><br /></span> - <a href="monads-api.html" id="api-link">Detailed API documentation</a><br /> - <pre id="namespace-docstr">This library contains the most commonly used monads as well -as macros for defining and using monads and useful monadic -functions.</pre> - - - <span id="see-also">See also: - <span id="see-also-link"> - <a href="http://onclojure.com/2009/03/05/a-monad-tutorial-for-clojure-programmers-part-1/">Monad tutorial part 1</a> - </span><span id="see-also-link"> - <a href="http://onclojure.com/2009/03/06/a-monad-tutorial-for-clojure-programmers-part-2/">Monad tutorial part 2</a> - </span><span id="see-also-link"> - <a href="http://onclojure.com/2009/03/23/a-monad-tutorial-for-clojure-programmers-part-3/">Monad tutorial part 3</a> - </span><span id="see-also-link"> - <a href="http://onclojure.com/2009/04/24/a-monad-tutorial-for-clojure-programmers-part-4/">Monad tutorial part 4</a> - </span><span id="see-also-link"> - <a href="http://intensivesystems.net/tutorials/monads_101.html">Monads in Clojure part 1</a> - </span><span id="see-also-link"> - <a href="http://intensivesystems.net/tutorials/monads_201.html">Monads in Clojure part 2</a> - </span><br /> - </span> - Public variables and functions: - <span id="var-link"><a href="monads-api.html#clojure.contrib.monads/call-cc" id="var-tag">call-cc</a> </span><span id="var-link"><a href="monads-api.html#clojure.contrib.monads/cont-m" id="var-tag">cont-m</a> </span><span id="var-link"><a href="monads-api.html#clojure.contrib.monads/defmonad" id="var-tag">defmonad</a> </span><span id="var-link"><a href="monads-api.html#clojure.contrib.monads/defmonadfn" id="var-tag">defmonadfn</a> </span><span id="var-link"><a href="monads-api.html#clojure.contrib.monads/domonad" id="var-tag">domonad</a> </span><span id="var-link"><a href="monads-api.html#clojure.contrib.monads/fetch-state" id="var-tag">fetch-state</a> </span><span id="var-link"><a href="monads-api.html#clojure.contrib.monads/fetch-val" id="var-tag">fetch-val</a> </span><span id="var-link"><a href="monads-api.html#clojure.contrib.monads/identity-m" id="var-tag">identity-m</a> </span><span id="var-link"><a href="monads-api.html#clojure.contrib.monads/m-chain" id="var-tag">m-chain</a> </span><span id="var-link"><a href="monads-api.html#clojure.contrib.monads/m-fmap" id="var-tag">m-fmap</a> </span><span id="var-link"><a href="monads-api.html#clojure.contrib.monads/m-join" id="var-tag">m-join</a> </span><span id="var-link"><a href="monads-api.html#clojure.contrib.monads/m-lift" id="var-tag">m-lift</a> </span><span id="var-link"><a href="monads-api.html#clojure.contrib.monads/m-map" id="var-tag">m-map</a> </span><span id="var-link"><a href="monads-api.html#clojure.contrib.monads/m-reduce" id="var-tag">m-reduce</a> </span><span id="var-link"><a href="monads-api.html#clojure.contrib.monads/m-seq" id="var-tag">m-seq</a> </span><span id="var-link"><a href="monads-api.html#clojure.contrib.monads/m-until" id="var-tag">m-until</a> </span><span id="var-link"><a href="monads-api.html#clojure.contrib.monads/m-when" id="var-tag">m-when</a> </span><span id="var-link"><a href="monads-api.html#clojure.contrib.monads/m-when-not" id="var-tag">m-when-not</a> </span><span id="var-link"><a href="monads-api.html#clojure.contrib.monads/maybe-m" id="var-tag">maybe-m</a> </span><span id="var-link"><a href="monads-api.html#clojure.contrib.monads/maybe-t" id="var-tag">maybe-t</a> </span><span id="var-link"><a href="monads-api.html#clojure.contrib.monads/monad" id="var-tag">monad</a> </span><span id="var-link"><a href="monads-api.html#clojure.contrib.monads/monad-transformer" id="var-tag">monad-transformer</a> </span><span id="var-link"><a href="monads-api.html#clojure.contrib.monads/run-cont" id="var-tag">run-cont</a> </span><span id="var-link"><a href="monads-api.html#clojure.contrib.monads/sequence-m" id="var-tag">sequence-m</a> </span><span id="var-link"><a href="monads-api.html#clojure.contrib.monads/sequence-t" id="var-tag">sequence-t</a> </span><span id="var-link"><a href="monads-api.html#clojure.contrib.monads/set-m" id="var-tag">set-m</a> </span><span id="var-link"><a href="monads-api.html#clojure.contrib.monads/set-state" id="var-tag">set-state</a> </span><span id="var-link"><a href="monads-api.html#clojure.contrib.monads/set-val" id="var-tag">set-val</a> </span><span id="var-link"><a href="monads-api.html#clojure.contrib.monads/state-m" id="var-tag">state-m</a> </span><span id="var-link"><a href="monads-api.html#clojure.contrib.monads/state-m-until" id="var-tag">state-m-until</a> </span><span id="var-link"><a href="monads-api.html#clojure.contrib.monads/state-t" id="var-tag">state-t</a> </span><span id="var-link"><a href="monads-api.html#clojure.contrib.monads/update-state" id="var-tag">update-state</a> </span><span id="var-link"><a href="monads-api.html#clojure.contrib.monads/update-val" id="var-tag">update-val</a> </span><span id="var-link"><a href="monads-api.html#clojure.contrib.monads/with-monad" id="var-tag">with-monad</a> </span><span id="var-link"><a href="monads-api.html#clojure.contrib.monads/with-state-field" id="var-tag">with-state-field</a> </span><span id="var-link"><a href="monads-api.html#clojure.contrib.monads/writer-m" id="var-tag">writer-m</a> </span><br /> - -</div><div id="namespace-entry"> - <br /> - <hr /> - <h2 id="ns-utils">ns-utils</h2> - <span id="author-line">by <span id="author-name">Stephen C. Gilardi</span><br /></span> - <a href="ns-utils-api.html" id="api-link">Detailed API documentation</a><br /> - <pre id="namespace-docstr">Namespace utilities</pre> - - - - Public variables and functions: - <span id="var-link"><a href="ns-utils-api.html#clojure.contrib.ns-utils/dir" id="var-tag">dir</a> </span><span id="var-link"><a href="ns-utils-api.html#clojure.contrib.ns-utils/docs" id="var-tag">docs</a> </span><span id="var-link"><a href="ns-utils-api.html#clojure.contrib.ns-utils/get-ns" id="var-tag">get-ns</a> </span><span id="var-link"><a href="ns-utils-api.html#clojure.contrib.ns-utils/immigrate" id="var-tag">immigrate</a> </span><span id="var-link"><a href="ns-utils-api.html#clojure.contrib.ns-utils/ns-vars" id="var-tag">ns-vars</a> </span><span id="var-link"><a href="ns-utils-api.html#clojure.contrib.ns-utils/print-dir" id="var-tag">print-dir</a> </span><span id="var-link"><a href="ns-utils-api.html#clojure.contrib.ns-utils/print-docs" id="var-tag">print-docs</a> </span><span id="var-link"><a href="ns-utils-api.html#clojure.contrib.ns-utils/vars" id="var-tag">vars</a> </span><br /> - -</div><div id="namespace-entry"> - <br /> - <hr /> - <h2 id="pprint">pprint</h2> - <span id="author-line">by <span id="author-name">Tom Faulhaber</span><br /></span> - <a href="pprint-api.html" id="api-link">Detailed API documentation</a><br /> - <pre id="namespace-docstr">This module comprises two elements: -1) A pretty printer for Clojure data structures, implemented in the - function "pprint" -2) A Common Lisp compatible format function, implemented as - "cl-format" because Clojure is using the name "format" - for its Java-based format function. - -See documentation for those functions for more information or complete -documentation on the the clojure-contrib web site on github. - -As of the 1.2 release, pprint has been moved to clojure.pprint. Please prefer -the clojure.pprint version for new code.</pre> - - <span class="ns-deprecated"><span id="content">Deprecated since clojure-contrib version 1.2</span><br /></span> - - Public variables and functions: - <span id="var-link"><a href="pprint-api.html#clojure.contrib.pprint/*code-dispatch*" id="var-tag">*code-dispatch*</a> </span><span id="var-link"><a href="pprint-api.html#clojure.contrib.pprint/*print-base*" id="var-tag">*print-base*</a> </span><span id="var-link"><a href="pprint-api.html#clojure.contrib.pprint/*print-circle*" id="var-tag">*print-circle*</a> </span><span id="var-link"><a href="pprint-api.html#clojure.contrib.pprint/*print-lines*" id="var-tag">*print-lines*</a> </span><span id="var-link"><a href="pprint-api.html#clojure.contrib.pprint/*print-miser-width*" id="var-tag">*print-miser-width*</a> </span><span id="var-link"><a href="pprint-api.html#clojure.contrib.pprint/*print-pprint-dispatch*" id="var-tag">*print-pprint-dispatch*</a> </span><span id="var-link"><a href="pprint-api.html#clojure.contrib.pprint/*print-pretty*" id="var-tag">*print-pretty*</a> </span><span id="var-link"><a href="pprint-api.html#clojure.contrib.pprint/*print-radix*" id="var-tag">*print-radix*</a> </span><span id="var-link"><a href="pprint-api.html#clojure.contrib.pprint/*print-right-margin*" id="var-tag">*print-right-margin*</a> </span><span id="var-link"><a href="pprint-api.html#clojure.contrib.pprint/*print-shared*" id="var-tag">*print-shared*</a> </span><span id="var-link"><a href="pprint-api.html#clojure.contrib.pprint/*print-suppress-namespaces*" id="var-tag">*print-suppress-namespaces*</a> </span><span id="var-link"><a href="pprint-api.html#clojure.contrib.pprint/*simple-dispatch*" id="var-tag">*simple-dispatch*</a> </span><span id="var-link"><a href="pprint-api.html#clojure.contrib.pprint/cl-format" id="var-tag">cl-format</a> </span><span id="var-link"><a href="pprint-api.html#clojure.contrib.pprint/compile-format" id="var-tag">compile-format</a> </span><span id="var-link"><a href="pprint-api.html#clojure.contrib.pprint/formatter" id="var-tag">formatter</a> </span><span id="var-link"><a href="pprint-api.html#clojure.contrib.pprint/formatter-out" id="var-tag">formatter-out</a> </span><span id="var-link"><a href="pprint-api.html#clojure.contrib.pprint/fresh-line" id="var-tag">fresh-line</a> </span><span id="var-link"><a href="pprint-api.html#clojure.contrib.pprint/pp" id="var-tag">pp</a> </span><span id="var-link"><a href="pprint-api.html#clojure.contrib.pprint/pprint" id="var-tag">pprint</a> </span><span id="var-link"><a href="pprint-api.html#clojure.contrib.pprint/pprint-indent" id="var-tag">pprint-indent</a> </span><span id="var-link"><a href="pprint-api.html#clojure.contrib.pprint/pprint-logical-block" id="var-tag">pprint-logical-block</a> </span><span id="var-link"><a href="pprint-api.html#clojure.contrib.pprint/pprint-newline" id="var-tag">pprint-newline</a> </span><span id="var-link"><a href="pprint-api.html#clojure.contrib.pprint/pprint-tab" id="var-tag">pprint-tab</a> </span><span id="var-link"><a href="pprint-api.html#clojure.contrib.pprint/set-pprint-dispatch" id="var-tag">set-pprint-dispatch</a> </span><span id="var-link"><a href="pprint-api.html#clojure.contrib.pprint/use-method" id="var-tag">use-method</a> </span><span id="var-link"><a href="pprint-api.html#clojure.contrib.pprint/with-pprint-dispatch" id="var-tag">with-pprint-dispatch</a> </span><span id="var-link"><a href="pprint-api.html#clojure.contrib.pprint/write" id="var-tag">write</a> </span><span id="var-link"><a href="pprint-api.html#clojure.contrib.pprint/write-out" id="var-tag">write-out</a> </span><br /> - <span id="subspace"><br />Variables and functions in - <span id="name">pprint.examples.json</span>: - <span id="sub-var-link"> - <a href="pprint-api.html#clojure.contrib.pprint.examples.json/dispatch-json">dispatch-json</a> - </span><span id="sub-var-link"> - <a href="pprint-api.html#clojure.contrib.pprint.examples.json/json-str">json-str</a> - </span><span id="sub-var-link"> - <a href="pprint-api.html#clojure.contrib.pprint.examples.json/print-json">print-json</a> - </span> - <br /> - </span><span id="subspace"><br />Variables and functions in - <span id="name">pprint.examples.xml</span>: - <span id="sub-var-link"> - <a href="pprint-api.html#clojure.contrib.pprint.examples.xml/*html-compatible*">*html-compatible*</a> - </span><span id="sub-var-link"> - <a href="pprint-api.html#clojure.contrib.pprint.examples.xml/*prxml-indent*">*prxml-indent*</a> - </span><span id="sub-var-link"> - <a href="pprint-api.html#clojure.contrib.pprint.examples.xml/prxml">prxml</a> - </span> - <br /> - </span> -</div><div id="namespace-entry"> - <br /> - <hr /> - <h2 id="priority-map">priority-map</h2> - - <a href="priority-map-api.html" id="api-link">Detailed API documentation</a><br /> - <pre id="namespace-docstr"></pre> - - - - Public variables and functions: - <span id="var-link"><a href="priority-map-api.html#clojure.contrib.priority-map/priority-map" id="var-tag">priority-map</a> </span><span id="var-link"><a href="priority-map-api.html#clojure.contrib.priority-map/priority-map-by" id="var-tag">priority-map-by</a> </span><br /> - -</div><div id="namespace-entry"> - <br /> - <hr /> - <h2 id="probabilities.finite-distributions">probabilities.finite-distributions</h2> - <span id="author-line">by <span id="author-name">Konrad Hinsen</span><br /></span> - <a href="probabilities.finite-distributions-api.html" id="api-link">Detailed API documentation</a><br /> - <pre id="namespace-docstr">Finite probability distributions -This library defines a monad for combining finite probability -distributions.</pre> - - - - Public variables and functions: - <span id="var-link"><a href="probabilities.finite-distributions-api.html#clojure.contrib.probabilities.finite-distributions/certainly" id="var-tag">certainly</a> </span><span id="var-link"><a href="probabilities.finite-distributions-api.html#clojure.contrib.probabilities.finite-distributions/choose" id="var-tag">choose</a> </span><span id="var-link"><a href="probabilities.finite-distributions-api.html#clojure.contrib.probabilities.finite-distributions/cond-dist-m" id="var-tag">cond-dist-m</a> </span><span id="var-link"><a href="probabilities.finite-distributions-api.html#clojure.contrib.probabilities.finite-distributions/cond-prob" id="var-tag">cond-prob</a> </span><span id="var-link"><a href="probabilities.finite-distributions-api.html#clojure.contrib.probabilities.finite-distributions/dist-m" id="var-tag">dist-m</a> </span><span id="var-link"><a href="probabilities.finite-distributions-api.html#clojure.contrib.probabilities.finite-distributions/join-with" id="var-tag">join-with</a> </span><span id="var-link"><a href="probabilities.finite-distributions-api.html#clojure.contrib.probabilities.finite-distributions/make-distribution" id="var-tag">make-distribution</a> </span><span id="var-link"><a href="probabilities.finite-distributions-api.html#clojure.contrib.probabilities.finite-distributions/normalize" id="var-tag">normalize</a> </span><span id="var-link"><a href="probabilities.finite-distributions-api.html#clojure.contrib.probabilities.finite-distributions/prob" id="var-tag">prob</a> </span><span id="var-link"><a href="probabilities.finite-distributions-api.html#clojure.contrib.probabilities.finite-distributions/uniform" id="var-tag">uniform</a> </span><span id="var-link"><a href="probabilities.finite-distributions-api.html#clojure.contrib.probabilities.finite-distributions/zipf" id="var-tag">zipf</a> </span><br /> - -</div><div id="namespace-entry"> - <br /> - <hr /> - <h2 id="probabilities.monte-carlo">probabilities.monte-carlo</h2> - <span id="author-line">by <span id="author-name">Konrad Hinsen</span><br /></span> - <a href="probabilities.monte-carlo-api.html" id="api-link">Detailed API documentation</a><br /> - <pre id="namespace-docstr">Monte-Carlo method support - -Monte-Carlo methods transform an input random number stream -(usually having a continuous uniform distribution in the -interval [0, 1)) into a random number stream whose distribution -satisfies certain conditions (usually the expectation value -is equal to some desired quantity). They are thus -transformations from one probability distribution to another one. -This library represents a Monte-Carlo method by a function that -takes as input the state of a random number stream with -uniform distribution (see -clojure.contrib.probabilities.random-numbers) and returns a -vector containing one sample value of the desired output -distribution and the final state of the input random number -stream. Such functions are state monad values and can be -composed using operations defined in clojure.contrib.monads.</pre> - - - - Public variables and functions: - <span id="var-link"><a href="probabilities.monte-carlo-api.html#clojure.contrib.probabilities.monte-carlo/discrete" id="var-tag">discrete</a> </span><span id="var-link"><a href="probabilities.monte-carlo-api.html#clojure.contrib.probabilities.monte-carlo/exponential" id="var-tag">exponential</a> </span><span id="var-link"><a href="probabilities.monte-carlo-api.html#clojure.contrib.probabilities.monte-carlo/lognormal" id="var-tag">lognormal</a> </span><span id="var-link"><a href="probabilities.monte-carlo-api.html#clojure.contrib.probabilities.monte-carlo/n-sphere" id="var-tag">n-sphere</a> </span><span id="var-link"><a href="probabilities.monte-carlo-api.html#clojure.contrib.probabilities.monte-carlo/normal" id="var-tag">normal</a> </span><span id="var-link"><a href="probabilities.monte-carlo-api.html#clojure.contrib.probabilities.monte-carlo/normal-box-muller" id="var-tag">normal-box-muller</a> </span><span id="var-link"><a href="probabilities.monte-carlo-api.html#clojure.contrib.probabilities.monte-carlo/random-stream" id="var-tag">random-stream</a> </span><span id="var-link"><a href="probabilities.monte-carlo-api.html#clojure.contrib.probabilities.monte-carlo/reject" id="var-tag">reject</a> </span><span id="var-link"><a href="probabilities.monte-carlo-api.html#clojure.contrib.probabilities.monte-carlo/sample" id="var-tag">sample</a> </span><span id="var-link"><a href="probabilities.monte-carlo-api.html#clojure.contrib.probabilities.monte-carlo/sample-mean" id="var-tag">sample-mean</a> </span><span id="var-link"><a href="probabilities.monte-carlo-api.html#clojure.contrib.probabilities.monte-carlo/sample-mean-variance" id="var-tag">sample-mean-variance</a> </span><span id="var-link"><a href="probabilities.monte-carlo-api.html#clojure.contrib.probabilities.monte-carlo/sample-reduce" id="var-tag">sample-reduce</a> </span><span id="var-link"><a href="probabilities.monte-carlo-api.html#clojure.contrib.probabilities.monte-carlo/sample-sum" id="var-tag">sample-sum</a> </span><br /> - -</div><div id="namespace-entry"> - <br /> - <hr /> - <h2 id="probabilities.random-numbers">probabilities.random-numbers</h2> - <span id="author-line">by <span id="author-name">Konrad Hinsen</span><br /></span> - <a href="probabilities.random-numbers-api.html" id="api-link">Detailed API documentation</a><br /> - <pre id="namespace-docstr">Random number streams - -This library provides random number generators with a common -stream interface. They all produce pseudo-random numbers that are -uniformly distributed in the interval [0, 1), i.e. 0 is a -possible value but 1 isn't. For transformations to other -distributions, see clojure.contrib.probabilities.monte-carlo. - -At the moment, the only generator provided is a rather simple -linear congruential generator.</pre> - - - - Public variables and functions: - <span id="var-link"><a href="probabilities.random-numbers-api.html#clojure.contrib.probabilities.random-numbers/lcg" id="var-tag">lcg</a> </span><span id="var-link"><a href="probabilities.random-numbers-api.html#clojure.contrib.probabilities.random-numbers/rand-stream" id="var-tag">rand-stream</a> </span><br /> - -</div><div id="namespace-entry"> - <br /> - <hr /> - <h2 id="profile">profile</h2> - <span id="author-line">by <span id="author-name">Stuart Sierra</span><br /></span> - <a href="profile-api.html" id="api-link">Detailed API documentation</a><br /> - <pre id="namespace-docstr">Simple code profiling & timing measurement. - -Wrap any section of code in the prof macro, giving it a name, like this: - - (defn my-function [x y] - (let [sum (prof :addition (+ x y)) - product (prof :multiplication (* x y))] - [sum product])) - -The run your code in the profile macro, like this: - - (profile (dotimes [i 10000] (my-function 3 4))) - -Which prints a report for each named section of code: - - Name mean min max count sum - addition 265 0 37000 10000 2655000 -multiplication 274 0 53000 10000 2747000 - -Times are measured in nanoseconds, to the maximum precision available -under the JVM. See the function documentation for more details.</pre> - - - - Public variables and functions: - <span id="var-link"><a href="profile-api.html#clojure.contrib.profile/*enable-profiling*" id="var-tag">*enable-profiling*</a> </span><span id="var-link"><a href="profile-api.html#clojure.contrib.profile/print-summary" id="var-tag">print-summary</a> </span><span id="var-link"><a href="profile-api.html#clojure.contrib.profile/prof" id="var-tag">prof</a> </span><span id="var-link"><a href="profile-api.html#clojure.contrib.profile/profile" id="var-tag">profile</a> </span><span id="var-link"><a href="profile-api.html#clojure.contrib.profile/summarize" id="var-tag">summarize</a> </span><span id="var-link"><a href="profile-api.html#clojure.contrib.profile/with-profile-data" id="var-tag">with-profile-data</a> </span><br /> - -</div><div id="namespace-entry"> - <br /> - <hr /> - <h2 id="properties">properties</h2> - - <a href="properties-api.html" id="api-link">Detailed API documentation</a><br /> - <pre id="namespace-docstr"></pre> - - <span class="ns-deprecated"><span id="content">Deprecated since clojure-contrib version 1.2</span><br /></span> - - Public variables and functions: - <span id="var-link"><a href="properties-api.html#clojure.contrib.properties/as-properties" id="var-tag">as-properties</a> </span><span id="var-link"><a href="properties-api.html#clojure.contrib.properties/get-system-property" id="var-tag">get-system-property</a> </span><span id="var-link"><a href="properties-api.html#clojure.contrib.properties/read-properties" id="var-tag">read-properties</a> </span><span id="var-link"><a href="properties-api.html#clojure.contrib.properties/set-system-properties" id="var-tag">set-system-properties</a> </span><span id="var-link"><a href="properties-api.html#clojure.contrib.properties/with-system-properties" id="var-tag">with-system-properties</a> </span><span id="var-link"><a href="properties-api.html#clojure.contrib.properties/write-properties" id="var-tag">write-properties</a> </span><br /> - -</div><div id="namespace-entry"> - <br /> - <hr /> - <h2 id="prxml">prxml</h2> - <span id="author-line">by <span id="author-name">Stuart Sierra</span><br /></span> - <a href="prxml-api.html" id="api-link">Detailed API documentation</a><br /> - <pre id="namespace-docstr">Compact syntax for generating XML. See the documentation of "prxml" -for details.</pre> - - - - Public variables and functions: - <span id="var-link"><a href="prxml-api.html#clojure.contrib.prxml/*html-compatible*" id="var-tag">*html-compatible*</a> </span><span id="var-link"><a href="prxml-api.html#clojure.contrib.prxml/*prxml-indent*" id="var-tag">*prxml-indent*</a> </span><span id="var-link"><a href="prxml-api.html#clojure.contrib.prxml/prxml" id="var-tag">prxml</a> </span><br /> - -</div><div id="namespace-entry"> - <br /> - <hr /> - <h2 id="reflect">reflect</h2> - - <a href="reflect-api.html" id="api-link">Detailed API documentation</a><br /> - <pre id="namespace-docstr"></pre> - - - - Public variables and functions: - <span id="var-link"><a href="reflect-api.html#clojure.contrib.reflect/call-method" id="var-tag">call-method</a> </span><span id="var-link"><a href="reflect-api.html#clojure.contrib.reflect/get-field" id="var-tag">get-field</a> </span><br /> - -</div><div id="namespace-entry"> - <br /> - <hr /> - <h2 id="repl-ln">repl-ln</h2> - <span id="author-line">by <span id="author-name">Stephen C. Gilardi</span><br /></span> - <a href="repl-ln-api.html" id="api-link">Detailed API documentation</a><br /> - <pre id="namespace-docstr">A repl with that provides support for lines and line numbers in the -input stream.</pre> - - - - Public variables and functions: - <span id="var-link"><a href="repl-ln-api.html#clojure.contrib.repl-ln/print-repl-info" id="var-tag">print-repl-info</a> </span><span id="var-link"><a href="repl-ln-api.html#clojure.contrib.repl-ln/repl" id="var-tag">repl</a> </span><span id="var-link"><a href="repl-ln-api.html#clojure.contrib.repl-ln/repl-info" id="var-tag">repl-info</a> </span><span id="var-link"><a href="repl-ln-api.html#clojure.contrib.repl-ln/repl-prompt" id="var-tag">repl-prompt</a> </span><span id="var-link"><a href="repl-ln-api.html#clojure.contrib.repl-ln/set-repl-name" id="var-tag">set-repl-name</a> </span><span id="var-link"><a href="repl-ln-api.html#clojure.contrib.repl-ln/set-repl-prompt" id="var-tag">set-repl-prompt</a> </span><span id="var-link"><a href="repl-ln-api.html#clojure.contrib.repl-ln/stream-repl" id="var-tag">stream-repl</a> </span><br /> - -</div><div id="namespace-entry"> - <br /> - <hr /> - <h2 id="repl-utils">repl-utils</h2> - <span id="author-line">by <span id="author-name">Chris Houser, Christophe Grand, Stephen Gilardi, Michel Salim</span><br /></span> - <a href="repl-utils-api.html" id="api-link">Detailed API documentation</a><br /> - <pre id="namespace-docstr">Utilities meant to be used interactively at the REPL</pre> - - - - Public variables and functions: - <span id="var-link"><a href="repl-utils-api.html#clojure.contrib.repl-utils/*local-javadocs*" id="var-tag">*local-javadocs*</a> </span><span id="var-link"><a href="repl-utils-api.html#clojure.contrib.repl-utils/*remote-javadocs*" id="var-tag">*remote-javadocs*</a> </span><span id="var-link"><a href="repl-utils-api.html#clojure.contrib.repl-utils/add-break-thread!" id="var-tag">add-break-thread!</a> </span><span id="var-link"><a href="repl-utils-api.html#clojure.contrib.repl-utils/add-local-javadoc" id="var-tag">add-local-javadoc</a> </span><span id="var-link"><a href="repl-utils-api.html#clojure.contrib.repl-utils/add-remote-javadoc" id="var-tag">add-remote-javadoc</a> </span><span id="var-link"><a href="repl-utils-api.html#clojure.contrib.repl-utils/apropos" id="var-tag">apropos</a> </span><span id="var-link"><a href="repl-utils-api.html#clojure.contrib.repl-utils/break-threads" id="var-tag">break-threads</a> </span><span id="var-link"><a href="repl-utils-api.html#clojure.contrib.repl-utils/expression-info" id="var-tag">expression-info</a> </span><span id="var-link"><a href="repl-utils-api.html#clojure.contrib.repl-utils/find-javadoc-url" id="var-tag">find-javadoc-url</a> </span><span id="var-link"><a href="repl-utils-api.html#clojure.contrib.repl-utils/get-source" id="var-tag">get-source</a> </span><span id="var-link"><a href="repl-utils-api.html#clojure.contrib.repl-utils/javadoc" id="var-tag">javadoc</a> </span><span id="var-link"><a href="repl-utils-api.html#clojure.contrib.repl-utils/run" id="var-tag">run</a> </span><span id="var-link"><a href="repl-utils-api.html#clojure.contrib.repl-utils/run*" id="var-tag">run*</a> </span><span id="var-link"><a href="repl-utils-api.html#clojure.contrib.repl-utils/show" id="var-tag">show</a> </span><span id="var-link"><a href="repl-utils-api.html#clojure.contrib.repl-utils/source" id="var-tag">source</a> </span><span id="var-link"><a href="repl-utils-api.html#clojure.contrib.repl-utils/start-handling-break" id="var-tag">start-handling-break</a> </span><br /> - -</div><div id="namespace-entry"> - <br /> - <hr /> - <h2 id="seq">seq</h2> - <span id="author-line">by <span id="author-name">Stuart Sierra (and others)</span><br /></span> - <a href="seq-api.html" id="api-link">Detailed API documentation</a><br /> - <pre id="namespace-docstr">Sequence utilities for Clojure</pre> - - - - Public variables and functions: - <span id="var-link"><a href="seq-api.html#clojure.contrib.seq/fill-queue" id="var-tag">fill-queue</a> </span><span id="var-link"><a href="seq-api.html#clojure.contrib.seq/find-first" id="var-tag">find-first</a> </span><span id="var-link"><a href="seq-api.html#clojure.contrib.seq/flatten" id="var-tag">flatten</a> </span><span id="var-link"><a href="seq-api.html#clojure.contrib.seq/frequencies" id="var-tag">frequencies</a> </span><span id="var-link"><a href="seq-api.html#clojure.contrib.seq/group-by" id="var-tag">group-by</a> </span><span id="var-link"><a href="seq-api.html#clojure.contrib.seq/includes?" id="var-tag">includes?</a> </span><span id="var-link"><a href="seq-api.html#clojure.contrib.seq/indexed" id="var-tag">indexed</a> </span><span id="var-link"><a href="seq-api.html#clojure.contrib.seq/partition-all" id="var-tag">partition-all</a> </span><span id="var-link"><a href="seq-api.html#clojure.contrib.seq/partition-by" id="var-tag">partition-by</a> </span><span id="var-link"><a href="seq-api.html#clojure.contrib.seq/positions" id="var-tag">positions</a> </span><span id="var-link"><a href="seq-api.html#clojure.contrib.seq/rand-elt" id="var-tag">rand-elt</a> </span><span id="var-link"><a href="seq-api.html#clojure.contrib.seq/rec-cat" id="var-tag">rec-cat</a> </span><span id="var-link"><a href="seq-api.html#clojure.contrib.seq/rec-seq" id="var-tag">rec-seq</a> </span><span id="var-link"><a href="seq-api.html#clojure.contrib.seq/reductions" id="var-tag">reductions</a> </span><span id="var-link"><a href="seq-api.html#clojure.contrib.seq/rotations" id="var-tag">rotations</a> </span><span id="var-link"><a href="seq-api.html#clojure.contrib.seq/separate" id="var-tag">separate</a> </span><span id="var-link"><a href="seq-api.html#clojure.contrib.seq/seq-on" id="var-tag">seq-on</a> </span><span id="var-link"><a href="seq-api.html#clojure.contrib.seq/shuffle" id="var-tag">shuffle</a> </span><br /> - -</div><div id="namespace-entry"> - <br /> - <hr /> - <h2 id="seq-utils">seq-utils</h2> - <span id="author-line">by <span id="author-name">Stuart Sierra (and others)</span><br /></span> - <a href="seq-utils-api.html" id="api-link">Detailed API documentation</a><br /> - <pre id="namespace-docstr">Sequence utilities for Clojure</pre> - - <span class="ns-deprecated"><span id="content">Deprecated since clojure-contrib version 1.2</span><br /></span> - - Public variables and functions: - <span id="var-link"><a href="seq-utils-api.html#clojure.contrib.seq-utils/fill-queue" id="var-tag">fill-queue</a> </span><span id="var-link"><a href="seq-utils-api.html#clojure.contrib.seq-utils/find-first" id="var-tag">find-first</a> </span><span id="var-link"><a href="seq-utils-api.html#clojure.contrib.seq-utils/flatten" id="var-tag">flatten</a> </span><span id="var-link"><a href="seq-utils-api.html#clojure.contrib.seq-utils/frequencies" id="var-tag">frequencies</a> </span><span id="var-link"><a href="seq-utils-api.html#clojure.contrib.seq-utils/group-by" id="var-tag">group-by</a> </span><span id="var-link"><a href="seq-utils-api.html#clojure.contrib.seq-utils/includes?" id="var-tag">includes?</a> </span><span id="var-link"><a href="seq-utils-api.html#clojure.contrib.seq-utils/indexed" id="var-tag">indexed</a> </span><span id="var-link"><a href="seq-utils-api.html#clojure.contrib.seq-utils/partition-all" id="var-tag">partition-all</a> </span><span id="var-link"><a href="seq-utils-api.html#clojure.contrib.seq-utils/partition-by" id="var-tag">partition-by</a> </span><span id="var-link"><a href="seq-utils-api.html#clojure.contrib.seq-utils/positions" id="var-tag">positions</a> </span><span id="var-link"><a href="seq-utils-api.html#clojure.contrib.seq-utils/rand-elt" id="var-tag">rand-elt</a> </span><span id="var-link"><a href="seq-utils-api.html#clojure.contrib.seq-utils/rec-cat" id="var-tag">rec-cat</a> </span><span id="var-link"><a href="seq-utils-api.html#clojure.contrib.seq-utils/rec-seq" id="var-tag">rec-seq</a> </span><span id="var-link"><a href="seq-utils-api.html#clojure.contrib.seq-utils/reductions" id="var-tag">reductions</a> </span><span id="var-link"><a href="seq-utils-api.html#clojure.contrib.seq-utils/rotations" id="var-tag">rotations</a> </span><span id="var-link"><a href="seq-utils-api.html#clojure.contrib.seq-utils/separate" id="var-tag">separate</a> </span><span id="var-link"><a href="seq-utils-api.html#clojure.contrib.seq-utils/seq-on" id="var-tag">seq-on</a> </span><span id="var-link"><a href="seq-utils-api.html#clojure.contrib.seq-utils/shuffle" id="var-tag">shuffle</a> </span><br /> - -</div><div id="namespace-entry"> - <br /> - <hr /> - <h2 id="server-socket">server-socket</h2> - <span id="author-line">by <span id="author-name">Craig McDaniel</span><br /></span> - <a href="server-socket-api.html" id="api-link">Detailed API documentation</a><br /> - <pre id="namespace-docstr">Server socket library - includes REPL on socket</pre> - - - - Public variables and functions: - <span id="var-link"><a href="server-socket-api.html#clojure.contrib.server-socket/create-repl-server" id="var-tag">create-repl-server</a> </span><span id="var-link"><a href="server-socket-api.html#clojure.contrib.server-socket/create-server" id="var-tag">create-server</a> </span><br /> - -</div><div id="namespace-entry"> - <br /> - <hr /> - <h2 id="set">set</h2> - <span id="author-line">by <span id="author-name">Jason Wolfe</span><br /></span> - <a href="set-api.html" id="api-link">Detailed API documentation</a><br /> - <pre id="namespace-docstr">Clojure functions for operating on sets (supplemental to clojure.set)</pre> - - - - Public variables and functions: - <span id="var-link"><a href="set-api.html#clojure.contrib.set/proper-subset?" id="var-tag">proper-subset?</a> </span><span id="var-link"><a href="set-api.html#clojure.contrib.set/proper-superset?" id="var-tag">proper-superset?</a> </span><span id="var-link"><a href="set-api.html#clojure.contrib.set/subset?" id="var-tag">subset?</a> </span><span id="var-link"><a href="set-api.html#clojure.contrib.set/superset?" id="var-tag">superset?</a> </span><br /> - -</div><div id="namespace-entry"> - <br /> - <hr /> - <h2 id="shell">shell</h2> - <span id="author-line">by <span id="author-name">Chris Houser</span><br /></span> - <a href="shell-api.html" id="api-link">Detailed API documentation</a><br /> - <pre id="namespace-docstr">Conveniently launch a sub-process providing to its stdin and -collecting its stdout</pre> - - <span class="ns-deprecated"><span id="content">Deprecated since clojure-contrib version 1.2</span><br /></span> - - Public variables and functions: - <span id="var-link"><a href="shell-api.html#clojure.contrib.shell/sh" id="var-tag">sh</a> </span><br /> - -</div><div id="namespace-entry"> - <br /> - <hr /> - <h2 id="shell-out">shell-out</h2> - <span id="author-line">by <span id="author-name">Chris Houser</span><br /></span> - <a href="shell-out-api.html" id="api-link">Detailed API documentation</a><br /> - <pre id="namespace-docstr">Conveniently launch a sub-process providing to its stdin and -collecting its stdout</pre> - - <span class="ns-deprecated"><span id="content">Deprecated since clojure-contrib version 1.2</span><br /></span> - - Public variables and functions: - <span id="var-link"><a href="shell-out-api.html#clojure.contrib.shell-out/sh" id="var-tag">sh</a> </span><br /> - -</div><div id="namespace-entry"> - <br /> - <hr /> - <h2 id="singleton">singleton</h2> - <span id="author-line">by <span id="author-name">Stuart Sierra</span><br /></span> - <a href="singleton-api.html" id="api-link">Detailed API documentation</a><br /> - <pre id="namespace-docstr">Singleton functions</pre> - - - - Public variables and functions: - <span id="var-link"><a href="singleton-api.html#clojure.contrib.singleton/global-singleton" id="var-tag">global-singleton</a> </span><span id="var-link"><a href="singleton-api.html#clojure.contrib.singleton/per-thread-singleton" id="var-tag">per-thread-singleton</a> </span><br /> - -</div><div id="namespace-entry"> - <br /> - <hr /> - <h2 id="sql">sql</h2> - <span id="author-line">by <span id="author-name">Stephen C. Gilardi</span><br /></span> - <a href="sql-api.html" id="api-link">Detailed API documentation</a><br /> - <pre id="namespace-docstr">A Clojure interface to sql databases via jdbc.</pre> - - - <span id="see-also">See also: - <span id="see-also-link"> - <a href="http://github.com/richhickey/clojure-contrib/blob/master/src/test/clojure/clojure/contrib/test_sql.clj">Example code</a> - </span><br /> - </span> - Public variables and functions: - <span id="var-link"><a href="sql-api.html#clojure.contrib.sql/connection" id="var-tag">connection</a> </span><span id="var-link"><a href="sql-api.html#clojure.contrib.sql/create-table" id="var-tag">create-table</a> </span><span id="var-link"><a href="sql-api.html#clojure.contrib.sql/delete-rows" id="var-tag">delete-rows</a> </span><span id="var-link"><a href="sql-api.html#clojure.contrib.sql/do-commands" id="var-tag">do-commands</a> </span><span id="var-link"><a href="sql-api.html#clojure.contrib.sql/do-prepared" id="var-tag">do-prepared</a> </span><span id="var-link"><a href="sql-api.html#clojure.contrib.sql/drop-table" id="var-tag">drop-table</a> </span><span id="var-link"><a href="sql-api.html#clojure.contrib.sql/find-connection" id="var-tag">find-connection</a> </span><span id="var-link"><a href="sql-api.html#clojure.contrib.sql/insert-records" id="var-tag">insert-records</a> </span><span id="var-link"><a href="sql-api.html#clojure.contrib.sql/insert-rows" id="var-tag">insert-rows</a> </span><span id="var-link"><a href="sql-api.html#clojure.contrib.sql/insert-values" id="var-tag">insert-values</a> </span><span id="var-link"><a href="sql-api.html#clojure.contrib.sql/is-rollback-only" id="var-tag">is-rollback-only</a> </span><span id="var-link"><a href="sql-api.html#clojure.contrib.sql/set-rollback-only" id="var-tag">set-rollback-only</a> </span><span id="var-link"><a href="sql-api.html#clojure.contrib.sql/transaction" id="var-tag">transaction</a> </span><span id="var-link"><a href="sql-api.html#clojure.contrib.sql/update-or-insert-values" id="var-tag">update-or-insert-values</a> </span><span id="var-link"><a href="sql-api.html#clojure.contrib.sql/update-values" id="var-tag">update-values</a> </span><span id="var-link"><a href="sql-api.html#clojure.contrib.sql/with-connection" id="var-tag">with-connection</a> </span><span id="var-link"><a href="sql-api.html#clojure.contrib.sql/with-query-results" id="var-tag">with-query-results</a> </span><br /> - <span id="subspace"><br />Variables and functions in - <span id="name">sql.internal</span>: - <span id="sub-var-link"> - <a href="sql-api.html#clojure.contrib.sql.internal/connection*">connection*</a> - </span><span id="sub-var-link"> - <a href="sql-api.html#clojure.contrib.sql.internal/find-connection*">find-connection*</a> - </span><span id="sub-var-link"> - <a href="sql-api.html#clojure.contrib.sql.internal/get-connection">get-connection</a> - </span><span id="sub-var-link"> - <a href="sql-api.html#clojure.contrib.sql.internal/print-sql-exception">print-sql-exception</a> - </span><span id="sub-var-link"> - <a href="sql-api.html#clojure.contrib.sql.internal/print-sql-exception-chain">print-sql-exception-chain</a> - </span><span id="sub-var-link"> - <a href="sql-api.html#clojure.contrib.sql.internal/print-update-counts">print-update-counts</a> - </span><span id="sub-var-link"> - <a href="sql-api.html#clojure.contrib.sql.internal/rollback">rollback</a> - </span><span id="sub-var-link"> - <a href="sql-api.html#clojure.contrib.sql.internal/throw-rollback">throw-rollback</a> - </span><span id="sub-var-link"> - <a href="sql-api.html#clojure.contrib.sql.internal/transaction*">transaction*</a> - </span><span id="sub-var-link"> - <a href="sql-api.html#clojure.contrib.sql.internal/with-connection*">with-connection*</a> - </span><span id="sub-var-link"> - <a href="sql-api.html#clojure.contrib.sql.internal/with-query-results*">with-query-results*</a> - </span> - <br /> - </span> -</div><div id="namespace-entry"> - <br /> - <hr /> - <h2 id="str-utils">str-utils</h2> - <span id="author-line">by <span id="author-name">Stuart Sierra</span><br /></span> - <a href="str-utils-api.html" id="api-link">Detailed API documentation</a><br /> - <pre id="namespace-docstr">String utilities for Clojure</pre> - - <span class="ns-deprecated"><span id="content">Deprecated since clojure-contrib version 1.2</span><br /></span> - - Public variables and functions: - <span id="var-link"><a href="str-utils-api.html#clojure.contrib.str-utils/chomp" id="var-tag">chomp</a> </span><span id="var-link"><a href="str-utils-api.html#clojure.contrib.str-utils/chop" id="var-tag">chop</a> </span><span id="var-link"><a href="str-utils-api.html#clojure.contrib.str-utils/re-gsub" id="var-tag">re-gsub</a> </span><span id="var-link"><a href="str-utils-api.html#clojure.contrib.str-utils/re-partition" id="var-tag">re-partition</a> </span><span id="var-link"><a href="str-utils-api.html#clojure.contrib.str-utils/re-split" id="var-tag">re-split</a> </span><span id="var-link"><a href="str-utils-api.html#clojure.contrib.str-utils/re-sub" id="var-tag">re-sub</a> </span><span id="var-link"><a href="str-utils-api.html#clojure.contrib.str-utils/str-join" id="var-tag">str-join</a> </span><br /> - -</div><div id="namespace-entry"> - <br /> - <hr /> - <h2 id="str-utils2">str-utils2</h2> - <span id="author-line">by <span id="author-name">Stuart Sierra</span><br /></span> - <a href="str-utils2-api.html" id="api-link">Detailed API documentation</a><br /> - <pre id="namespace-docstr">This is a library of string manipulation functions. It -is intented as a replacement for clojure.contrib.str-utils. - -You cannot (use 'clojure.contrib.str-utils2) because it defines -functions with the same names as functions in clojure.core. -Instead, do (require '[clojure.contrib.str-utils2 :as s]) -or something similar. - -Goals: - 1. Be functional - 2. String argument first, to work with -> - 3. Performance linear in string length - -Some ideas are borrowed from -<a href="http://github.com/francoisdevlin/devlinsf-clojure-utils/">http://github.com/francoisdevlin/devlinsf-clojure-utils/</a></pre> - - <span class="ns-deprecated"><span id="content">Deprecated since clojure-contrib version 1.2</span><br /></span> - - Public variables and functions: - <span id="var-link"><a href="str-utils2-api.html#clojure.contrib.str-utils2/blank?" id="var-tag">blank?</a> </span><span id="var-link"><a href="str-utils2-api.html#clojure.contrib.str-utils2/butlast" id="var-tag">butlast</a> </span><span id="var-link"><a href="str-utils2-api.html#clojure.contrib.str-utils2/capitalize" id="var-tag">capitalize</a> </span><span id="var-link"><a href="str-utils2-api.html#clojure.contrib.str-utils2/chomp" id="var-tag">chomp</a> </span><span id="var-link"><a href="str-utils2-api.html#clojure.contrib.str-utils2/chop" id="var-tag">chop</a> </span><span id="var-link"><a href="str-utils2-api.html#clojure.contrib.str-utils2/codepoints" id="var-tag">codepoints</a> </span><span id="var-link"><a href="str-utils2-api.html#clojure.contrib.str-utils2/contains?" id="var-tag">contains?</a> </span><span id="var-link"><a href="str-utils2-api.html#clojure.contrib.str-utils2/dochars" id="var-tag">dochars</a> </span><span id="var-link"><a href="str-utils2-api.html#clojure.contrib.str-utils2/docodepoints" id="var-tag">docodepoints</a> </span><span id="var-link"><a href="str-utils2-api.html#clojure.contrib.str-utils2/drop" id="var-tag">drop</a> </span><span id="var-link"><a href="str-utils2-api.html#clojure.contrib.str-utils2/escape" id="var-tag">escape</a> </span><span id="var-link"><a href="str-utils2-api.html#clojure.contrib.str-utils2/get" id="var-tag">get</a> </span><span id="var-link"><a href="str-utils2-api.html#clojure.contrib.str-utils2/grep" id="var-tag">grep</a> </span><span id="var-link"><a href="str-utils2-api.html#clojure.contrib.str-utils2/join" id="var-tag">join</a> </span><span id="var-link"><a href="str-utils2-api.html#clojure.contrib.str-utils2/lower-case" id="var-tag">lower-case</a> </span><span id="var-link"><a href="str-utils2-api.html#clojure.contrib.str-utils2/ltrim" id="var-tag">ltrim</a> </span><span id="var-link"><a href="str-utils2-api.html#clojure.contrib.str-utils2/map-str" id="var-tag">map-str</a> </span><span id="var-link"><a href="str-utils2-api.html#clojure.contrib.str-utils2/partial" id="var-tag">partial</a> </span><span id="var-link"><a href="str-utils2-api.html#clojure.contrib.str-utils2/partition" id="var-tag">partition</a> </span><span id="var-link"><a href="str-utils2-api.html#clojure.contrib.str-utils2/repeat" id="var-tag">repeat</a> </span><span id="var-link"><a href="str-utils2-api.html#clojure.contrib.str-utils2/replace" id="var-tag">replace</a> </span><span id="var-link"><a href="str-utils2-api.html#clojure.contrib.str-utils2/replace-first" id="var-tag">replace-first</a> </span><span id="var-link"><a href="str-utils2-api.html#clojure.contrib.str-utils2/reverse" id="var-tag">reverse</a> </span><span id="var-link"><a href="str-utils2-api.html#clojure.contrib.str-utils2/rtrim" id="var-tag">rtrim</a> </span><span id="var-link"><a href="str-utils2-api.html#clojure.contrib.str-utils2/split" id="var-tag">split</a> </span><span id="var-link"><a href="str-utils2-api.html#clojure.contrib.str-utils2/split-lines" id="var-tag">split-lines</a> </span><span id="var-link"><a href="str-utils2-api.html#clojure.contrib.str-utils2/swap-case" id="var-tag">swap-case</a> </span><span id="var-link"><a href="str-utils2-api.html#clojure.contrib.str-utils2/tail" id="var-tag">tail</a> </span><span id="var-link"><a href="str-utils2-api.html#clojure.contrib.str-utils2/take" id="var-tag">take</a> </span><span id="var-link"><a href="str-utils2-api.html#clojure.contrib.str-utils2/trim" id="var-tag">trim</a> </span><span id="var-link"><a href="str-utils2-api.html#clojure.contrib.str-utils2/upper-case" id="var-tag">upper-case</a> </span><br /> - -</div><div id="namespace-entry"> - <br /> - <hr /> - <h2 id="stream-utils">stream-utils</h2> - <span id="author-line">by <span id="author-name">Konrad Hinsen</span><br /></span> - <a href="stream-utils-api.html" id="api-link">Detailed API documentation</a><br /> - <pre id="namespace-docstr">Functions for setting up computational pipelines via data streams. - -NOTE: This library is experimental. It may change significantly - with future release. - -This library defines: -- an abstract stream type, whose interface consists of the - multimethod stream-next -- a macro for implementing streams -- implementations of stream for - 1) Clojure sequences, and vectors - 2) nil, representing an empty stream -- tools for writing stream transformers, including the - monad stream-m -- various utility functions for working with streams - -Streams are building blocks in the construction of computational -pipelines. A stream is represented by its current state plus -a function that takes a stream state and obtains the next item -in the stream as well as the new stream state. The state is -implemented as a Java class or a Clojure type (as defined by the -function clojure.core/type), and the function is provided as an -implementation of the multimethod stream-next for this class or type. - -While setting up pipelines using this mechanism is somewhat more -cumbersome than using Clojure's lazy seq mechanisms, there are a -few advantages: -- The state of a stream can be stored in any Clojure data structure, - and the stream can be re-generated from it any number of times. - Any number of states can be stored this way. -- The elements of the stream are never cached, so keeping a reference - to a stream state does not incur an uncontrollable memory penalty. - -Note that the stream mechanism is thread-safe as long as the -concrete stream implementations do not use any mutable state. - -Stream transformers take any number of input streams and produce one -output stream. They are typically written using the stream-m -monad. In the definition of a stream transformer, (pick s) returns -the next value of stream argument s, whereas pick-all returns the -next value of all stream arguments in the form of a vector.</pre> - - - - Public variables and functions: - <span id="var-link"><a href="stream-utils-api.html#clojure.contrib.stream-utils/defst" id="var-tag">defst</a> </span><span id="var-link"><a href="stream-utils-api.html#clojure.contrib.stream-utils/defstream" id="var-tag">defstream</a> </span><span id="var-link"><a href="stream-utils-api.html#clojure.contrib.stream-utils/pick" id="var-tag">pick</a> </span><span id="var-link"><a href="stream-utils-api.html#clojure.contrib.stream-utils/pick-all" id="var-tag">pick-all</a> </span><span id="var-link"><a href="stream-utils-api.html#clojure.contrib.stream-utils/stream-drop" id="var-tag">stream-drop</a> </span><span id="var-link"><a href="stream-utils-api.html#clojure.contrib.stream-utils/stream-filter" id="var-tag">stream-filter</a> </span><span id="var-link"><a href="stream-utils-api.html#clojure.contrib.stream-utils/stream-flatten" id="var-tag">stream-flatten</a> </span><span id="var-link"><a href="stream-utils-api.html#clojure.contrib.stream-utils/stream-m" id="var-tag">stream-m</a> </span><span id="var-link"><a href="stream-utils-api.html#clojure.contrib.stream-utils/stream-map" id="var-tag">stream-map</a> </span><span id="var-link"><a href="stream-utils-api.html#clojure.contrib.stream-utils/stream-next" id="var-tag">stream-next</a> </span><span id="var-link"><a href="stream-utils-api.html#clojure.contrib.stream-utils/stream-seq" id="var-tag">stream-seq</a> </span><span id="var-link"><a href="stream-utils-api.html#clojure.contrib.stream-utils/stream-type" id="var-tag">stream-type</a> </span><br /> - -</div><div id="namespace-entry"> - <br /> - <hr /> - <h2 id="string">string</h2> - - <a href="string-api.html" id="api-link">Detailed API documentation</a><br /> - <pre id="namespace-docstr"></pre> - - - - Public variables and functions: - <span id="var-link"><a href="string-api.html#clojure.contrib.string/as-str" id="var-tag">as-str</a> </span><span id="var-link"><a href="string-api.html#clojure.contrib.string/blank?" id="var-tag">blank?</a> </span><span id="var-link"><a href="string-api.html#clojure.contrib.string/butlast" id="var-tag">butlast</a> </span><span id="var-link"><a href="string-api.html#clojure.contrib.string/capitalize" id="var-tag">capitalize</a> </span><span id="var-link"><a href="string-api.html#clojure.contrib.string/chomp" id="var-tag">chomp</a> </span><span id="var-link"><a href="string-api.html#clojure.contrib.string/chop" id="var-tag">chop</a> </span><span id="var-link"><a href="string-api.html#clojure.contrib.string/codepoints" id="var-tag">codepoints</a> </span><span id="var-link"><a href="string-api.html#clojure.contrib.string/dochars" id="var-tag">dochars</a> </span><span id="var-link"><a href="string-api.html#clojure.contrib.string/docodepoints" id="var-tag">docodepoints</a> </span><span id="var-link"><a href="string-api.html#clojure.contrib.string/drop" id="var-tag">drop</a> </span><span id="var-link"><a href="string-api.html#clojure.contrib.string/escape" id="var-tag">escape</a> </span><span id="var-link"><a href="string-api.html#clojure.contrib.string/get" id="var-tag">get</a> </span><span id="var-link"><a href="string-api.html#clojure.contrib.string/grep" id="var-tag">grep</a> </span><span id="var-link"><a href="string-api.html#clojure.contrib.string/join" id="var-tag">join</a> </span><span id="var-link"><a href="string-api.html#clojure.contrib.string/lower-case" id="var-tag">lower-case</a> </span><span id="var-link"><a href="string-api.html#clojure.contrib.string/ltrim" id="var-tag">ltrim</a> </span><span id="var-link"><a href="string-api.html#clojure.contrib.string/map-str" id="var-tag">map-str</a> </span><span id="var-link"><a href="string-api.html#clojure.contrib.string/partition" id="var-tag">partition</a> </span><span id="var-link"><a href="string-api.html#clojure.contrib.string/repeat" id="var-tag">repeat</a> </span><span id="var-link"><a href="string-api.html#clojure.contrib.string/replace-by" id="var-tag">replace-by</a> </span><span id="var-link"><a href="string-api.html#clojure.contrib.string/replace-char" id="var-tag">replace-char</a> </span><span id="var-link"><a href="string-api.html#clojure.contrib.string/replace-first-by" id="var-tag">replace-first-by</a> </span><span id="var-link"><a href="string-api.html#clojure.contrib.string/replace-first-re" id="var-tag">replace-first-re</a> </span><span id="var-link"><a href="string-api.html#clojure.contrib.string/replace-first-str" id="var-tag">replace-first-str</a> </span><span id="var-link"><a href="string-api.html#clojure.contrib.string/replace-re" id="var-tag">replace-re</a> </span><span id="var-link"><a href="string-api.html#clojure.contrib.string/replace-str" id="var-tag">replace-str</a> </span><span id="var-link"><a href="string-api.html#clojure.contrib.string/reverse" id="var-tag">reverse</a> </span><span id="var-link"><a href="string-api.html#clojure.contrib.string/rtrim" id="var-tag">rtrim</a> </span><span id="var-link"><a href="string-api.html#clojure.contrib.string/split" id="var-tag">split</a> </span><span id="var-link"><a href="string-api.html#clojure.contrib.string/split-lines" id="var-tag">split-lines</a> </span><span id="var-link"><a href="string-api.html#clojure.contrib.string/substring?" id="var-tag">substring?</a> </span><span id="var-link"><a href="string-api.html#clojure.contrib.string/swap-case" id="var-tag">swap-case</a> </span><span id="var-link"><a href="string-api.html#clojure.contrib.string/tail" id="var-tag">tail</a> </span><span id="var-link"><a href="string-api.html#clojure.contrib.string/take" id="var-tag">take</a> </span><span id="var-link"><a href="string-api.html#clojure.contrib.string/trim" id="var-tag">trim</a> </span><span id="var-link"><a href="string-api.html#clojure.contrib.string/upper-case" id="var-tag">upper-case</a> </span><br /> - -</div><div id="namespace-entry"> - <br /> - <hr /> - <h2 id="strint">strint</h2> - <span id="author-line">by <span id="author-name">Chas Emerick</span><br /></span> - <a href="strint-api.html" id="api-link">Detailed API documentation</a><br /> - <pre id="namespace-docstr">String interpolation for Clojure.</pre> - - - - Public variables and functions: - <span id="var-link"><a href="strint-api.html#clojure.contrib.strint/<<" id="var-tag"><<</a> </span><br /> - -</div><div id="namespace-entry"> - <br /> - <hr /> - <h2 id="swing-utils">swing-utils</h2> - - <a href="swing-utils-api.html" id="api-link">Detailed API documentation</a><br /> - <pre id="namespace-docstr"></pre> - - - - Public variables and functions: - <span id="var-link"><a href="swing-utils-api.html#clojure.contrib.swing-utils/action-translation-table" id="var-tag">action-translation-table</a> </span><span id="var-link"><a href="swing-utils-api.html#clojure.contrib.swing-utils/add-action-listener" id="var-tag">add-action-listener</a> </span><span id="var-link"><a href="swing-utils-api.html#clojure.contrib.swing-utils/add-key-typed-listener" id="var-tag">add-key-typed-listener</a> </span><span id="var-link"><a href="swing-utils-api.html#clojure.contrib.swing-utils/add-menu-item" id="var-tag">add-menu-item</a> </span><span id="var-link"><a href="swing-utils-api.html#clojure.contrib.swing-utils/do-swing" id="var-tag">do-swing</a> </span><span id="var-link"><a href="swing-utils-api.html#clojure.contrib.swing-utils/do-swing*" id="var-tag">do-swing*</a> </span><span id="var-link"><a href="swing-utils-api.html#clojure.contrib.swing-utils/do-swing-and-wait" id="var-tag">do-swing-and-wait</a> </span><span id="var-link"><a href="swing-utils-api.html#clojure.contrib.swing-utils/make-action" id="var-tag">make-action</a> </span><span id="var-link"><a href="swing-utils-api.html#clojure.contrib.swing-utils/make-menubar" id="var-tag">make-menubar</a> </span><span id="var-link"><a href="swing-utils-api.html#clojure.contrib.swing-utils/menu-constructor-dispatch" id="var-tag">menu-constructor-dispatch</a> </span><br /> - -</div><div id="namespace-entry"> - <br /> - <hr /> - <h2 id="test-is">test-is</h2> - <span id="author-line">by <span id="author-name">Stuart Sierra</span><br /></span> - <a href="test-is-api.html" id="api-link">Detailed API documentation</a><br /> - <pre id="namespace-docstr">Backwards-compatibility for clojure.contrib.test-is - -The clojure.contrib.test-is library moved from Contrib into the -Clojure distribution as clojure.test. - -This happened on or around clojure-contrib Git commit -82cf0409d0fcb71be477ebfc4da18ee2128a2ad1 on June 25, 2009. - -This file makes the clojure.test interface available under the old -namespace clojure.contrib.test-is. - -This includes support for the old syntax of the 'are' macro. - -This was suggested by Howard Lewis Ship in ticket #26, -<a href="http://www.assembla.com/spaces/clojure-contrib/tickets/26">http://www.assembla.com/spaces/clojure-contrib/tickets/26</a></pre> - - <span class="ns-deprecated"><span id="content">Deprecated since clojure-contrib version 1.2</span><br /></span> - - Public variables and functions: - <span id="var-link"><a href="test-is-api.html#clojure.contrib.test-is/*load-tests*" id="var-tag">*load-tests*</a> </span><span id="var-link"><a href="test-is-api.html#clojure.contrib.test-is/*stack-trace-depth*" id="var-tag">*stack-trace-depth*</a> </span><span id="var-link"><a href="test-is-api.html#clojure.contrib.test-is/apply-template" id="var-tag">apply-template</a> </span><span id="var-link"><a href="test-is-api.html#clojure.contrib.test-is/are" id="var-tag">are</a> </span><span id="var-link"><a href="test-is-api.html#clojure.contrib.test-is/assert-any" id="var-tag">assert-any</a> </span><span id="var-link"><a href="test-is-api.html#clojure.contrib.test-is/assert-predicate" id="var-tag">assert-predicate</a> </span><span id="var-link"><a href="test-is-api.html#clojure.contrib.test-is/compose-fixtures" id="var-tag">compose-fixtures</a> </span><span id="var-link"><a href="test-is-api.html#clojure.contrib.test-is/deftest" id="var-tag">deftest</a> </span><span id="var-link"><a href="test-is-api.html#clojure.contrib.test-is/deftest-" id="var-tag">deftest-</a> </span><span id="var-link"><a href="test-is-api.html#clojure.contrib.test-is/do-template" id="var-tag">do-template</a> </span><span id="var-link"><a href="test-is-api.html#clojure.contrib.test-is/file-position" id="var-tag">file-position</a> </span><span id="var-link"><a href="test-is-api.html#clojure.contrib.test-is/find-holes" id="var-tag">find-holes</a> </span><span id="var-link"><a href="test-is-api.html#clojure.contrib.test-is/find-pure-exprs" id="var-tag">find-pure-exprs</a> </span><span id="var-link"><a href="test-is-api.html#clojure.contrib.test-is/find-symbols" id="var-tag">find-symbols</a> </span><span id="var-link"><a href="test-is-api.html#clojure.contrib.test-is/flatten-map" id="var-tag">flatten-map</a> </span><span id="var-link"><a href="test-is-api.html#clojure.contrib.test-is/function?" id="var-tag">function?</a> </span><span id="var-link"><a href="test-is-api.html#clojure.contrib.test-is/get-possibly-unbound-var" id="var-tag">get-possibly-unbound-var</a> </span><span id="var-link"><a href="test-is-api.html#clojure.contrib.test-is/inc-report-counter" id="var-tag">inc-report-counter</a> </span><span id="var-link"><a href="test-is-api.html#clojure.contrib.test-is/is" id="var-tag">is</a> </span><span id="var-link"><a href="test-is-api.html#clojure.contrib.test-is/join-fixtures" id="var-tag">join-fixtures</a> </span><span id="var-link"><a href="test-is-api.html#clojure.contrib.test-is/report" id="var-tag">report</a> </span><span id="var-link"><a href="test-is-api.html#clojure.contrib.test-is/run-all-tests" id="var-tag">run-all-tests</a> </span><span id="var-link"><a href="test-is-api.html#clojure.contrib.test-is/run-tests" id="var-tag">run-tests</a> </span><span id="var-link"><a href="test-is-api.html#clojure.contrib.test-is/set-test" id="var-tag">set-test</a> </span><span id="var-link"><a href="test-is-api.html#clojure.contrib.test-is/successful?" id="var-tag">successful?</a> </span><span id="var-link"><a href="test-is-api.html#clojure.contrib.test-is/template?" id="var-tag">template?</a> </span><span id="var-link"><a href="test-is-api.html#clojure.contrib.test-is/test-all-vars" id="var-tag">test-all-vars</a> </span><span id="var-link"><a href="test-is-api.html#clojure.contrib.test-is/test-ns" id="var-tag">test-ns</a> </span><span id="var-link"><a href="test-is-api.html#clojure.contrib.test-is/test-var" id="var-tag">test-var</a> </span><span id="var-link"><a href="test-is-api.html#clojure.contrib.test-is/testing" id="var-tag">testing</a> </span><span id="var-link"><a href="test-is-api.html#clojure.contrib.test-is/testing-contexts-str" id="var-tag">testing-contexts-str</a> </span><span id="var-link"><a href="test-is-api.html#clojure.contrib.test-is/testing-vars-str" id="var-tag">testing-vars-str</a> </span><span id="var-link"><a href="test-is-api.html#clojure.contrib.test-is/try-expr" id="var-tag">try-expr</a> </span><span id="var-link"><a href="test-is-api.html#clojure.contrib.test-is/use-fixtures" id="var-tag">use-fixtures</a> </span><span id="var-link"><a href="test-is-api.html#clojure.contrib.test-is/with-test" id="var-tag">with-test</a> </span><span id="var-link"><a href="test-is-api.html#clojure.contrib.test-is/with-test-out" id="var-tag">with-test-out</a> </span><br /> - -</div><div id="namespace-entry"> - <br /> - <hr /> - <h2 id="trace">trace</h2> - <span id="author-line">by <span id="author-name">Stuart Sierra, Michel Salim</span><br /></span> - <a href="trace-api.html" id="api-link">Detailed API documentation</a><br /> - <pre id="namespace-docstr">This file defines simple "tracing" macros to help you see what your -code is doing.</pre> - - - - Public variables and functions: - <span id="var-link"><a href="trace-api.html#clojure.contrib.trace/*trace-depth*" id="var-tag">*trace-depth*</a> </span><span id="var-link"><a href="trace-api.html#clojure.contrib.trace/deftrace" id="var-tag">deftrace</a> </span><span id="var-link"><a href="trace-api.html#clojure.contrib.trace/dotrace" id="var-tag">dotrace</a> </span><span id="var-link"><a href="trace-api.html#clojure.contrib.trace/trace" id="var-tag">trace</a> </span><span id="var-link"><a href="trace-api.html#clojure.contrib.trace/trace-fn-call" id="var-tag">trace-fn-call</a> </span><span id="var-link"><a href="trace-api.html#clojure.contrib.trace/trace-indent" id="var-tag">trace-indent</a> </span><span id="var-link"><a href="trace-api.html#clojure.contrib.trace/tracer" id="var-tag">tracer</a> </span><br /> - -</div><div id="namespace-entry"> - <br /> - <hr /> - <h2 id="types">types</h2> - <span id="author-line">by <span id="author-name">Konrad Hinsen</span><br /></span> - <a href="types-api.html" id="api-link">Detailed API documentation</a><br /> - <pre id="namespace-docstr">General and algebraic data types</pre> - - - - Public variables and functions: - <span id="var-link"><a href="types-api.html#clojure.contrib.types/defadt" id="var-tag">defadt</a> </span><span id="var-link"><a href="types-api.html#clojure.contrib.types/deftype" id="var-tag">deftype</a> </span><span id="var-link"><a href="types-api.html#clojure.contrib.types/deftype-" id="var-tag">deftype-</a> </span><span id="var-link"><a href="types-api.html#clojure.contrib.types/match" id="var-tag">match</a> </span><br /> - -</div><div id="namespace-entry"> - <br /> - <hr /> - <h2 id="with-ns">with-ns</h2> - <span id="author-line">by <span id="author-name">Stuart Sierra</span><br /></span> - <a href="with-ns-api.html" id="api-link">Detailed API documentation</a><br /> - <pre id="namespace-docstr">Temporary namespace macro</pre> - - - - Public variables and functions: - <span id="var-link"><a href="with-ns-api.html#clojure.contrib.with-ns/with-ns" id="var-tag">with-ns</a> </span><span id="var-link"><a href="with-ns-api.html#clojure.contrib.with-ns/with-temp-ns" id="var-tag">with-temp-ns</a> </span><br /> - -</div><div id="namespace-entry"> - <br /> - <hr /> - <h2 id="zip-filter">zip-filter</h2> - <span id="author-line">by <span id="author-name">Chris Houser</span><br /></span> - <a href="zip-filter-api.html" id="api-link">Detailed API documentation</a><br /> - <pre id="namespace-docstr">System for filtering trees and nodes generated by zip.clj in -general, and xml trees in particular.</pre> - - - - Public variables and functions: - <span id="var-link"><a href="zip-filter-api.html#clojure.contrib.zip-filter/ancestors" id="var-tag">ancestors</a> </span><span id="var-link"><a href="zip-filter-api.html#clojure.contrib.zip-filter/children" id="var-tag">children</a> </span><span id="var-link"><a href="zip-filter-api.html#clojure.contrib.zip-filter/children-auto" id="var-tag">children-auto</a> </span><span id="var-link"><a href="zip-filter-api.html#clojure.contrib.zip-filter/descendants" id="var-tag">descendants</a> </span><span id="var-link"><a href="zip-filter-api.html#clojure.contrib.zip-filter/left-locs" id="var-tag">left-locs</a> </span><span id="var-link"><a href="zip-filter-api.html#clojure.contrib.zip-filter/leftmost?" id="var-tag">leftmost?</a> </span><span id="var-link"><a href="zip-filter-api.html#clojure.contrib.zip-filter/right-locs" id="var-tag">right-locs</a> </span><span id="var-link"><a href="zip-filter-api.html#clojure.contrib.zip-filter/rightmost?" id="var-tag">rightmost?</a> </span><br /> - <span id="subspace"><br />Variables and functions in - <span id="name">zip-filter.xml</span>: - <span id="sub-var-link"> - <a href="zip-filter-api.html#clojure.contrib.zip-filter.xml/attr">attr</a> - </span><span id="sub-var-link"> - <a href="zip-filter-api.html#clojure.contrib.zip-filter.xml/attr=">attr=</a> - </span><span id="sub-var-link"> - <a href="zip-filter-api.html#clojure.contrib.zip-filter.xml/seq-test">seq-test</a> - </span><span id="sub-var-link"> - <a href="zip-filter-api.html#clojure.contrib.zip-filter.xml/tag=">tag=</a> - </span><span id="sub-var-link"> - <a href="zip-filter-api.html#clojure.contrib.zip-filter.xml/text">text</a> - </span><span id="sub-var-link"> - <a href="zip-filter-api.html#clojure.contrib.zip-filter.xml/text=">text=</a> - </span><span id="sub-var-link"> - <a href="zip-filter-api.html#clojure.contrib.zip-filter.xml/xml->">xml-></a> - </span><span id="sub-var-link"> - <a href="zip-filter-api.html#clojure.contrib.zip-filter.xml/xml1->">xml1-></a> - </span> - <br /> - </span> -</div> </div> </div> </div> diff --git a/branch-master/io-api.html b/branch-master/io-api.html deleted file mode 100644 index 66607a64..00000000 --- a/branch-master/io-api.html +++ /dev/null @@ -1,553 +0,0 @@ -<html> - <head> - <title>io - clojure-contrib next API documentation</title> - <link href="../static/favicon.png" rel="icon" /> - <link href="../static/favicon.png" rel="shortcut icon" /> - <link media="all" type="text/css" href="../static/clojure.css" rel="stylesheet" /> - <link media="all" type="text/css" href="../static/wiki.css" rel="stylesheet" /> - <link media="all" type="text/css" href="../static/internal.css" rel="stylesheet" /> - <!-- TODO: are we using these (from clojure.org)? If so, add the files --> - <script src="file/view/code_highlighter.js" type="text/javascript"></script> - <script src="file/view/clojure.js" type="text/javascript"></script> - <style>.menuWrapper{height: 36px;}</style> - <!--[if lte IE 6]> - <link rel="stylesheet" href="http://www.wikispaces.com/_/2009051601/s/internal_ie.css" type="text/css" /> - <![endif]--> - </head> -<!-- -This document was auto-generated from the source by the clojure autodoc system. -To report errors or ask questions about the overall documentation structure, formatting, -etc., contact Tom Faulhaber (google mail name: tomfaulhaber). -For errors in the documentation of a particular namespace, contact the author of that -namespace. ---> - <body> - <div id="AllContentContainer"> - <div id="Header"> - <a id="Logo" href="index.html"><img alt="Clojure" height="100" width="100" src="../static/clojure-icon.gif" /></a> - <h1><a title="page header title" id="page-header" href="index.html">Clojure-contrib API Reference</a></h1> - </div> - <div id="leftcolumn"><div style="text-align: center;"></div> -<div class="menu"> - <div class="WikiCustomNav WikiElement wiki"> - <span class="toc-header"><span id="project-name">clojure-contrib</span> <span id="version">next</span> API</span><br /> - <ul> - <li><a class="wiki_link" href="index.html">Overview</a></li> - <li><a class="wiki_link" href="api-index.html">API Index</a></li> - </ul> - <span class="toc-header">Namespaces</span> - <ul id="left-sidebar-list"> - <li><a href="accumulators-api.html" class="wiki_link">accumulators</a></li><li><a href="agent-utils-api.html" class="wiki_link">agent-utils</a></li><li><a href="apply-macro-api.html" class="wiki_link">apply-macro</a></li><li><a href="base64-api.html" class="wiki_link">base64</a></li><li><a href="classpath-api.html" class="wiki_link">classpath</a></li><li><a href="combinatorics-api.html" class="wiki_link">combinatorics</a></li><li><a href="command-line-api.html" class="wiki_link">command-line</a></li><li><a href="complex-numbers-api.html" class="wiki_link">complex-numbers</a></li><li><a href="cond-api.html" class="wiki_link">cond</a></li><li><a href="condition-api.html" class="wiki_link">condition</a></li><li><a href="core-api.html" class="wiki_link">core</a></li><li><a href="dataflow-api.html" class="wiki_link">dataflow</a></li><li><a href="datalog-api.html" class="wiki_link">datalog</a></li><li><a href="def-api.html" class="wiki_link">def</a></li><li><a href="duck-streams-api.html" class="wiki_link">duck-streams</a></li><li><a href="error-kit-api.html" class="wiki_link">error-kit</a></li><li><a href="except-api.html" class="wiki_link">except</a></li><li><a href="fcase-api.html" class="wiki_link">fcase</a></li><li><a href="find-namespaces-api.html" class="wiki_link">find-namespaces</a></li><li><a href="fnmap-api.html" class="wiki_link">fnmap</a></li><li><a href="gen-html-docs-api.html" class="wiki_link">gen-html-docs</a></li><li><a href="generic.arithmetic-api.html" class="wiki_link">generic.arithmetic</a></li><li><a href="generic.collection-api.html" class="wiki_link">generic.collection</a></li><li><a href="generic.comparison-api.html" class="wiki_link">generic.comparison</a></li><li><a href="generic.functor-api.html" class="wiki_link">generic.functor</a></li><li><a href="generic.math-functions-api.html" class="wiki_link">generic.math-functions</a></li><li><a href="graph-api.html" class="wiki_link">graph</a></li><li><a href="greatest-least-api.html" class="wiki_link">greatest-least</a></li><li><a href="http.agent-api.html" class="wiki_link">http.agent</a></li><li><a href="http.connection-api.html" class="wiki_link">http.connection</a></li><li><a href="import-static-api.html" class="wiki_link">import-static</a></li><li><a href="io-api.html" class="wiki_link">io</a></li><li><a href="jar-api.html" class="wiki_link">jar</a></li><li><a href="java-utils-api.html" class="wiki_link">java-utils</a></li><li><a href="javadoc.browse-api.html" class="wiki_link">javadoc.browse</a></li><li><a href="jmx-api.html" class="wiki_link">jmx</a></li><li><a href="json-api.html" class="wiki_link">json</a></li><li><a href="lazy-seqs-api.html" class="wiki_link">lazy-seqs</a></li><li><a href="lazy-xml-api.html" class="wiki_link">lazy-xml</a></li><li><a href="logging-api.html" class="wiki_link">logging</a></li><li><a href="macro-utils-api.html" class="wiki_link">macro-utils</a></li><li><a href="macros-api.html" class="wiki_link">macros</a></li><li><a href="map-utils-api.html" class="wiki_link">map-utils</a></li><li><a href="math-api.html" class="wiki_link">math</a></li><li><a href="miglayout-api.html" class="wiki_link">miglayout</a></li><li><a href="mmap-api.html" class="wiki_link">mmap</a></li><li><a href="mock-api.html" class="wiki_link">mock</a></li><li><a href="monadic-io-streams-api.html" class="wiki_link">monadic-io-streams</a></li><li><a href="monads-api.html" class="wiki_link">monads</a></li><li><a href="ns-utils-api.html" class="wiki_link">ns-utils</a></li><li><a href="pprint-api.html" class="wiki_link">pprint</a></li><li><a href="priority-map-api.html" class="wiki_link">priority-map</a></li><li><a href="probabilities.finite-distributions-api.html" class="wiki_link">probabilities.finite-distributions</a></li><li><a href="probabilities.monte-carlo-api.html" class="wiki_link">probabilities.monte-carlo</a></li><li><a href="probabilities.random-numbers-api.html" class="wiki_link">probabilities.random-numbers</a></li><li><a href="profile-api.html" class="wiki_link">profile</a></li><li><a href="properties-api.html" class="wiki_link">properties</a></li><li><a href="prxml-api.html" class="wiki_link">prxml</a></li><li><a href="reflect-api.html" class="wiki_link">reflect</a></li><li><a href="repl-ln-api.html" class="wiki_link">repl-ln</a></li><li><a href="repl-utils-api.html" class="wiki_link">repl-utils</a></li><li><a href="seq-api.html" class="wiki_link">seq</a></li><li><a href="seq-utils-api.html" class="wiki_link">seq-utils</a></li><li><a href="server-socket-api.html" class="wiki_link">server-socket</a></li><li><a href="set-api.html" class="wiki_link">set</a></li><li><a href="shell-api.html" class="wiki_link">shell</a></li><li><a href="shell-out-api.html" class="wiki_link">shell-out</a></li><li><a href="singleton-api.html" class="wiki_link">singleton</a></li><li><a href="sql-api.html" class="wiki_link">sql</a></li><li><a href="str-utils-api.html" class="wiki_link">str-utils</a></li><li><a href="str-utils2-api.html" class="wiki_link">str-utils2</a></li><li><a href="stream-utils-api.html" class="wiki_link">stream-utils</a></li><li><a href="string-api.html" class="wiki_link">string</a></li><li><a href="strint-api.html" class="wiki_link">strint</a></li><li><a href="swing-utils-api.html" class="wiki_link">swing-utils</a></li><li><a href="test-is-api.html" class="wiki_link">test-is</a></li><li><a href="trace-api.html" class="wiki_link">trace</a></li><li><a href="types-api.html" class="wiki_link">types</a></li><li><a href="with-ns-api.html" class="wiki_link">with-ns</a></li><li><a href="zip-filter-api.html" class="wiki_link">zip-filter</a></li> - </ul> - <div class="BranchTOC"> - <span class="toc-header">Other Versions</span> - <ul id="left-sidebar-branch-list"> - <li><a href="../index.html" class="wiki_link">v1.2 (beta 1)</a></li><li><a href="../branch-1.1.x/index.html" class="wiki_link">v1.1 (stable)</a></li> - </ul> - </div> - <a href="http://clojure.org" class="wiki_link">Clojure Home</a> - </div> -</div> -</div> - <div id="rightcolumn"> - <div id="Content"> - <div class="contentBox"><div class="innerContentBox"> - <div id="content_view" class="wiki wikiPage"> - <div id="right-sidebar"><div id="toc"> - <h1 class="nopad">Table of Contents</h1> - <div style="margin-left: 1em;" class="toc-section"> - <a href="#toc0">Overview</a> - <div style="margin-left: 1em;" class="toc-entry"> - <a href="#clojure.contrib.io/*append*">*append*</a> - </div><div style="margin-left: 1em;" class="toc-entry"> - <a href="#clojure.contrib.io/*buffer-size*">*buffer-size*</a> - </div><div style="margin-left: 1em;" class="toc-entry"> - <a href="#clojure.contrib.io/*byte-array-type*">*byte-array-type*</a> - </div><div style="margin-left: 1em;" class="toc-entry"> - <a href="#clojure.contrib.io/*char-array-type*">*char-array-type*</a> - </div><div style="margin-left: 1em;" class="toc-entry"> - <a href="#clojure.contrib.io/*default-encoding*">*default-encoding*</a> - </div><div style="margin-left: 1em;" class="toc-entry"> - <a href="#clojure.contrib.io/append-output-stream">append-output-stream</a> - </div><div style="margin-left: 1em;" class="toc-entry"> - <a href="#clojure.contrib.io/append-spit">append-spit</a> - </div><div style="margin-left: 1em;" class="toc-entry"> - <a href="#clojure.contrib.io/append-writer">append-writer</a> - </div><div style="margin-left: 1em;" class="toc-entry"> - <a href="#clojure.contrib.io/as-url">as-url</a> - </div><div style="margin-left: 1em;" class="toc-entry"> - <a href="#clojure.contrib.io/copy">copy</a> - </div><div style="margin-left: 1em;" class="toc-entry"> - <a href="#clojure.contrib.io/delete-file">delete-file</a> - </div><div style="margin-left: 1em;" class="toc-entry"> - <a href="#clojure.contrib.io/delete-file-recursively">delete-file-recursively</a> - </div><div style="margin-left: 1em;" class="toc-entry"> - <a href="#clojure.contrib.io/file">file</a> - </div><div style="margin-left: 1em;" class="toc-entry"> - <a href="#clojure.contrib.io/file-str">file-str</a> - </div><div style="margin-left: 1em;" class="toc-entry"> - <a href="#clojure.contrib.io/input-stream">input-stream</a> - </div><div style="margin-left: 1em;" class="toc-entry"> - <a href="#clojure.contrib.io/make-parents">make-parents</a> - </div><div style="margin-left: 1em;" class="toc-entry"> - <a href="#clojure.contrib.io/output-stream">output-stream</a> - </div><div style="margin-left: 1em;" class="toc-entry"> - <a href="#clojure.contrib.io/pwd">pwd</a> - </div><div style="margin-left: 1em;" class="toc-entry"> - <a href="#clojure.contrib.io/read-lines">read-lines</a> - </div><div style="margin-left: 1em;" class="toc-entry"> - <a href="#clojure.contrib.io/reader">reader</a> - </div><div style="margin-left: 1em;" class="toc-entry"> - <a href="#clojure.contrib.io/relative-path-string">relative-path-string</a> - </div><div style="margin-left: 1em;" class="toc-entry"> - <a href="#clojure.contrib.io/slurp*">slurp*</a> - </div><div style="margin-left: 1em;" class="toc-entry"> - <a href="#clojure.contrib.io/spit">spit</a> - </div><div style="margin-left: 1em;" class="toc-entry"> - <a href="#clojure.contrib.io/to-byte-array">to-byte-array</a> - </div><div style="margin-left: 1em;" class="toc-entry"> - <a href="#clojure.contrib.io/with-in-reader">with-in-reader</a> - </div><div style="margin-left: 1em;" class="toc-entry"> - <a href="#clojure.contrib.io/with-out-append-writer">with-out-append-writer</a> - </div><div style="margin-left: 1em;" class="toc-entry"> - <a href="#clojure.contrib.io/with-out-writer">with-out-writer</a> - </div><div style="margin-left: 1em;" class="toc-entry"> - <a href="#clojure.contrib.io/write-lines">write-lines</a> - </div><div style="margin-left: 1em;" class="toc-entry"> - <a href="#clojure.contrib.io/writer">writer</a> - </div> - <br /> - </div> -</div> -</div> - <div id="content-tag"><h1 id="overview">API for <span id="namespace-name">io</span> - - <span id="header-project">clojure-contrib</span> <span id="header-version">next</span> (<span id="header-status">in development</span>) - </h1> -<span id="author-line">by <span id="author-name">Stuart Sierra</span><br /></span> -<br />Usage: -<pre> -(ns your-namespace - (:require <span id="long-name">clojure.contrib.io</span>)) -</pre><pre> -</pre><h2>Overview</h2> -<pre id="namespace-docstr">This file defines polymorphic I/O utility functions for Clojure. - -The Streams protocol defines reader, writer, input-stream and -output-stream methods that return BufferedReader, BufferedWriter, -BufferedInputStream and BufferedOutputStream instances (respectively), -with default implementations extended to a variety of argument -types: URLs or filenames as strings, java.io.File's, Sockets, etc.</pre> - - -<br /> -<h2>Public Variables and Functions</h2> -<div id="var-entry"> - <br /> - <hr /> - <h2 id="clojure.contrib.io/*append*">*append*</h2> - <span id="var-type">var</span><br /> - <pre id="var-usage"></pre> - <pre id="var-docstr">If true, writer, output-stream and spit will open files in append mode. -Defaults to false. Instead of binding this var directly, use append-writer, -append-output-stream or append-spit.</pre> - - - <a href="http://github.com/richhickey/clojure-contrib/blob/c3dfd00f7fb481475d53dfb05e440e5d460548e0/src/main/clojure/clojure/contrib/io.clj#L107" id="var-source">Source</a> -</div><div id="var-entry"> - <br /> - <hr /> - <h2 id="clojure.contrib.io/*buffer-size*">*buffer-size*</h2> - <span id="var-type">var</span><br /> - <pre id="var-usage"></pre> - <pre id="var-docstr">Size, in bytes or characters, of the buffer used when -copying streams.</pre> - - - <a href="http://github.com/richhickey/clojure-contrib/blob/c3dfd00f7fb481475d53dfb05e440e5d460548e0/src/main/clojure/clojure/contrib/io.clj#L79" id="var-source">Source</a> -</div><div id="var-entry"> - <br /> - <hr /> - <h2 id="clojure.contrib.io/*byte-array-type*">*byte-array-type*</h2> - <span id="var-type">var</span><br /> - <pre id="var-usage"></pre> - <pre id="var-docstr">Type object for a Java primitive byte array.</pre> - - - <a href="http://github.com/richhickey/clojure-contrib/blob/c3dfd00f7fb481475d53dfb05e440e5d460548e0/src/main/clojure/clojure/contrib/io.clj#L84" id="var-source">Source</a> -</div><div id="var-entry"> - <br /> - <hr /> - <h2 id="clojure.contrib.io/*char-array-type*">*char-array-type*</h2> - <span id="var-type">var</span><br /> - <pre id="var-usage"></pre> - <pre id="var-docstr">Type object for a Java primitive char array.</pre> - - - <a href="http://github.com/richhickey/clojure-contrib/blob/c3dfd00f7fb481475d53dfb05e440e5d460548e0/src/main/clojure/clojure/contrib/io.clj#L88" id="var-source">Source</a> -</div><div id="var-entry"> - <br /> - <hr /> - <h2 id="clojure.contrib.io/*default-encoding*">*default-encoding*</h2> - <span id="var-type">var</span><br /> - <pre id="var-usage"></pre> - <pre id="var-docstr">Name of the default encoding to use when reading & writing. -Default is UTF-8.</pre> - - - <a href="http://github.com/richhickey/clojure-contrib/blob/c3dfd00f7fb481475d53dfb05e440e5d460548e0/src/main/clojure/clojure/contrib/io.clj#L73" id="var-source">Source</a> -</div><div id="var-entry"> - <br /> - <hr /> - <h2 id="clojure.contrib.io/append-output-stream">append-output-stream</h2> - <span id="var-type">function</span><br /> - <pre id="var-usage">Usage: (append-output-stream x) -</pre> - <pre id="var-docstr">Like output-stream but opens file for appending. Does not work on streams -that are already open.</pre> - - <span class="var-deprecated"><span id="content">Deprecated since clojure-contrib version 1.2</span><br /></span> - <a href="http://github.com/richhickey/clojure-contrib/blob/c3dfd00f7fb481475d53dfb05e440e5d460548e0/src/main/clojure/clojure/contrib/io.clj#L280" id="var-source">Source</a> -</div><div id="var-entry"> - <br /> - <hr /> - <h2 id="clojure.contrib.io/append-spit">append-spit</h2> - <span id="var-type">function</span><br /> - <pre id="var-usage">Usage: (append-spit f content) -</pre> - <pre id="var-docstr">Like spit but appends to file.</pre> - - <span class="var-deprecated"><span id="content">Deprecated since clojure-contrib version 1.2</span><br /></span> - <a href="http://github.com/richhickey/clojure-contrib/blob/c3dfd00f7fb481475d53dfb05e440e5d460548e0/src/main/clojure/clojure/contrib/io.clj#L338" id="var-source">Source</a> -</div><div id="var-entry"> - <br /> - <hr /> - <h2 id="clojure.contrib.io/append-writer">append-writer</h2> - <span id="var-type">function</span><br /> - <pre id="var-usage">Usage: (append-writer x) -</pre> - <pre id="var-docstr">Like writer but opens file for appending. Does not work on streams -that are already open.</pre> - - <span class="var-deprecated"><span id="content">Deprecated since clojure-contrib version 1.2</span><br /></span> - <a href="http://github.com/richhickey/clojure-contrib/blob/c3dfd00f7fb481475d53dfb05e440e5d460548e0/src/main/clojure/clojure/contrib/io.clj#L288" id="var-source">Source</a> -</div><div id="var-entry"> - <br /> - <hr /> - <h2 id="clojure.contrib.io/as-url">as-url</h2> - <span id="var-type">function</span><br /> - <pre id="var-usage">Usage: (as-url arg) -</pre> - <pre id="var-docstr">Coerces argument (URL, URI, or String) to a java.net.URL.</pre> - - <span class="var-deprecated"><span id="content">Deprecated since clojure-contrib version 1.2</span><br /></span> - <a href="http://github.com/richhickey/clojure-contrib/blob/c3dfd00f7fb481475d53dfb05e440e5d460548e0/src/main/clojure/clojure/contrib/io.clj#L552" id="var-source">Source</a> -</div><div id="var-entry"> - <br /> - <hr /> - <h2 id="clojure.contrib.io/copy">copy</h2> - <span id="var-type">function</span><br /> - <pre id="var-usage">Usage: (copy input output) -</pre> - <pre id="var-docstr">Copies input to output. Returns nil. -Input may be an InputStream, Reader, File, byte[], or String. -Output may be an OutputStream, Writer, or File. - -Does not close any streams except those it opens itself -(on a File). - -Writing a File fails if the parent directory does not exist.</pre> - - <span class="var-deprecated"><span id="content">Deprecated since clojure-contrib version 1.2</span><br /></span> - <a href="http://github.com/richhickey/clojure-contrib/blob/c3dfd00f7fb481475d53dfb05e440e5d460548e0/src/main/clojure/clojure/contrib/io.clj#L375" id="var-source">Source</a> -</div><div id="var-entry"> - <br /> - <hr /> - <h2 id="clojure.contrib.io/delete-file">delete-file</h2> - <span id="var-type">function</span><br /> - <pre id="var-usage">Usage: (delete-file f & [silently]) -</pre> - <pre id="var-docstr">Delete file f. Raise an exception if it fails unless silently is true.</pre> - - - <a href="http://github.com/richhickey/clojure-contrib/blob/c3dfd00f7fb481475d53dfb05e440e5d460548e0/src/main/clojure/clojure/contrib/io.clj#L535" id="var-source">Source</a> -</div><div id="var-entry"> - <br /> - <hr /> - <h2 id="clojure.contrib.io/delete-file-recursively">delete-file-recursively</h2> - <span id="var-type">function</span><br /> - <pre id="var-usage">Usage: (delete-file-recursively f & [silently]) -</pre> - <pre id="var-docstr">Delete file f. If it's a directory, recursively delete all its contents. -Raise an exception if any deletion fails unless silently is true.</pre> - - - <a href="http://github.com/richhickey/clojure-contrib/blob/c3dfd00f7fb481475d53dfb05e440e5d460548e0/src/main/clojure/clojure/contrib/io.clj#L542" id="var-source">Source</a> -</div><div id="var-entry"> - <br /> - <hr /> - <h2 id="clojure.contrib.io/file">file</h2> - <span id="var-type">function</span><br /> - <pre id="var-usage">Usage: (file arg) - (file parent child) - (file parent child & more) -</pre> - <pre id="var-docstr">Returns a java.io.File from string or file args.</pre> - - <span class="var-deprecated"><span id="content">Deprecated since clojure-contrib version 1.2</span><br /></span> - <a href="http://github.com/richhickey/clojure-contrib/blob/c3dfd00f7fb481475d53dfb05e440e5d460548e0/src/main/clojure/clojure/contrib/io.clj#L525" id="var-source">Source</a> -</div><div id="var-entry"> - <br /> - <hr /> - <h2 id="clojure.contrib.io/file-str">file-str</h2> - <span id="var-type">function</span><br /> - <pre id="var-usage">Usage: (file-str & args) -</pre> - <pre id="var-docstr">Concatenates args as strings and returns a java.io.File. Replaces -all / and \ with File/separatorChar. Replaces ~ at the start of -the path with the user.home system property.</pre> - - - <a href="http://github.com/richhickey/clojure-contrib/blob/c3dfd00f7fb481475d53dfb05e440e5d460548e0/src/main/clojure/clojure/contrib/io.clj#L93" id="var-source">Source</a> -</div><div id="var-entry"> - <br /> - <hr /> - <h2 id="clojure.contrib.io/input-stream">input-stream</h2> - <span id="var-type">function</span><br /> - <pre id="var-usage">Usage: (input-stream x) -</pre> - <pre id="var-docstr">Attempts to coerce its argument into an open java.io.InputStream. -The default implementations of this protocol always return a -java.io.BufferedInputStream. - -Default implementations are defined for OutputStream, File, URI, URL, -Socket, byte array, and String arguments. - -If the argument is a String, it tries to resolve it first as a URI, then -as a local file name. URIs with a 'file' protocol are converted to -local file names. - -Should be used inside with-open to ensure the InputStream is properly -closed.</pre> - - - -</div><div id="var-entry"> - <br /> - <hr /> - <h2 id="clojure.contrib.io/make-parents">make-parents</h2> - <span id="var-type">function</span><br /> - <pre id="var-usage">Usage: (make-parents file) -</pre> - <pre id="var-docstr">Creates all parent directories of file.</pre> - - - <a href="http://github.com/richhickey/clojure-contrib/blob/c3dfd00f7fb481475d53dfb05e440e5d460548e0/src/main/clojure/clojure/contrib/io.clj#L471" id="var-source">Source</a> -</div><div id="var-entry"> - <br /> - <hr /> - <h2 id="clojure.contrib.io/output-stream">output-stream</h2> - <span id="var-type">function</span><br /> - <pre id="var-usage">Usage: (output-stream x) -</pre> - <pre id="var-docstr">Attempts to coerce its argument into an open java.io.OutputStream. -The default implementations of this protocol always return a -java.io.BufferedOutputStream. - -Default implementations are defined for OutputStream, File, URI, URL, -Socket, and String arguments. - -If the argument is a String, it tries to resolve it first as a URI, then -as a local file name. URIs with a 'file' protocol are converted to -local file names. - -Should be used inside with-open to ensure the OutputStream is -properly closed.</pre> - - - -</div><div id="var-entry"> - <br /> - <hr /> - <h2 id="clojure.contrib.io/pwd">pwd</h2> - <span id="var-type">function</span><br /> - <pre id="var-usage">Usage: (pwd) -</pre> - <pre id="var-docstr">Returns current working directory as a String. (Like UNIX 'pwd'.) -Note: In Java, you cannot change the current working directory.</pre> - - <span class="var-deprecated"><span id="content">Deprecated since clojure-contrib version 1.2</span><br /></span> - <a href="http://github.com/richhickey/clojure-contrib/blob/c3dfd00f7fb481475d53dfb05e440e5d460548e0/src/main/clojure/clojure/contrib/io.clj#L345" id="var-source">Source</a> -</div><div id="var-entry"> - <br /> - <hr /> - <h2 id="clojure.contrib.io/read-lines">read-lines</h2> - <span id="var-type">function</span><br /> - <pre id="var-usage">Usage: (read-lines f) -</pre> - <pre id="var-docstr">Like clojure.core/line-seq but opens f with reader. Automatically -closes the reader AFTER YOU CONSUME THE ENTIRE SEQUENCE.</pre> - - - <a href="http://github.com/richhickey/clojure-contrib/blob/c3dfd00f7fb481475d53dfb05e440e5d460548e0/src/main/clojure/clojure/contrib/io.clj#L307" id="var-source">Source</a> -</div><div id="var-entry"> - <br /> - <hr /> - <h2 id="clojure.contrib.io/reader">reader</h2> - <span id="var-type">function</span><br /> - <pre id="var-usage">Usage: (reader x) -</pre> - <pre id="var-docstr">Attempts to coerce its argument into an open java.io.Reader. -The default implementations of this protocol always return a -java.io.BufferedReader. - -Default implementations are provided for Reader, BufferedReader, -InputStream, File, URI, URL, Socket, byte arrays, character arrays, -and String. - -If argument is a String, it tries to resolve it first as a URI, then -as a local file name. URIs with a 'file' protocol are converted to -local file names. If this fails, a final attempt is made to resolve -the string as a resource on the CLASSPATH. - -Uses *default-encoding* as the text encoding. - -Should be used inside with-open to ensure the Reader is properly -closed.</pre> - - - -</div><div id="var-entry"> - <br /> - <hr /> - <h2 id="clojure.contrib.io/relative-path-string">relative-path-string</h2> - <span id="var-type">multimethod</span><br /> - <pre id="var-usage">No usage documentation available</pre> - <pre id="var-docstr">Interpret a String or java.io.File as a relative path string. -Building block for clojure.contrib.java/file.</pre> - - <span class="var-deprecated"><span id="content">Deprecated since clojure-contrib version 1.2</span><br /></span> - <a href="http://github.com/richhickey/clojure-contrib/blob/c3dfd00f7fb481475d53dfb05e440e5d460548e0/src/main/clojure/clojure/contrib/io.clj#L502" id="var-source">Source</a> -</div><div id="var-entry"> - <br /> - <hr /> - <h2 id="clojure.contrib.io/slurp*">slurp*</h2> - <span id="var-type">function</span><br /> - <pre id="var-usage">Usage: (slurp* f) -</pre> - <pre id="var-docstr">Like clojure.core/slurp but opens f with reader.</pre> - - <span class="var-deprecated"><span id="content">Deprecated since clojure-contrib version 1.2</span><br /></span> - <a href="http://github.com/richhickey/clojure-contrib/blob/c3dfd00f7fb481475d53dfb05e440e5d460548e0/src/main/clojure/clojure/contrib/io.clj#L318" id="var-source">Source</a> -</div><div id="var-entry"> - <br /> - <hr /> - <h2 id="clojure.contrib.io/spit">spit</h2> - <span id="var-type">function</span><br /> - <pre id="var-usage">Usage: (spit f content) -</pre> - <pre id="var-docstr">Opposite of slurp. Opens f with writer, writes content, then -closes f.</pre> - - <span class="var-deprecated"><span id="content">Deprecated since clojure-contrib version 1.2</span><br /></span> - <a href="http://github.com/richhickey/clojure-contrib/blob/c3dfd00f7fb481475d53dfb05e440e5d460548e0/src/main/clojure/clojure/contrib/io.clj#L330" id="var-source">Source</a> -</div><div id="var-entry"> - <br /> - <hr /> - <h2 id="clojure.contrib.io/to-byte-array">to-byte-array</h2> - <span id="var-type">function</span><br /> - <pre id="var-usage">Usage: (to-byte-array arg) -</pre> - <pre id="var-docstr">Converts argument into a Java byte array. Argument may be -a String, File, InputStream, or Reader. If the argument is already -a byte array, returns it.</pre> - - - <a href="http://github.com/richhickey/clojure-contrib/blob/c3dfd00f7fb481475d53dfb05e440e5d460548e0/src/main/clojure/clojure/contrib/io.clj#L476" id="var-source">Source</a> -</div><div id="var-entry"> - <br /> - <hr /> - <h2 id="clojure.contrib.io/with-in-reader">with-in-reader</h2> - <span id="var-type">macro</span><br /> - <pre id="var-usage">Usage: (with-in-reader f & body) -</pre> - <pre id="var-docstr">Opens a PushbackReader on f, binds it to *in*, and evaluates body.</pre> - - - <a href="http://github.com/richhickey/clojure-contrib/blob/c3dfd00f7fb481475d53dfb05e440e5d460548e0/src/main/clojure/clojure/contrib/io.clj#L368" id="var-source">Source</a> -</div><div id="var-entry"> - <br /> - <hr /> - <h2 id="clojure.contrib.io/with-out-append-writer">with-out-append-writer</h2> - <span id="var-type">macro</span><br /> - <pre id="var-usage">Usage: (with-out-append-writer f & body) -</pre> - <pre id="var-docstr">Like with-out-writer but appends to file.</pre> - - <span class="var-deprecated"><span id="content">Deprecated since clojure-contrib version 1.2</span><br /></span> - <a href="http://github.com/richhickey/clojure-contrib/blob/c3dfd00f7fb481475d53dfb05e440e5d460548e0/src/main/clojure/clojure/contrib/io.clj#L360" id="var-source">Source</a> -</div><div id="var-entry"> - <br /> - <hr /> - <h2 id="clojure.contrib.io/with-out-writer">with-out-writer</h2> - <span id="var-type">macro</span><br /> - <pre id="var-usage">Usage: (with-out-writer f & body) -</pre> - <pre id="var-docstr">Opens a writer on f, binds it to *out*, and evalutes body. -Anything printed within body will be written to f.</pre> - - - <a href="http://github.com/richhickey/clojure-contrib/blob/c3dfd00f7fb481475d53dfb05e440e5d460548e0/src/main/clojure/clojure/contrib/io.clj#L352" id="var-source">Source</a> -</div><div id="var-entry"> - <br /> - <hr /> - <h2 id="clojure.contrib.io/write-lines">write-lines</h2> - <span id="var-type">function</span><br /> - <pre id="var-usage">Usage: (write-lines f lines) -</pre> - <pre id="var-docstr">Writes lines (a seq) to f, separated by newlines. f is opened with -writer, and automatically closed at the end of the sequence.</pre> - - - <a href="http://github.com/richhickey/clojure-contrib/blob/c3dfd00f7fb481475d53dfb05e440e5d460548e0/src/main/clojure/clojure/contrib/io.clj#L296" id="var-source">Source</a> -</div><div id="var-entry"> - <br /> - <hr /> - <h2 id="clojure.contrib.io/writer">writer</h2> - <span id="var-type">function</span><br /> - <pre id="var-usage">Usage: (writer x) -</pre> - <pre id="var-docstr">Attempts to coerce its argument into an open java.io.Writer. -The default implementations of this protocol always return a -java.io.BufferedWriter. - -Default implementations are provided for Writer, BufferedWriter, -OutputStream, File, URI, URL, Socket, and String. - -If the argument is a String, it tries to resolve it first as a URI, then -as a local file name. URIs with a 'file' protocol are converted to -local file names. - -Should be used inside with-open to ensure the Writer is properly -closed.</pre> - - - -</div> - - -</div> - </div> - </div> - </div> - </div> - <div id="foot"> - <div style="text-align: center;" id="copyright">Copyright 2007-2009 by Rich Hickey and the various contributors</div> - </div> - </div> - <div id="DesignedBy">Logo & site design by <a title="Visit Tom Hickey's website." href="http://www.tomhickey.com">Tom Hickey</a>.<br /> - Clojure auto-documentation system by Tom Faulhaber.</div> - </div> - <!-- /AllContentContainer --> - </body> - -</html>
\ No newline at end of file diff --git a/branch-master/jar-api.html b/branch-master/jar-api.html deleted file mode 100644 index 2b6735d7..00000000 --- a/branch-master/jar-api.html +++ /dev/null @@ -1,125 +0,0 @@ -<html> - <head> - <title>jar - clojure-contrib next API documentation</title> - <link href="../static/favicon.png" rel="icon" /> - <link href="../static/favicon.png" rel="shortcut icon" /> - <link media="all" type="text/css" href="../static/clojure.css" rel="stylesheet" /> - <link media="all" type="text/css" href="../static/wiki.css" rel="stylesheet" /> - <link media="all" type="text/css" href="../static/internal.css" rel="stylesheet" /> - <!-- TODO: are we using these (from clojure.org)? If so, add the files --> - <script src="file/view/code_highlighter.js" type="text/javascript"></script> - <script src="file/view/clojure.js" type="text/javascript"></script> - <style>.menuWrapper{height: 36px;}</style> - <!--[if lte IE 6]> - <link rel="stylesheet" href="http://www.wikispaces.com/_/2009051601/s/internal_ie.css" type="text/css" /> - <![endif]--> - </head> -<!-- -This document was auto-generated from the source by the clojure autodoc system. -To report errors or ask questions about the overall documentation structure, formatting, -etc., contact Tom Faulhaber (google mail name: tomfaulhaber). -For errors in the documentation of a particular namespace, contact the author of that -namespace. ---> - <body> - <div id="AllContentContainer"> - <div id="Header"> - <a id="Logo" href="index.html"><img alt="Clojure" height="100" width="100" src="../static/clojure-icon.gif" /></a> - <h1><a title="page header title" id="page-header" href="index.html">Clojure-contrib API Reference</a></h1> - </div> - <div id="leftcolumn"><div style="text-align: center;"></div> -<div class="menu"> - <div class="WikiCustomNav WikiElement wiki"> - <span class="toc-header"><span id="project-name">clojure-contrib</span> <span id="version">next</span> API</span><br /> - <ul> - <li><a class="wiki_link" href="index.html">Overview</a></li> - <li><a class="wiki_link" href="api-index.html">API Index</a></li> - </ul> - <span class="toc-header">Namespaces</span> - <ul id="left-sidebar-list"> - <li><a href="accumulators-api.html" class="wiki_link">accumulators</a></li><li><a href="agent-utils-api.html" class="wiki_link">agent-utils</a></li><li><a href="apply-macro-api.html" class="wiki_link">apply-macro</a></li><li><a href="base64-api.html" class="wiki_link">base64</a></li><li><a href="classpath-api.html" class="wiki_link">classpath</a></li><li><a href="combinatorics-api.html" class="wiki_link">combinatorics</a></li><li><a href="command-line-api.html" class="wiki_link">command-line</a></li><li><a href="complex-numbers-api.html" class="wiki_link">complex-numbers</a></li><li><a href="cond-api.html" class="wiki_link">cond</a></li><li><a href="condition-api.html" class="wiki_link">condition</a></li><li><a href="core-api.html" class="wiki_link">core</a></li><li><a href="dataflow-api.html" class="wiki_link">dataflow</a></li><li><a href="datalog-api.html" class="wiki_link">datalog</a></li><li><a href="def-api.html" class="wiki_link">def</a></li><li><a href="duck-streams-api.html" class="wiki_link">duck-streams</a></li><li><a href="error-kit-api.html" class="wiki_link">error-kit</a></li><li><a href="except-api.html" class="wiki_link">except</a></li><li><a href="fcase-api.html" class="wiki_link">fcase</a></li><li><a href="find-namespaces-api.html" class="wiki_link">find-namespaces</a></li><li><a href="fnmap-api.html" class="wiki_link">fnmap</a></li><li><a href="gen-html-docs-api.html" class="wiki_link">gen-html-docs</a></li><li><a href="generic.arithmetic-api.html" class="wiki_link">generic.arithmetic</a></li><li><a href="generic.collection-api.html" class="wiki_link">generic.collection</a></li><li><a href="generic.comparison-api.html" class="wiki_link">generic.comparison</a></li><li><a href="generic.functor-api.html" class="wiki_link">generic.functor</a></li><li><a href="generic.math-functions-api.html" class="wiki_link">generic.math-functions</a></li><li><a href="graph-api.html" class="wiki_link">graph</a></li><li><a href="greatest-least-api.html" class="wiki_link">greatest-least</a></li><li><a href="http.agent-api.html" class="wiki_link">http.agent</a></li><li><a href="http.connection-api.html" class="wiki_link">http.connection</a></li><li><a href="import-static-api.html" class="wiki_link">import-static</a></li><li><a href="io-api.html" class="wiki_link">io</a></li><li><a href="jar-api.html" class="wiki_link">jar</a></li><li><a href="java-utils-api.html" class="wiki_link">java-utils</a></li><li><a href="javadoc.browse-api.html" class="wiki_link">javadoc.browse</a></li><li><a href="jmx-api.html" class="wiki_link">jmx</a></li><li><a href="json-api.html" class="wiki_link">json</a></li><li><a href="lazy-seqs-api.html" class="wiki_link">lazy-seqs</a></li><li><a href="lazy-xml-api.html" class="wiki_link">lazy-xml</a></li><li><a href="logging-api.html" class="wiki_link">logging</a></li><li><a href="macro-utils-api.html" class="wiki_link">macro-utils</a></li><li><a href="macros-api.html" class="wiki_link">macros</a></li><li><a href="map-utils-api.html" class="wiki_link">map-utils</a></li><li><a href="math-api.html" class="wiki_link">math</a></li><li><a href="miglayout-api.html" class="wiki_link">miglayout</a></li><li><a href="mmap-api.html" class="wiki_link">mmap</a></li><li><a href="mock-api.html" class="wiki_link">mock</a></li><li><a href="monadic-io-streams-api.html" class="wiki_link">monadic-io-streams</a></li><li><a href="monads-api.html" class="wiki_link">monads</a></li><li><a href="ns-utils-api.html" class="wiki_link">ns-utils</a></li><li><a href="pprint-api.html" class="wiki_link">pprint</a></li><li><a href="priority-map-api.html" class="wiki_link">priority-map</a></li><li><a href="probabilities.finite-distributions-api.html" class="wiki_link">probabilities.finite-distributions</a></li><li><a href="probabilities.monte-carlo-api.html" class="wiki_link">probabilities.monte-carlo</a></li><li><a href="probabilities.random-numbers-api.html" class="wiki_link">probabilities.random-numbers</a></li><li><a href="profile-api.html" class="wiki_link">profile</a></li><li><a href="properties-api.html" class="wiki_link">properties</a></li><li><a href="prxml-api.html" class="wiki_link">prxml</a></li><li><a href="reflect-api.html" class="wiki_link">reflect</a></li><li><a href="repl-ln-api.html" class="wiki_link">repl-ln</a></li><li><a href="repl-utils-api.html" class="wiki_link">repl-utils</a></li><li><a href="seq-api.html" class="wiki_link">seq</a></li><li><a href="seq-utils-api.html" class="wiki_link">seq-utils</a></li><li><a href="server-socket-api.html" class="wiki_link">server-socket</a></li><li><a href="set-api.html" class="wiki_link">set</a></li><li><a href="shell-api.html" class="wiki_link">shell</a></li><li><a href="shell-out-api.html" class="wiki_link">shell-out</a></li><li><a href="singleton-api.html" class="wiki_link">singleton</a></li><li><a href="sql-api.html" class="wiki_link">sql</a></li><li><a href="str-utils-api.html" class="wiki_link">str-utils</a></li><li><a href="str-utils2-api.html" class="wiki_link">str-utils2</a></li><li><a href="stream-utils-api.html" class="wiki_link">stream-utils</a></li><li><a href="string-api.html" class="wiki_link">string</a></li><li><a href="strint-api.html" class="wiki_link">strint</a></li><li><a href="swing-utils-api.html" class="wiki_link">swing-utils</a></li><li><a href="test-is-api.html" class="wiki_link">test-is</a></li><li><a href="trace-api.html" class="wiki_link">trace</a></li><li><a href="types-api.html" class="wiki_link">types</a></li><li><a href="with-ns-api.html" class="wiki_link">with-ns</a></li><li><a href="zip-filter-api.html" class="wiki_link">zip-filter</a></li> - </ul> - <div class="BranchTOC"> - <span class="toc-header">Other Versions</span> - <ul id="left-sidebar-branch-list"> - <li><a href="../index.html" class="wiki_link">v1.2 (beta 1)</a></li><li><a href="../branch-1.1.x/index.html" class="wiki_link">v1.1 (stable)</a></li> - </ul> - </div> - <a href="http://clojure.org" class="wiki_link">Clojure Home</a> - </div> -</div> -</div> - <div id="rightcolumn"> - <div id="Content"> - <div class="contentBox"><div class="innerContentBox"> - <div id="content_view" class="wiki wikiPage"> - <div id="right-sidebar"><div id="toc"> - <h1 class="nopad">Table of Contents</h1> - <div style="margin-left: 1em;" class="toc-section"> - <a href="#toc0">Overview</a> - <div style="margin-left: 1em;" class="toc-entry"> - <a href="#clojure.contrib.jar/filenames-in-jar">filenames-in-jar</a> - </div><div style="margin-left: 1em;" class="toc-entry"> - <a href="#clojure.contrib.jar/jar-file?">jar-file?</a> - </div> - <br /> - </div> -</div> -</div> - <div id="content-tag"><h1 id="overview">API for <span id="namespace-name">jar</span> - - <span id="header-project">clojure-contrib</span> <span id="header-version">next</span> (<span id="header-status">in development</span>) - </h1> -<span id="author-line">by <span id="author-name">Stuart Sierra</span><br /></span> -<br />Usage: -<pre> -(ns your-namespace - (:require <span id="long-name">clojure.contrib.jar</span>)) -</pre><pre> -</pre><h2>Overview</h2> -<pre id="namespace-docstr">Utilities for working with Java JAR files</pre> - - -<br /> -<h2>Public Variables and Functions</h2> -<div id="var-entry"> - <br /> - <hr /> - <h2 id="clojure.contrib.jar/filenames-in-jar">filenames-in-jar</h2> - <span id="var-type">function</span><br /> - <pre id="var-usage">Usage: (filenames-in-jar jar-file) -</pre> - <pre id="var-docstr">Returns a sequence of Strings naming the non-directory entries in -the JAR file.</pre> - - - <a href="http://github.com/richhickey/clojure-contrib/blob/7188a51605136f36524e4091fe806859114d6056/src/main/clojure/clojure/contrib/jar.clj#L29" id="var-source">Source</a> -</div><div id="var-entry"> - <br /> - <hr /> - <h2 id="clojure.contrib.jar/jar-file?">jar-file?</h2> - <span id="var-type">function</span><br /> - <pre id="var-usage">Usage: (jar-file? file) -</pre> - <pre id="var-docstr">Returns true if file is a normal file with a .jar or .JAR extension.</pre> - - - <a href="http://github.com/richhickey/clojure-contrib/blob/7188a51605136f36524e4091fe806859114d6056/src/main/clojure/clojure/contrib/jar.clj#L22" id="var-source">Source</a> -</div> - - -</div> - </div> - </div> - </div> - </div> - <div id="foot"> - <div style="text-align: center;" id="copyright">Copyright 2007-2009 by Rich Hickey and the various contributors</div> - </div> - </div> - <div id="DesignedBy">Logo & site design by <a title="Visit Tom Hickey's website." href="http://www.tomhickey.com">Tom Hickey</a>.<br /> - Clojure auto-documentation system by Tom Faulhaber.</div> - </div> - <!-- /AllContentContainer --> - </body> - -</html>
\ No newline at end of file diff --git a/branch-master/java-utils-api.html b/branch-master/java-utils-api.html deleted file mode 100644 index 0d2adebc..00000000 --- a/branch-master/java-utils-api.html +++ /dev/null @@ -1,346 +0,0 @@ -<html> - <head> - <title>java-utils - clojure-contrib next API documentation</title> - <link href="../static/favicon.png" rel="icon" /> - <link href="../static/favicon.png" rel="shortcut icon" /> - <link media="all" type="text/css" href="../static/clojure.css" rel="stylesheet" /> - <link media="all" type="text/css" href="../static/wiki.css" rel="stylesheet" /> - <link media="all" type="text/css" href="../static/internal.css" rel="stylesheet" /> - <!-- TODO: are we using these (from clojure.org)? If so, add the files --> - <script src="file/view/code_highlighter.js" type="text/javascript"></script> - <script src="file/view/clojure.js" type="text/javascript"></script> - <style>.menuWrapper{height: 36px;}</style> - <!--[if lte IE 6]> - <link rel="stylesheet" href="http://www.wikispaces.com/_/2009051601/s/internal_ie.css" type="text/css" /> - <![endif]--> - </head> -<!-- -This document was auto-generated from the source by the clojure autodoc system. -To report errors or ask questions about the overall documentation structure, formatting, -etc., contact Tom Faulhaber (google mail name: tomfaulhaber). -For errors in the documentation of a particular namespace, contact the author of that -namespace. ---> - <body> - <div id="AllContentContainer"> - <div id="Header"> - <a id="Logo" href="index.html"><img alt="Clojure" height="100" width="100" src="../static/clojure-icon.gif" /></a> - <h1><a title="page header title" id="page-header" href="index.html">Clojure-contrib API Reference</a></h1> - </div> - <div id="leftcolumn"><div style="text-align: center;"></div> -<div class="menu"> - <div class="WikiCustomNav WikiElement wiki"> - <span class="toc-header"><span id="project-name">clojure-contrib</span> <span id="version">next</span> API</span><br /> - <ul> - <li><a class="wiki_link" href="index.html">Overview</a></li> - <li><a class="wiki_link" href="api-index.html">API Index</a></li> - </ul> - <span class="toc-header">Namespaces</span> - <ul id="left-sidebar-list"> - <li><a href="accumulators-api.html" class="wiki_link">accumulators</a></li><li><a href="agent-utils-api.html" class="wiki_link">agent-utils</a></li><li><a href="apply-macro-api.html" class="wiki_link">apply-macro</a></li><li><a href="base64-api.html" class="wiki_link">base64</a></li><li><a href="classpath-api.html" class="wiki_link">classpath</a></li><li><a href="combinatorics-api.html" class="wiki_link">combinatorics</a></li><li><a href="command-line-api.html" class="wiki_link">command-line</a></li><li><a href="complex-numbers-api.html" class="wiki_link">complex-numbers</a></li><li><a href="cond-api.html" class="wiki_link">cond</a></li><li><a href="condition-api.html" class="wiki_link">condition</a></li><li><a href="core-api.html" class="wiki_link">core</a></li><li><a href="dataflow-api.html" class="wiki_link">dataflow</a></li><li><a href="datalog-api.html" class="wiki_link">datalog</a></li><li><a href="def-api.html" class="wiki_link">def</a></li><li><a href="duck-streams-api.html" class="wiki_link">duck-streams</a></li><li><a href="error-kit-api.html" class="wiki_link">error-kit</a></li><li><a href="except-api.html" class="wiki_link">except</a></li><li><a href="fcase-api.html" class="wiki_link">fcase</a></li><li><a href="find-namespaces-api.html" class="wiki_link">find-namespaces</a></li><li><a href="fnmap-api.html" class="wiki_link">fnmap</a></li><li><a href="gen-html-docs-api.html" class="wiki_link">gen-html-docs</a></li><li><a href="generic.arithmetic-api.html" class="wiki_link">generic.arithmetic</a></li><li><a href="generic.collection-api.html" class="wiki_link">generic.collection</a></li><li><a href="generic.comparison-api.html" class="wiki_link">generic.comparison</a></li><li><a href="generic.functor-api.html" class="wiki_link">generic.functor</a></li><li><a href="generic.math-functions-api.html" class="wiki_link">generic.math-functions</a></li><li><a href="graph-api.html" class="wiki_link">graph</a></li><li><a href="greatest-least-api.html" class="wiki_link">greatest-least</a></li><li><a href="http.agent-api.html" class="wiki_link">http.agent</a></li><li><a href="http.connection-api.html" class="wiki_link">http.connection</a></li><li><a href="import-static-api.html" class="wiki_link">import-static</a></li><li><a href="io-api.html" class="wiki_link">io</a></li><li><a href="jar-api.html" class="wiki_link">jar</a></li><li><a href="java-utils-api.html" class="wiki_link">java-utils</a></li><li><a href="javadoc.browse-api.html" class="wiki_link">javadoc.browse</a></li><li><a href="jmx-api.html" class="wiki_link">jmx</a></li><li><a href="json-api.html" class="wiki_link">json</a></li><li><a href="lazy-seqs-api.html" class="wiki_link">lazy-seqs</a></li><li><a href="lazy-xml-api.html" class="wiki_link">lazy-xml</a></li><li><a href="logging-api.html" class="wiki_link">logging</a></li><li><a href="macro-utils-api.html" class="wiki_link">macro-utils</a></li><li><a href="macros-api.html" class="wiki_link">macros</a></li><li><a href="map-utils-api.html" class="wiki_link">map-utils</a></li><li><a href="math-api.html" class="wiki_link">math</a></li><li><a href="miglayout-api.html" class="wiki_link">miglayout</a></li><li><a href="mmap-api.html" class="wiki_link">mmap</a></li><li><a href="mock-api.html" class="wiki_link">mock</a></li><li><a href="monadic-io-streams-api.html" class="wiki_link">monadic-io-streams</a></li><li><a href="monads-api.html" class="wiki_link">monads</a></li><li><a href="ns-utils-api.html" class="wiki_link">ns-utils</a></li><li><a href="pprint-api.html" class="wiki_link">pprint</a></li><li><a href="priority-map-api.html" class="wiki_link">priority-map</a></li><li><a href="probabilities.finite-distributions-api.html" class="wiki_link">probabilities.finite-distributions</a></li><li><a href="probabilities.monte-carlo-api.html" class="wiki_link">probabilities.monte-carlo</a></li><li><a href="probabilities.random-numbers-api.html" class="wiki_link">probabilities.random-numbers</a></li><li><a href="profile-api.html" class="wiki_link">profile</a></li><li><a href="properties-api.html" class="wiki_link">properties</a></li><li><a href="prxml-api.html" class="wiki_link">prxml</a></li><li><a href="reflect-api.html" class="wiki_link">reflect</a></li><li><a href="repl-ln-api.html" class="wiki_link">repl-ln</a></li><li><a href="repl-utils-api.html" class="wiki_link">repl-utils</a></li><li><a href="seq-api.html" class="wiki_link">seq</a></li><li><a href="seq-utils-api.html" class="wiki_link">seq-utils</a></li><li><a href="server-socket-api.html" class="wiki_link">server-socket</a></li><li><a href="set-api.html" class="wiki_link">set</a></li><li><a href="shell-api.html" class="wiki_link">shell</a></li><li><a href="shell-out-api.html" class="wiki_link">shell-out</a></li><li><a href="singleton-api.html" class="wiki_link">singleton</a></li><li><a href="sql-api.html" class="wiki_link">sql</a></li><li><a href="str-utils-api.html" class="wiki_link">str-utils</a></li><li><a href="str-utils2-api.html" class="wiki_link">str-utils2</a></li><li><a href="stream-utils-api.html" class="wiki_link">stream-utils</a></li><li><a href="string-api.html" class="wiki_link">string</a></li><li><a href="strint-api.html" class="wiki_link">strint</a></li><li><a href="swing-utils-api.html" class="wiki_link">swing-utils</a></li><li><a href="test-is-api.html" class="wiki_link">test-is</a></li><li><a href="trace-api.html" class="wiki_link">trace</a></li><li><a href="types-api.html" class="wiki_link">types</a></li><li><a href="with-ns-api.html" class="wiki_link">with-ns</a></li><li><a href="zip-filter-api.html" class="wiki_link">zip-filter</a></li> - </ul> - <div class="BranchTOC"> - <span class="toc-header">Other Versions</span> - <ul id="left-sidebar-branch-list"> - <li><a href="../index.html" class="wiki_link">v1.2 (beta 1)</a></li><li><a href="../branch-1.1.x/index.html" class="wiki_link">v1.1 (stable)</a></li> - </ul> - </div> - <a href="http://clojure.org" class="wiki_link">Clojure Home</a> - </div> -</div> -</div> - <div id="rightcolumn"> - <div id="Content"> - <div class="contentBox"><div class="innerContentBox"> - <div id="content_view" class="wiki wikiPage"> - <div id="right-sidebar"><div id="toc"> - <h1 class="nopad">Table of Contents</h1> - <div style="margin-left: 1em;" class="toc-section"> - <a href="#toc0">Overview</a> - <div style="margin-left: 1em;" class="toc-entry"> - <a href="#clojure.contrib.java-utils/as-file">as-file</a> - </div><div style="margin-left: 1em;" class="toc-entry"> - <a href="#clojure.contrib.java-utils/as-properties">as-properties</a> - </div><div style="margin-left: 1em;" class="toc-entry"> - <a href="#clojure.contrib.java-utils/as-str">as-str</a> - </div><div style="margin-left: 1em;" class="toc-entry"> - <a href="#clojure.contrib.java-utils/as-url">as-url</a> - </div><div style="margin-left: 1em;" class="toc-entry"> - <a href="#clojure.contrib.java-utils/delete-file">delete-file</a> - </div><div style="margin-left: 1em;" class="toc-entry"> - <a href="#clojure.contrib.java-utils/delete-file-recursively">delete-file-recursively</a> - </div><div style="margin-left: 1em;" class="toc-entry"> - <a href="#clojure.contrib.java-utils/file">file</a> - </div><div style="margin-left: 1em;" class="toc-entry"> - <a href="#clojure.contrib.java-utils/get-system-property">get-system-property</a> - </div><div style="margin-left: 1em;" class="toc-entry"> - <a href="#clojure.contrib.java-utils/read-properties">read-properties</a> - </div><div style="margin-left: 1em;" class="toc-entry"> - <a href="#clojure.contrib.java-utils/relative-path-string">relative-path-string</a> - </div><div style="margin-left: 1em;" class="toc-entry"> - <a href="#clojure.contrib.java-utils/set-system-properties">set-system-properties</a> - </div><div style="margin-left: 1em;" class="toc-entry"> - <a href="#clojure.contrib.java-utils/wall-hack-field">wall-hack-field</a> - </div><div style="margin-left: 1em;" class="toc-entry"> - <a href="#clojure.contrib.java-utils/wall-hack-method">wall-hack-method</a> - </div><div style="margin-left: 1em;" class="toc-entry"> - <a href="#clojure.contrib.java-utils/with-system-properties">with-system-properties</a> - </div><div style="margin-left: 1em;" class="toc-entry"> - <a href="#clojure.contrib.java-utils/write-properties">write-properties</a> - </div> - <br /> - </div> -</div> -</div> - <div id="content-tag"><h1 id="overview">API for <span id="namespace-name">java-utils</span> - - <span id="header-project">clojure-contrib</span> <span id="header-version">next</span> (<span id="header-status">in development</span>) - </h1> -<span id="author-line">by <span id="author-name">Stuart Halloway, Stephen C. Gilardi, Shawn Hoover, Perry Trolard, Stuart Sierra</span><br /></span> -<br />Usage: -<pre> -(ns your-namespace - (:require <span id="long-name">clojure.contrib.java-utils</span>)) -</pre><pre> -</pre><h2>Overview</h2> -<pre id="namespace-docstr">A set of utilties for dealing with Java stuff like files and properties. - -Design goals: - -(1) Ease-of-use. These APIs should be convenient. Performance is secondary. - -(2) Duck typing. I hate having to think about the difference between - a string that names a file, and a File. Ditto for a ton of other - wrapper classes in the Java world (URL, InternetAddress). With these - APIs you should be able to think about domain equivalence, not type - equivalence. - -(3) No bossiness. I am not marking any of these functions as private - the docstrings will tell you the intended usage but do what works for you. - -Feedback welcome! - -If something in this module violates the principle of least surprise, please -let me (Stu) and the Clojure community know via the mailing list. -Contributors: - -Stuart Halloway -Stephen C. Gilardi -Shawn Hoover -Perry Trolard -Stuart Sierra</pre> - - -<br /> -<h2>Public Variables and Functions</h2> -<div id="var-entry"> - <br /> - <hr /> - <h2 id="clojure.contrib.java-utils/as-file">as-file</h2> - <span id="var-type">multimethod</span><br /> - <pre id="var-usage">No usage documentation available</pre> - <pre id="var-docstr">Interpret a String or a java.io.File as a File. Building block -for clojure.contrib.java-utils/file, which you should prefer -in most cases.</pre> - - <span class="var-deprecated"><span id="content">Deprecated since clojure-contrib version 1.2</span><br /></span> - <a href="http://github.com/richhickey/clojure-contrib/blob/f827ea5ffa131f94f5495d5769b83cb967cb704b/src/main/clojure/clojure/contrib/java_utils.clj#L63" id="var-source">Source</a> -</div><div id="var-entry"> - <br /> - <hr /> - <h2 id="clojure.contrib.java-utils/as-properties">as-properties</h2> - <span id="var-type">function</span><br /> - <pre id="var-usage">Usage: (as-properties m) -</pre> - <pre id="var-docstr">Convert any seq of pairs to a java.utils.Properties instance. -Uses as-str to convert both keys and values into strings.</pre> - - - <a href="http://github.com/richhickey/clojure-contrib/blob/f827ea5ffa131f94f5495d5769b83cb967cb704b/src/main/clojure/clojure/contrib/java_utils.clj#L143" id="var-source">Source</a> -</div><div id="var-entry"> - <br /> - <hr /> - <h2 id="clojure.contrib.java-utils/as-str">as-str</h2> - <span id="var-type">function</span><br /> - <pre id="var-usage">Usage: (as-str) - (as-str x) - (as-str x & ys) -</pre> - <pre id="var-docstr">Like clojure.core/str, but if an argument is a keyword or symbol, -its name will be used instead of its literal representation. - -Example: - (str :foo :bar) ;;=> ":foo:bar" - (as-str :foo :bar) ;;=> "foobar" - -Note that this does not apply to keywords or symbols nested within -data structures; they will be rendered as with str. - -Example: - (str {:foo :bar}) ;;=> "{:foo :bar}" - (as-str {:foo :bar}) ;;=> "{:foo :bar}" </pre> - - <span class="var-deprecated"><span id="content">Deprecated since clojure-contrib version 1.2</span><br /></span> - <a href="http://github.com/richhickey/clojure-contrib/blob/f827ea5ffa131f94f5495d5769b83cb967cb704b/src/main/clojure/clojure/contrib/java_utils.clj#L82" id="var-source">Source</a> -</div><div id="var-entry"> - <br /> - <hr /> - <h2 id="clojure.contrib.java-utils/as-url">as-url</h2> - <span id="var-type">multimethod</span><br /> - <pre id="var-usage">Usage: (as-url arg) -</pre> - <pre id="var-docstr">Coerces argument (URL, URI, or String) to a java.net.URL.</pre> - - <span class="var-deprecated"><span id="content">Deprecated since clojure-contrib version 1.2</span><br /></span> - <a href="http://github.com/richhickey/clojure-contrib/blob/f827ea5ffa131f94f5495d5769b83cb967cb704b/src/main/clojure/clojure/contrib/java_utils.clj#L188" id="var-source">Source</a> -</div><div id="var-entry"> - <br /> - <hr /> - <h2 id="clojure.contrib.java-utils/delete-file">delete-file</h2> - <span id="var-type">function</span><br /> - <pre id="var-usage">Usage: (delete-file f & [silently]) -</pre> - <pre id="var-docstr">Delete file f. Raise an exception if it fails unless silently is true.</pre> - - <span class="var-deprecated"><span id="content">Deprecated since clojure-contrib version 1.2</span><br /></span> - <a href="http://github.com/richhickey/clojure-contrib/blob/f827ea5ffa131f94f5495d5769b83cb967cb704b/src/main/clojure/clojure/contrib/java_utils.clj#L169" id="var-source">Source</a> -</div><div id="var-entry"> - <br /> - <hr /> - <h2 id="clojure.contrib.java-utils/delete-file-recursively">delete-file-recursively</h2> - <span id="var-type">function</span><br /> - <pre id="var-usage">Usage: (delete-file-recursively f & [silently]) -</pre> - <pre id="var-docstr">Delete file f. If it's a directory, recursively delete all its contents. -Raise an exception if any deletion fails unless silently is true.</pre> - - <span class="var-deprecated"><span id="content">Deprecated since clojure-contrib version 1.2</span><br /></span> - <a href="http://github.com/richhickey/clojure-contrib/blob/f827ea5ffa131f94f5495d5769b83cb967cb704b/src/main/clojure/clojure/contrib/java_utils.clj#L177" id="var-source">Source</a> -</div><div id="var-entry"> - <br /> - <hr /> - <h2 id="clojure.contrib.java-utils/file">file</h2> - <span id="var-type">function</span><br /> - <pre id="var-usage">Usage: (file arg) - (file parent child) - (file parent child & more) -</pre> - <pre id="var-docstr">Returns a java.io.File from string or file args.</pre> - - <span class="var-deprecated"><span id="content">Deprecated since clojure-contrib version 1.2</span><br /></span> - <a href="http://github.com/richhickey/clojure-contrib/blob/f827ea5ffa131f94f5495d5769b83cb967cb704b/src/main/clojure/clojure/contrib/java_utils.clj#L72" id="var-source">Source</a> -</div><div id="var-entry"> - <br /> - <hr /> - <h2 id="clojure.contrib.java-utils/get-system-property">get-system-property</h2> - <span id="var-type">function</span><br /> - <pre id="var-usage">Usage: (get-system-property stringable) - (get-system-property stringable default) -</pre> - <pre id="var-docstr">Get a system property.</pre> - - - <a href="http://github.com/richhickey/clojure-contrib/blob/f827ea5ffa131f94f5495d5769b83cb967cb704b/src/main/clojure/clojure/contrib/java_utils.clj#L108" id="var-source">Source</a> -</div><div id="var-entry"> - <br /> - <hr /> - <h2 id="clojure.contrib.java-utils/read-properties">read-properties</h2> - <span id="var-type">function</span><br /> - <pre id="var-usage">Usage: (read-properties file-able) -</pre> - <pre id="var-docstr">Read properties from file-able.</pre> - - - <a href="http://github.com/richhickey/clojure-contrib/blob/f827ea5ffa131f94f5495d5769b83cb967cb704b/src/main/clojure/clojure/contrib/java_utils.clj#L153" id="var-source">Source</a> -</div><div id="var-entry"> - <br /> - <hr /> - <h2 id="clojure.contrib.java-utils/relative-path-string">relative-path-string</h2> - <span id="var-type">multimethod</span><br /> - <pre id="var-usage">No usage documentation available</pre> - <pre id="var-docstr">Interpret a String or java.io.File as a relative path string. -Building block for clojure.contrib.java-utils/file.</pre> - - <span class="var-deprecated"><span id="content">Deprecated since clojure-contrib version 1.2</span><br /></span> - <a href="http://github.com/richhickey/clojure-contrib/blob/f827ea5ffa131f94f5495d5769b83cb967cb704b/src/main/clojure/clojure/contrib/java_utils.clj#L49" id="var-source">Source</a> -</div><div id="var-entry"> - <br /> - <hr /> - <h2 id="clojure.contrib.java-utils/set-system-properties">set-system-properties</h2> - <span id="var-type">function</span><br /> - <pre id="var-usage">Usage: (set-system-properties settings) -</pre> - <pre id="var-docstr">Set some system properties. Nil clears a property.</pre> - - - <a href="http://github.com/richhickey/clojure-contrib/blob/f827ea5ffa131f94f5495d5769b83cb967cb704b/src/main/clojure/clojure/contrib/java_utils.clj#L115" id="var-source">Source</a> -</div><div id="var-entry"> - <br /> - <hr /> - <h2 id="clojure.contrib.java-utils/wall-hack-field">wall-hack-field</h2> - <span id="var-type">function</span><br /> - <pre id="var-usage">Usage: (wall-hack-field class-name field-name obj) -</pre> - <pre id="var-docstr">Access to private or protected field.</pre> - - <span class="var-deprecated"><span id="content">Deprecated since clojure-contrib version 1.2</span><br /></span> - <a href="http://github.com/richhickey/clojure-contrib/blob/f827ea5ffa131f94f5495d5769b83cb967cb704b/src/main/clojure/clojure/contrib/java_utils.clj#L213" id="var-source">Source</a> -</div><div id="var-entry"> - <br /> - <hr /> - <h2 id="clojure.contrib.java-utils/wall-hack-method">wall-hack-method</h2> - <span id="var-type">function</span><br /> - <pre id="var-usage">Usage: (wall-hack-method class-name method-name params obj & args) -</pre> - <pre id="var-docstr">Calls a private or protected method. -params is a vector of class which correspond to the arguments to the method -obj is nil for static methods, the instance object otherwise -the method name is given as a symbol or a keyword (something Named)</pre> - - <span class="var-deprecated"><span id="content">Deprecated since clojure-contrib version 1.2</span><br /></span> - <a href="http://github.com/richhickey/clojure-contrib/blob/f827ea5ffa131f94f5495d5769b83cb967cb704b/src/main/clojure/clojure/contrib/java_utils.clj#L202" id="var-source">Source</a> -</div><div id="var-entry"> - <br /> - <hr /> - <h2 id="clojure.contrib.java-utils/with-system-properties">with-system-properties</h2> - <span id="var-type">macro</span><br /> - <pre id="var-usage">Usage: (with-system-properties settings & body) -</pre> - <pre id="var-docstr">setting => property-name value - -Sets the system properties to the supplied values, executes the body, and -sets the properties back to their original values. Values of nil are -translated to a clearing of the property.</pre> - - - <a href="http://github.com/richhickey/clojure-contrib/blob/f827ea5ffa131f94f5495d5769b83cb967cb704b/src/main/clojure/clojure/contrib/java_utils.clj#L123" id="var-source">Source</a> -</div><div id="var-entry"> - <br /> - <hr /> - <h2 id="clojure.contrib.java-utils/write-properties">write-properties</h2> - <span id="var-type">function</span><br /> - <pre id="var-usage">Usage: (write-properties m file-able) - (write-properties m file-able comments) -</pre> - <pre id="var-docstr">Write properties to file-able.</pre> - - - <a href="http://github.com/richhickey/clojure-contrib/blob/f827ea5ffa131f94f5495d5769b83cb967cb704b/src/main/clojure/clojure/contrib/java_utils.clj#L160" id="var-source">Source</a> -</div> - - -</div> - </div> - </div> - </div> - </div> - <div id="foot"> - <div style="text-align: center;" id="copyright">Copyright 2007-2009 by Rich Hickey and the various contributors</div> - </div> - </div> - <div id="DesignedBy">Logo & site design by <a title="Visit Tom Hickey's website." href="http://www.tomhickey.com">Tom Hickey</a>.<br /> - Clojure auto-documentation system by Tom Faulhaber.</div> - </div> - <!-- /AllContentContainer --> - </body> - -</html>
\ No newline at end of file diff --git a/branch-master/javadoc.browse-api.html b/branch-master/javadoc.browse-api.html deleted file mode 100644 index 9038a8e8..00000000 --- a/branch-master/javadoc.browse-api.html +++ /dev/null @@ -1,126 +0,0 @@ -<html> - <head> - <title>javadoc.browse - clojure-contrib next API documentation</title> - <link href="../static/favicon.png" rel="icon" /> - <link href="../static/favicon.png" rel="shortcut icon" /> - <link media="all" type="text/css" href="../static/clojure.css" rel="stylesheet" /> - <link media="all" type="text/css" href="../static/wiki.css" rel="stylesheet" /> - <link media="all" type="text/css" href="../static/internal.css" rel="stylesheet" /> - <!-- TODO: are we using these (from clojure.org)? If so, add the files --> - <script src="file/view/code_highlighter.js" type="text/javascript"></script> - <script src="file/view/clojure.js" type="text/javascript"></script> - <style>.menuWrapper{height: 36px;}</style> - <!--[if lte IE 6]> - <link rel="stylesheet" href="http://www.wikispaces.com/_/2009051601/s/internal_ie.css" type="text/css" /> - <![endif]--> - </head> -<!-- -This document was auto-generated from the source by the clojure autodoc system. -To report errors or ask questions about the overall documentation structure, formatting, -etc., contact Tom Faulhaber (google mail name: tomfaulhaber). -For errors in the documentation of a particular namespace, contact the author of that -namespace. ---> - <body> - <div id="AllContentContainer"> - <div id="Header"> - <a id="Logo" href="index.html"><img alt="Clojure" height="100" width="100" src="../static/clojure-icon.gif" /></a> - <h1><a title="page header title" id="page-header" href="index.html">Clojure-contrib API Reference</a></h1> - </div> - <div id="leftcolumn"><div style="text-align: center;"></div> -<div class="menu"> - <div class="WikiCustomNav WikiElement wiki"> - <span class="toc-header"><span id="project-name">clojure-contrib</span> <span id="version">next</span> API</span><br /> - <ul> - <li><a class="wiki_link" href="index.html">Overview</a></li> - <li><a class="wiki_link" href="api-index.html">API Index</a></li> - </ul> - <span class="toc-header">Namespaces</span> - <ul id="left-sidebar-list"> - <li><a href="accumulators-api.html" class="wiki_link">accumulators</a></li><li><a href="agent-utils-api.html" class="wiki_link">agent-utils</a></li><li><a href="apply-macro-api.html" class="wiki_link">apply-macro</a></li><li><a href="base64-api.html" class="wiki_link">base64</a></li><li><a href="classpath-api.html" class="wiki_link">classpath</a></li><li><a href="combinatorics-api.html" class="wiki_link">combinatorics</a></li><li><a href="command-line-api.html" class="wiki_link">command-line</a></li><li><a href="complex-numbers-api.html" class="wiki_link">complex-numbers</a></li><li><a href="cond-api.html" class="wiki_link">cond</a></li><li><a href="condition-api.html" class="wiki_link">condition</a></li><li><a href="core-api.html" class="wiki_link">core</a></li><li><a href="dataflow-api.html" class="wiki_link">dataflow</a></li><li><a href="datalog-api.html" class="wiki_link">datalog</a></li><li><a href="def-api.html" class="wiki_link">def</a></li><li><a href="duck-streams-api.html" class="wiki_link">duck-streams</a></li><li><a href="error-kit-api.html" class="wiki_link">error-kit</a></li><li><a href="except-api.html" class="wiki_link">except</a></li><li><a href="fcase-api.html" class="wiki_link">fcase</a></li><li><a href="find-namespaces-api.html" class="wiki_link">find-namespaces</a></li><li><a href="fnmap-api.html" class="wiki_link">fnmap</a></li><li><a href="gen-html-docs-api.html" class="wiki_link">gen-html-docs</a></li><li><a href="generic.arithmetic-api.html" class="wiki_link">generic.arithmetic</a></li><li><a href="generic.collection-api.html" class="wiki_link">generic.collection</a></li><li><a href="generic.comparison-api.html" class="wiki_link">generic.comparison</a></li><li><a href="generic.functor-api.html" class="wiki_link">generic.functor</a></li><li><a href="generic.math-functions-api.html" class="wiki_link">generic.math-functions</a></li><li><a href="graph-api.html" class="wiki_link">graph</a></li><li><a href="greatest-least-api.html" class="wiki_link">greatest-least</a></li><li><a href="http.agent-api.html" class="wiki_link">http.agent</a></li><li><a href="http.connection-api.html" class="wiki_link">http.connection</a></li><li><a href="import-static-api.html" class="wiki_link">import-static</a></li><li><a href="io-api.html" class="wiki_link">io</a></li><li><a href="jar-api.html" class="wiki_link">jar</a></li><li><a href="java-utils-api.html" class="wiki_link">java-utils</a></li><li><a href="javadoc.browse-api.html" class="wiki_link">javadoc.browse</a></li><li><a href="jmx-api.html" class="wiki_link">jmx</a></li><li><a href="json-api.html" class="wiki_link">json</a></li><li><a href="lazy-seqs-api.html" class="wiki_link">lazy-seqs</a></li><li><a href="lazy-xml-api.html" class="wiki_link">lazy-xml</a></li><li><a href="logging-api.html" class="wiki_link">logging</a></li><li><a href="macro-utils-api.html" class="wiki_link">macro-utils</a></li><li><a href="macros-api.html" class="wiki_link">macros</a></li><li><a href="map-utils-api.html" class="wiki_link">map-utils</a></li><li><a href="math-api.html" class="wiki_link">math</a></li><li><a href="miglayout-api.html" class="wiki_link">miglayout</a></li><li><a href="mmap-api.html" class="wiki_link">mmap</a></li><li><a href="mock-api.html" class="wiki_link">mock</a></li><li><a href="monadic-io-streams-api.html" class="wiki_link">monadic-io-streams</a></li><li><a href="monads-api.html" class="wiki_link">monads</a></li><li><a href="ns-utils-api.html" class="wiki_link">ns-utils</a></li><li><a href="pprint-api.html" class="wiki_link">pprint</a></li><li><a href="priority-map-api.html" class="wiki_link">priority-map</a></li><li><a href="probabilities.finite-distributions-api.html" class="wiki_link">probabilities.finite-distributions</a></li><li><a href="probabilities.monte-carlo-api.html" class="wiki_link">probabilities.monte-carlo</a></li><li><a href="probabilities.random-numbers-api.html" class="wiki_link">probabilities.random-numbers</a></li><li><a href="profile-api.html" class="wiki_link">profile</a></li><li><a href="properties-api.html" class="wiki_link">properties</a></li><li><a href="prxml-api.html" class="wiki_link">prxml</a></li><li><a href="reflect-api.html" class="wiki_link">reflect</a></li><li><a href="repl-ln-api.html" class="wiki_link">repl-ln</a></li><li><a href="repl-utils-api.html" class="wiki_link">repl-utils</a></li><li><a href="seq-api.html" class="wiki_link">seq</a></li><li><a href="seq-utils-api.html" class="wiki_link">seq-utils</a></li><li><a href="server-socket-api.html" class="wiki_link">server-socket</a></li><li><a href="set-api.html" class="wiki_link">set</a></li><li><a href="shell-api.html" class="wiki_link">shell</a></li><li><a href="shell-out-api.html" class="wiki_link">shell-out</a></li><li><a href="singleton-api.html" class="wiki_link">singleton</a></li><li><a href="sql-api.html" class="wiki_link">sql</a></li><li><a href="str-utils-api.html" class="wiki_link">str-utils</a></li><li><a href="str-utils2-api.html" class="wiki_link">str-utils2</a></li><li><a href="stream-utils-api.html" class="wiki_link">stream-utils</a></li><li><a href="string-api.html" class="wiki_link">string</a></li><li><a href="strint-api.html" class="wiki_link">strint</a></li><li><a href="swing-utils-api.html" class="wiki_link">swing-utils</a></li><li><a href="test-is-api.html" class="wiki_link">test-is</a></li><li><a href="trace-api.html" class="wiki_link">trace</a></li><li><a href="types-api.html" class="wiki_link">types</a></li><li><a href="with-ns-api.html" class="wiki_link">with-ns</a></li><li><a href="zip-filter-api.html" class="wiki_link">zip-filter</a></li> - </ul> - <div class="BranchTOC"> - <span class="toc-header">Other Versions</span> - <ul id="left-sidebar-branch-list"> - <li><a href="../index.html" class="wiki_link">v1.2 (beta 1)</a></li><li><a href="../branch-1.1.x/index.html" class="wiki_link">v1.1 (stable)</a></li> - </ul> - </div> - <a href="http://clojure.org" class="wiki_link">Clojure Home</a> - </div> -</div> -</div> - <div id="rightcolumn"> - <div id="Content"> - <div class="contentBox"><div class="innerContentBox"> - <div id="content_view" class="wiki wikiPage"> - <div id="right-sidebar"><div id="toc"> - <h1 class="nopad">Table of Contents</h1> - <div style="margin-left: 1em;" class="toc-section"> - <a href="#toc0">Overview</a> - <div style="margin-left: 1em;" class="toc-entry"> - <a href="#clojure.contrib.javadoc.browse/open-url-in-browser">open-url-in-browser</a> - </div><div style="margin-left: 1em;" class="toc-entry"> - <a href="#clojure.contrib.javadoc.browse/open-url-in-swing">open-url-in-swing</a> - </div> - <br /> - </div> -</div> -</div> - <div id="content-tag"><h1 id="overview">API for <span id="namespace-name">javadoc.browse</span> - - <span id="header-project">clojure-contrib</span> <span id="header-version">next</span> (<span id="header-status">in development</span>) - </h1> -<span id="author-line">by <span id="author-name">Christophe Grand</span><br /></span> -<br />Usage: -<pre> -(ns your-namespace - (:require <span id="long-name">clojure.contrib.javadoc.browse</span>)) -</pre><pre> -</pre><h2>Overview</h2> -<pre id="namespace-docstr">Start a web browser from Clojure</pre> - -<span class="ns-deprecated"><span id="content">Deprecated since clojure-contrib version 1.2</span><br /></span> -<br /> -<h2>Public Variables and Functions</h2> -<div id="var-entry"> - <br /> - <hr /> - <h2 id="clojure.contrib.javadoc.browse/open-url-in-browser">open-url-in-browser</h2> - <span id="var-type">function</span><br /> - <pre id="var-usage">Usage: (open-url-in-browser url) -</pre> - <pre id="var-docstr">Opens url (a string) in the default system web browser. May not -work on all platforms. Returns url on success, nil if not -supported.</pre> - - - <a href="http://github.com/richhickey/clojure-contrib/blob/5337f2c45f99acf1d7e9f5901ebb141ca4f271a0/src/main/clojure/clojure/contrib/javadoc/browse.clj#L26" id="var-source">Source</a> -</div><div id="var-entry"> - <br /> - <hr /> - <h2 id="clojure.contrib.javadoc.browse/open-url-in-swing">open-url-in-swing</h2> - <span id="var-type">function</span><br /> - <pre id="var-usage">Usage: (open-url-in-swing url) -</pre> - <pre id="var-docstr">Opens url (a string) in a Swing window.</pre> - - - <a href="http://github.com/richhickey/clojure-contrib/blob/5337f2c45f99acf1d7e9f5901ebb141ca4f271a0/src/main/clojure/clojure/contrib/javadoc/browse.clj#L41" id="var-source">Source</a> -</div> - - -</div> - </div> - </div> - </div> - </div> - <div id="foot"> - <div style="text-align: center;" id="copyright">Copyright 2007-2009 by Rich Hickey and the various contributors</div> - </div> - </div> - <div id="DesignedBy">Logo & site design by <a title="Visit Tom Hickey's website." href="http://www.tomhickey.com">Tom Hickey</a>.<br /> - Clojure auto-documentation system by Tom Faulhaber.</div> - </div> - <!-- /AllContentContainer --> - </body> - -</html>
\ No newline at end of file diff --git a/branch-master/jmx-api.html b/branch-master/jmx-api.html deleted file mode 100644 index 2488dade..00000000 --- a/branch-master/jmx-api.html +++ /dev/null @@ -1,455 +0,0 @@ -<html> - <head> - <title>jmx - clojure-contrib next API documentation</title> - <link href="../static/favicon.png" rel="icon" /> - <link href="../static/favicon.png" rel="shortcut icon" /> - <link media="all" type="text/css" href="../static/clojure.css" rel="stylesheet" /> - <link media="all" type="text/css" href="../static/wiki.css" rel="stylesheet" /> - <link media="all" type="text/css" href="../static/internal.css" rel="stylesheet" /> - <!-- TODO: are we using these (from clojure.org)? If so, add the files --> - <script src="file/view/code_highlighter.js" type="text/javascript"></script> - <script src="file/view/clojure.js" type="text/javascript"></script> - <style>.menuWrapper{height: 36px;}</style> - <!--[if lte IE 6]> - <link rel="stylesheet" href="http://www.wikispaces.com/_/2009051601/s/internal_ie.css" type="text/css" /> - <![endif]--> - </head> -<!-- -This document was auto-generated from the source by the clojure autodoc system. -To report errors or ask questions about the overall documentation structure, formatting, -etc., contact Tom Faulhaber (google mail name: tomfaulhaber). -For errors in the documentation of a particular namespace, contact the author of that -namespace. ---> - <body> - <div id="AllContentContainer"> - <div id="Header"> - <a id="Logo" href="index.html"><img alt="Clojure" height="100" width="100" src="../static/clojure-icon.gif" /></a> - <h1><a title="page header title" id="page-header" href="index.html">Clojure-contrib API Reference</a></h1> - </div> - <div id="leftcolumn"><div style="text-align: center;"></div> -<div class="menu"> - <div class="WikiCustomNav WikiElement wiki"> - <span class="toc-header"><span id="project-name">clojure-contrib</span> <span id="version">next</span> API</span><br /> - <ul> - <li><a class="wiki_link" href="index.html">Overview</a></li> - <li><a class="wiki_link" href="api-index.html">API Index</a></li> - </ul> - <span class="toc-header">Namespaces</span> - <ul id="left-sidebar-list"> - <li><a href="accumulators-api.html" class="wiki_link">accumulators</a></li><li><a href="agent-utils-api.html" class="wiki_link">agent-utils</a></li><li><a href="apply-macro-api.html" class="wiki_link">apply-macro</a></li><li><a href="base64-api.html" class="wiki_link">base64</a></li><li><a href="classpath-api.html" class="wiki_link">classpath</a></li><li><a href="combinatorics-api.html" class="wiki_link">combinatorics</a></li><li><a href="command-line-api.html" class="wiki_link">command-line</a></li><li><a href="complex-numbers-api.html" class="wiki_link">complex-numbers</a></li><li><a href="cond-api.html" class="wiki_link">cond</a></li><li><a href="condition-api.html" class="wiki_link">condition</a></li><li><a href="core-api.html" class="wiki_link">core</a></li><li><a href="dataflow-api.html" class="wiki_link">dataflow</a></li><li><a href="datalog-api.html" class="wiki_link">datalog</a></li><li><a href="def-api.html" class="wiki_link">def</a></li><li><a href="duck-streams-api.html" class="wiki_link">duck-streams</a></li><li><a href="error-kit-api.html" class="wiki_link">error-kit</a></li><li><a href="except-api.html" class="wiki_link">except</a></li><li><a href="fcase-api.html" class="wiki_link">fcase</a></li><li><a href="find-namespaces-api.html" class="wiki_link">find-namespaces</a></li><li><a href="fnmap-api.html" class="wiki_link">fnmap</a></li><li><a href="gen-html-docs-api.html" class="wiki_link">gen-html-docs</a></li><li><a href="generic.arithmetic-api.html" class="wiki_link">generic.arithmetic</a></li><li><a href="generic.collection-api.html" class="wiki_link">generic.collection</a></li><li><a href="generic.comparison-api.html" class="wiki_link">generic.comparison</a></li><li><a href="generic.functor-api.html" class="wiki_link">generic.functor</a></li><li><a href="generic.math-functions-api.html" class="wiki_link">generic.math-functions</a></li><li><a href="graph-api.html" class="wiki_link">graph</a></li><li><a href="greatest-least-api.html" class="wiki_link">greatest-least</a></li><li><a href="http.agent-api.html" class="wiki_link">http.agent</a></li><li><a href="http.connection-api.html" class="wiki_link">http.connection</a></li><li><a href="import-static-api.html" class="wiki_link">import-static</a></li><li><a href="io-api.html" class="wiki_link">io</a></li><li><a href="jar-api.html" class="wiki_link">jar</a></li><li><a href="java-utils-api.html" class="wiki_link">java-utils</a></li><li><a href="javadoc.browse-api.html" class="wiki_link">javadoc.browse</a></li><li><a href="jmx-api.html" class="wiki_link">jmx</a></li><li><a href="json-api.html" class="wiki_link">json</a></li><li><a href="lazy-seqs-api.html" class="wiki_link">lazy-seqs</a></li><li><a href="lazy-xml-api.html" class="wiki_link">lazy-xml</a></li><li><a href="logging-api.html" class="wiki_link">logging</a></li><li><a href="macro-utils-api.html" class="wiki_link">macro-utils</a></li><li><a href="macros-api.html" class="wiki_link">macros</a></li><li><a href="map-utils-api.html" class="wiki_link">map-utils</a></li><li><a href="math-api.html" class="wiki_link">math</a></li><li><a href="miglayout-api.html" class="wiki_link">miglayout</a></li><li><a href="mmap-api.html" class="wiki_link">mmap</a></li><li><a href="mock-api.html" class="wiki_link">mock</a></li><li><a href="monadic-io-streams-api.html" class="wiki_link">monadic-io-streams</a></li><li><a href="monads-api.html" class="wiki_link">monads</a></li><li><a href="ns-utils-api.html" class="wiki_link">ns-utils</a></li><li><a href="pprint-api.html" class="wiki_link">pprint</a></li><li><a href="priority-map-api.html" class="wiki_link">priority-map</a></li><li><a href="probabilities.finite-distributions-api.html" class="wiki_link">probabilities.finite-distributions</a></li><li><a href="probabilities.monte-carlo-api.html" class="wiki_link">probabilities.monte-carlo</a></li><li><a href="probabilities.random-numbers-api.html" class="wiki_link">probabilities.random-numbers</a></li><li><a href="profile-api.html" class="wiki_link">profile</a></li><li><a href="properties-api.html" class="wiki_link">properties</a></li><li><a href="prxml-api.html" class="wiki_link">prxml</a></li><li><a href="reflect-api.html" class="wiki_link">reflect</a></li><li><a href="repl-ln-api.html" class="wiki_link">repl-ln</a></li><li><a href="repl-utils-api.html" class="wiki_link">repl-utils</a></li><li><a href="seq-api.html" class="wiki_link">seq</a></li><li><a href="seq-utils-api.html" class="wiki_link">seq-utils</a></li><li><a href="server-socket-api.html" class="wiki_link">server-socket</a></li><li><a href="set-api.html" class="wiki_link">set</a></li><li><a href="shell-api.html" class="wiki_link">shell</a></li><li><a href="shell-out-api.html" class="wiki_link">shell-out</a></li><li><a href="singleton-api.html" class="wiki_link">singleton</a></li><li><a href="sql-api.html" class="wiki_link">sql</a></li><li><a href="str-utils-api.html" class="wiki_link">str-utils</a></li><li><a href="str-utils2-api.html" class="wiki_link">str-utils2</a></li><li><a href="stream-utils-api.html" class="wiki_link">stream-utils</a></li><li><a href="string-api.html" class="wiki_link">string</a></li><li><a href="strint-api.html" class="wiki_link">strint</a></li><li><a href="swing-utils-api.html" class="wiki_link">swing-utils</a></li><li><a href="test-is-api.html" class="wiki_link">test-is</a></li><li><a href="trace-api.html" class="wiki_link">trace</a></li><li><a href="types-api.html" class="wiki_link">types</a></li><li><a href="with-ns-api.html" class="wiki_link">with-ns</a></li><li><a href="zip-filter-api.html" class="wiki_link">zip-filter</a></li> - </ul> - <div class="BranchTOC"> - <span class="toc-header">Other Versions</span> - <ul id="left-sidebar-branch-list"> - <li><a href="../index.html" class="wiki_link">v1.2 (beta 1)</a></li><li><a href="../branch-1.1.x/index.html" class="wiki_link">v1.1 (stable)</a></li> - </ul> - </div> - <a href="http://clojure.org" class="wiki_link">Clojure Home</a> - </div> -</div> -</div> - <div id="rightcolumn"> - <div id="Content"> - <div class="contentBox"><div class="innerContentBox"> - <div id="content_view" class="wiki wikiPage"> - <div id="right-sidebar"><div id="toc"> - <h1 class="nopad">Table of Contents</h1> - <div style="margin-left: 1em;" class="toc-section"> - <a href="#toc0">Overview</a> - <div style="margin-left: 1em;" class="toc-entry"> - <a href="#clojure.contrib.jmx/*connection*">*connection*</a> - </div><div style="margin-left: 1em;" class="toc-entry"> - <a href="#clojure.contrib.jmx/as-object-name">as-object-name</a> - </div><div style="margin-left: 1em;" class="toc-entry"> - <a href="#clojure.contrib.jmx/attribute-info">attribute-info</a> - </div><div style="margin-left: 1em;" class="toc-entry"> - <a href="#clojure.contrib.jmx/attribute-names">attribute-names</a> - </div><div style="margin-left: 1em;" class="toc-entry"> - <a href="#clojure.contrib.jmx/build-attribute-info">build-attribute-info</a> - </div><div style="margin-left: 1em;" class="toc-entry"> - <a href="#clojure.contrib.jmx/guess-attribute-typename">guess-attribute-typename</a> - </div><div style="margin-left: 1em;" class="toc-entry"> - <a href="#clojure.contrib.jmx/jmx->clj">jmx->clj</a> - </div><div style="margin-left: 1em;" class="toc-entry"> - <a href="#clojure.contrib.jmx/jmx-url">jmx-url</a> - </div><div style="margin-left: 1em;" class="toc-entry"> - <a href="#clojure.contrib.jmx/map->attribute-infos">map->attribute-infos</a> - </div><div style="margin-left: 1em;" class="toc-entry"> - <a href="#clojure.contrib.jmx/maybe-atomize">maybe-atomize</a> - </div><div style="margin-left: 1em;" class="toc-entry"> - <a href="#clojure.contrib.jmx/maybe-keywordize">maybe-keywordize</a> - </div><div style="margin-left: 1em;" class="toc-entry"> - <a href="#clojure.contrib.jmx/mbean">mbean</a> - </div><div style="margin-left: 1em;" class="toc-entry"> - <a href="#clojure.contrib.jmx/mbean-names">mbean-names</a> - </div><div style="margin-left: 1em;" class="toc-entry"> - <a href="#clojure.contrib.jmx/op-param-types">op-param-types</a> - </div><div style="margin-left: 1em;" class="toc-entry"> - <a href="#clojure.contrib.jmx/operation">operation</a> - </div><div style="margin-left: 1em;" class="toc-entry"> - <a href="#clojure.contrib.jmx/operation-names">operation-names</a> - </div><div style="margin-left: 1em;" class="toc-entry"> - <a href="#clojure.contrib.jmx/operations">operations</a> - </div><div style="margin-left: 1em;" class="toc-entry"> - <a href="#clojure.contrib.jmx/raw-read">raw-read</a> - </div><div style="margin-left: 1em;" class="toc-entry"> - <a href="#clojure.contrib.jmx/read">read</a> - </div><div style="margin-left: 1em;" class="toc-entry"> - <a href="#clojure.contrib.jmx/read-supported">read-supported</a> - </div><div style="margin-left: 1em;" class="toc-entry"> - <a href="#clojure.contrib.jmx/readable?">readable?</a> - </div><div style="margin-left: 1em;" class="toc-entry"> - <a href="#clojure.contrib.jmx/with-connection">with-connection</a> - </div> - <br /> - </div> -</div> -</div> - <div id="content-tag"><h1 id="overview">API for <span id="namespace-name">jmx</span> - - <span id="header-project">clojure-contrib</span> <span id="header-version">next</span> (<span id="header-status">in development</span>) - </h1> -<span id="author-line">by <span id="author-name">Stuart Halloway</span><br /></span> -<br />Usage: -<pre> -(ns your-namespace - (:require <span id="long-name">clojure.contrib.jmx</span>)) -</pre><pre> -</pre><h2>Overview</h2> -<pre id="namespace-docstr">JMX support for Clojure - -Requires post-Clojure 1.0 git edge for clojure.test, clojure.backtrace. -This is prerelease. -This API will change. -Send reports to stu@thinkrelevance.com. - -Usage - (require '[clojure.contrib.jmx :as jmx]) - -What beans do I have? - - (jmx/mbean-names "*:*") - -> #<HashSet [java.lang:type=MemoryPool,name=CMS Old Gen, - java.lang:type=Memory, ...] - -What attributes does a bean have? - - (jmx/attribute-names "java.lang:type=Memory") - -> (:Verbose :ObjectPendingFinalizationCount - :HeapMemoryUsage :NonHeapMemoryUsage) - -What is the value of an attribute? - - (jmx/read "java.lang:type=Memory" :ObjectPendingFinalizationCount) - -> 0 - -Can't I just have *all* the attributes in a Clojure map? - - (jmx/mbean "java.lang:type=Memory") - -> {:NonHeapMemoryUsage - {:used 16674024, :max 138412032, :init 24317952, :committed 24317952}, - :HeapMemoryUsage - {:used 18619064, :max 85393408, :init 0, :committed 83230720}, - :ObjectPendingFinalizationCount 0, - :Verbose false} - -Can I find and invoke an operation? - - (jmx/operation-names "java.lang:type=Memory") - -> (:gc) - (jmx/invoke "java.lang:type=Memory" :gc) - -> nil - -What about some other process? Just run *any* of the above code -inside a with-connection: - - (jmx/with-connection {:host "localhost", :port 3000} - (jmx/mbean "java.lang:type=Memory")) - -> {:ObjectPendingFinalizationCount 0, - :HeapMemoryUsage ... etc.} - -Can I serve my own beans? Sure, just drop a Clojure ref -into an instance of clojure.contrib.jmx.Bean, and the bean -will expose read-only attributes for every key/value pair -in the ref: - - (jmx/register-mbean - (Bean. - (ref {:string-attribute "a-string"})) - "my.namespace:name=Value")</pre> - - -<br /> -<h2>Public Variables and Functions</h2> -<div id="var-entry"> - <br /> - <hr /> - <h2 id="clojure.contrib.jmx/*connection*">*connection*</h2> - <span id="var-type">var</span><br /> - <pre id="var-usage"></pre> - <pre id="var-docstr">The connection to be used for JMX ops. Defaults to the local process.</pre> - - - <a href="http://github.com/richhickey/clojure-contrib/blob/7188a51605136f36524e4091fe806859114d6056/src/main/clojure/clojure/contrib/jmx.clj#L83" id="var-source">Source</a> -</div><div id="var-entry"> - <br /> - <hr /> - <h2 id="clojure.contrib.jmx/as-object-name">as-object-name</h2> - <span id="var-type">multimethod</span><br /> - <pre id="var-usage">Usage: (as-object-name string-or-name) -</pre> - <pre id="var-docstr">Interpret an object as a JMX ObjectName.</pre> - - - <a href="http://github.com/richhickey/clojure-contrib/blob/6cfd3b286680fd59021382fdc516be6be82a8834/src/main/clojure/clojure/contrib/jmx/data.clj#L26" id="var-source">Source</a> -</div><div id="var-entry"> - <br /> - <hr /> - <h2 id="clojure.contrib.jmx/attribute-info">attribute-info</h2> - <span id="var-type">function</span><br /> - <pre id="var-usage">Usage: (attribute-info object-name attr-name) -</pre> - <pre id="var-docstr">Get the MBeanAttributeInfo for an attribute.</pre> - - - <a href="http://github.com/richhickey/clojure-contrib/blob/d157d6487e8c04979850b8d572cb0341613d97c1/src/main/clojure/clojure/contrib/jmx/client.clj#L60" id="var-source">Source</a> -</div><div id="var-entry"> - <br /> - <hr /> - <h2 id="clojure.contrib.jmx/attribute-names">attribute-names</h2> - <span id="var-type">function</span><br /> - <pre id="var-usage">Usage: (attribute-names n) -</pre> - <pre id="var-docstr">All attribute names available on an MBean.</pre> - - - <a href="http://github.com/richhickey/clojure-contrib/blob/7188a51605136f36524e4091fe806859114d6056/src/main/clojure/clojure/contrib/jmx.clj#L95" id="var-source">Source</a> -</div><div id="var-entry"> - <br /> - <hr /> - <h2 id="clojure.contrib.jmx/build-attribute-info">build-attribute-info</h2> - <span id="var-type">function</span><br /> - <pre id="var-usage">Usage: (build-attribute-info attr-name attr-value) - (build-attribute-info name type desc readable? writable? is?) -</pre> - <pre id="var-docstr">Construct an MBeanAttributeInfo. Normally called with a key/value pair from a Clojure map.</pre> - - - <a href="http://github.com/richhickey/clojure-contrib/blob/6cfd3b286680fd59021382fdc516be6be82a8834/src/main/clojure/clojure/contrib/jmx/data.clj#L91" id="var-source">Source</a> -</div><div id="var-entry"> - <br /> - <hr /> - <h2 id="clojure.contrib.jmx/guess-attribute-typename">guess-attribute-typename</h2> - <span id="var-type">function</span><br /> - <pre id="var-usage">Usage: (guess-attribute-typename value) -</pre> - <pre id="var-docstr">Guess the attribute typename for MBeanAttributeInfo based on the attribute value.</pre> - - - <a href="http://github.com/richhickey/clojure-contrib/blob/6cfd3b286680fd59021382fdc516be6be82a8834/src/main/clojure/clojure/contrib/jmx/data.clj#L85" id="var-source">Source</a> -</div><div id="var-entry"> - <br /> - <hr /> - <h2 id="clojure.contrib.jmx/jmx->clj">jmx->clj</h2> - <span id="var-type">multimethod</span><br /> - <pre id="var-usage">No usage documentation available</pre> - <pre id="var-docstr">Coerce JMX data structures into Clojure data. -Handles CompositeData, TabularData, maps, and atoms.</pre> - - - <a href="http://github.com/richhickey/clojure-contrib/blob/6cfd3b286680fd59021382fdc516be6be82a8834/src/main/clojure/clojure/contrib/jmx/data.clj#L64" id="var-source">Source</a> -</div><div id="var-entry"> - <br /> - <hr /> - <h2 id="clojure.contrib.jmx/jmx-url">jmx-url</h2> - <span id="var-type">function</span><br /> - <pre id="var-usage">Usage: (jmx-url) - (jmx-url overrides) -</pre> - <pre id="var-docstr">Build a JMX URL from options.</pre> - - - <a href="http://github.com/richhickey/clojure-contrib/blob/6cfd3b286680fd59021382fdc516be6be82a8834/src/main/clojure/clojure/contrib/jmx/data.clj#L19" id="var-source">Source</a> -</div><div id="var-entry"> - <br /> - <hr /> - <h2 id="clojure.contrib.jmx/map->attribute-infos">map->attribute-infos</h2> - <span id="var-type">function</span><br /> - <pre id="var-usage">Usage: (map->attribute-infos attr-map) -</pre> - <pre id="var-docstr">Construct an MBeanAttributeInfo[] from a Clojure associative.</pre> - - - <a href="http://github.com/richhickey/clojure-contrib/blob/6cfd3b286680fd59021382fdc516be6be82a8834/src/main/clojure/clojure/contrib/jmx/data.clj#L100" id="var-source">Source</a> -</div><div id="var-entry"> - <br /> - <hr /> - <h2 id="clojure.contrib.jmx/maybe-atomize">maybe-atomize</h2> - <span id="var-type">function</span><br /> - <pre id="var-usage">Usage: (maybe-atomize k) -</pre> - <pre id="var-docstr">Convert a list of length 1 into its contents, leaving other things alone. -Used to simplify keys in the tabular data API.</pre> - - - <a href="http://github.com/richhickey/clojure-contrib/blob/6cfd3b286680fd59021382fdc516be6be82a8834/src/main/clojure/clojure/contrib/jmx/data.clj#L44" id="var-source">Source</a> -</div><div id="var-entry"> - <br /> - <hr /> - <h2 id="clojure.contrib.jmx/maybe-keywordize">maybe-keywordize</h2> - <span id="var-type">function</span><br /> - <pre id="var-usage">Usage: (maybe-keywordize s) -</pre> - <pre id="var-docstr">Convert a string key to a keyword, leaving other types alone. Used to -simplify keys in the tabular data API.</pre> - - - <a href="http://github.com/richhickey/clojure-contrib/blob/6cfd3b286680fd59021382fdc516be6be82a8834/src/main/clojure/clojure/contrib/jmx/data.clj#L38" id="var-source">Source</a> -</div><div id="var-entry"> - <br /> - <hr /> - <h2 id="clojure.contrib.jmx/mbean">mbean</h2> - <span id="var-type">function</span><br /> - <pre id="var-usage">Usage: (mbean n) -</pre> - <pre id="var-docstr">Like clojure.core/bean, but for JMX beans. Returns a read-only map of -a JMX bean's attributes. If an attribute it not supported, value is -set to the exception thrown.</pre> - - - <a href="http://github.com/richhickey/clojure-contrib/blob/7188a51605136f36524e4091fe806859114d6056/src/main/clojure/clojure/contrib/jmx.clj#L114" id="var-source">Source</a> -</div><div id="var-entry"> - <br /> - <hr /> - <h2 id="clojure.contrib.jmx/mbean-names">mbean-names</h2> - <span id="var-type">function</span><br /> - <pre id="var-usage">Usage: (mbean-names n) -</pre> - <pre id="var-docstr">Finds all MBeans matching a name on the current *connection*.</pre> - - - <a href="http://github.com/richhickey/clojure-contrib/blob/7188a51605136f36524e4091fe806859114d6056/src/main/clojure/clojure/contrib/jmx.clj#L90" id="var-source">Source</a> -</div><div id="var-entry"> - <br /> - <hr /> - <h2 id="clojure.contrib.jmx/op-param-types">op-param-types</h2> - <span id="var-type">function</span><br /> - <pre id="var-usage">Usage: (op-param-types n op) -</pre> - <pre id="var-docstr">The parameter types (as class name strings) for operation op on n. -Used for invoke.</pre> - - - <a href="http://github.com/richhickey/clojure-contrib/blob/d157d6487e8c04979850b8d572cb0341613d97c1/src/main/clojure/clojure/contrib/jmx/client.clj#L81" id="var-source">Source</a> -</div><div id="var-entry"> - <br /> - <hr /> - <h2 id="clojure.contrib.jmx/operation">operation</h2> - <span id="var-type">function</span><br /> - <pre id="var-usage">Usage: (operation n op) -</pre> - <pre id="var-docstr">The MBeanOperationInfo for operation op on mbean n. Used by invoke.</pre> - - - <a href="http://github.com/richhickey/clojure-contrib/blob/d157d6487e8c04979850b8d572cb0341613d97c1/src/main/clojure/clojure/contrib/jmx/client.clj#L76" id="var-source">Source</a> -</div><div id="var-entry"> - <br /> - <hr /> - <h2 id="clojure.contrib.jmx/operation-names">operation-names</h2> - <span id="var-type">function</span><br /> - <pre id="var-usage">Usage: (operation-names n) -</pre> - <pre id="var-docstr">All operation names available on an MBean.</pre> - - - <a href="http://github.com/richhickey/clojure-contrib/blob/7188a51605136f36524e4091fe806859114d6056/src/main/clojure/clojure/contrib/jmx.clj#L101" id="var-source">Source</a> -</div><div id="var-entry"> - <br /> - <hr /> - <h2 id="clojure.contrib.jmx/operations">operations</h2> - <span id="var-type">function</span><br /> - <pre id="var-usage">Usage: (operations n) -</pre> - <pre id="var-docstr">All oeprations available on an MBean.</pre> - - - <a href="http://github.com/richhickey/clojure-contrib/blob/d157d6487e8c04979850b8d572cb0341613d97c1/src/main/clojure/clojure/contrib/jmx/client.clj#L71" id="var-source">Source</a> -</div><div id="var-entry"> - <br /> - <hr /> - <h2 id="clojure.contrib.jmx/raw-read">raw-read</h2> - <span id="var-type">function</span><br /> - <pre id="var-usage">Usage: (raw-read n attr) -</pre> - <pre id="var-docstr">Read an mbean property. Returns low-level Java object model for -composites, tabulars, etc. Most callers should use read.</pre> - - - <a href="http://github.com/richhickey/clojure-contrib/blob/d157d6487e8c04979850b8d572cb0341613d97c1/src/main/clojure/clojure/contrib/jmx/client.clj#L33" id="var-source">Source</a> -</div><div id="var-entry"> - <br /> - <hr /> - <h2 id="clojure.contrib.jmx/read">read</h2> - <span id="var-type">var</span><br /> - <pre id="var-usage"></pre> - <pre id="var-docstr">Read an mbean property.</pre> - - - <a href="http://github.com/richhickey/clojure-contrib/blob/d157d6487e8c04979850b8d572cb0341613d97c1/src/main/clojure/clojure/contrib/jmx/client.clj#L39" id="var-source">Source</a> -</div><div id="var-entry"> - <br /> - <hr /> - <h2 id="clojure.contrib.jmx/read-supported">read-supported</h2> - <span id="var-type">function</span><br /> - <pre id="var-usage">Usage: (read-supported n attr) -</pre> - <pre id="var-docstr">Calls read to read an mbean property, *returning* unsupported -operation exceptions instead of throwing them. Used to keep mbean -from blowing up. Note: There is no good exception that aggregates -unsupported operations, hence the overly-general catch block.</pre> - - - <a href="http://github.com/richhickey/clojure-contrib/blob/d157d6487e8c04979850b8d572cb0341613d97c1/src/main/clojure/clojure/contrib/jmx/client.clj#L43" id="var-source">Source</a> -</div><div id="var-entry"> - <br /> - <hr /> - <h2 id="clojure.contrib.jmx/readable?">readable?</h2> - <span id="var-type">function</span><br /> - <pre id="var-usage">Usage: (readable? n attr) -</pre> - <pre id="var-docstr">Is attribute readable?</pre> - - - <a href="http://github.com/richhickey/clojure-contrib/blob/d157d6487e8c04979850b8d572cb0341613d97c1/src/main/clojure/clojure/contrib/jmx/client.clj#L66" id="var-source">Source</a> -</div><div id="var-entry"> - <br /> - <hr /> - <h2 id="clojure.contrib.jmx/with-connection">with-connection</h2> - <span id="var-type">macro</span><br /> - <pre id="var-usage">Usage: (with-connection opts & body) -</pre> - <pre id="var-docstr">Execute body with JMX connection specified by opts. opts can also -include an optional :environment key which is passed as the -environment arg to JMXConnectorFactory/connect.</pre> - - - <a href="http://github.com/richhickey/clojure-contrib/blob/d157d6487e8c04979850b8d572cb0341613d97c1/src/main/clojure/clojure/contrib/jmx/client.clj#L17" id="var-source">Source</a> -</div> - - -</div> - </div> - </div> - </div> - </div> - <div id="foot"> - <div style="text-align: center;" id="copyright">Copyright 2007-2009 by Rich Hickey and the various contributors</div> - </div> - </div> - <div id="DesignedBy">Logo & site design by <a title="Visit Tom Hickey's website." href="http://www.tomhickey.com">Tom Hickey</a>.<br /> - Clojure auto-documentation system by Tom Faulhaber.</div> - </div> - <!-- /AllContentContainer --> - </body> - -</html>
\ No newline at end of file diff --git a/branch-master/json-api.html b/branch-master/json-api.html deleted file mode 100644 index 63124264..00000000 --- a/branch-master/json-api.html +++ /dev/null @@ -1,187 +0,0 @@ -<html> - <head> - <title>json - clojure-contrib next API documentation</title> - <link href="../static/favicon.png" rel="icon" /> - <link href="../static/favicon.png" rel="shortcut icon" /> - <link media="all" type="text/css" href="../static/clojure.css" rel="stylesheet" /> - <link media="all" type="text/css" href="../static/wiki.css" rel="stylesheet" /> - <link media="all" type="text/css" href="../static/internal.css" rel="stylesheet" /> - <!-- TODO: are we using these (from clojure.org)? If so, add the files --> - <script src="file/view/code_highlighter.js" type="text/javascript"></script> - <script src="file/view/clojure.js" type="text/javascript"></script> - <style>.menuWrapper{height: 36px;}</style> - <!--[if lte IE 6]> - <link rel="stylesheet" href="http://www.wikispaces.com/_/2009051601/s/internal_ie.css" type="text/css" /> - <![endif]--> - </head> -<!-- -This document was auto-generated from the source by the clojure autodoc system. -To report errors or ask questions about the overall documentation structure, formatting, -etc., contact Tom Faulhaber (google mail name: tomfaulhaber). -For errors in the documentation of a particular namespace, contact the author of that -namespace. ---> - <body> - <div id="AllContentContainer"> - <div id="Header"> - <a id="Logo" href="index.html"><img alt="Clojure" height="100" width="100" src="../static/clojure-icon.gif" /></a> - <h1><a title="page header title" id="page-header" href="index.html">Clojure-contrib API Reference</a></h1> - </div> - <div id="leftcolumn"><div style="text-align: center;"></div> -<div class="menu"> - <div class="WikiCustomNav WikiElement wiki"> - <span class="toc-header"><span id="project-name">clojure-contrib</span> <span id="version">next</span> API</span><br /> - <ul> - <li><a class="wiki_link" href="index.html">Overview</a></li> - <li><a class="wiki_link" href="api-index.html">API Index</a></li> - </ul> - <span class="toc-header">Namespaces</span> - <ul id="left-sidebar-list"> - <li><a href="accumulators-api.html" class="wiki_link">accumulators</a></li><li><a href="agent-utils-api.html" class="wiki_link">agent-utils</a></li><li><a href="apply-macro-api.html" class="wiki_link">apply-macro</a></li><li><a href="base64-api.html" class="wiki_link">base64</a></li><li><a href="classpath-api.html" class="wiki_link">classpath</a></li><li><a href="combinatorics-api.html" class="wiki_link">combinatorics</a></li><li><a href="command-line-api.html" class="wiki_link">command-line</a></li><li><a href="complex-numbers-api.html" class="wiki_link">complex-numbers</a></li><li><a href="cond-api.html" class="wiki_link">cond</a></li><li><a href="condition-api.html" class="wiki_link">condition</a></li><li><a href="core-api.html" class="wiki_link">core</a></li><li><a href="dataflow-api.html" class="wiki_link">dataflow</a></li><li><a href="datalog-api.html" class="wiki_link">datalog</a></li><li><a href="def-api.html" class="wiki_link">def</a></li><li><a href="duck-streams-api.html" class="wiki_link">duck-streams</a></li><li><a href="error-kit-api.html" class="wiki_link">error-kit</a></li><li><a href="except-api.html" class="wiki_link">except</a></li><li><a href="fcase-api.html" class="wiki_link">fcase</a></li><li><a href="find-namespaces-api.html" class="wiki_link">find-namespaces</a></li><li><a href="fnmap-api.html" class="wiki_link">fnmap</a></li><li><a href="gen-html-docs-api.html" class="wiki_link">gen-html-docs</a></li><li><a href="generic.arithmetic-api.html" class="wiki_link">generic.arithmetic</a></li><li><a href="generic.collection-api.html" class="wiki_link">generic.collection</a></li><li><a href="generic.comparison-api.html" class="wiki_link">generic.comparison</a></li><li><a href="generic.functor-api.html" class="wiki_link">generic.functor</a></li><li><a href="generic.math-functions-api.html" class="wiki_link">generic.math-functions</a></li><li><a href="graph-api.html" class="wiki_link">graph</a></li><li><a href="greatest-least-api.html" class="wiki_link">greatest-least</a></li><li><a href="http.agent-api.html" class="wiki_link">http.agent</a></li><li><a href="http.connection-api.html" class="wiki_link">http.connection</a></li><li><a href="import-static-api.html" class="wiki_link">import-static</a></li><li><a href="io-api.html" class="wiki_link">io</a></li><li><a href="jar-api.html" class="wiki_link">jar</a></li><li><a href="java-utils-api.html" class="wiki_link">java-utils</a></li><li><a href="javadoc.browse-api.html" class="wiki_link">javadoc.browse</a></li><li><a href="jmx-api.html" class="wiki_link">jmx</a></li><li><a href="json-api.html" class="wiki_link">json</a></li><li><a href="lazy-seqs-api.html" class="wiki_link">lazy-seqs</a></li><li><a href="lazy-xml-api.html" class="wiki_link">lazy-xml</a></li><li><a href="logging-api.html" class="wiki_link">logging</a></li><li><a href="macro-utils-api.html" class="wiki_link">macro-utils</a></li><li><a href="macros-api.html" class="wiki_link">macros</a></li><li><a href="map-utils-api.html" class="wiki_link">map-utils</a></li><li><a href="math-api.html" class="wiki_link">math</a></li><li><a href="miglayout-api.html" class="wiki_link">miglayout</a></li><li><a href="mmap-api.html" class="wiki_link">mmap</a></li><li><a href="mock-api.html" class="wiki_link">mock</a></li><li><a href="monadic-io-streams-api.html" class="wiki_link">monadic-io-streams</a></li><li><a href="monads-api.html" class="wiki_link">monads</a></li><li><a href="ns-utils-api.html" class="wiki_link">ns-utils</a></li><li><a href="pprint-api.html" class="wiki_link">pprint</a></li><li><a href="priority-map-api.html" class="wiki_link">priority-map</a></li><li><a href="probabilities.finite-distributions-api.html" class="wiki_link">probabilities.finite-distributions</a></li><li><a href="probabilities.monte-carlo-api.html" class="wiki_link">probabilities.monte-carlo</a></li><li><a href="probabilities.random-numbers-api.html" class="wiki_link">probabilities.random-numbers</a></li><li><a href="profile-api.html" class="wiki_link">profile</a></li><li><a href="properties-api.html" class="wiki_link">properties</a></li><li><a href="prxml-api.html" class="wiki_link">prxml</a></li><li><a href="reflect-api.html" class="wiki_link">reflect</a></li><li><a href="repl-ln-api.html" class="wiki_link">repl-ln</a></li><li><a href="repl-utils-api.html" class="wiki_link">repl-utils</a></li><li><a href="seq-api.html" class="wiki_link">seq</a></li><li><a href="seq-utils-api.html" class="wiki_link">seq-utils</a></li><li><a href="server-socket-api.html" class="wiki_link">server-socket</a></li><li><a href="set-api.html" class="wiki_link">set</a></li><li><a href="shell-api.html" class="wiki_link">shell</a></li><li><a href="shell-out-api.html" class="wiki_link">shell-out</a></li><li><a href="singleton-api.html" class="wiki_link">singleton</a></li><li><a href="sql-api.html" class="wiki_link">sql</a></li><li><a href="str-utils-api.html" class="wiki_link">str-utils</a></li><li><a href="str-utils2-api.html" class="wiki_link">str-utils2</a></li><li><a href="stream-utils-api.html" class="wiki_link">stream-utils</a></li><li><a href="string-api.html" class="wiki_link">string</a></li><li><a href="strint-api.html" class="wiki_link">strint</a></li><li><a href="swing-utils-api.html" class="wiki_link">swing-utils</a></li><li><a href="test-is-api.html" class="wiki_link">test-is</a></li><li><a href="trace-api.html" class="wiki_link">trace</a></li><li><a href="types-api.html" class="wiki_link">types</a></li><li><a href="with-ns-api.html" class="wiki_link">with-ns</a></li><li><a href="zip-filter-api.html" class="wiki_link">zip-filter</a></li> - </ul> - <div class="BranchTOC"> - <span class="toc-header">Other Versions</span> - <ul id="left-sidebar-branch-list"> - <li><a href="../index.html" class="wiki_link">v1.2 (beta 1)</a></li><li><a href="../branch-1.1.x/index.html" class="wiki_link">v1.1 (stable)</a></li> - </ul> - </div> - <a href="http://clojure.org" class="wiki_link">Clojure Home</a> - </div> -</div> -</div> - <div id="rightcolumn"> - <div id="Content"> - <div class="contentBox"><div class="innerContentBox"> - <div id="content_view" class="wiki wikiPage"> - <div id="right-sidebar"><div id="toc"> - <h1 class="nopad">Table of Contents</h1> - <div style="margin-left: 1em;" class="toc-section"> - <a href="#toc0">Overview</a> - <div style="margin-left: 1em;" class="toc-entry"> - <a href="#clojure.contrib.json/json-str">json-str</a> - </div><div style="margin-left: 1em;" class="toc-entry"> - <a href="#clojure.contrib.json/pprint-json">pprint-json</a> - </div><div style="margin-left: 1em;" class="toc-entry"> - <a href="#clojure.contrib.json/print-json">print-json</a> - </div><div style="margin-left: 1em;" class="toc-entry"> - <a href="#clojure.contrib.json/read-json">read-json</a> - </div><div style="margin-left: 1em;" class="toc-entry"> - <a href="#clojure.contrib.json/read-json-from">read-json-from</a> - </div><div style="margin-left: 1em;" class="toc-entry"> - <a href="#clojure.contrib.json/write-json">write-json</a> - </div> - <br /> - </div> -</div> -</div> - <div id="content-tag"><h1 id="overview">API for <span id="namespace-name">json</span> - - <span id="header-project">clojure-contrib</span> <span id="header-version">next</span> (<span id="header-status">in development</span>) - </h1> -<span id="author-line">by <span id="author-name">Stuart Sierra</span><br /></span> -<br />Usage: -<pre> -(ns your-namespace - (:require <span id="long-name">clojure.contrib.json</span>)) -</pre><pre> -</pre><h2>Overview</h2> -<pre id="namespace-docstr">JavaScript Object Notation (JSON) parser/writer. -See <a href="http://www.json.org/">http://www.json.org/</a> -To write JSON, use json-str, write-json, or write-json. -To read JSON, use read-json.</pre> - - -<br /> -<h2>Public Variables and Functions</h2> -<div id="var-entry"> - <br /> - <hr /> - <h2 id="clojure.contrib.json/json-str">json-str</h2> - <span id="var-type">function</span><br /> - <pre id="var-usage">Usage: (json-str x) -</pre> - <pre id="var-docstr">Converts x to a JSON-formatted string.</pre> - - - <a href="http://github.com/richhickey/clojure-contrib/blob/7188a51605136f36524e4091fe806859114d6056/src/main/clojure/clojure/contrib/json.clj#L301" id="var-source">Source</a> -</div><div id="var-entry"> - <br /> - <hr /> - <h2 id="clojure.contrib.json/pprint-json">pprint-json</h2> - <span id="var-type">function</span><br /> - <pre id="var-usage">Usage: (pprint-json x) -</pre> - <pre id="var-docstr">Pretty-prints JSON representation of x to *out*</pre> - - - <a href="http://github.com/richhickey/clojure-contrib/blob/7188a51605136f36524e4091fe806859114d6056/src/main/clojure/clojure/contrib/json.clj#L338" id="var-source">Source</a> -</div><div id="var-entry"> - <br /> - <hr /> - <h2 id="clojure.contrib.json/print-json">print-json</h2> - <span id="var-type">function</span><br /> - <pre id="var-usage">Usage: (print-json x) -</pre> - <pre id="var-docstr">Write JSON-formatted output to *out*</pre> - - - <a href="http://github.com/richhickey/clojure-contrib/blob/7188a51605136f36524e4091fe806859114d6056/src/main/clojure/clojure/contrib/json.clj#L309" id="var-source">Source</a> -</div><div id="var-entry"> - <br /> - <hr /> - <h2 id="clojure.contrib.json/read-json">read-json</h2> - <span id="var-type">function</span><br /> - <pre id="var-usage">Usage: (read-json input) - (read-json input keywordize?) - (read-json input keywordize? eof-error? eof-value) -</pre> - <pre id="var-docstr">Reads one JSON value from input String or Reader. -If keywordize? is true (default), object keys will be converted to -keywords. If eof-error? is true (default), empty input will throw -an EOFException; if false EOF will return eof-value. </pre> - - - <a href="http://github.com/richhickey/clojure-contrib/blob/7188a51605136f36524e4091fe806859114d6056/src/main/clojure/clojure/contrib/json.clj#L189" id="var-source">Source</a> -</div><div id="var-entry"> - <br /> - <hr /> - <h2 id="clojure.contrib.json/read-json-from">read-json-from</h2> - <span id="var-type">function</span><br /> - <pre id="var-usage">Usage: (read-json-from input keywordize? eof-error? eof-value) -</pre> - <pre id="var-docstr">Reads one JSON value from input String or Reader. -If keywordize? is true, object keys will be converted to keywords. -If eof-error? is true, empty input will throw an EOFException; if -false EOF will return eof-value. </pre> - - - -</div><div id="var-entry"> - <br /> - <hr /> - <h2 id="clojure.contrib.json/write-json">write-json</h2> - <span id="var-type">function</span><br /> - <pre id="var-usage">Usage: (write-json object out) -</pre> - <pre id="var-docstr">Print object to PrintWriter out as JSON</pre> - - - -</div> - - -</div> - </div> - </div> - </div> - </div> - <div id="foot"> - <div style="text-align: center;" id="copyright">Copyright 2007-2009 by Rich Hickey and the various contributors</div> - </div> - </div> - <div id="DesignedBy">Logo & site design by <a title="Visit Tom Hickey's website." href="http://www.tomhickey.com">Tom Hickey</a>.<br /> - Clojure auto-documentation system by Tom Faulhaber.</div> - </div> - <!-- /AllContentContainer --> - </body> - -</html>
\ No newline at end of file diff --git a/branch-master/lazy-seqs-api.html b/branch-master/lazy-seqs-api.html deleted file mode 100644 index e670a877..00000000 --- a/branch-master/lazy-seqs-api.html +++ /dev/null @@ -1,156 +0,0 @@ -<html> - <head> - <title>lazy-seqs - clojure-contrib next API documentation</title> - <link href="../static/favicon.png" rel="icon" /> - <link href="../static/favicon.png" rel="shortcut icon" /> - <link media="all" type="text/css" href="../static/clojure.css" rel="stylesheet" /> - <link media="all" type="text/css" href="../static/wiki.css" rel="stylesheet" /> - <link media="all" type="text/css" href="../static/internal.css" rel="stylesheet" /> - <!-- TODO: are we using these (from clojure.org)? If so, add the files --> - <script src="file/view/code_highlighter.js" type="text/javascript"></script> - <script src="file/view/clojure.js" type="text/javascript"></script> - <style>.menuWrapper{height: 36px;}</style> - <!--[if lte IE 6]> - <link rel="stylesheet" href="http://www.wikispaces.com/_/2009051601/s/internal_ie.css" type="text/css" /> - <![endif]--> - </head> -<!-- -This document was auto-generated from the source by the clojure autodoc system. -To report errors or ask questions about the overall documentation structure, formatting, -etc., contact Tom Faulhaber (google mail name: tomfaulhaber). -For errors in the documentation of a particular namespace, contact the author of that -namespace. ---> - <body> - <div id="AllContentContainer"> - <div id="Header"> - <a id="Logo" href="index.html"><img alt="Clojure" height="100" width="100" src="../static/clojure-icon.gif" /></a> - <h1><a title="page header title" id="page-header" href="index.html">Clojure-contrib API Reference</a></h1> - </div> - <div id="leftcolumn"><div style="text-align: center;"></div> -<div class="menu"> - <div class="WikiCustomNav WikiElement wiki"> - <span class="toc-header"><span id="project-name">clojure-contrib</span> <span id="version">next</span> API</span><br /> - <ul> - <li><a class="wiki_link" href="index.html">Overview</a></li> - <li><a class="wiki_link" href="api-index.html">API Index</a></li> - </ul> - <span class="toc-header">Namespaces</span> - <ul id="left-sidebar-list"> - <li><a href="accumulators-api.html" class="wiki_link">accumulators</a></li><li><a href="agent-utils-api.html" class="wiki_link">agent-utils</a></li><li><a href="apply-macro-api.html" class="wiki_link">apply-macro</a></li><li><a href="base64-api.html" class="wiki_link">base64</a></li><li><a href="classpath-api.html" class="wiki_link">classpath</a></li><li><a href="combinatorics-api.html" class="wiki_link">combinatorics</a></li><li><a href="command-line-api.html" class="wiki_link">command-line</a></li><li><a href="complex-numbers-api.html" class="wiki_link">complex-numbers</a></li><li><a href="cond-api.html" class="wiki_link">cond</a></li><li><a href="condition-api.html" class="wiki_link">condition</a></li><li><a href="core-api.html" class="wiki_link">core</a></li><li><a href="dataflow-api.html" class="wiki_link">dataflow</a></li><li><a href="datalog-api.html" class="wiki_link">datalog</a></li><li><a href="def-api.html" class="wiki_link">def</a></li><li><a href="duck-streams-api.html" class="wiki_link">duck-streams</a></li><li><a href="error-kit-api.html" class="wiki_link">error-kit</a></li><li><a href="except-api.html" class="wiki_link">except</a></li><li><a href="fcase-api.html" class="wiki_link">fcase</a></li><li><a href="find-namespaces-api.html" class="wiki_link">find-namespaces</a></li><li><a href="fnmap-api.html" class="wiki_link">fnmap</a></li><li><a href="gen-html-docs-api.html" class="wiki_link">gen-html-docs</a></li><li><a href="generic.arithmetic-api.html" class="wiki_link">generic.arithmetic</a></li><li><a href="generic.collection-api.html" class="wiki_link">generic.collection</a></li><li><a href="generic.comparison-api.html" class="wiki_link">generic.comparison</a></li><li><a href="generic.functor-api.html" class="wiki_link">generic.functor</a></li><li><a href="generic.math-functions-api.html" class="wiki_link">generic.math-functions</a></li><li><a href="graph-api.html" class="wiki_link">graph</a></li><li><a href="greatest-least-api.html" class="wiki_link">greatest-least</a></li><li><a href="http.agent-api.html" class="wiki_link">http.agent</a></li><li><a href="http.connection-api.html" class="wiki_link">http.connection</a></li><li><a href="import-static-api.html" class="wiki_link">import-static</a></li><li><a href="io-api.html" class="wiki_link">io</a></li><li><a href="jar-api.html" class="wiki_link">jar</a></li><li><a href="java-utils-api.html" class="wiki_link">java-utils</a></li><li><a href="javadoc.browse-api.html" class="wiki_link">javadoc.browse</a></li><li><a href="jmx-api.html" class="wiki_link">jmx</a></li><li><a href="json-api.html" class="wiki_link">json</a></li><li><a href="lazy-seqs-api.html" class="wiki_link">lazy-seqs</a></li><li><a href="lazy-xml-api.html" class="wiki_link">lazy-xml</a></li><li><a href="logging-api.html" class="wiki_link">logging</a></li><li><a href="macro-utils-api.html" class="wiki_link">macro-utils</a></li><li><a href="macros-api.html" class="wiki_link">macros</a></li><li><a href="map-utils-api.html" class="wiki_link">map-utils</a></li><li><a href="math-api.html" class="wiki_link">math</a></li><li><a href="miglayout-api.html" class="wiki_link">miglayout</a></li><li><a href="mmap-api.html" class="wiki_link">mmap</a></li><li><a href="mock-api.html" class="wiki_link">mock</a></li><li><a href="monadic-io-streams-api.html" class="wiki_link">monadic-io-streams</a></li><li><a href="monads-api.html" class="wiki_link">monads</a></li><li><a href="ns-utils-api.html" class="wiki_link">ns-utils</a></li><li><a href="pprint-api.html" class="wiki_link">pprint</a></li><li><a href="priority-map-api.html" class="wiki_link">priority-map</a></li><li><a href="probabilities.finite-distributions-api.html" class="wiki_link">probabilities.finite-distributions</a></li><li><a href="probabilities.monte-carlo-api.html" class="wiki_link">probabilities.monte-carlo</a></li><li><a href="probabilities.random-numbers-api.html" class="wiki_link">probabilities.random-numbers</a></li><li><a href="profile-api.html" class="wiki_link">profile</a></li><li><a href="properties-api.html" class="wiki_link">properties</a></li><li><a href="prxml-api.html" class="wiki_link">prxml</a></li><li><a href="reflect-api.html" class="wiki_link">reflect</a></li><li><a href="repl-ln-api.html" class="wiki_link">repl-ln</a></li><li><a href="repl-utils-api.html" class="wiki_link">repl-utils</a></li><li><a href="seq-api.html" class="wiki_link">seq</a></li><li><a href="seq-utils-api.html" class="wiki_link">seq-utils</a></li><li><a href="server-socket-api.html" class="wiki_link">server-socket</a></li><li><a href="set-api.html" class="wiki_link">set</a></li><li><a href="shell-api.html" class="wiki_link">shell</a></li><li><a href="shell-out-api.html" class="wiki_link">shell-out</a></li><li><a href="singleton-api.html" class="wiki_link">singleton</a></li><li><a href="sql-api.html" class="wiki_link">sql</a></li><li><a href="str-utils-api.html" class="wiki_link">str-utils</a></li><li><a href="str-utils2-api.html" class="wiki_link">str-utils2</a></li><li><a href="stream-utils-api.html" class="wiki_link">stream-utils</a></li><li><a href="string-api.html" class="wiki_link">string</a></li><li><a href="strint-api.html" class="wiki_link">strint</a></li><li><a href="swing-utils-api.html" class="wiki_link">swing-utils</a></li><li><a href="test-is-api.html" class="wiki_link">test-is</a></li><li><a href="trace-api.html" class="wiki_link">trace</a></li><li><a href="types-api.html" class="wiki_link">types</a></li><li><a href="with-ns-api.html" class="wiki_link">with-ns</a></li><li><a href="zip-filter-api.html" class="wiki_link">zip-filter</a></li> - </ul> - <div class="BranchTOC"> - <span class="toc-header">Other Versions</span> - <ul id="left-sidebar-branch-list"> - <li><a href="../index.html" class="wiki_link">v1.2 (beta 1)</a></li><li><a href="../branch-1.1.x/index.html" class="wiki_link">v1.1 (stable)</a></li> - </ul> - </div> - <a href="http://clojure.org" class="wiki_link">Clojure Home</a> - </div> -</div> -</div> - <div id="rightcolumn"> - <div id="Content"> - <div class="contentBox"><div class="innerContentBox"> - <div id="content_view" class="wiki wikiPage"> - <div id="right-sidebar"><div id="toc"> - <h1 class="nopad">Table of Contents</h1> - <div style="margin-left: 1em;" class="toc-section"> - <a href="#toc0">Overview</a> - <div style="margin-left: 1em;" class="toc-entry"> - <a href="#clojure.contrib.lazy-seqs/fibs">fibs</a> - </div><div style="margin-left: 1em;" class="toc-entry"> - <a href="#clojure.contrib.lazy-seqs/powers-of-2">powers-of-2</a> - </div><div style="margin-left: 1em;" class="toc-entry"> - <a href="#clojure.contrib.lazy-seqs/primes">primes</a> - </div> - <br /> - </div> -</div> -</div> - <div id="content-tag"><h1 id="overview">API for <span id="namespace-name">lazy-seqs</span> - - <span id="header-project">clojure-contrib</span> <span id="header-version">next</span> (<span id="header-status">in development</span>) - </h1> -<span id="author-line">by <span id="author-name">Stephen C. Gilardi</span><br /></span> -<br />Usage: -<pre> -(ns your-namespace - (:require <span id="long-name">clojure.contrib.lazy-seqs</span>)) -</pre><pre> -</pre><h2>Overview</h2> -<pre id="namespace-docstr"> -==== Lazy sequences ==== - - primes - based on the "naive" implemention described in [1] plus a - small "wheel" which eliminates multiples of 2, 3, 5, and - 7 from consideration by incrementing past them. Also inspired - by code from Christophe Grand in [2]. - - fibs - all the Fibonacci numbers - - powers-of-2 - all the powers of 2 - - ==== Lazy sequence functions ==== - - (partition-all, shuffle moved to clojure.core) - (rand-elt moved to clojure.core/rand-nth) - (rotations, rand-elt moved to seq_utils.clj) - (permutations and combinations moved to combinatorics.clj) - - [1] <a href="http://www.cs.hmc.edu/~oneill/papers/Sieve-JFP.pdf">http://www.cs.hmc.edu/~oneill/papers/Sieve-JFP.pdf</a> - [2] <a href="http://clj-me.blogspot.com/2008/06/primes.html">http://clj-me.blogspot.com/2008/06/primes.html</a></pre> - - -<br /> -<h2>Public Variables and Functions</h2> -<div id="var-entry"> - <br /> - <hr /> - <h2 id="clojure.contrib.lazy-seqs/fibs">fibs</h2> - <span id="var-type">function</span><br /> - <pre id="var-usage">Usage: (fibs) -</pre> - <pre id="var-docstr">Returns a lazy sequence of all the Fibonacci numbers.</pre> - - - <a href="http://github.com/richhickey/clojure-contrib/blob/7188a51605136f36524e4091fe806859114d6056/src/main/clojure/clojure/contrib/lazy_seqs.clj#L82" id="var-source">Source</a> -</div><div id="var-entry"> - <br /> - <hr /> - <h2 id="clojure.contrib.lazy-seqs/powers-of-2">powers-of-2</h2> - <span id="var-type">function</span><br /> - <pre id="var-usage">Usage: (powers-of-2) -</pre> - <pre id="var-docstr">Returns a lazy sequence of all the powers of 2</pre> - - - <a href="http://github.com/richhickey/clojure-contrib/blob/7188a51605136f36524e4091fe806859114d6056/src/main/clojure/clojure/contrib/lazy_seqs.clj#L87" id="var-source">Source</a> -</div><div id="var-entry"> - <br /> - <hr /> - <h2 id="clojure.contrib.lazy-seqs/primes">primes</h2> - <span id="var-type">var</span><br /> - <pre id="var-usage"></pre> - <pre id="var-docstr">Lazy sequence of all the prime numbers.</pre> - - - <a href="http://github.com/richhickey/clojure-contrib/blob/7188a51605136f36524e4091fe806859114d6056/src/main/clojure/clojure/contrib/lazy_seqs.clj#L66" id="var-source">Source</a> -</div> - - -</div> - </div> - </div> - </div> - </div> - <div id="foot"> - <div style="text-align: center;" id="copyright">Copyright 2007-2009 by Rich Hickey and the various contributors</div> - </div> - </div> - <div id="DesignedBy">Logo & site design by <a title="Visit Tom Hickey's website." href="http://www.tomhickey.com">Tom Hickey</a>.<br /> - Clojure auto-documentation system by Tom Faulhaber.</div> - </div> - <!-- /AllContentContainer --> - </body> - -</html>
\ No newline at end of file diff --git a/branch-master/lazy-xml-api.html b/branch-master/lazy-xml-api.html deleted file mode 100644 index 0b8101f4..00000000 --- a/branch-master/lazy-xml-api.html +++ /dev/null @@ -1,147 +0,0 @@ -<html> - <head> - <title>lazy-xml - clojure-contrib next API documentation</title> - <link href="../static/favicon.png" rel="icon" /> - <link href="../static/favicon.png" rel="shortcut icon" /> - <link media="all" type="text/css" href="../static/clojure.css" rel="stylesheet" /> - <link media="all" type="text/css" href="../static/wiki.css" rel="stylesheet" /> - <link media="all" type="text/css" href="../static/internal.css" rel="stylesheet" /> - <!-- TODO: are we using these (from clojure.org)? If so, add the files --> - <script src="file/view/code_highlighter.js" type="text/javascript"></script> - <script src="file/view/clojure.js" type="text/javascript"></script> - <style>.menuWrapper{height: 36px;}</style> - <!--[if lte IE 6]> - <link rel="stylesheet" href="http://www.wikispaces.com/_/2009051601/s/internal_ie.css" type="text/css" /> - <![endif]--> - </head> -<!-- -This document was auto-generated from the source by the clojure autodoc system. -To report errors or ask questions about the overall documentation structure, formatting, -etc., contact Tom Faulhaber (google mail name: tomfaulhaber). -For errors in the documentation of a particular namespace, contact the author of that -namespace. ---> - <body> - <div id="AllContentContainer"> - <div id="Header"> - <a id="Logo" href="index.html"><img alt="Clojure" height="100" width="100" src="../static/clojure-icon.gif" /></a> - <h1><a title="page header title" id="page-header" href="index.html">Clojure-contrib API Reference</a></h1> - </div> - <div id="leftcolumn"><div style="text-align: center;"></div> -<div class="menu"> - <div class="WikiCustomNav WikiElement wiki"> - <span class="toc-header"><span id="project-name">clojure-contrib</span> <span id="version">next</span> API</span><br /> - <ul> - <li><a class="wiki_link" href="index.html">Overview</a></li> - <li><a class="wiki_link" href="api-index.html">API Index</a></li> - </ul> - <span class="toc-header">Namespaces</span> - <ul id="left-sidebar-list"> - <li><a href="accumulators-api.html" class="wiki_link">accumulators</a></li><li><a href="agent-utils-api.html" class="wiki_link">agent-utils</a></li><li><a href="apply-macro-api.html" class="wiki_link">apply-macro</a></li><li><a href="base64-api.html" class="wiki_link">base64</a></li><li><a href="classpath-api.html" class="wiki_link">classpath</a></li><li><a href="combinatorics-api.html" class="wiki_link">combinatorics</a></li><li><a href="command-line-api.html" class="wiki_link">command-line</a></li><li><a href="complex-numbers-api.html" class="wiki_link">complex-numbers</a></li><li><a href="cond-api.html" class="wiki_link">cond</a></li><li><a href="condition-api.html" class="wiki_link">condition</a></li><li><a href="core-api.html" class="wiki_link">core</a></li><li><a href="dataflow-api.html" class="wiki_link">dataflow</a></li><li><a href="datalog-api.html" class="wiki_link">datalog</a></li><li><a href="def-api.html" class="wiki_link">def</a></li><li><a href="duck-streams-api.html" class="wiki_link">duck-streams</a></li><li><a href="error-kit-api.html" class="wiki_link">error-kit</a></li><li><a href="except-api.html" class="wiki_link">except</a></li><li><a href="fcase-api.html" class="wiki_link">fcase</a></li><li><a href="find-namespaces-api.html" class="wiki_link">find-namespaces</a></li><li><a href="fnmap-api.html" class="wiki_link">fnmap</a></li><li><a href="gen-html-docs-api.html" class="wiki_link">gen-html-docs</a></li><li><a href="generic.arithmetic-api.html" class="wiki_link">generic.arithmetic</a></li><li><a href="generic.collection-api.html" class="wiki_link">generic.collection</a></li><li><a href="generic.comparison-api.html" class="wiki_link">generic.comparison</a></li><li><a href="generic.functor-api.html" class="wiki_link">generic.functor</a></li><li><a href="generic.math-functions-api.html" class="wiki_link">generic.math-functions</a></li><li><a href="graph-api.html" class="wiki_link">graph</a></li><li><a href="greatest-least-api.html" class="wiki_link">greatest-least</a></li><li><a href="http.agent-api.html" class="wiki_link">http.agent</a></li><li><a href="http.connection-api.html" class="wiki_link">http.connection</a></li><li><a href="import-static-api.html" class="wiki_link">import-static</a></li><li><a href="io-api.html" class="wiki_link">io</a></li><li><a href="jar-api.html" class="wiki_link">jar</a></li><li><a href="java-utils-api.html" class="wiki_link">java-utils</a></li><li><a href="javadoc.browse-api.html" class="wiki_link">javadoc.browse</a></li><li><a href="jmx-api.html" class="wiki_link">jmx</a></li><li><a href="json-api.html" class="wiki_link">json</a></li><li><a href="lazy-seqs-api.html" class="wiki_link">lazy-seqs</a></li><li><a href="lazy-xml-api.html" class="wiki_link">lazy-xml</a></li><li><a href="logging-api.html" class="wiki_link">logging</a></li><li><a href="macro-utils-api.html" class="wiki_link">macro-utils</a></li><li><a href="macros-api.html" class="wiki_link">macros</a></li><li><a href="map-utils-api.html" class="wiki_link">map-utils</a></li><li><a href="math-api.html" class="wiki_link">math</a></li><li><a href="miglayout-api.html" class="wiki_link">miglayout</a></li><li><a href="mmap-api.html" class="wiki_link">mmap</a></li><li><a href="mock-api.html" class="wiki_link">mock</a></li><li><a href="monadic-io-streams-api.html" class="wiki_link">monadic-io-streams</a></li><li><a href="monads-api.html" class="wiki_link">monads</a></li><li><a href="ns-utils-api.html" class="wiki_link">ns-utils</a></li><li><a href="pprint-api.html" class="wiki_link">pprint</a></li><li><a href="priority-map-api.html" class="wiki_link">priority-map</a></li><li><a href="probabilities.finite-distributions-api.html" class="wiki_link">probabilities.finite-distributions</a></li><li><a href="probabilities.monte-carlo-api.html" class="wiki_link">probabilities.monte-carlo</a></li><li><a href="probabilities.random-numbers-api.html" class="wiki_link">probabilities.random-numbers</a></li><li><a href="profile-api.html" class="wiki_link">profile</a></li><li><a href="properties-api.html" class="wiki_link">properties</a></li><li><a href="prxml-api.html" class="wiki_link">prxml</a></li><li><a href="reflect-api.html" class="wiki_link">reflect</a></li><li><a href="repl-ln-api.html" class="wiki_link">repl-ln</a></li><li><a href="repl-utils-api.html" class="wiki_link">repl-utils</a></li><li><a href="seq-api.html" class="wiki_link">seq</a></li><li><a href="seq-utils-api.html" class="wiki_link">seq-utils</a></li><li><a href="server-socket-api.html" class="wiki_link">server-socket</a></li><li><a href="set-api.html" class="wiki_link">set</a></li><li><a href="shell-api.html" class="wiki_link">shell</a></li><li><a href="shell-out-api.html" class="wiki_link">shell-out</a></li><li><a href="singleton-api.html" class="wiki_link">singleton</a></li><li><a href="sql-api.html" class="wiki_link">sql</a></li><li><a href="str-utils-api.html" class="wiki_link">str-utils</a></li><li><a href="str-utils2-api.html" class="wiki_link">str-utils2</a></li><li><a href="stream-utils-api.html" class="wiki_link">stream-utils</a></li><li><a href="string-api.html" class="wiki_link">string</a></li><li><a href="strint-api.html" class="wiki_link">strint</a></li><li><a href="swing-utils-api.html" class="wiki_link">swing-utils</a></li><li><a href="test-is-api.html" class="wiki_link">test-is</a></li><li><a href="trace-api.html" class="wiki_link">trace</a></li><li><a href="types-api.html" class="wiki_link">types</a></li><li><a href="with-ns-api.html" class="wiki_link">with-ns</a></li><li><a href="zip-filter-api.html" class="wiki_link">zip-filter</a></li> - </ul> - <div class="BranchTOC"> - <span class="toc-header">Other Versions</span> - <ul id="left-sidebar-branch-list"> - <li><a href="../index.html" class="wiki_link">v1.2 (beta 1)</a></li><li><a href="../branch-1.1.x/index.html" class="wiki_link">v1.1 (stable)</a></li> - </ul> - </div> - <a href="http://clojure.org" class="wiki_link">Clojure Home</a> - </div> -</div> -</div> - <div id="rightcolumn"> - <div id="Content"> - <div class="contentBox"><div class="innerContentBox"> - <div id="content_view" class="wiki wikiPage"> - <div id="right-sidebar"><div id="toc"> - <h1 class="nopad">Table of Contents</h1> - <div style="margin-left: 1em;" class="toc-section"> - <a href="#toc0">Overview</a> - <div style="margin-left: 1em;" class="toc-entry"> - <a href="#clojure.contrib.lazy-xml/parse-seq">parse-seq</a> - </div><div style="margin-left: 1em;" class="toc-entry"> - <a href="#clojure.contrib.lazy-xml/parse-trim">parse-trim</a> - </div> - <br /> - </div> -</div> -</div> - <div id="content-tag"><h1 id="overview">API for <span id="namespace-name">lazy-xml</span> - - <span id="header-project">clojure-contrib</span> <span id="header-version">next</span> (<span id="header-status">in development</span>) - </h1> -<span id="author-line">by <span id="author-name">Chris Houser</span><br /></span> -<br />Usage: -<pre> -(ns your-namespace - (:require <span id="long-name">clojure.contrib.lazy-xml</span>)) -</pre><pre> -</pre><h2>Overview</h2> -<pre id="namespace-docstr">Functions to parse xml lazily and emit back to text.</pre> - - -<br /> -<h2>Public Variables and Functions</h2> -<div id="var-entry"> - <br /> - <hr /> - <h2 id="clojure.contrib.lazy-xml/parse-seq">parse-seq</h2> - <span id="var-type">function</span><br /> - <pre id="var-usage">Usage: (parse-seq s) - (parse-seq s startparse) - (parse-seq s startparse queue-size) -</pre> - <pre id="var-docstr">Parses the source s, which can be a File, InputStream or String -naming a URI. Returns a lazy sequence of maps with two or more of -the keys :type, :name, :attrs, and :str. Other SAX-compatible -parsers can be supplied by passing startparse, a fn taking a source -and a ContentHandler and returning a parser. If a parser is -specified, it will be run in a separate thread and be allowed to get -ahead by queue-size items, which defaults to maxint. If no parser -is specified and org.xmlpull.v1.XmlPullParser is in the classpath, -this superior pull parser will be used.</pre> - - - <a href="http://github.com/richhickey/clojure-contrib/blob/7188a51605136f36524e4091fe806859114d6056/src/main/clojure/clojure/contrib/lazy_xml.clj#L38" id="var-source">Source</a> -</div><div id="var-entry"> - <br /> - <hr /> - <h2 id="clojure.contrib.lazy-xml/parse-trim">parse-trim</h2> - <span id="var-type">function</span><br /> - <pre id="var-usage">Usage: (parse-trim s) - (parse-trim s startparse queue-size) -</pre> - <pre id="var-docstr">Parses the source s, which can be a File, InputStream or String -naming a URI. Returns a lazy tree of the clojure.xml/element -struct-map, which has the keys :tag, :attrs, and :content and -accessor fns tag, attrs, and content, with the whitespace trimmed -from around each content string. This format is compatible with what -clojure.xml/parse produces, except :content is a lazy seq instead of -a vector. Other SAX-compatible parsers can be supplied by passing -startparse, a fn taking a source and a ContentHandler and returning -a parser. If a parser is specified, it will be run in a separate -thread and be allowed to get ahead by queue-size items, which -defaults to maxing. If no parser is specified and -org.xmlpull.v1.XmlPullParser is in the classpath, this superior pull -parser will be used.</pre> - - - <a href="http://github.com/richhickey/clojure-contrib/blob/7188a51605136f36524e4091fe806859114d6056/src/main/clojure/clojure/contrib/lazy_xml.clj#L95" id="var-source">Source</a> -</div> - - -</div> - </div> - </div> - </div> - </div> - <div id="foot"> - <div style="text-align: center;" id="copyright">Copyright 2007-2009 by Rich Hickey and the various contributors</div> - </div> - </div> - <div id="DesignedBy">Logo & site design by <a title="Visit Tom Hickey's website." href="http://www.tomhickey.com">Tom Hickey</a>.<br /> - Clojure auto-documentation system by Tom Faulhaber.</div> - </div> - <!-- /AllContentContainer --> - </body> - -</html>
\ No newline at end of file diff --git a/branch-master/logging-api.html b/branch-master/logging-api.html deleted file mode 100644 index 19d4d1d6..00000000 --- a/branch-master/logging-api.html +++ /dev/null @@ -1,394 +0,0 @@ -<html> - <head> - <title>logging - clojure-contrib next API documentation</title> - <link href="../static/favicon.png" rel="icon" /> - <link href="../static/favicon.png" rel="shortcut icon" /> - <link media="all" type="text/css" href="../static/clojure.css" rel="stylesheet" /> - <link media="all" type="text/css" href="../static/wiki.css" rel="stylesheet" /> - <link media="all" type="text/css" href="../static/internal.css" rel="stylesheet" /> - <!-- TODO: are we using these (from clojure.org)? If so, add the files --> - <script src="file/view/code_highlighter.js" type="text/javascript"></script> - <script src="file/view/clojure.js" type="text/javascript"></script> - <style>.menuWrapper{height: 36px;}</style> - <!--[if lte IE 6]> - <link rel="stylesheet" href="http://www.wikispaces.com/_/2009051601/s/internal_ie.css" type="text/css" /> - <![endif]--> - </head> -<!-- -This document was auto-generated from the source by the clojure autodoc system. -To report errors or ask questions about the overall documentation structure, formatting, -etc., contact Tom Faulhaber (google mail name: tomfaulhaber). -For errors in the documentation of a particular namespace, contact the author of that -namespace. ---> - <body> - <div id="AllContentContainer"> - <div id="Header"> - <a id="Logo" href="index.html"><img alt="Clojure" height="100" width="100" src="../static/clojure-icon.gif" /></a> - <h1><a title="page header title" id="page-header" href="index.html">Clojure-contrib API Reference</a></h1> - </div> - <div id="leftcolumn"><div style="text-align: center;"></div> -<div class="menu"> - <div class="WikiCustomNav WikiElement wiki"> - <span class="toc-header"><span id="project-name">clojure-contrib</span> <span id="version">next</span> API</span><br /> - <ul> - <li><a class="wiki_link" href="index.html">Overview</a></li> - <li><a class="wiki_link" href="api-index.html">API Index</a></li> - </ul> - <span class="toc-header">Namespaces</span> - <ul id="left-sidebar-list"> - <li><a href="accumulators-api.html" class="wiki_link">accumulators</a></li><li><a href="agent-utils-api.html" class="wiki_link">agent-utils</a></li><li><a href="apply-macro-api.html" class="wiki_link">apply-macro</a></li><li><a href="base64-api.html" class="wiki_link">base64</a></li><li><a href="classpath-api.html" class="wiki_link">classpath</a></li><li><a href="combinatorics-api.html" class="wiki_link">combinatorics</a></li><li><a href="command-line-api.html" class="wiki_link">command-line</a></li><li><a href="complex-numbers-api.html" class="wiki_link">complex-numbers</a></li><li><a href="cond-api.html" class="wiki_link">cond</a></li><li><a href="condition-api.html" class="wiki_link">condition</a></li><li><a href="core-api.html" class="wiki_link">core</a></li><li><a href="dataflow-api.html" class="wiki_link">dataflow</a></li><li><a href="datalog-api.html" class="wiki_link">datalog</a></li><li><a href="def-api.html" class="wiki_link">def</a></li><li><a href="duck-streams-api.html" class="wiki_link">duck-streams</a></li><li><a href="error-kit-api.html" class="wiki_link">error-kit</a></li><li><a href="except-api.html" class="wiki_link">except</a></li><li><a href="fcase-api.html" class="wiki_link">fcase</a></li><li><a href="find-namespaces-api.html" class="wiki_link">find-namespaces</a></li><li><a href="fnmap-api.html" class="wiki_link">fnmap</a></li><li><a href="gen-html-docs-api.html" class="wiki_link">gen-html-docs</a></li><li><a href="generic.arithmetic-api.html" class="wiki_link">generic.arithmetic</a></li><li><a href="generic.collection-api.html" class="wiki_link">generic.collection</a></li><li><a href="generic.comparison-api.html" class="wiki_link">generic.comparison</a></li><li><a href="generic.functor-api.html" class="wiki_link">generic.functor</a></li><li><a href="generic.math-functions-api.html" class="wiki_link">generic.math-functions</a></li><li><a href="graph-api.html" class="wiki_link">graph</a></li><li><a href="greatest-least-api.html" class="wiki_link">greatest-least</a></li><li><a href="http.agent-api.html" class="wiki_link">http.agent</a></li><li><a href="http.connection-api.html" class="wiki_link">http.connection</a></li><li><a href="import-static-api.html" class="wiki_link">import-static</a></li><li><a href="io-api.html" class="wiki_link">io</a></li><li><a href="jar-api.html" class="wiki_link">jar</a></li><li><a href="java-utils-api.html" class="wiki_link">java-utils</a></li><li><a href="javadoc.browse-api.html" class="wiki_link">javadoc.browse</a></li><li><a href="jmx-api.html" class="wiki_link">jmx</a></li><li><a href="json-api.html" class="wiki_link">json</a></li><li><a href="lazy-seqs-api.html" class="wiki_link">lazy-seqs</a></li><li><a href="lazy-xml-api.html" class="wiki_link">lazy-xml</a></li><li><a href="logging-api.html" class="wiki_link">logging</a></li><li><a href="macro-utils-api.html" class="wiki_link">macro-utils</a></li><li><a href="macros-api.html" class="wiki_link">macros</a></li><li><a href="map-utils-api.html" class="wiki_link">map-utils</a></li><li><a href="math-api.html" class="wiki_link">math</a></li><li><a href="miglayout-api.html" class="wiki_link">miglayout</a></li><li><a href="mmap-api.html" class="wiki_link">mmap</a></li><li><a href="mock-api.html" class="wiki_link">mock</a></li><li><a href="monadic-io-streams-api.html" class="wiki_link">monadic-io-streams</a></li><li><a href="monads-api.html" class="wiki_link">monads</a></li><li><a href="ns-utils-api.html" class="wiki_link">ns-utils</a></li><li><a href="pprint-api.html" class="wiki_link">pprint</a></li><li><a href="priority-map-api.html" class="wiki_link">priority-map</a></li><li><a href="probabilities.finite-distributions-api.html" class="wiki_link">probabilities.finite-distributions</a></li><li><a href="probabilities.monte-carlo-api.html" class="wiki_link">probabilities.monte-carlo</a></li><li><a href="probabilities.random-numbers-api.html" class="wiki_link">probabilities.random-numbers</a></li><li><a href="profile-api.html" class="wiki_link">profile</a></li><li><a href="properties-api.html" class="wiki_link">properties</a></li><li><a href="prxml-api.html" class="wiki_link">prxml</a></li><li><a href="reflect-api.html" class="wiki_link">reflect</a></li><li><a href="repl-ln-api.html" class="wiki_link">repl-ln</a></li><li><a href="repl-utils-api.html" class="wiki_link">repl-utils</a></li><li><a href="seq-api.html" class="wiki_link">seq</a></li><li><a href="seq-utils-api.html" class="wiki_link">seq-utils</a></li><li><a href="server-socket-api.html" class="wiki_link">server-socket</a></li><li><a href="set-api.html" class="wiki_link">set</a></li><li><a href="shell-api.html" class="wiki_link">shell</a></li><li><a href="shell-out-api.html" class="wiki_link">shell-out</a></li><li><a href="singleton-api.html" class="wiki_link">singleton</a></li><li><a href="sql-api.html" class="wiki_link">sql</a></li><li><a href="str-utils-api.html" class="wiki_link">str-utils</a></li><li><a href="str-utils2-api.html" class="wiki_link">str-utils2</a></li><li><a href="stream-utils-api.html" class="wiki_link">stream-utils</a></li><li><a href="string-api.html" class="wiki_link">string</a></li><li><a href="strint-api.html" class="wiki_link">strint</a></li><li><a href="swing-utils-api.html" class="wiki_link">swing-utils</a></li><li><a href="test-is-api.html" class="wiki_link">test-is</a></li><li><a href="trace-api.html" class="wiki_link">trace</a></li><li><a href="types-api.html" class="wiki_link">types</a></li><li><a href="with-ns-api.html" class="wiki_link">with-ns</a></li><li><a href="zip-filter-api.html" class="wiki_link">zip-filter</a></li> - </ul> - <div class="BranchTOC"> - <span class="toc-header">Other Versions</span> - <ul id="left-sidebar-branch-list"> - <li><a href="../index.html" class="wiki_link">v1.2 (beta 1)</a></li><li><a href="../branch-1.1.x/index.html" class="wiki_link">v1.1 (stable)</a></li> - </ul> - </div> - <a href="http://clojure.org" class="wiki_link">Clojure Home</a> - </div> -</div> -</div> - <div id="rightcolumn"> - <div id="Content"> - <div class="contentBox"><div class="innerContentBox"> - <div id="content_view" class="wiki wikiPage"> - <div id="right-sidebar"><div id="toc"> - <h1 class="nopad">Table of Contents</h1> - <div style="margin-left: 1em;" class="toc-section"> - <a href="#toc0">Overview</a> - <div style="margin-left: 1em;" class="toc-entry"> - <a href="#clojure.contrib.logging/*allow-direct-logging*">*allow-direct-logging*</a> - </div><div style="margin-left: 1em;" class="toc-entry"> - <a href="#clojure.contrib.logging/*impl-name*">*impl-name*</a> - </div><div style="margin-left: 1em;" class="toc-entry"> - <a href="#clojure.contrib.logging/*logging-agent*">*logging-agent*</a> - </div><div style="margin-left: 1em;" class="toc-entry"> - <a href="#clojure.contrib.logging/debug">debug</a> - </div><div style="margin-left: 1em;" class="toc-entry"> - <a href="#clojure.contrib.logging/enabled?">enabled?</a> - </div><div style="margin-left: 1em;" class="toc-entry"> - <a href="#clojure.contrib.logging/error">error</a> - </div><div style="margin-left: 1em;" class="toc-entry"> - <a href="#clojure.contrib.logging/fatal">fatal</a> - </div><div style="margin-left: 1em;" class="toc-entry"> - <a href="#clojure.contrib.logging/impl-enabled?">impl-enabled?</a> - </div><div style="margin-left: 1em;" class="toc-entry"> - <a href="#clojure.contrib.logging/impl-get-log">impl-get-log</a> - </div><div style="margin-left: 1em;" class="toc-entry"> - <a href="#clojure.contrib.logging/impl-write!">impl-write!</a> - </div><div style="margin-left: 1em;" class="toc-entry"> - <a href="#clojure.contrib.logging/info">info</a> - </div><div style="margin-left: 1em;" class="toc-entry"> - <a href="#clojure.contrib.logging/log">log</a> - </div><div style="margin-left: 1em;" class="toc-entry"> - <a href="#clojure.contrib.logging/log-capture!">log-capture!</a> - </div><div style="margin-left: 1em;" class="toc-entry"> - <a href="#clojure.contrib.logging/log-stream">log-stream</a> - </div><div style="margin-left: 1em;" class="toc-entry"> - <a href="#clojure.contrib.logging/log-uncapture!">log-uncapture!</a> - </div><div style="margin-left: 1em;" class="toc-entry"> - <a href="#clojure.contrib.logging/spy">spy</a> - </div><div style="margin-left: 1em;" class="toc-entry"> - <a href="#clojure.contrib.logging/trace">trace</a> - </div><div style="margin-left: 1em;" class="toc-entry"> - <a href="#clojure.contrib.logging/warn">warn</a> - </div><div style="margin-left: 1em;" class="toc-entry"> - <a href="#clojure.contrib.logging/with-logs">with-logs</a> - </div> - <br /> - </div> -</div> -</div> - <div id="content-tag"><h1 id="overview">API for <span id="namespace-name">logging</span> - - <span id="header-project">clojure-contrib</span> <span id="header-version">next</span> (<span id="header-status">in development</span>) - </h1> -<span id="author-line">by <span id="author-name">Alex Taggart, Timothy Pratley</span><br /></span> -<br />Usage: -<pre> -(ns your-namespace - (:require <span id="long-name">clojure.contrib.logging</span>)) -</pre><pre> -</pre><h2>Overview</h2> -<pre id="namespace-docstr">Logging macros which delegate to a specific logging implementation. At -runtime a specific implementation is selected from, in order, Apache -commons-logging, log4j, and finally java.util.logging. - -Logging levels are specified by clojure keywords corresponding to the -values used in log4j and commons-logging: - :trace, :debug, :info, :warn, :error, :fatal - -Logging occurs with the log macro, or the level-specific convenience macros, -which write either directly or via an agent. For performance reasons, direct -logging is enabled by default, but setting the *allow-direct-logging* boolean -atom to false will disable it. If logging is invoked within a transaction it -will always use an agent. - -The log macros will not evaluate their 'message' unless the specific logging -level is in effect. Alternately, you can use the spy macro when you have code -that needs to be evaluated, and also want to output the code and its result to -the debug log. - -Unless otherwise specified, the current namespace (as identified by *ns*) will -be used as the log-ns (similar to how the java class name is usually used). -Note: your log configuration should display the name that was passed to the -logging implementation, and not perform stack-inspection, otherwise you'll see -something like "fn__72$impl_write_BANG__39__auto____81" in your logs. - -Use the enabled? macro to write conditional code against the logging level -(beyond simply whether or not to call log, which is handled automatically). - -You can redirect all java writes of System.out and System.err to the log -system by calling log-capture!. To rebind *out* and *err* to the log system -invoke with-logs. In both cases a log-ns (e.g., "com.example.captured") -needs to be specified to namespace the output.</pre> - - -<br /> -<h2>Public Variables and Functions</h2> -<div id="var-entry"> - <br /> - <hr /> - <h2 id="clojure.contrib.logging/*allow-direct-logging*">*allow-direct-logging*</h2> - <span id="var-type">var</span><br /> - <pre id="var-usage"></pre> - <pre id="var-docstr">A boolean indicating whether direct logging (as opposed to via an agent) is -allowed when not operating from within a transaction. Defaults to true.</pre> - - - <a href="http://github.com/richhickey/clojure-contrib/blob/7188a51605136f36524e4091fe806859114d6056/src/main/clojure/clojure/contrib/logging.clj#L202" id="var-source">Source</a> -</div><div id="var-entry"> - <br /> - <hr /> - <h2 id="clojure.contrib.logging/*impl-name*">*impl-name*</h2> - <span id="var-type">var</span><br /> - <pre id="var-usage"></pre> - <pre id="var-docstr">The name of the logging implementation used.</pre> - - - <a href="http://github.com/richhickey/clojure-contrib/blob/7188a51605136f36524e4091fe806859114d6056/src/main/clojure/clojure/contrib/logging.clj#L188" id="var-source">Source</a> -</div><div id="var-entry"> - <br /> - <hr /> - <h2 id="clojure.contrib.logging/*logging-agent*">*logging-agent*</h2> - <span id="var-type">var</span><br /> - <pre id="var-usage"></pre> - <pre id="var-docstr">The default agent used for performing logging durng a transaction or when -direct logging is disabled.</pre> - - - <a href="http://github.com/richhickey/clojure-contrib/blob/7188a51605136f36524e4091fe806859114d6056/src/main/clojure/clojure/contrib/logging.clj#L196" id="var-source">Source</a> -</div><div id="var-entry"> - <br /> - <hr /> - <h2 id="clojure.contrib.logging/debug">debug</h2> - <span id="var-type">macro</span><br /> - <pre id="var-usage">Usage: (debug message) - (debug message throwable) -</pre> - <pre id="var-docstr">Logs a message at the debug level.</pre> - - - <a href="http://github.com/richhickey/clojure-contrib/blob/7188a51605136f36524e4091fe806859114d6056/src/main/clojure/clojure/contrib/logging.clj#L310" id="var-source">Source</a> -</div><div id="var-entry"> - <br /> - <hr /> - <h2 id="clojure.contrib.logging/enabled?">enabled?</h2> - <span id="var-type">macro</span><br /> - <pre id="var-usage">Usage: (enabled? level) - (enabled? level log-ns) -</pre> - <pre id="var-docstr">Returns true if the specific logging level is enabled. Use of this function -should only be necessary if one needs to execute alternate code paths beyond -whether the log should be written to.</pre> - - - <a href="http://github.com/richhickey/clojure-contrib/blob/7188a51605136f36524e4091fe806859114d6056/src/main/clojure/clojure/contrib/logging.clj#L226" id="var-source">Source</a> -</div><div id="var-entry"> - <br /> - <hr /> - <h2 id="clojure.contrib.logging/error">error</h2> - <span id="var-type">macro</span><br /> - <pre id="var-usage">Usage: (error message) - (error message throwable) -</pre> - <pre id="var-docstr">Logs a message at the error level.</pre> - - - <a href="http://github.com/richhickey/clojure-contrib/blob/7188a51605136f36524e4091fe806859114d6056/src/main/clojure/clojure/contrib/logging.clj#L331" id="var-source">Source</a> -</div><div id="var-entry"> - <br /> - <hr /> - <h2 id="clojure.contrib.logging/fatal">fatal</h2> - <span id="var-type">macro</span><br /> - <pre id="var-usage">Usage: (fatal message) - (fatal message throwable) -</pre> - <pre id="var-docstr">Logs a message at the fatal level.</pre> - - - <a href="http://github.com/richhickey/clojure-contrib/blob/7188a51605136f36524e4091fe806859114d6056/src/main/clojure/clojure/contrib/logging.clj#L338" id="var-source">Source</a> -</div><div id="var-entry"> - <br /> - <hr /> - <h2 id="clojure.contrib.logging/impl-enabled?">impl-enabled?</h2> - <span id="var-type">var</span><br /> - <pre id="var-usage"></pre> - <pre id="var-docstr">Implementation-specific check if a particular level is enabled. End-users -should not need to call this.</pre> - - - <a href="http://github.com/richhickey/clojure-contrib/blob/7188a51605136f36524e4091fe806859114d6056/src/main/clojure/clojure/contrib/logging.clj#L188" id="var-source">Source</a> -</div><div id="var-entry"> - <br /> - <hr /> - <h2 id="clojure.contrib.logging/impl-get-log">impl-get-log</h2> - <span id="var-type">var</span><br /> - <pre id="var-usage"></pre> - <pre id="var-docstr">Returns an implementation-specific log by string namespace. End-users should -not need to call this.</pre> - - - <a href="http://github.com/richhickey/clojure-contrib/blob/7188a51605136f36524e4091fe806859114d6056/src/main/clojure/clojure/contrib/logging.clj#L188" id="var-source">Source</a> -</div><div id="var-entry"> - <br /> - <hr /> - <h2 id="clojure.contrib.logging/impl-write!">impl-write!</h2> - <span id="var-type">var</span><br /> - <pre id="var-usage"></pre> - <pre id="var-docstr">Implementation-specific write of a log message. End-users should not need to -call this.</pre> - - - <a href="http://github.com/richhickey/clojure-contrib/blob/7188a51605136f36524e4091fe806859114d6056/src/main/clojure/clojure/contrib/logging.clj#L188" id="var-source">Source</a> -</div><div id="var-entry"> - <br /> - <hr /> - <h2 id="clojure.contrib.logging/info">info</h2> - <span id="var-type">macro</span><br /> - <pre id="var-usage">Usage: (info message) - (info message throwable) -</pre> - <pre id="var-docstr">Logs a message at the info level.</pre> - - - <a href="http://github.com/richhickey/clojure-contrib/blob/7188a51605136f36524e4091fe806859114d6056/src/main/clojure/clojure/contrib/logging.clj#L317" id="var-source">Source</a> -</div><div id="var-entry"> - <br /> - <hr /> - <h2 id="clojure.contrib.logging/log">log</h2> - <span id="var-type">macro</span><br /> - <pre id="var-usage">Usage: (log level message) - (log level message throwable) - (log level message throwable log-ns) -</pre> - <pre id="var-docstr">Logs a message, either directly or via an agent. Also see the level-specific -convenience macros.</pre> - - - <a href="http://github.com/richhickey/clojure-contrib/blob/7188a51605136f36524e4091fe806859114d6056/src/main/clojure/clojure/contrib/logging.clj#L208" id="var-source">Source</a> -</div><div id="var-entry"> - <br /> - <hr /> - <h2 id="clojure.contrib.logging/log-capture!">log-capture!</h2> - <span id="var-type">function</span><br /> - <pre id="var-usage">Usage: (log-capture! log-ns) -</pre> - <pre id="var-docstr">Captures System.out and System.err, redirecting all writes of those streams -to :info and :error logging, respectively. The specified log-ns value will -be used to namespace all redirected logging. NOTE: this will not redirect -output of *out* or *err*; for that, use with-logs.</pre> - - - <a href="http://github.com/richhickey/clojure-contrib/blob/7188a51605136f36524e4091fe806859114d6056/src/main/clojure/clojure/contrib/logging.clj#L265" id="var-source">Source</a> -</div><div id="var-entry"> - <br /> - <hr /> - <h2 id="clojure.contrib.logging/log-stream">log-stream</h2> - <span id="var-type">function</span><br /> - <pre id="var-usage">Usage: (log-stream level log-ns) -</pre> - <pre id="var-docstr">Creates a PrintStream that will output to the log. End-users should not need -to invoke this.</pre> - - - <a href="http://github.com/richhickey/clojure-contrib/blob/7188a51605136f36524e4091fe806859114d6056/src/main/clojure/clojure/contrib/logging.clj#L243" id="var-source">Source</a> -</div><div id="var-entry"> - <br /> - <hr /> - <h2 id="clojure.contrib.logging/log-uncapture!">log-uncapture!</h2> - <span id="var-type">function</span><br /> - <pre id="var-usage">Usage: (log-uncapture!) -</pre> - <pre id="var-docstr">Restores System.out and System.err to their original values.</pre> - - - <a href="http://github.com/richhickey/clojure-contrib/blob/7188a51605136f36524e4091fe806859114d6056/src/main/clojure/clojure/contrib/logging.clj#L281" id="var-source">Source</a> -</div><div id="var-entry"> - <br /> - <hr /> - <h2 id="clojure.contrib.logging/spy">spy</h2> - <span id="var-type">macro</span><br /> - <pre id="var-usage">Usage: (spy expr) -</pre> - <pre id="var-docstr">Evaluates expr and outputs the form and its result to the debug log; returns -the result of expr.</pre> - - - <a href="http://github.com/richhickey/clojure-contrib/blob/7188a51605136f36524e4091fe806859114d6056/src/main/clojure/clojure/contrib/logging.clj#L236" id="var-source">Source</a> -</div><div id="var-entry"> - <br /> - <hr /> - <h2 id="clojure.contrib.logging/trace">trace</h2> - <span id="var-type">macro</span><br /> - <pre id="var-usage">Usage: (trace message) - (trace message throwable) -</pre> - <pre id="var-docstr">Logs a message at the trace level.</pre> - - - <a href="http://github.com/richhickey/clojure-contrib/blob/7188a51605136f36524e4091fe806859114d6056/src/main/clojure/clojure/contrib/logging.clj#L303" id="var-source">Source</a> -</div><div id="var-entry"> - <br /> - <hr /> - <h2 id="clojure.contrib.logging/warn">warn</h2> - <span id="var-type">macro</span><br /> - <pre id="var-usage">Usage: (warn message) - (warn message throwable) -</pre> - <pre id="var-docstr">Logs a message at the warn level.</pre> - - - <a href="http://github.com/richhickey/clojure-contrib/blob/7188a51605136f36524e4091fe806859114d6056/src/main/clojure/clojure/contrib/logging.clj#L324" id="var-source">Source</a> -</div><div id="var-entry"> - <br /> - <hr /> - <h2 id="clojure.contrib.logging/with-logs">with-logs</h2> - <span id="var-type">macro</span><br /> - <pre id="var-usage">Usage: (with-logs log-ns & body) -</pre> - <pre id="var-docstr">Evaluates exprs in a context in which *out* and *err* are bound to :info and -:error logging, respectively. The specified log-ns value will be used to -namespace all redirected logging.</pre> - - - <a href="http://github.com/richhickey/clojure-contrib/blob/7188a51605136f36524e4091fe806859114d6056/src/main/clojure/clojure/contrib/logging.clj#L291" id="var-source">Source</a> -</div> - - -</div> - </div> - </div> - </div> - </div> - <div id="foot"> - <div style="text-align: center;" id="copyright">Copyright 2007-2009 by Rich Hickey and the various contributors</div> - </div> - </div> - <div id="DesignedBy">Logo & site design by <a title="Visit Tom Hickey's website." href="http://www.tomhickey.com">Tom Hickey</a>.<br /> - Clojure auto-documentation system by Tom Faulhaber.</div> - </div> - <!-- /AllContentContainer --> - </body> - -</html>
\ No newline at end of file diff --git a/branch-master/macro-utils-api.html b/branch-master/macro-utils-api.html deleted file mode 100644 index ec086aeb..00000000 --- a/branch-master/macro-utils-api.html +++ /dev/null @@ -1,219 +0,0 @@ -<html> - <head> - <title>macro-utils - clojure-contrib next API documentation</title> - <link href="../static/favicon.png" rel="icon" /> - <link href="../static/favicon.png" rel="shortcut icon" /> - <link media="all" type="text/css" href="../static/clojure.css" rel="stylesheet" /> - <link media="all" type="text/css" href="../static/wiki.css" rel="stylesheet" /> - <link media="all" type="text/css" href="../static/internal.css" rel="stylesheet" /> - <!-- TODO: are we using these (from clojure.org)? If so, add the files --> - <script src="file/view/code_highlighter.js" type="text/javascript"></script> - <script src="file/view/clojure.js" type="text/javascript"></script> - <style>.menuWrapper{height: 36px;}</style> - <!--[if lte IE 6]> - <link rel="stylesheet" href="http://www.wikispaces.com/_/2009051601/s/internal_ie.css" type="text/css" /> - <![endif]--> - </head> -<!-- -This document was auto-generated from the source by the clojure autodoc system. -To report errors or ask questions about the overall documentation structure, formatting, -etc., contact Tom Faulhaber (google mail name: tomfaulhaber). -For errors in the documentation of a particular namespace, contact the author of that -namespace. ---> - <body> - <div id="AllContentContainer"> - <div id="Header"> - <a id="Logo" href="index.html"><img alt="Clojure" height="100" width="100" src="../static/clojure-icon.gif" /></a> - <h1><a title="page header title" id="page-header" href="index.html">Clojure-contrib API Reference</a></h1> - </div> - <div id="leftcolumn"><div style="text-align: center;"></div> -<div class="menu"> - <div class="WikiCustomNav WikiElement wiki"> - <span class="toc-header"><span id="project-name">clojure-contrib</span> <span id="version">next</span> API</span><br /> - <ul> - <li><a class="wiki_link" href="index.html">Overview</a></li> - <li><a class="wiki_link" href="api-index.html">API Index</a></li> - </ul> - <span class="toc-header">Namespaces</span> - <ul id="left-sidebar-list"> - <li><a href="accumulators-api.html" class="wiki_link">accumulators</a></li><li><a href="agent-utils-api.html" class="wiki_link">agent-utils</a></li><li><a href="apply-macro-api.html" class="wiki_link">apply-macro</a></li><li><a href="base64-api.html" class="wiki_link">base64</a></li><li><a href="classpath-api.html" class="wiki_link">classpath</a></li><li><a href="combinatorics-api.html" class="wiki_link">combinatorics</a></li><li><a href="command-line-api.html" class="wiki_link">command-line</a></li><li><a href="complex-numbers-api.html" class="wiki_link">complex-numbers</a></li><li><a href="cond-api.html" class="wiki_link">cond</a></li><li><a href="condition-api.html" class="wiki_link">condition</a></li><li><a href="core-api.html" class="wiki_link">core</a></li><li><a href="dataflow-api.html" class="wiki_link">dataflow</a></li><li><a href="datalog-api.html" class="wiki_link">datalog</a></li><li><a href="def-api.html" class="wiki_link">def</a></li><li><a href="duck-streams-api.html" class="wiki_link">duck-streams</a></li><li><a href="error-kit-api.html" class="wiki_link">error-kit</a></li><li><a href="except-api.html" class="wiki_link">except</a></li><li><a href="fcase-api.html" class="wiki_link">fcase</a></li><li><a href="find-namespaces-api.html" class="wiki_link">find-namespaces</a></li><li><a href="fnmap-api.html" class="wiki_link">fnmap</a></li><li><a href="gen-html-docs-api.html" class="wiki_link">gen-html-docs</a></li><li><a href="generic.arithmetic-api.html" class="wiki_link">generic.arithmetic</a></li><li><a href="generic.collection-api.html" class="wiki_link">generic.collection</a></li><li><a href="generic.comparison-api.html" class="wiki_link">generic.comparison</a></li><li><a href="generic.functor-api.html" class="wiki_link">generic.functor</a></li><li><a href="generic.math-functions-api.html" class="wiki_link">generic.math-functions</a></li><li><a href="graph-api.html" class="wiki_link">graph</a></li><li><a href="greatest-least-api.html" class="wiki_link">greatest-least</a></li><li><a href="http.agent-api.html" class="wiki_link">http.agent</a></li><li><a href="http.connection-api.html" class="wiki_link">http.connection</a></li><li><a href="import-static-api.html" class="wiki_link">import-static</a></li><li><a href="io-api.html" class="wiki_link">io</a></li><li><a href="jar-api.html" class="wiki_link">jar</a></li><li><a href="java-utils-api.html" class="wiki_link">java-utils</a></li><li><a href="javadoc.browse-api.html" class="wiki_link">javadoc.browse</a></li><li><a href="jmx-api.html" class="wiki_link">jmx</a></li><li><a href="json-api.html" class="wiki_link">json</a></li><li><a href="lazy-seqs-api.html" class="wiki_link">lazy-seqs</a></li><li><a href="lazy-xml-api.html" class="wiki_link">lazy-xml</a></li><li><a href="logging-api.html" class="wiki_link">logging</a></li><li><a href="macro-utils-api.html" class="wiki_link">macro-utils</a></li><li><a href="macros-api.html" class="wiki_link">macros</a></li><li><a href="map-utils-api.html" class="wiki_link">map-utils</a></li><li><a href="math-api.html" class="wiki_link">math</a></li><li><a href="miglayout-api.html" class="wiki_link">miglayout</a></li><li><a href="mmap-api.html" class="wiki_link">mmap</a></li><li><a href="mock-api.html" class="wiki_link">mock</a></li><li><a href="monadic-io-streams-api.html" class="wiki_link">monadic-io-streams</a></li><li><a href="monads-api.html" class="wiki_link">monads</a></li><li><a href="ns-utils-api.html" class="wiki_link">ns-utils</a></li><li><a href="pprint-api.html" class="wiki_link">pprint</a></li><li><a href="priority-map-api.html" class="wiki_link">priority-map</a></li><li><a href="probabilities.finite-distributions-api.html" class="wiki_link">probabilities.finite-distributions</a></li><li><a href="probabilities.monte-carlo-api.html" class="wiki_link">probabilities.monte-carlo</a></li><li><a href="probabilities.random-numbers-api.html" class="wiki_link">probabilities.random-numbers</a></li><li><a href="profile-api.html" class="wiki_link">profile</a></li><li><a href="properties-api.html" class="wiki_link">properties</a></li><li><a href="prxml-api.html" class="wiki_link">prxml</a></li><li><a href="reflect-api.html" class="wiki_link">reflect</a></li><li><a href="repl-ln-api.html" class="wiki_link">repl-ln</a></li><li><a href="repl-utils-api.html" class="wiki_link">repl-utils</a></li><li><a href="seq-api.html" class="wiki_link">seq</a></li><li><a href="seq-utils-api.html" class="wiki_link">seq-utils</a></li><li><a href="server-socket-api.html" class="wiki_link">server-socket</a></li><li><a href="set-api.html" class="wiki_link">set</a></li><li><a href="shell-api.html" class="wiki_link">shell</a></li><li><a href="shell-out-api.html" class="wiki_link">shell-out</a></li><li><a href="singleton-api.html" class="wiki_link">singleton</a></li><li><a href="sql-api.html" class="wiki_link">sql</a></li><li><a href="str-utils-api.html" class="wiki_link">str-utils</a></li><li><a href="str-utils2-api.html" class="wiki_link">str-utils2</a></li><li><a href="stream-utils-api.html" class="wiki_link">stream-utils</a></li><li><a href="string-api.html" class="wiki_link">string</a></li><li><a href="strint-api.html" class="wiki_link">strint</a></li><li><a href="swing-utils-api.html" class="wiki_link">swing-utils</a></li><li><a href="test-is-api.html" class="wiki_link">test-is</a></li><li><a href="trace-api.html" class="wiki_link">trace</a></li><li><a href="types-api.html" class="wiki_link">types</a></li><li><a href="with-ns-api.html" class="wiki_link">with-ns</a></li><li><a href="zip-filter-api.html" class="wiki_link">zip-filter</a></li> - </ul> - <div class="BranchTOC"> - <span class="toc-header">Other Versions</span> - <ul id="left-sidebar-branch-list"> - <li><a href="../index.html" class="wiki_link">v1.2 (beta 1)</a></li><li><a href="../branch-1.1.x/index.html" class="wiki_link">v1.1 (stable)</a></li> - </ul> - </div> - <a href="http://clojure.org" class="wiki_link">Clojure Home</a> - </div> -</div> -</div> - <div id="rightcolumn"> - <div id="Content"> - <div class="contentBox"><div class="innerContentBox"> - <div id="content_view" class="wiki wikiPage"> - <div id="right-sidebar"><div id="toc"> - <h1 class="nopad">Table of Contents</h1> - <div style="margin-left: 1em;" class="toc-section"> - <a href="#toc0">Overview</a> - <div style="margin-left: 1em;" class="toc-entry"> - <a href="#clojure.contrib.macro-utils/defsymbolmacro">defsymbolmacro</a> - </div><div style="margin-left: 1em;" class="toc-entry"> - <a href="#clojure.contrib.macro-utils/deftemplate">deftemplate</a> - </div><div style="margin-left: 1em;" class="toc-entry"> - <a href="#clojure.contrib.macro-utils/macrolet">macrolet</a> - </div><div style="margin-left: 1em;" class="toc-entry"> - <a href="#clojure.contrib.macro-utils/mexpand">mexpand</a> - </div><div style="margin-left: 1em;" class="toc-entry"> - <a href="#clojure.contrib.macro-utils/mexpand-1">mexpand-1</a> - </div><div style="margin-left: 1em;" class="toc-entry"> - <a href="#clojure.contrib.macro-utils/mexpand-all">mexpand-all</a> - </div><div style="margin-left: 1em;" class="toc-entry"> - <a href="#clojure.contrib.macro-utils/symbol-macrolet">symbol-macrolet</a> - </div><div style="margin-left: 1em;" class="toc-entry"> - <a href="#clojure.contrib.macro-utils/with-symbol-macros">with-symbol-macros</a> - </div> - <br /> - </div> -</div> -</div> - <div id="content-tag"><h1 id="overview">API for <span id="namespace-name">macro-utils</span> - - <span id="header-project">clojure-contrib</span> <span id="header-version">next</span> (<span id="header-status">in development</span>) - </h1> -<span id="author-line">by <span id="author-name">Konrad Hinsen</span><br /></span> -<br />Usage: -<pre> -(ns your-namespace - (:require <span id="long-name">clojure.contrib.macro-utils</span>)) -</pre><pre> -</pre><h2>Overview</h2> -<pre id="namespace-docstr">Local macros and symbol macros - -Local macros are defined by a macrolet form. They are usable only -inside its body. Symbol macros can be defined globally -(defsymbolmacro) or locally (symbol-macrolet). A symbol -macro defines a form that replaces a symbol during macro -expansion. Function arguments and symbols bound in let -forms are not subject to symbol macro expansion. - -Local macros are most useful in the definition of the expansion -of another macro, they may be used anywhere. Global symbol -macros can be used only inside a with-symbol-macros form.</pre> - - -<br /> -<h2>Public Variables and Functions</h2> -<div id="var-entry"> - <br /> - <hr /> - <h2 id="clojure.contrib.macro-utils/defsymbolmacro">defsymbolmacro</h2> - <span id="var-type">macro</span><br /> - <pre id="var-usage">Usage: (defsymbolmacro symbol expansion) -</pre> - <pre id="var-docstr">Define a symbol macro. Because symbol macros are not part of -Clojure's built-in macro expansion system, they can be used only -inside a with-symbol-macros form.</pre> - - - <a href="http://github.com/richhickey/clojure-contrib/blob/7188a51605136f36524e4091fe806859114d6056/src/main/clojure/clojure/contrib/macro_utils.clj#L222" id="var-source">Source</a> -</div><div id="var-entry"> - <br /> - <hr /> - <h2 id="clojure.contrib.macro-utils/deftemplate">deftemplate</h2> - <span id="var-type">macro</span><br /> - <pre id="var-usage">Usage: (deftemplate name params & forms) -</pre> - <pre id="var-docstr">Define a macro that expands into forms after replacing the -symbols in params (a vector) by the corresponding parameters -given in the macro call.</pre> - - - <a href="http://github.com/richhickey/clojure-contrib/blob/7188a51605136f36524e4091fe806859114d6056/src/main/clojure/clojure/contrib/macro_utils.clj#L236" id="var-source">Source</a> -</div><div id="var-entry"> - <br /> - <hr /> - <h2 id="clojure.contrib.macro-utils/macrolet">macrolet</h2> - <span id="var-type">macro</span><br /> - <pre id="var-usage">Usage: (macrolet fn-bindings & exprs) -</pre> - <pre id="var-docstr">Define local macros that are used in the expansion of exprs. The -syntax is the same as for letfn forms.</pre> - - - <a href="http://github.com/richhickey/clojure-contrib/blob/7188a51605136f36524e4091fe806859114d6056/src/main/clojure/clojure/contrib/macro_utils.clj#L201" id="var-source">Source</a> -</div><div id="var-entry"> - <br /> - <hr /> - <h2 id="clojure.contrib.macro-utils/mexpand">mexpand</h2> - <span id="var-type">function</span><br /> - <pre id="var-usage">Usage: (mexpand form) -</pre> - <pre id="var-docstr">Like clojure.core/macroexpand, but takes into account symbol macros.</pre> - - - <a href="http://github.com/richhickey/clojure-contrib/blob/7188a51605136f36524e4091fe806859114d6056/src/main/clojure/clojure/contrib/macro_utils.clj#L256" id="var-source">Source</a> -</div><div id="var-entry"> - <br /> - <hr /> - <h2 id="clojure.contrib.macro-utils/mexpand-1">mexpand-1</h2> - <span id="var-type">function</span><br /> - <pre id="var-usage">Usage: (mexpand-1 form) -</pre> - <pre id="var-docstr">Like clojure.core/macroexpand-1, but takes into account symbol macros.</pre> - - - <a href="http://github.com/richhickey/clojure-contrib/blob/7188a51605136f36524e4091fe806859114d6056/src/main/clojure/clojure/contrib/macro_utils.clj#L248" id="var-source">Source</a> -</div><div id="var-entry"> - <br /> - <hr /> - <h2 id="clojure.contrib.macro-utils/mexpand-all">mexpand-all</h2> - <span id="var-type">function</span><br /> - <pre id="var-usage">Usage: (mexpand-all form) -</pre> - <pre id="var-docstr">Perform a full recursive macro expansion of a form.</pre> - - - <a href="http://github.com/richhickey/clojure-contrib/blob/7188a51605136f36524e4091fe806859114d6056/src/main/clojure/clojure/contrib/macro_utils.clj#L264" id="var-source">Source</a> -</div><div id="var-entry"> - <br /> - <hr /> - <h2 id="clojure.contrib.macro-utils/symbol-macrolet">symbol-macrolet</h2> - <span id="var-type">macro</span><br /> - <pre id="var-usage">Usage: (symbol-macrolet symbol-bindings & exprs) -</pre> - <pre id="var-docstr">Define local symbol macros that are used in the expansion of exprs. -The syntax is the same as for let forms.</pre> - - - <a href="http://github.com/richhickey/clojure-contrib/blob/7188a51605136f36524e4091fe806859114d6056/src/main/clojure/clojure/contrib/macro_utils.clj#L212" id="var-source">Source</a> -</div><div id="var-entry"> - <br /> - <hr /> - <h2 id="clojure.contrib.macro-utils/with-symbol-macros">with-symbol-macros</h2> - <span id="var-type">macro</span><br /> - <pre id="var-usage">Usage: (with-symbol-macros & exprs) -</pre> - <pre id="var-docstr">Fully expand exprs, including symbol macros.</pre> - - - <a href="http://github.com/richhickey/clojure-contrib/blob/7188a51605136f36524e4091fe806859114d6056/src/main/clojure/clojure/contrib/macro_utils.clj#L231" id="var-source">Source</a> -</div> - - -</div> - </div> - </div> - </div> - </div> - <div id="foot"> - <div style="text-align: center;" id="copyright">Copyright 2007-2009 by Rich Hickey and the various contributors</div> - </div> - </div> - <div id="DesignedBy">Logo & site design by <a title="Visit Tom Hickey's website." href="http://www.tomhickey.com">Tom Hickey</a>.<br /> - Clojure auto-documentation system by Tom Faulhaber.</div> - </div> - <!-- /AllContentContainer --> - </body> - -</html>
\ No newline at end of file diff --git a/branch-master/macros-api.html b/branch-master/macros-api.html deleted file mode 100644 index 1e5aafb8..00000000 --- a/branch-master/macros-api.html +++ /dev/null @@ -1,147 +0,0 @@ -<html> - <head> - <title>macros - clojure-contrib next API documentation</title> - <link href="../static/favicon.png" rel="icon" /> - <link href="../static/favicon.png" rel="shortcut icon" /> - <link media="all" type="text/css" href="../static/clojure.css" rel="stylesheet" /> - <link media="all" type="text/css" href="../static/wiki.css" rel="stylesheet" /> - <link media="all" type="text/css" href="../static/internal.css" rel="stylesheet" /> - <!-- TODO: are we using these (from clojure.org)? If so, add the files --> - <script src="file/view/code_highlighter.js" type="text/javascript"></script> - <script src="file/view/clojure.js" type="text/javascript"></script> - <style>.menuWrapper{height: 36px;}</style> - <!--[if lte IE 6]> - <link rel="stylesheet" href="http://www.wikispaces.com/_/2009051601/s/internal_ie.css" type="text/css" /> - <![endif]--> - </head> -<!-- -This document was auto-generated from the source by the clojure autodoc system. -To report errors or ask questions about the overall documentation structure, formatting, -etc., contact Tom Faulhaber (google mail name: tomfaulhaber). -For errors in the documentation of a particular namespace, contact the author of that -namespace. ---> - <body> - <div id="AllContentContainer"> - <div id="Header"> - <a id="Logo" href="index.html"><img alt="Clojure" height="100" width="100" src="../static/clojure-icon.gif" /></a> - <h1><a title="page header title" id="page-header" href="index.html">Clojure-contrib API Reference</a></h1> - </div> - <div id="leftcolumn"><div style="text-align: center;"></div> -<div class="menu"> - <div class="WikiCustomNav WikiElement wiki"> - <span class="toc-header"><span id="project-name">clojure-contrib</span> <span id="version">next</span> API</span><br /> - <ul> - <li><a class="wiki_link" href="index.html">Overview</a></li> - <li><a class="wiki_link" href="api-index.html">API Index</a></li> - </ul> - <span class="toc-header">Namespaces</span> - <ul id="left-sidebar-list"> - <li><a href="accumulators-api.html" class="wiki_link">accumulators</a></li><li><a href="agent-utils-api.html" class="wiki_link">agent-utils</a></li><li><a href="apply-macro-api.html" class="wiki_link">apply-macro</a></li><li><a href="base64-api.html" class="wiki_link">base64</a></li><li><a href="classpath-api.html" class="wiki_link">classpath</a></li><li><a href="combinatorics-api.html" class="wiki_link">combinatorics</a></li><li><a href="command-line-api.html" class="wiki_link">command-line</a></li><li><a href="complex-numbers-api.html" class="wiki_link">complex-numbers</a></li><li><a href="cond-api.html" class="wiki_link">cond</a></li><li><a href="condition-api.html" class="wiki_link">condition</a></li><li><a href="core-api.html" class="wiki_link">core</a></li><li><a href="dataflow-api.html" class="wiki_link">dataflow</a></li><li><a href="datalog-api.html" class="wiki_link">datalog</a></li><li><a href="def-api.html" class="wiki_link">def</a></li><li><a href="duck-streams-api.html" class="wiki_link">duck-streams</a></li><li><a href="error-kit-api.html" class="wiki_link">error-kit</a></li><li><a href="except-api.html" class="wiki_link">except</a></li><li><a href="fcase-api.html" class="wiki_link">fcase</a></li><li><a href="find-namespaces-api.html" class="wiki_link">find-namespaces</a></li><li><a href="fnmap-api.html" class="wiki_link">fnmap</a></li><li><a href="gen-html-docs-api.html" class="wiki_link">gen-html-docs</a></li><li><a href="generic.arithmetic-api.html" class="wiki_link">generic.arithmetic</a></li><li><a href="generic.collection-api.html" class="wiki_link">generic.collection</a></li><li><a href="generic.comparison-api.html" class="wiki_link">generic.comparison</a></li><li><a href="generic.functor-api.html" class="wiki_link">generic.functor</a></li><li><a href="generic.math-functions-api.html" class="wiki_link">generic.math-functions</a></li><li><a href="graph-api.html" class="wiki_link">graph</a></li><li><a href="greatest-least-api.html" class="wiki_link">greatest-least</a></li><li><a href="http.agent-api.html" class="wiki_link">http.agent</a></li><li><a href="http.connection-api.html" class="wiki_link">http.connection</a></li><li><a href="import-static-api.html" class="wiki_link">import-static</a></li><li><a href="io-api.html" class="wiki_link">io</a></li><li><a href="jar-api.html" class="wiki_link">jar</a></li><li><a href="java-utils-api.html" class="wiki_link">java-utils</a></li><li><a href="javadoc.browse-api.html" class="wiki_link">javadoc.browse</a></li><li><a href="jmx-api.html" class="wiki_link">jmx</a></li><li><a href="json-api.html" class="wiki_link">json</a></li><li><a href="lazy-seqs-api.html" class="wiki_link">lazy-seqs</a></li><li><a href="lazy-xml-api.html" class="wiki_link">lazy-xml</a></li><li><a href="logging-api.html" class="wiki_link">logging</a></li><li><a href="macro-utils-api.html" class="wiki_link">macro-utils</a></li><li><a href="macros-api.html" class="wiki_link">macros</a></li><li><a href="map-utils-api.html" class="wiki_link">map-utils</a></li><li><a href="math-api.html" class="wiki_link">math</a></li><li><a href="miglayout-api.html" class="wiki_link">miglayout</a></li><li><a href="mmap-api.html" class="wiki_link">mmap</a></li><li><a href="mock-api.html" class="wiki_link">mock</a></li><li><a href="monadic-io-streams-api.html" class="wiki_link">monadic-io-streams</a></li><li><a href="monads-api.html" class="wiki_link">monads</a></li><li><a href="ns-utils-api.html" class="wiki_link">ns-utils</a></li><li><a href="pprint-api.html" class="wiki_link">pprint</a></li><li><a href="priority-map-api.html" class="wiki_link">priority-map</a></li><li><a href="probabilities.finite-distributions-api.html" class="wiki_link">probabilities.finite-distributions</a></li><li><a href="probabilities.monte-carlo-api.html" class="wiki_link">probabilities.monte-carlo</a></li><li><a href="probabilities.random-numbers-api.html" class="wiki_link">probabilities.random-numbers</a></li><li><a href="profile-api.html" class="wiki_link">profile</a></li><li><a href="properties-api.html" class="wiki_link">properties</a></li><li><a href="prxml-api.html" class="wiki_link">prxml</a></li><li><a href="reflect-api.html" class="wiki_link">reflect</a></li><li><a href="repl-ln-api.html" class="wiki_link">repl-ln</a></li><li><a href="repl-utils-api.html" class="wiki_link">repl-utils</a></li><li><a href="seq-api.html" class="wiki_link">seq</a></li><li><a href="seq-utils-api.html" class="wiki_link">seq-utils</a></li><li><a href="server-socket-api.html" class="wiki_link">server-socket</a></li><li><a href="set-api.html" class="wiki_link">set</a></li><li><a href="shell-api.html" class="wiki_link">shell</a></li><li><a href="shell-out-api.html" class="wiki_link">shell-out</a></li><li><a href="singleton-api.html" class="wiki_link">singleton</a></li><li><a href="sql-api.html" class="wiki_link">sql</a></li><li><a href="str-utils-api.html" class="wiki_link">str-utils</a></li><li><a href="str-utils2-api.html" class="wiki_link">str-utils2</a></li><li><a href="stream-utils-api.html" class="wiki_link">stream-utils</a></li><li><a href="string-api.html" class="wiki_link">string</a></li><li><a href="strint-api.html" class="wiki_link">strint</a></li><li><a href="swing-utils-api.html" class="wiki_link">swing-utils</a></li><li><a href="test-is-api.html" class="wiki_link">test-is</a></li><li><a href="trace-api.html" class="wiki_link">trace</a></li><li><a href="types-api.html" class="wiki_link">types</a></li><li><a href="with-ns-api.html" class="wiki_link">with-ns</a></li><li><a href="zip-filter-api.html" class="wiki_link">zip-filter</a></li> - </ul> - <div class="BranchTOC"> - <span class="toc-header">Other Versions</span> - <ul id="left-sidebar-branch-list"> - <li><a href="../index.html" class="wiki_link">v1.2 (beta 1)</a></li><li><a href="../branch-1.1.x/index.html" class="wiki_link">v1.1 (stable)</a></li> - </ul> - </div> - <a href="http://clojure.org" class="wiki_link">Clojure Home</a> - </div> -</div> -</div> - <div id="rightcolumn"> - <div id="Content"> - <div class="contentBox"><div class="innerContentBox"> - <div id="content_view" class="wiki wikiPage"> - <div id="right-sidebar"><div id="toc"> - <h1 class="nopad">Table of Contents</h1> - <div style="margin-left: 1em;" class="toc-section"> - <a href="#toc0">Overview</a> - <div style="margin-left: 1em;" class="toc-entry"> - <a href="#clojure.contrib.macros/const">const</a> - </div><div style="margin-left: 1em;" class="toc-entry"> - <a href="#clojure.contrib.macros/letfn-">letfn-</a> - </div><div style="margin-left: 1em;" class="toc-entry"> - <a href="#clojure.contrib.macros/with-direct-linking">with-direct-linking</a> - </div> - <br /> - </div> -</div> -</div> - <div id="content-tag"><h1 id="overview">API for <span id="namespace-name">macros</span> - - <span id="header-project">clojure-contrib</span> <span id="header-version">next</span> (<span id="header-status">in development</span>) - </h1> -<span id="author-line">by <span id="author-name">Konrad Hinsen</span><br /></span> -<br />Usage: -<pre> -(ns your-namespace - (:require <span id="long-name">clojure.contrib.macros</span>)) -</pre><pre> -</pre><h2>Overview</h2> -<pre id="namespace-docstr">Various small macros</pre> - - -<br /> -<h2>Public Variables and Functions</h2> -<div id="var-entry"> - <br /> - <hr /> - <h2 id="clojure.contrib.macros/const">const</h2> - <span id="var-type">macro</span><br /> - <pre id="var-usage">Usage: (const expr) -</pre> - <pre id="var-docstr">Evaluate the constant expression expr at compile time.</pre> - - - <a href="http://github.com/richhickey/clojure-contrib/blob/7188a51605136f36524e4091fe806859114d6056/src/main/clojure/clojure/contrib/macros.clj#L18" id="var-source">Source</a> -</div><div id="var-entry"> - <br /> - <hr /> - <h2 id="clojure.contrib.macros/letfn-">letfn-</h2> - <span id="var-type">macro</span><br /> - <pre id="var-usage">Usage: (letfn- fn-bindings & exprs) -</pre> - <pre id="var-docstr">OBSOLETE: use clojure.core/letfn -A variant of let for local function definitions. fn-bindings consists -of name/args/body triples, with (letfn [name args body] ...) -being equivalent to (let [name (fn name args body)] ...).</pre> - - - <a href="http://github.com/richhickey/clojure-contrib/blob/7188a51605136f36524e4091fe806859114d6056/src/main/clojure/clojure/contrib/macros.clj#L28" id="var-source">Source</a> -</div><div id="var-entry"> - <br /> - <hr /> - <h2 id="clojure.contrib.macros/with-direct-linking">with-direct-linking</h2> - <span id="var-type">macro</span><br /> - <pre id="var-usage">Usage: (with-direct-linking symbols? & body) -</pre> - <pre id="var-docstr">EXPERIMENTAL! -Compiles the functions in body with direct links to the functions -named in symbols, i.e. without a var lookup for each invocation. -Symbols is a vector of symbols that name either vars or namespaces. -A namespace reference is replaced by the list of all symbols in the -namespace that are bound to functions. If symbols is not provided, -the default value ['clojure.core] is used. The symbol *ns* can be -used to refer to the current namespace.</pre> - - - <a href="http://github.com/richhickey/clojure-contrib/blob/7188a51605136f36524e4091fe806859114d6056/src/main/clojure/clojure/contrib/macros.clj#L68" id="var-source">Source</a> -</div> - - -</div> - </div> - </div> - </div> - </div> - <div id="foot"> - <div style="text-align: center;" id="copyright">Copyright 2007-2009 by Rich Hickey and the various contributors</div> - </div> - </div> - <div id="DesignedBy">Logo & site design by <a title="Visit Tom Hickey's website." href="http://www.tomhickey.com">Tom Hickey</a>.<br /> - Clojure auto-documentation system by Tom Faulhaber.</div> - </div> - <!-- /AllContentContainer --> - </body> - -</html>
\ No newline at end of file diff --git a/branch-master/map-utils-api.html b/branch-master/map-utils-api.html deleted file mode 100644 index ba69aff7..00000000 --- a/branch-master/map-utils-api.html +++ /dev/null @@ -1,155 +0,0 @@ -<html> - <head> - <title>map-utils - clojure-contrib next API documentation</title> - <link href="../static/favicon.png" rel="icon" /> - <link href="../static/favicon.png" rel="shortcut icon" /> - <link media="all" type="text/css" href="../static/clojure.css" rel="stylesheet" /> - <link media="all" type="text/css" href="../static/wiki.css" rel="stylesheet" /> - <link media="all" type="text/css" href="../static/internal.css" rel="stylesheet" /> - <!-- TODO: are we using these (from clojure.org)? If so, add the files --> - <script src="file/view/code_highlighter.js" type="text/javascript"></script> - <script src="file/view/clojure.js" type="text/javascript"></script> - <style>.menuWrapper{height: 36px;}</style> - <!--[if lte IE 6]> - <link rel="stylesheet" href="http://www.wikispaces.com/_/2009051601/s/internal_ie.css" type="text/css" /> - <![endif]--> - </head> -<!-- -This document was auto-generated from the source by the clojure autodoc system. -To report errors or ask questions about the overall documentation structure, formatting, -etc., contact Tom Faulhaber (google mail name: tomfaulhaber). -For errors in the documentation of a particular namespace, contact the author of that -namespace. ---> - <body> - <div id="AllContentContainer"> - <div id="Header"> - <a id="Logo" href="index.html"><img alt="Clojure" height="100" width="100" src="../static/clojure-icon.gif" /></a> - <h1><a title="page header title" id="page-header" href="index.html">Clojure-contrib API Reference</a></h1> - </div> - <div id="leftcolumn"><div style="text-align: center;"></div> -<div class="menu"> - <div class="WikiCustomNav WikiElement wiki"> - <span class="toc-header"><span id="project-name">clojure-contrib</span> <span id="version">next</span> API</span><br /> - <ul> - <li><a class="wiki_link" href="index.html">Overview</a></li> - <li><a class="wiki_link" href="api-index.html">API Index</a></li> - </ul> - <span class="toc-header">Namespaces</span> - <ul id="left-sidebar-list"> - <li><a href="accumulators-api.html" class="wiki_link">accumulators</a></li><li><a href="agent-utils-api.html" class="wiki_link">agent-utils</a></li><li><a href="apply-macro-api.html" class="wiki_link">apply-macro</a></li><li><a href="base64-api.html" class="wiki_link">base64</a></li><li><a href="classpath-api.html" class="wiki_link">classpath</a></li><li><a href="combinatorics-api.html" class="wiki_link">combinatorics</a></li><li><a href="command-line-api.html" class="wiki_link">command-line</a></li><li><a href="complex-numbers-api.html" class="wiki_link">complex-numbers</a></li><li><a href="cond-api.html" class="wiki_link">cond</a></li><li><a href="condition-api.html" class="wiki_link">condition</a></li><li><a href="core-api.html" class="wiki_link">core</a></li><li><a href="dataflow-api.html" class="wiki_link">dataflow</a></li><li><a href="datalog-api.html" class="wiki_link">datalog</a></li><li><a href="def-api.html" class="wiki_link">def</a></li><li><a href="duck-streams-api.html" class="wiki_link">duck-streams</a></li><li><a href="error-kit-api.html" class="wiki_link">error-kit</a></li><li><a href="except-api.html" class="wiki_link">except</a></li><li><a href="fcase-api.html" class="wiki_link">fcase</a></li><li><a href="find-namespaces-api.html" class="wiki_link">find-namespaces</a></li><li><a href="fnmap-api.html" class="wiki_link">fnmap</a></li><li><a href="gen-html-docs-api.html" class="wiki_link">gen-html-docs</a></li><li><a href="generic.arithmetic-api.html" class="wiki_link">generic.arithmetic</a></li><li><a href="generic.collection-api.html" class="wiki_link">generic.collection</a></li><li><a href="generic.comparison-api.html" class="wiki_link">generic.comparison</a></li><li><a href="generic.functor-api.html" class="wiki_link">generic.functor</a></li><li><a href="generic.math-functions-api.html" class="wiki_link">generic.math-functions</a></li><li><a href="graph-api.html" class="wiki_link">graph</a></li><li><a href="greatest-least-api.html" class="wiki_link">greatest-least</a></li><li><a href="http.agent-api.html" class="wiki_link">http.agent</a></li><li><a href="http.connection-api.html" class="wiki_link">http.connection</a></li><li><a href="import-static-api.html" class="wiki_link">import-static</a></li><li><a href="io-api.html" class="wiki_link">io</a></li><li><a href="jar-api.html" class="wiki_link">jar</a></li><li><a href="java-utils-api.html" class="wiki_link">java-utils</a></li><li><a href="javadoc.browse-api.html" class="wiki_link">javadoc.browse</a></li><li><a href="jmx-api.html" class="wiki_link">jmx</a></li><li><a href="json-api.html" class="wiki_link">json</a></li><li><a href="lazy-seqs-api.html" class="wiki_link">lazy-seqs</a></li><li><a href="lazy-xml-api.html" class="wiki_link">lazy-xml</a></li><li><a href="logging-api.html" class="wiki_link">logging</a></li><li><a href="macro-utils-api.html" class="wiki_link">macro-utils</a></li><li><a href="macros-api.html" class="wiki_link">macros</a></li><li><a href="map-utils-api.html" class="wiki_link">map-utils</a></li><li><a href="math-api.html" class="wiki_link">math</a></li><li><a href="miglayout-api.html" class="wiki_link">miglayout</a></li><li><a href="mmap-api.html" class="wiki_link">mmap</a></li><li><a href="mock-api.html" class="wiki_link">mock</a></li><li><a href="monadic-io-streams-api.html" class="wiki_link">monadic-io-streams</a></li><li><a href="monads-api.html" class="wiki_link">monads</a></li><li><a href="ns-utils-api.html" class="wiki_link">ns-utils</a></li><li><a href="pprint-api.html" class="wiki_link">pprint</a></li><li><a href="priority-map-api.html" class="wiki_link">priority-map</a></li><li><a href="probabilities.finite-distributions-api.html" class="wiki_link">probabilities.finite-distributions</a></li><li><a href="probabilities.monte-carlo-api.html" class="wiki_link">probabilities.monte-carlo</a></li><li><a href="probabilities.random-numbers-api.html" class="wiki_link">probabilities.random-numbers</a></li><li><a href="profile-api.html" class="wiki_link">profile</a></li><li><a href="properties-api.html" class="wiki_link">properties</a></li><li><a href="prxml-api.html" class="wiki_link">prxml</a></li><li><a href="reflect-api.html" class="wiki_link">reflect</a></li><li><a href="repl-ln-api.html" class="wiki_link">repl-ln</a></li><li><a href="repl-utils-api.html" class="wiki_link">repl-utils</a></li><li><a href="seq-api.html" class="wiki_link">seq</a></li><li><a href="seq-utils-api.html" class="wiki_link">seq-utils</a></li><li><a href="server-socket-api.html" class="wiki_link">server-socket</a></li><li><a href="set-api.html" class="wiki_link">set</a></li><li><a href="shell-api.html" class="wiki_link">shell</a></li><li><a href="shell-out-api.html" class="wiki_link">shell-out</a></li><li><a href="singleton-api.html" class="wiki_link">singleton</a></li><li><a href="sql-api.html" class="wiki_link">sql</a></li><li><a href="str-utils-api.html" class="wiki_link">str-utils</a></li><li><a href="str-utils2-api.html" class="wiki_link">str-utils2</a></li><li><a href="stream-utils-api.html" class="wiki_link">stream-utils</a></li><li><a href="string-api.html" class="wiki_link">string</a></li><li><a href="strint-api.html" class="wiki_link">strint</a></li><li><a href="swing-utils-api.html" class="wiki_link">swing-utils</a></li><li><a href="test-is-api.html" class="wiki_link">test-is</a></li><li><a href="trace-api.html" class="wiki_link">trace</a></li><li><a href="types-api.html" class="wiki_link">types</a></li><li><a href="with-ns-api.html" class="wiki_link">with-ns</a></li><li><a href="zip-filter-api.html" class="wiki_link">zip-filter</a></li> - </ul> - <div class="BranchTOC"> - <span class="toc-header">Other Versions</span> - <ul id="left-sidebar-branch-list"> - <li><a href="../index.html" class="wiki_link">v1.2 (beta 1)</a></li><li><a href="../branch-1.1.x/index.html" class="wiki_link">v1.1 (stable)</a></li> - </ul> - </div> - <a href="http://clojure.org" class="wiki_link">Clojure Home</a> - </div> -</div> -</div> - <div id="rightcolumn"> - <div id="Content"> - <div class="contentBox"><div class="innerContentBox"> - <div id="content_view" class="wiki wikiPage"> - <div id="right-sidebar"><div id="toc"> - <h1 class="nopad">Table of Contents</h1> - <div style="margin-left: 1em;" class="toc-section"> - <a href="#toc0">Overview</a> - <div style="margin-left: 1em;" class="toc-entry"> - <a href="#clojure.contrib.map-utils/deep-merge-with">deep-merge-with</a> - </div><div style="margin-left: 1em;" class="toc-entry"> - <a href="#clojure.contrib.map-utils/lazy-get">lazy-get</a> - </div><div style="margin-left: 1em;" class="toc-entry"> - <a href="#clojure.contrib.map-utils/safe-get">safe-get</a> - </div><div style="margin-left: 1em;" class="toc-entry"> - <a href="#clojure.contrib.map-utils/safe-get-in">safe-get-in</a> - </div> - <br /> - </div> -</div> -</div> - <div id="content-tag"><h1 id="overview">API for <span id="namespace-name">map-utils</span> - - <span id="header-project">clojure-contrib</span> <span id="header-version">next</span> (<span id="header-status">in development</span>) - </h1> -<span id="author-line">by <span id="author-name">Jason Wolfe, Chris Houser</span><br /></span> -<br />Usage: -<pre> -(ns your-namespace - (:require <span id="long-name">clojure.contrib.map-utils</span>)) -</pre><pre> -</pre><h2>Overview</h2> -<pre id="namespace-docstr">Utilities for operating on Clojure maps.</pre> - - -<br /> -<h2>Public Variables and Functions</h2> -<div id="var-entry"> - <br /> - <hr /> - <h2 id="clojure.contrib.map-utils/deep-merge-with">deep-merge-with</h2> - <span id="var-type">function</span><br /> - <pre id="var-usage">Usage: (deep-merge-with f & maps) -</pre> - <pre id="var-docstr">Like merge-with, but merges maps recursively, applying the given fn -only when there's a non-map at a particular level. - -(deepmerge + {:a {:b {:c 1 :d {:x 1 :y 2}} :e 3} :f 4} - {:a {:b {:c 2 :d {:z 9} :z 3} :e 100}}) --> {:a {:b {:z 3, :c 3, :d {:z 9, :x 1, :y 2}}, :e 103}, :f 4}</pre> - - - <a href="http://github.com/richhickey/clojure-contrib/blob/7188a51605136f36524e4091fe806859114d6056/src/main/clojure/clojure/contrib/map_utils.clj#L41" id="var-source">Source</a> -</div><div id="var-entry"> - <br /> - <hr /> - <h2 id="clojure.contrib.map-utils/lazy-get">lazy-get</h2> - <span id="var-type">macro</span><br /> - <pre id="var-usage">Usage: (lazy-get map key not-found) -</pre> - <pre id="var-docstr">Like get, but doesn't evaluate not-found unless it is needed.</pre> - - - <a href="http://github.com/richhickey/clojure-contrib/blob/7188a51605136f36524e4091fe806859114d6056/src/main/clojure/clojure/contrib/map_utils.clj#L22" id="var-source">Source</a> -</div><div id="var-entry"> - <br /> - <hr /> - <h2 id="clojure.contrib.map-utils/safe-get">safe-get</h2> - <span id="var-type">function</span><br /> - <pre id="var-usage">Usage: (safe-get map key) -</pre> - <pre id="var-docstr">Like get, but throws an exception if the key is not found.</pre> - - - <a href="http://github.com/richhickey/clojure-contrib/blob/7188a51605136f36524e4091fe806859114d6056/src/main/clojure/clojure/contrib/map_utils.clj#L29" id="var-source">Source</a> -</div><div id="var-entry"> - <br /> - <hr /> - <h2 id="clojure.contrib.map-utils/safe-get-in">safe-get-in</h2> - <span id="var-type">function</span><br /> - <pre id="var-usage">Usage: (safe-get-in map ks) -</pre> - <pre id="var-docstr">Like get-in, but throws an exception if any key is not found.</pre> - - - <a href="http://github.com/richhickey/clojure-contrib/blob/7188a51605136f36524e4091fe806859114d6056/src/main/clojure/clojure/contrib/map_utils.clj#L35" id="var-source">Source</a> -</div> - - -</div> - </div> - </div> - </div> - </div> - <div id="foot"> - <div style="text-align: center;" id="copyright">Copyright 2007-2009 by Rich Hickey and the various contributors</div> - </div> - </div> - <div id="DesignedBy">Logo & site design by <a title="Visit Tom Hickey's website." href="http://www.tomhickey.com">Tom Hickey</a>.<br /> - Clojure auto-documentation system by Tom Faulhaber.</div> - </div> - <!-- /AllContentContainer --> - </body> - -</html>
\ No newline at end of file diff --git a/branch-master/math-api.html b/branch-master/math-api.html deleted file mode 100644 index 8bf38ef5..00000000 --- a/branch-master/math-api.html +++ /dev/null @@ -1,260 +0,0 @@ -<html> - <head> - <title>math - clojure-contrib next API documentation</title> - <link href="../static/favicon.png" rel="icon" /> - <link href="../static/favicon.png" rel="shortcut icon" /> - <link media="all" type="text/css" href="../static/clojure.css" rel="stylesheet" /> - <link media="all" type="text/css" href="../static/wiki.css" rel="stylesheet" /> - <link media="all" type="text/css" href="../static/internal.css" rel="stylesheet" /> - <!-- TODO: are we using these (from clojure.org)? If so, add the files --> - <script src="file/view/code_highlighter.js" type="text/javascript"></script> - <script src="file/view/clojure.js" type="text/javascript"></script> - <style>.menuWrapper{height: 36px;}</style> - <!--[if lte IE 6]> - <link rel="stylesheet" href="http://www.wikispaces.com/_/2009051601/s/internal_ie.css" type="text/css" /> - <![endif]--> - </head> -<!-- -This document was auto-generated from the source by the clojure autodoc system. -To report errors or ask questions about the overall documentation structure, formatting, -etc., contact Tom Faulhaber (google mail name: tomfaulhaber). -For errors in the documentation of a particular namespace, contact the author of that -namespace. ---> - <body> - <div id="AllContentContainer"> - <div id="Header"> - <a id="Logo" href="index.html"><img alt="Clojure" height="100" width="100" src="../static/clojure-icon.gif" /></a> - <h1><a title="page header title" id="page-header" href="index.html">Clojure-contrib API Reference</a></h1> - </div> - <div id="leftcolumn"><div style="text-align: center;"></div> -<div class="menu"> - <div class="WikiCustomNav WikiElement wiki"> - <span class="toc-header"><span id="project-name">clojure-contrib</span> <span id="version">next</span> API</span><br /> - <ul> - <li><a class="wiki_link" href="index.html">Overview</a></li> - <li><a class="wiki_link" href="api-index.html">API Index</a></li> - </ul> - <span class="toc-header">Namespaces</span> - <ul id="left-sidebar-list"> - <li><a href="accumulators-api.html" class="wiki_link">accumulators</a></li><li><a href="agent-utils-api.html" class="wiki_link">agent-utils</a></li><li><a href="apply-macro-api.html" class="wiki_link">apply-macro</a></li><li><a href="base64-api.html" class="wiki_link">base64</a></li><li><a href="classpath-api.html" class="wiki_link">classpath</a></li><li><a href="combinatorics-api.html" class="wiki_link">combinatorics</a></li><li><a href="command-line-api.html" class="wiki_link">command-line</a></li><li><a href="complex-numbers-api.html" class="wiki_link">complex-numbers</a></li><li><a href="cond-api.html" class="wiki_link">cond</a></li><li><a href="condition-api.html" class="wiki_link">condition</a></li><li><a href="core-api.html" class="wiki_link">core</a></li><li><a href="dataflow-api.html" class="wiki_link">dataflow</a></li><li><a href="datalog-api.html" class="wiki_link">datalog</a></li><li><a href="def-api.html" class="wiki_link">def</a></li><li><a href="duck-streams-api.html" class="wiki_link">duck-streams</a></li><li><a href="error-kit-api.html" class="wiki_link">error-kit</a></li><li><a href="except-api.html" class="wiki_link">except</a></li><li><a href="fcase-api.html" class="wiki_link">fcase</a></li><li><a href="find-namespaces-api.html" class="wiki_link">find-namespaces</a></li><li><a href="fnmap-api.html" class="wiki_link">fnmap</a></li><li><a href="gen-html-docs-api.html" class="wiki_link">gen-html-docs</a></li><li><a href="generic.arithmetic-api.html" class="wiki_link">generic.arithmetic</a></li><li><a href="generic.collection-api.html" class="wiki_link">generic.collection</a></li><li><a href="generic.comparison-api.html" class="wiki_link">generic.comparison</a></li><li><a href="generic.functor-api.html" class="wiki_link">generic.functor</a></li><li><a href="generic.math-functions-api.html" class="wiki_link">generic.math-functions</a></li><li><a href="graph-api.html" class="wiki_link">graph</a></li><li><a href="greatest-least-api.html" class="wiki_link">greatest-least</a></li><li><a href="http.agent-api.html" class="wiki_link">http.agent</a></li><li><a href="http.connection-api.html" class="wiki_link">http.connection</a></li><li><a href="import-static-api.html" class="wiki_link">import-static</a></li><li><a href="io-api.html" class="wiki_link">io</a></li><li><a href="jar-api.html" class="wiki_link">jar</a></li><li><a href="java-utils-api.html" class="wiki_link">java-utils</a></li><li><a href="javadoc.browse-api.html" class="wiki_link">javadoc.browse</a></li><li><a href="jmx-api.html" class="wiki_link">jmx</a></li><li><a href="json-api.html" class="wiki_link">json</a></li><li><a href="lazy-seqs-api.html" class="wiki_link">lazy-seqs</a></li><li><a href="lazy-xml-api.html" class="wiki_link">lazy-xml</a></li><li><a href="logging-api.html" class="wiki_link">logging</a></li><li><a href="macro-utils-api.html" class="wiki_link">macro-utils</a></li><li><a href="macros-api.html" class="wiki_link">macros</a></li><li><a href="map-utils-api.html" class="wiki_link">map-utils</a></li><li><a href="math-api.html" class="wiki_link">math</a></li><li><a href="miglayout-api.html" class="wiki_link">miglayout</a></li><li><a href="mmap-api.html" class="wiki_link">mmap</a></li><li><a href="mock-api.html" class="wiki_link">mock</a></li><li><a href="monadic-io-streams-api.html" class="wiki_link">monadic-io-streams</a></li><li><a href="monads-api.html" class="wiki_link">monads</a></li><li><a href="ns-utils-api.html" class="wiki_link">ns-utils</a></li><li><a href="pprint-api.html" class="wiki_link">pprint</a></li><li><a href="priority-map-api.html" class="wiki_link">priority-map</a></li><li><a href="probabilities.finite-distributions-api.html" class="wiki_link">probabilities.finite-distributions</a></li><li><a href="probabilities.monte-carlo-api.html" class="wiki_link">probabilities.monte-carlo</a></li><li><a href="probabilities.random-numbers-api.html" class="wiki_link">probabilities.random-numbers</a></li><li><a href="profile-api.html" class="wiki_link">profile</a></li><li><a href="properties-api.html" class="wiki_link">properties</a></li><li><a href="prxml-api.html" class="wiki_link">prxml</a></li><li><a href="reflect-api.html" class="wiki_link">reflect</a></li><li><a href="repl-ln-api.html" class="wiki_link">repl-ln</a></li><li><a href="repl-utils-api.html" class="wiki_link">repl-utils</a></li><li><a href="seq-api.html" class="wiki_link">seq</a></li><li><a href="seq-utils-api.html" class="wiki_link">seq-utils</a></li><li><a href="server-socket-api.html" class="wiki_link">server-socket</a></li><li><a href="set-api.html" class="wiki_link">set</a></li><li><a href="shell-api.html" class="wiki_link">shell</a></li><li><a href="shell-out-api.html" class="wiki_link">shell-out</a></li><li><a href="singleton-api.html" class="wiki_link">singleton</a></li><li><a href="sql-api.html" class="wiki_link">sql</a></li><li><a href="str-utils-api.html" class="wiki_link">str-utils</a></li><li><a href="str-utils2-api.html" class="wiki_link">str-utils2</a></li><li><a href="stream-utils-api.html" class="wiki_link">stream-utils</a></li><li><a href="string-api.html" class="wiki_link">string</a></li><li><a href="strint-api.html" class="wiki_link">strint</a></li><li><a href="swing-utils-api.html" class="wiki_link">swing-utils</a></li><li><a href="test-is-api.html" class="wiki_link">test-is</a></li><li><a href="trace-api.html" class="wiki_link">trace</a></li><li><a href="types-api.html" class="wiki_link">types</a></li><li><a href="with-ns-api.html" class="wiki_link">with-ns</a></li><li><a href="zip-filter-api.html" class="wiki_link">zip-filter</a></li> - </ul> - <div class="BranchTOC"> - <span class="toc-header">Other Versions</span> - <ul id="left-sidebar-branch-list"> - <li><a href="../index.html" class="wiki_link">v1.2 (beta 1)</a></li><li><a href="../branch-1.1.x/index.html" class="wiki_link">v1.1 (stable)</a></li> - </ul> - </div> - <a href="http://clojure.org" class="wiki_link">Clojure Home</a> - </div> -</div> -</div> - <div id="rightcolumn"> - <div id="Content"> - <div class="contentBox"><div class="innerContentBox"> - <div id="content_view" class="wiki wikiPage"> - <div id="right-sidebar"><div id="toc"> - <h1 class="nopad">Table of Contents</h1> - <div style="margin-left: 1em;" class="toc-section"> - <a href="#toc0">Overview</a> - <div style="margin-left: 1em;" class="toc-entry"> - <a href="#clojure.contrib.math/abs">abs</a> - </div><div style="margin-left: 1em;" class="toc-entry"> - <a href="#clojure.contrib.math/ceil">ceil</a> - </div><div style="margin-left: 1em;" class="toc-entry"> - <a href="#clojure.contrib.math/exact-integer-sqrt">exact-integer-sqrt</a> - </div><div style="margin-left: 1em;" class="toc-entry"> - <a href="#clojure.contrib.math/expt">expt</a> - </div><div style="margin-left: 1em;" class="toc-entry"> - <a href="#clojure.contrib.math/floor">floor</a> - </div><div style="margin-left: 1em;" class="toc-entry"> - <a href="#clojure.contrib.math/gcd">gcd</a> - </div><div style="margin-left: 1em;" class="toc-entry"> - <a href="#clojure.contrib.math/lcm">lcm</a> - </div><div style="margin-left: 1em;" class="toc-entry"> - <a href="#clojure.contrib.math/round">round</a> - </div><div style="margin-left: 1em;" class="toc-entry"> - <a href="#clojure.contrib.math/sqrt">sqrt</a> - </div> - <br /> - </div> -</div> -</div> - <div id="content-tag"><h1 id="overview">API for <span id="namespace-name">math</span> - - <span id="header-project">clojure-contrib</span> <span id="header-version">next</span> (<span id="header-status">in development</span>) - </h1> -<span id="author-line">by <span id="author-name">Mark Engelberg</span><br /></span> -<br />Usage: -<pre> -(ns your-namespace - (:require <span id="long-name">clojure.contrib.math</span>)) -</pre><pre> -</pre><h2>Overview</h2> -<pre id="namespace-docstr">Math functions that deal intelligently with the various -types in Clojure's numeric tower, as well as math functions -commonly found in Scheme implementations. - -expt - (expt x y) is x to the yth power, returns an exact number - if the base is an exact number, and the power is an integer, - otherwise returns a double. -abs - (abs n) is the absolute value of n -gcd - (gcd m n) returns the greatest common divisor of m and n -lcm - (lcm m n) returns the least common multiple of m and n - -The behavior of the next three functions on doubles is consistent -with the behavior of the corresponding functions -in Java's Math library, but on exact numbers, returns an integer. - -floor - (floor n) returns the greatest integer less than or equal to n. - If n is an exact number, floor returns an integer, - otherwise a double. -ceil - (ceil n) returns the least integer greater than or equal to n. - If n is an exact number, ceil returns an integer, - otherwise a double. -round - (round n) rounds to the nearest integer. - round always returns an integer. round rounds up for values - exactly in between two integers. - - -sqrt - Implements the sqrt behavior I'm accustomed to from PLT Scheme, - specifically, if the input is an exact number, and is a square - of an exact number, the output will be exact. The downside - is that for the common case (inexact square root), some extra - computation is done to look for an exact square root first. - So if you need blazingly fast square root performance, and you - know you're just going to need a double result, you're better - off calling java's Math/sqrt, or alternatively, you could just - convert your input to a double before calling this sqrt function. - If Clojure ever gets complex numbers, then this function will - need to be updated (so negative inputs yield complex outputs). -exact-integer-sqrt - Implements a math function from the R6RS Scheme - standard. (exact-integer-sqrt k) where k is a non-negative integer, - returns [s r] where k = s^2+r and k < (s+1)^2. In other words, it - returns the floor of the square root and the </pre> - - -<br /> -<h2>Public Variables and Functions</h2> -<div id="var-entry"> - <br /> - <hr /> - <h2 id="clojure.contrib.math/abs">abs</h2> - <span id="var-type">function</span><br /> - <pre id="var-usage">Usage: (abs n) -</pre> - <pre id="var-docstr">(abs n) is the absolute value of n</pre> - - - <a href="http://github.com/richhickey/clojure-contrib/blob/7188a51605136f36524e4091fe806859114d6056/src/main/clojure/clojure/contrib/math.clj#L122" id="var-source">Source</a> -</div><div id="var-entry"> - <br /> - <hr /> - <h2 id="clojure.contrib.math/ceil">ceil</h2> - <span id="var-type">multimethod</span><br /> - <pre id="var-usage">Usage: (ceil n) -</pre> - <pre id="var-docstr">(ceil n) returns the least integer greater than or equal to n. -If n is an exact number, ceil returns an integer, otherwise a double.</pre> - - - <a href="http://github.com/richhickey/clojure-contrib/blob/7188a51605136f36524e4091fe806859114d6056/src/main/clojure/clojure/contrib/math.clj#L141" id="var-source">Source</a> -</div><div id="var-entry"> - <br /> - <hr /> - <h2 id="clojure.contrib.math/exact-integer-sqrt">exact-integer-sqrt</h2> - <span id="var-type">function</span><br /> - <pre id="var-usage">Usage: (exact-integer-sqrt n) -</pre> - <pre id="var-docstr">(exact-integer-sqrt n) expects a non-negative integer n, and returns [s r] where n = s^2+r and n < (s+1)^2. In other words, it returns the floor of the square root and the 'remainder'. -For example, (exact-integer-sqrt 15) is [3 6] because 15 = 3^2+6.</pre> - - - <a href="http://github.com/richhickey/clojure-contrib/blob/7188a51605136f36524e4091fe806859114d6056/src/main/clojure/clojure/contrib/math.clj#L206" id="var-source">Source</a> -</div><div id="var-entry"> - <br /> - <hr /> - <h2 id="clojure.contrib.math/expt">expt</h2> - <span id="var-type">multimethod</span><br /> - <pre id="var-usage">Usage: (expt base pow) -</pre> - <pre id="var-docstr">(expt base pow) is base to the pow power. -Returns an exact number if the base is an exact number and the power is an integer, otherwise returns a double.</pre> - - - <a href="http://github.com/richhickey/clojure-contrib/blob/7188a51605136f36524e4091fe806859114d6056/src/main/clojure/clojure/contrib/math.clj#L101" id="var-source">Source</a> -</div><div id="var-entry"> - <br /> - <hr /> - <h2 id="clojure.contrib.math/floor">floor</h2> - <span id="var-type">multimethod</span><br /> - <pre id="var-usage">Usage: (floor n) -</pre> - <pre id="var-docstr">(floor n) returns the greatest integer less than or equal to n. -If n is an exact number, floor returns an integer, otherwise a double.</pre> - - - <a href="http://github.com/richhickey/clojure-contrib/blob/7188a51605136f36524e4091fe806859114d6056/src/main/clojure/clojure/contrib/math.clj#L129" id="var-source">Source</a> -</div><div id="var-entry"> - <br /> - <hr /> - <h2 id="clojure.contrib.math/gcd">gcd</h2> - <span id="var-type">function</span><br /> - <pre id="var-usage">Usage: (gcd a b) -</pre> - <pre id="var-docstr">(gcd a b) returns the greatest common divisor of a and b</pre> - - - <a href="http://github.com/richhickey/clojure-contrib/blob/7188a51605136f36524e4091fe806859114d6056/src/main/clojure/clojure/contrib/math.clj#L162" id="var-source">Source</a> -</div><div id="var-entry"> - <br /> - <hr /> - <h2 id="clojure.contrib.math/lcm">lcm</h2> - <span id="var-type">function</span><br /> - <pre id="var-usage">Usage: (lcm a b) -</pre> - <pre id="var-docstr">(lcm a b) returns the least common multiple of a and b</pre> - - - <a href="http://github.com/richhickey/clojure-contrib/blob/7188a51605136f36524e4091fe806859114d6056/src/main/clojure/clojure/contrib/math.clj#L169" id="var-source">Source</a> -</div><div id="var-entry"> - <br /> - <hr /> - <h2 id="clojure.contrib.math/round">round</h2> - <span id="var-type">multimethod</span><br /> - <pre id="var-usage">Usage: (round n) -</pre> - <pre id="var-docstr">(round n) rounds to the nearest integer. -round always returns an integer. Rounds up for values exactly in between two integers.</pre> - - - <a href="http://github.com/richhickey/clojure-contrib/blob/7188a51605136f36524e4091fe806859114d6056/src/main/clojure/clojure/contrib/math.clj#L153" id="var-source">Source</a> -</div><div id="var-entry"> - <br /> - <hr /> - <h2 id="clojure.contrib.math/sqrt">sqrt</h2> - <span id="var-type">multimethod</span><br /> - <pre id="var-usage">Usage: (sqrt n) -</pre> - <pre id="var-docstr">Square root, but returns exact number if possible.</pre> - - - <a href="http://github.com/richhickey/clojure-contrib/blob/7188a51605136f36524e4091fe806859114d6056/src/main/clojure/clojure/contrib/math.clj#L215" id="var-source">Source</a> -</div> - - -</div> - </div> - </div> - </div> - </div> - <div id="foot"> - <div style="text-align: center;" id="copyright">Copyright 2007-2009 by Rich Hickey and the various contributors</div> - </div> - </div> - <div id="DesignedBy">Logo & site design by <a title="Visit Tom Hickey's website." href="http://www.tomhickey.com">Tom Hickey</a>.<br /> - Clojure auto-documentation system by Tom Faulhaber.</div> - </div> - <!-- /AllContentContainer --> - </body> - -</html>
\ No newline at end of file diff --git a/branch-master/miglayout-api.html b/branch-master/miglayout-api.html deleted file mode 100644 index cacab628..00000000 --- a/branch-master/miglayout-api.html +++ /dev/null @@ -1,333 +0,0 @@ -<html> - <head> - <title>miglayout - clojure-contrib next API documentation</title> - <link href="../static/favicon.png" rel="icon" /> - <link href="../static/favicon.png" rel="shortcut icon" /> - <link media="all" type="text/css" href="../static/clojure.css" rel="stylesheet" /> - <link media="all" type="text/css" href="../static/wiki.css" rel="stylesheet" /> - <link media="all" type="text/css" href="../static/internal.css" rel="stylesheet" /> - <!-- TODO: are we using these (from clojure.org)? If so, add the files --> - <script src="file/view/code_highlighter.js" type="text/javascript"></script> - <script src="file/view/clojure.js" type="text/javascript"></script> - <style>.menuWrapper{height: 36px;}</style> - <!--[if lte IE 6]> - <link rel="stylesheet" href="http://www.wikispaces.com/_/2009051601/s/internal_ie.css" type="text/css" /> - <![endif]--> - </head> -<!-- -This document was auto-generated from the source by the clojure autodoc system. -To report errors or ask questions about the overall documentation structure, formatting, -etc., contact Tom Faulhaber (google mail name: tomfaulhaber). -For errors in the documentation of a particular namespace, contact the author of that -namespace. ---> - <body> - <div id="AllContentContainer"> - <div id="Header"> - <a id="Logo" href="index.html"><img alt="Clojure" height="100" width="100" src="../static/clojure-icon.gif" /></a> - <h1><a title="page header title" id="page-header" href="index.html">Clojure-contrib API Reference</a></h1> - </div> - <div id="leftcolumn"><div style="text-align: center;"></div> -<div class="menu"> - <div class="WikiCustomNav WikiElement wiki"> - <span class="toc-header"><span id="project-name">clojure-contrib</span> <span id="version">next</span> API</span><br /> - <ul> - <li><a class="wiki_link" href="index.html">Overview</a></li> - <li><a class="wiki_link" href="api-index.html">API Index</a></li> - </ul> - <span class="toc-header">Namespaces</span> - <ul id="left-sidebar-list"> - <li><a href="accumulators-api.html" class="wiki_link">accumulators</a></li><li><a href="agent-utils-api.html" class="wiki_link">agent-utils</a></li><li><a href="apply-macro-api.html" class="wiki_link">apply-macro</a></li><li><a href="base64-api.html" class="wiki_link">base64</a></li><li><a href="classpath-api.html" class="wiki_link">classpath</a></li><li><a href="combinatorics-api.html" class="wiki_link">combinatorics</a></li><li><a href="command-line-api.html" class="wiki_link">command-line</a></li><li><a href="complex-numbers-api.html" class="wiki_link">complex-numbers</a></li><li><a href="cond-api.html" class="wiki_link">cond</a></li><li><a href="condition-api.html" class="wiki_link">condition</a></li><li><a href="core-api.html" class="wiki_link">core</a></li><li><a href="dataflow-api.html" class="wiki_link">dataflow</a></li><li><a href="datalog-api.html" class="wiki_link">datalog</a></li><li><a href="def-api.html" class="wiki_link">def</a></li><li><a href="duck-streams-api.html" class="wiki_link">duck-streams</a></li><li><a href="error-kit-api.html" class="wiki_link">error-kit</a></li><li><a href="except-api.html" class="wiki_link">except</a></li><li><a href="fcase-api.html" class="wiki_link">fcase</a></li><li><a href="find-namespaces-api.html" class="wiki_link">find-namespaces</a></li><li><a href="fnmap-api.html" class="wiki_link">fnmap</a></li><li><a href="gen-html-docs-api.html" class="wiki_link">gen-html-docs</a></li><li><a href="generic.arithmetic-api.html" class="wiki_link">generic.arithmetic</a></li><li><a href="generic.collection-api.html" class="wiki_link">generic.collection</a></li><li><a href="generic.comparison-api.html" class="wiki_link">generic.comparison</a></li><li><a href="generic.functor-api.html" class="wiki_link">generic.functor</a></li><li><a href="generic.math-functions-api.html" class="wiki_link">generic.math-functions</a></li><li><a href="graph-api.html" class="wiki_link">graph</a></li><li><a href="greatest-least-api.html" class="wiki_link">greatest-least</a></li><li><a href="http.agent-api.html" class="wiki_link">http.agent</a></li><li><a href="http.connection-api.html" class="wiki_link">http.connection</a></li><li><a href="import-static-api.html" class="wiki_link">import-static</a></li><li><a href="io-api.html" class="wiki_link">io</a></li><li><a href="jar-api.html" class="wiki_link">jar</a></li><li><a href="java-utils-api.html" class="wiki_link">java-utils</a></li><li><a href="javadoc.browse-api.html" class="wiki_link">javadoc.browse</a></li><li><a href="jmx-api.html" class="wiki_link">jmx</a></li><li><a href="json-api.html" class="wiki_link">json</a></li><li><a href="lazy-seqs-api.html" class="wiki_link">lazy-seqs</a></li><li><a href="lazy-xml-api.html" class="wiki_link">lazy-xml</a></li><li><a href="logging-api.html" class="wiki_link">logging</a></li><li><a href="macro-utils-api.html" class="wiki_link">macro-utils</a></li><li><a href="macros-api.html" class="wiki_link">macros</a></li><li><a href="map-utils-api.html" class="wiki_link">map-utils</a></li><li><a href="math-api.html" class="wiki_link">math</a></li><li><a href="miglayout-api.html" class="wiki_link">miglayout</a></li><li><a href="mmap-api.html" class="wiki_link">mmap</a></li><li><a href="mock-api.html" class="wiki_link">mock</a></li><li><a href="monadic-io-streams-api.html" class="wiki_link">monadic-io-streams</a></li><li><a href="monads-api.html" class="wiki_link">monads</a></li><li><a href="ns-utils-api.html" class="wiki_link">ns-utils</a></li><li><a href="pprint-api.html" class="wiki_link">pprint</a></li><li><a href="priority-map-api.html" class="wiki_link">priority-map</a></li><li><a href="probabilities.finite-distributions-api.html" class="wiki_link">probabilities.finite-distributions</a></li><li><a href="probabilities.monte-carlo-api.html" class="wiki_link">probabilities.monte-carlo</a></li><li><a href="probabilities.random-numbers-api.html" class="wiki_link">probabilities.random-numbers</a></li><li><a href="profile-api.html" class="wiki_link">profile</a></li><li><a href="properties-api.html" class="wiki_link">properties</a></li><li><a href="prxml-api.html" class="wiki_link">prxml</a></li><li><a href="reflect-api.html" class="wiki_link">reflect</a></li><li><a href="repl-ln-api.html" class="wiki_link">repl-ln</a></li><li><a href="repl-utils-api.html" class="wiki_link">repl-utils</a></li><li><a href="seq-api.html" class="wiki_link">seq</a></li><li><a href="seq-utils-api.html" class="wiki_link">seq-utils</a></li><li><a href="server-socket-api.html" class="wiki_link">server-socket</a></li><li><a href="set-api.html" class="wiki_link">set</a></li><li><a href="shell-api.html" class="wiki_link">shell</a></li><li><a href="shell-out-api.html" class="wiki_link">shell-out</a></li><li><a href="singleton-api.html" class="wiki_link">singleton</a></li><li><a href="sql-api.html" class="wiki_link">sql</a></li><li><a href="str-utils-api.html" class="wiki_link">str-utils</a></li><li><a href="str-utils2-api.html" class="wiki_link">str-utils2</a></li><li><a href="stream-utils-api.html" class="wiki_link">stream-utils</a></li><li><a href="string-api.html" class="wiki_link">string</a></li><li><a href="strint-api.html" class="wiki_link">strint</a></li><li><a href="swing-utils-api.html" class="wiki_link">swing-utils</a></li><li><a href="test-is-api.html" class="wiki_link">test-is</a></li><li><a href="trace-api.html" class="wiki_link">trace</a></li><li><a href="types-api.html" class="wiki_link">types</a></li><li><a href="with-ns-api.html" class="wiki_link">with-ns</a></li><li><a href="zip-filter-api.html" class="wiki_link">zip-filter</a></li> - </ul> - <div class="BranchTOC"> - <span class="toc-header">Other Versions</span> - <ul id="left-sidebar-branch-list"> - <li><a href="../index.html" class="wiki_link">v1.2 (beta 1)</a></li><li><a href="../branch-1.1.x/index.html" class="wiki_link">v1.1 (stable)</a></li> - </ul> - </div> - <a href="http://clojure.org" class="wiki_link">Clojure Home</a> - </div> -</div> -</div> - <div id="rightcolumn"> - <div id="Content"> - <div class="contentBox"><div class="innerContentBox"> - <div id="content_view" class="wiki wikiPage"> - <div id="right-sidebar"><div id="toc"> - <h1 class="nopad">Table of Contents</h1> - <div style="margin-left: 1em;" class="toc-section"> - <a href="#toc0">Overview</a> - <div style="margin-left: 1em;" class="toc-entry"> - <a href="#clojure.contrib.miglayout/components">components</a> - </div><div style="margin-left: 1em;" class="toc-entry"> - <a href="#clojure.contrib.miglayout/miglayout">miglayout</a> - </div> - <br /> - </div><div style="margin-left: 1em;" class="toc-section"> - <a href="#miglayout.example">miglayout.example</a> - <div style="margin-left: 1em;" class="toc-entry"> - <a href="#clojure.contrib.miglayout.example/converter-ui">converter-ui</a> - </div><div style="margin-left: 1em;" class="toc-entry"> - <a href="#clojure.contrib.miglayout.example/fahrenheit">fahrenheit</a> - </div><div style="margin-left: 1em;" class="toc-entry"> - <a href="#clojure.contrib.miglayout.example/main">main</a> - </div> - <br /> - </div><div style="margin-left: 1em;" class="toc-section"> - <a href="#miglayout.internal">miglayout.internal</a> - <div style="margin-left: 1em;" class="toc-entry"> - <a href="#clojure.contrib.miglayout.internal/add-components">add-components</a> - </div><div style="margin-left: 1em;" class="toc-entry"> - <a href="#clojure.contrib.miglayout.internal/component?">component?</a> - </div><div style="margin-left: 1em;" class="toc-entry"> - <a href="#clojure.contrib.miglayout.internal/constraint?">constraint?</a> - </div><div style="margin-left: 1em;" class="toc-entry"> - <a href="#clojure.contrib.miglayout.internal/do-layout">do-layout</a> - </div><div style="margin-left: 1em;" class="toc-entry"> - <a href="#clojure.contrib.miglayout.internal/format-constraint">format-constraint</a> - </div><div style="margin-left: 1em;" class="toc-entry"> - <a href="#clojure.contrib.miglayout.internal/format-constraints">format-constraints</a> - </div><div style="margin-left: 1em;" class="toc-entry"> - <a href="#clojure.contrib.miglayout.internal/get-components">get-components</a> - </div><div style="margin-left: 1em;" class="toc-entry"> - <a href="#clojure.contrib.miglayout.internal/parse-component-constraint">parse-component-constraint</a> - </div><div style="margin-left: 1em;" class="toc-entry"> - <a href="#clojure.contrib.miglayout.internal/parse-item-constraints">parse-item-constraints</a> - </div> - <br /> - </div> -</div> -</div> - <div id="content-tag"><h1 id="overview">API for <span id="namespace-name">miglayout</span> - - <span id="header-project">clojure-contrib</span> <span id="header-version">next</span> (<span id="header-status">in development</span>) - </h1> -<span id="author-line">by <span id="author-name">Stephen C. Gilardi</span><br /></span> -<br />Usage: -<pre> -(ns your-namespace - (:require <span id="long-name">clojure.contrib.miglayout</span>)) -</pre><pre> -</pre><h2>Overview</h2> -<pre id="namespace-docstr">Clojure support for the MiGLayout layout manager -<a href="http://www.miglayout.com/">http://www.miglayout.com/</a> - -Example: - - (use '[clojure.contrib.miglayout.test :as mlt :only ()]) - (dotimes [i 5] (mlt/run-test i))</pre> - - -<br /> -<h2>Public Variables and Functions</h2> -<div id="var-entry"> - <br /> - <hr /> - <h2 id="clojure.contrib.miglayout/components">components</h2> - <span id="var-type">function</span><br /> - <pre id="var-usage">Usage: (components container) -</pre> - <pre id="var-docstr">Returns a map from id (a keyword) to component for all components with -an id constraint set</pre> - - - <a href="http://github.com/richhickey/clojure-contrib/blob/7188a51605136f36524e4091fe806859114d6056/src/main/clojure/clojure/contrib/miglayout.clj#L75" id="var-source">Source</a> -</div><div id="var-entry"> - <br /> - <hr /> - <h2 id="clojure.contrib.miglayout/miglayout">miglayout</h2> - <span id="var-type">function</span><br /> - <pre id="var-usage">Usage: (miglayout container & args) -</pre> - <pre id="var-docstr">Adds java.awt.Components to a javax.swing.JComponent with constraints -formatted for the MiGLayout layout manager. - -Arguments: container [item constraint*]* - - - container: the container for the specified components, its layout - manager will be set to a new instance of MigLayout - - - an inline series of items and constraints--each item may be followed - by zero or more constraints. - -Item: - - - An item is either a Component or one of the keywords :layout - :column or :row. Constraints for a keyword item affect the entire - layout. - -Constraint: string, keyword, vector, map, or set - - - A string specifies one or more constraints each with zero or more - arguments. - - A keyword specifies a single constraint without arguments - - A vector specifies a single constraint with one or more arguments - - A map specifies one or more constraints as keys, each mapped to a - single argument - - A set groups two or more constraints, each a string, keyword, - vector, map, or set - -Any items marked with an "id" constraint will be included in a map from -id to component attached to the container. The map can be retrieved using -clojure.contrib.miglayout/components.</pre> - - - <a href="http://github.com/richhickey/clojure-contrib/blob/7188a51605136f36524e4091fe806859114d6056/src/main/clojure/clojure/contrib/miglayout.clj#L37" id="var-source">Source</a> -</div> -<h2 id="namespace-name">miglayout.example</h2> -<pre id="namespace-docstr"></pre> - - -<br /> -<div id="var-entry"> - <hr /> - <h2 id="clojure.contrib.miglayout.example/converter-ui">converter-ui</h2> - <span id="var-type">function</span><br /> - <pre id="var-usage">Usage: (converter-ui) -</pre> - <pre id="var-docstr">Lays out and shows a Temperature Converter UI</pre> - - - <a href="http://github.com/richhickey/clojure-contrib/blob/5a9c017b14507dbdf4bb9c83faa7bf61a3a455d5/src/examples/clojure/clojure/contrib/miglayout/example.clj#L40" id="var-source">Source</a> -</div><div id="var-entry"> - <hr /> - <h2 id="clojure.contrib.miglayout.example/fahrenheit">fahrenheit</h2> - <span id="var-type">function</span><br /> - <pre id="var-usage">Usage: (fahrenheit celsius) -</pre> - <pre id="var-docstr">Converts a Celsius temperature to Fahrenheit. Input and output are -strings. Returns "input?" if the input can't be parsed as a Double.</pre> - - - <a href="http://github.com/richhickey/clojure-contrib/blob/5a9c017b14507dbdf4bb9c83faa7bf61a3a455d5/src/examples/clojure/clojure/contrib/miglayout/example.clj#L24" id="var-source">Source</a> -</div><div id="var-entry"> - <hr /> - <h2 id="clojure.contrib.miglayout.example/main">main</h2> - <span id="var-type">function</span><br /> - <pre id="var-usage">Usage: (main) -</pre> - <pre id="var-docstr">Invokes converter-ui in the AWT Event thread</pre> - - - <a href="http://github.com/richhickey/clojure-contrib/blob/5a9c017b14507dbdf4bb9c83faa7bf61a3a455d5/src/examples/clojure/clojure/contrib/miglayout/example.clj#L57" id="var-source">Source</a> -</div> -<h2 id="namespace-name">miglayout.internal</h2> -<pre id="namespace-docstr"></pre> - - -<br /> -<div id="var-entry"> - <hr /> - <h2 id="clojure.contrib.miglayout.internal/add-components">add-components</h2> - <span id="var-type">function</span><br /> - <pre id="var-usage">Usage: (add-components container components) -</pre> - <pre id="var-docstr">Adds components with constraints to a container</pre> - - - <a href="http://github.com/richhickey/clojure-contrib/blob/7188a51605136f36524e4091fe806859114d6056/src/main/clojure/clojure/contrib/miglayout/internal.clj#L94" id="var-source">Source</a> -</div><div id="var-entry"> - <hr /> - <h2 id="clojure.contrib.miglayout.internal/component?">component?</h2> - <span id="var-type">function</span><br /> - <pre id="var-usage">Usage: (component? x) -</pre> - <pre id="var-docstr">Returns true if x is a java.awt.Component</pre> - - - <a href="http://github.com/richhickey/clojure-contrib/blob/7188a51605136f36524e4091fe806859114d6056/src/main/clojure/clojure/contrib/miglayout/internal.clj#L59" id="var-source">Source</a> -</div><div id="var-entry"> - <hr /> - <h2 id="clojure.contrib.miglayout.internal/constraint?">constraint?</h2> - <span id="var-type">function</span><br /> - <pre id="var-usage">Usage: (constraint? x) -</pre> - <pre id="var-docstr">Returns true if x is not a keyword-item or component</pre> - - - <a href="http://github.com/richhickey/clojure-contrib/blob/7188a51605136f36524e4091fe806859114d6056/src/main/clojure/clojure/contrib/miglayout/internal.clj#L64" id="var-source">Source</a> -</div><div id="var-entry"> - <hr /> - <h2 id="clojure.contrib.miglayout.internal/do-layout">do-layout</h2> - <span id="var-type">function</span><br /> - <pre id="var-usage">Usage: (do-layout container layout column row components) -</pre> - <pre id="var-docstr">Attaches a MigLayout layout manager to container and adds components -with constraints</pre> - - - <a href="http://github.com/richhickey/clojure-contrib/blob/7188a51605136f36524e4091fe806859114d6056/src/main/clojure/clojure/contrib/miglayout/internal.clj#L114" id="var-source">Source</a> -</div><div id="var-entry"> - <hr /> - <h2 id="clojure.contrib.miglayout.internal/format-constraint">format-constraint</h2> - <span id="var-type">function</span><br /> - <pre id="var-usage">Usage: (format-constraint c) -</pre> - <pre id="var-docstr">Returns a vector of vectors representing one or more constraints -separated by commas. Constraints may be specified in Clojure using -strings, keywords, vectors, maps, and/or sets.</pre> - - - <a href="http://github.com/richhickey/clojure-contrib/blob/7188a51605136f36524e4091fe806859114d6056/src/main/clojure/clojure/contrib/miglayout/internal.clj#L32" id="var-source">Source</a> -</div><div id="var-entry"> - <hr /> - <h2 id="clojure.contrib.miglayout.internal/format-constraints">format-constraints</h2> - <span id="var-type">function</span><br /> - <pre id="var-usage">Usage: (format-constraints & constraints) -</pre> - <pre id="var-docstr">Returns a string representing all the constraints for one keyword-item -or component formatted for miglayout.</pre> - - - <a href="http://github.com/richhickey/clojure-contrib/blob/7188a51605136f36524e4091fe806859114d6056/src/main/clojure/clojure/contrib/miglayout/internal.clj#L47" id="var-source">Source</a> -</div><div id="var-entry"> - <hr /> - <h2 id="clojure.contrib.miglayout.internal/get-components">get-components</h2> - <span id="var-type">function</span><br /> - <pre id="var-usage">Usage: (get-components container) -</pre> - <pre id="var-docstr">Returns a map from id to component for all components with an id</pre> - - - <a href="http://github.com/richhickey/clojure-contrib/blob/7188a51605136f36524e4091fe806859114d6056/src/main/clojure/clojure/contrib/miglayout/internal.clj#L109" id="var-source">Source</a> -</div><div id="var-entry"> - <hr /> - <h2 id="clojure.contrib.miglayout.internal/parse-component-constraint">parse-component-constraint</h2> - <span id="var-type">function</span><br /> - <pre id="var-usage">Usage: (parse-component-constraint constraint) -</pre> - <pre id="var-docstr">Parses a component constraint string returning a CC object</pre> - - - <a href="http://github.com/richhickey/clojure-contrib/blob/7188a51605136f36524e4091fe806859114d6056/src/main/clojure/clojure/contrib/miglayout/internal.clj#L88" id="var-source">Source</a> -</div><div id="var-entry"> - <hr /> - <h2 id="clojure.contrib.miglayout.internal/parse-item-constraints">parse-item-constraints</h2> - <span id="var-type">function</span><br /> - <pre id="var-usage">Usage: (parse-item-constraints & args) -</pre> - <pre id="var-docstr">Iterates over args and builds a map containing values associated with -:keywords and :components. The value for :keywords is a map from keyword -items to constraints strings. The value for :components is a vector of -vectors each associating a component with its constraints string.</pre> - - - <a href="http://github.com/richhickey/clojure-contrib/blob/7188a51605136f36524e4091fe806859114d6056/src/main/clojure/clojure/contrib/miglayout/internal.clj#L71" id="var-source">Source</a> -</div> - - -</div> - </div> - </div> - </div> - </div> - <div id="foot"> - <div style="text-align: center;" id="copyright">Copyright 2007-2009 by Rich Hickey and the various contributors</div> - </div> - </div> - <div id="DesignedBy">Logo & site design by <a title="Visit Tom Hickey's website." href="http://www.tomhickey.com">Tom Hickey</a>.<br /> - Clojure auto-documentation system by Tom Faulhaber.</div> - </div> - <!-- /AllContentContainer --> - </body> - -</html>
\ No newline at end of file diff --git a/branch-master/mmap-api.html b/branch-master/mmap-api.html deleted file mode 100644 index 539486fc..00000000 --- a/branch-master/mmap-api.html +++ /dev/null @@ -1,138 +0,0 @@ -<html> - <head> - <title>mmap - clojure-contrib next API documentation</title> - <link href="../static/favicon.png" rel="icon" /> - <link href="../static/favicon.png" rel="shortcut icon" /> - <link media="all" type="text/css" href="../static/clojure.css" rel="stylesheet" /> - <link media="all" type="text/css" href="../static/wiki.css" rel="stylesheet" /> - <link media="all" type="text/css" href="../static/internal.css" rel="stylesheet" /> - <!-- TODO: are we using these (from clojure.org)? If so, add the files --> - <script src="file/view/code_highlighter.js" type="text/javascript"></script> - <script src="file/view/clojure.js" type="text/javascript"></script> - <style>.menuWrapper{height: 36px;}</style> - <!--[if lte IE 6]> - <link rel="stylesheet" href="http://www.wikispaces.com/_/2009051601/s/internal_ie.css" type="text/css" /> - <![endif]--> - </head> -<!-- -This document was auto-generated from the source by the clojure autodoc system. -To report errors or ask questions about the overall documentation structure, formatting, -etc., contact Tom Faulhaber (google mail name: tomfaulhaber). -For errors in the documentation of a particular namespace, contact the author of that -namespace. ---> - <body> - <div id="AllContentContainer"> - <div id="Header"> - <a id="Logo" href="index.html"><img alt="Clojure" height="100" width="100" src="../static/clojure-icon.gif" /></a> - <h1><a title="page header title" id="page-header" href="index.html">Clojure-contrib API Reference</a></h1> - </div> - <div id="leftcolumn"><div style="text-align: center;"></div> -<div class="menu"> - <div class="WikiCustomNav WikiElement wiki"> - <span class="toc-header"><span id="project-name">clojure-contrib</span> <span id="version">next</span> API</span><br /> - <ul> - <li><a class="wiki_link" href="index.html">Overview</a></li> - <li><a class="wiki_link" href="api-index.html">API Index</a></li> - </ul> - <span class="toc-header">Namespaces</span> - <ul id="left-sidebar-list"> - <li><a href="accumulators-api.html" class="wiki_link">accumulators</a></li><li><a href="agent-utils-api.html" class="wiki_link">agent-utils</a></li><li><a href="apply-macro-api.html" class="wiki_link">apply-macro</a></li><li><a href="base64-api.html" class="wiki_link">base64</a></li><li><a href="classpath-api.html" class="wiki_link">classpath</a></li><li><a href="combinatorics-api.html" class="wiki_link">combinatorics</a></li><li><a href="command-line-api.html" class="wiki_link">command-line</a></li><li><a href="complex-numbers-api.html" class="wiki_link">complex-numbers</a></li><li><a href="cond-api.html" class="wiki_link">cond</a></li><li><a href="condition-api.html" class="wiki_link">condition</a></li><li><a href="core-api.html" class="wiki_link">core</a></li><li><a href="dataflow-api.html" class="wiki_link">dataflow</a></li><li><a href="datalog-api.html" class="wiki_link">datalog</a></li><li><a href="def-api.html" class="wiki_link">def</a></li><li><a href="duck-streams-api.html" class="wiki_link">duck-streams</a></li><li><a href="error-kit-api.html" class="wiki_link">error-kit</a></li><li><a href="except-api.html" class="wiki_link">except</a></li><li><a href="fcase-api.html" class="wiki_link">fcase</a></li><li><a href="find-namespaces-api.html" class="wiki_link">find-namespaces</a></li><li><a href="fnmap-api.html" class="wiki_link">fnmap</a></li><li><a href="gen-html-docs-api.html" class="wiki_link">gen-html-docs</a></li><li><a href="generic.arithmetic-api.html" class="wiki_link">generic.arithmetic</a></li><li><a href="generic.collection-api.html" class="wiki_link">generic.collection</a></li><li><a href="generic.comparison-api.html" class="wiki_link">generic.comparison</a></li><li><a href="generic.functor-api.html" class="wiki_link">generic.functor</a></li><li><a href="generic.math-functions-api.html" class="wiki_link">generic.math-functions</a></li><li><a href="graph-api.html" class="wiki_link">graph</a></li><li><a href="greatest-least-api.html" class="wiki_link">greatest-least</a></li><li><a href="http.agent-api.html" class="wiki_link">http.agent</a></li><li><a href="http.connection-api.html" class="wiki_link">http.connection</a></li><li><a href="import-static-api.html" class="wiki_link">import-static</a></li><li><a href="io-api.html" class="wiki_link">io</a></li><li><a href="jar-api.html" class="wiki_link">jar</a></li><li><a href="java-utils-api.html" class="wiki_link">java-utils</a></li><li><a href="javadoc.browse-api.html" class="wiki_link">javadoc.browse</a></li><li><a href="jmx-api.html" class="wiki_link">jmx</a></li><li><a href="json-api.html" class="wiki_link">json</a></li><li><a href="lazy-seqs-api.html" class="wiki_link">lazy-seqs</a></li><li><a href="lazy-xml-api.html" class="wiki_link">lazy-xml</a></li><li><a href="logging-api.html" class="wiki_link">logging</a></li><li><a href="macro-utils-api.html" class="wiki_link">macro-utils</a></li><li><a href="macros-api.html" class="wiki_link">macros</a></li><li><a href="map-utils-api.html" class="wiki_link">map-utils</a></li><li><a href="math-api.html" class="wiki_link">math</a></li><li><a href="miglayout-api.html" class="wiki_link">miglayout</a></li><li><a href="mmap-api.html" class="wiki_link">mmap</a></li><li><a href="mock-api.html" class="wiki_link">mock</a></li><li><a href="monadic-io-streams-api.html" class="wiki_link">monadic-io-streams</a></li><li><a href="monads-api.html" class="wiki_link">monads</a></li><li><a href="ns-utils-api.html" class="wiki_link">ns-utils</a></li><li><a href="pprint-api.html" class="wiki_link">pprint</a></li><li><a href="priority-map-api.html" class="wiki_link">priority-map</a></li><li><a href="probabilities.finite-distributions-api.html" class="wiki_link">probabilities.finite-distributions</a></li><li><a href="probabilities.monte-carlo-api.html" class="wiki_link">probabilities.monte-carlo</a></li><li><a href="probabilities.random-numbers-api.html" class="wiki_link">probabilities.random-numbers</a></li><li><a href="profile-api.html" class="wiki_link">profile</a></li><li><a href="properties-api.html" class="wiki_link">properties</a></li><li><a href="prxml-api.html" class="wiki_link">prxml</a></li><li><a href="reflect-api.html" class="wiki_link">reflect</a></li><li><a href="repl-ln-api.html" class="wiki_link">repl-ln</a></li><li><a href="repl-utils-api.html" class="wiki_link">repl-utils</a></li><li><a href="seq-api.html" class="wiki_link">seq</a></li><li><a href="seq-utils-api.html" class="wiki_link">seq-utils</a></li><li><a href="server-socket-api.html" class="wiki_link">server-socket</a></li><li><a href="set-api.html" class="wiki_link">set</a></li><li><a href="shell-api.html" class="wiki_link">shell</a></li><li><a href="shell-out-api.html" class="wiki_link">shell-out</a></li><li><a href="singleton-api.html" class="wiki_link">singleton</a></li><li><a href="sql-api.html" class="wiki_link">sql</a></li><li><a href="str-utils-api.html" class="wiki_link">str-utils</a></li><li><a href="str-utils2-api.html" class="wiki_link">str-utils2</a></li><li><a href="stream-utils-api.html" class="wiki_link">stream-utils</a></li><li><a href="string-api.html" class="wiki_link">string</a></li><li><a href="strint-api.html" class="wiki_link">strint</a></li><li><a href="swing-utils-api.html" class="wiki_link">swing-utils</a></li><li><a href="test-is-api.html" class="wiki_link">test-is</a></li><li><a href="trace-api.html" class="wiki_link">trace</a></li><li><a href="types-api.html" class="wiki_link">types</a></li><li><a href="with-ns-api.html" class="wiki_link">with-ns</a></li><li><a href="zip-filter-api.html" class="wiki_link">zip-filter</a></li> - </ul> - <div class="BranchTOC"> - <span class="toc-header">Other Versions</span> - <ul id="left-sidebar-branch-list"> - <li><a href="../index.html" class="wiki_link">v1.2 (beta 1)</a></li><li><a href="../branch-1.1.x/index.html" class="wiki_link">v1.1 (stable)</a></li> - </ul> - </div> - <a href="http://clojure.org" class="wiki_link">Clojure Home</a> - </div> -</div> -</div> - <div id="rightcolumn"> - <div id="Content"> - <div class="contentBox"><div class="innerContentBox"> - <div id="content_view" class="wiki wikiPage"> - <div id="right-sidebar"><div id="toc"> - <h1 class="nopad">Table of Contents</h1> - <div style="margin-left: 1em;" class="toc-section"> - <a href="#toc0">Overview</a> - <div style="margin-left: 1em;" class="toc-entry"> - <a href="#clojure.contrib.mmap/buffer-stream">buffer-stream</a> - </div><div style="margin-left: 1em;" class="toc-entry"> - <a href="#clojure.contrib.mmap/mmap">mmap</a> - </div><div style="margin-left: 1em;" class="toc-entry"> - <a href="#clojure.contrib.mmap/slurp">slurp</a> - </div> - <br /> - </div> -</div> -</div> - <div id="content-tag"><h1 id="overview">API for <span id="namespace-name">mmap</span> - - <span id="header-project">clojure-contrib</span> <span id="header-version">next</span> (<span id="header-status">in development</span>) - </h1> -<span id="author-line">by <span id="author-name">Chris Houser</span><br /></span> -<br />Usage: -<pre> -(ns your-namespace - (:require <span id="long-name">clojure.contrib.mmap</span>)) -</pre><pre> -</pre><h2>Overview</h2> -<pre id="namespace-docstr">Functions for memory-mapping files, plus some functions that use a -mmaped file for "normal" activies -- slurp, load-file, etc.</pre> - - -<br /> -<h2>Public Variables and Functions</h2> -<div id="var-entry"> - <br /> - <hr /> - <h2 id="clojure.contrib.mmap/buffer-stream">buffer-stream</h2> - <span id="var-type">function</span><br /> - <pre id="var-usage">Usage: (buffer-stream buf) -</pre> - <pre id="var-docstr">Returns an InputStream for a ByteBuffer, such as returned by mmap.</pre> - - - <a href="http://github.com/richhickey/clojure-contrib/blob/7188a51605136f36524e4091fe806859114d6056/src/main/clojure/clojure/contrib/mmap.clj#L39" id="var-source">Source</a> -</div><div id="var-entry"> - <br /> - <hr /> - <h2 id="clojure.contrib.mmap/mmap">mmap</h2> - <span id="var-type">function</span><br /> - <pre id="var-usage">Usage: (mmap f) -</pre> - <pre id="var-docstr">Memory-map the file named f. Returns a ByteBuffer.</pre> - - - <a href="http://github.com/richhickey/clojure-contrib/blob/7188a51605136f36524e4091fe806859114d6056/src/main/clojure/clojure/contrib/mmap.clj#L27" id="var-source">Source</a> -</div><div id="var-entry"> - <br /> - <hr /> - <h2 id="clojure.contrib.mmap/slurp">slurp</h2> - <span id="var-type">function</span><br /> - <pre id="var-usage">Usage: (slurp f) -</pre> - <pre id="var-docstr">Reads the file named by f and returns it as a string.</pre> - - - <a href="http://github.com/richhickey/clojure-contrib/blob/7188a51605136f36524e4091fe806859114d6056/src/main/clojure/clojure/contrib/mmap.clj#L33" id="var-source">Source</a> -</div> - - -</div> - </div> - </div> - </div> - </div> - <div id="foot"> - <div style="text-align: center;" id="copyright">Copyright 2007-2009 by Rich Hickey and the various contributors</div> - </div> - </div> - <div id="DesignedBy">Logo & site design by <a title="Visit Tom Hickey's website." href="http://www.tomhickey.com">Tom Hickey</a>.<br /> - Clojure auto-documentation system by Tom Faulhaber.</div> - </div> - <!-- /AllContentContainer --> - </body> - -</html>
\ No newline at end of file diff --git a/branch-master/mock-api.html b/branch-master/mock-api.html deleted file mode 100644 index 551de504..00000000 --- a/branch-master/mock-api.html +++ /dev/null @@ -1,454 +0,0 @@ -<html> - <head> - <title>mock - clojure-contrib next API documentation</title> - <link href="../static/favicon.png" rel="icon" /> - <link href="../static/favicon.png" rel="shortcut icon" /> - <link media="all" type="text/css" href="../static/clojure.css" rel="stylesheet" /> - <link media="all" type="text/css" href="../static/wiki.css" rel="stylesheet" /> - <link media="all" type="text/css" href="../static/internal.css" rel="stylesheet" /> - <!-- TODO: are we using these (from clojure.org)? If so, add the files --> - <script src="file/view/code_highlighter.js" type="text/javascript"></script> - <script src="file/view/clojure.js" type="text/javascript"></script> - <style>.menuWrapper{height: 36px;}</style> - <!--[if lte IE 6]> - <link rel="stylesheet" href="http://www.wikispaces.com/_/2009051601/s/internal_ie.css" type="text/css" /> - <![endif]--> - </head> -<!-- -This document was auto-generated from the source by the clojure autodoc system. -To report errors or ask questions about the overall documentation structure, formatting, -etc., contact Tom Faulhaber (google mail name: tomfaulhaber). -For errors in the documentation of a particular namespace, contact the author of that -namespace. ---> - <body> - <div id="AllContentContainer"> - <div id="Header"> - <a id="Logo" href="index.html"><img alt="Clojure" height="100" width="100" src="../static/clojure-icon.gif" /></a> - <h1><a title="page header title" id="page-header" href="index.html">Clojure-contrib API Reference</a></h1> - </div> - <div id="leftcolumn"><div style="text-align: center;"></div> -<div class="menu"> - <div class="WikiCustomNav WikiElement wiki"> - <span class="toc-header"><span id="project-name">clojure-contrib</span> <span id="version">next</span> API</span><br /> - <ul> - <li><a class="wiki_link" href="index.html">Overview</a></li> - <li><a class="wiki_link" href="api-index.html">API Index</a></li> - </ul> - <span class="toc-header">Namespaces</span> - <ul id="left-sidebar-list"> - <li><a href="accumulators-api.html" class="wiki_link">accumulators</a></li><li><a href="agent-utils-api.html" class="wiki_link">agent-utils</a></li><li><a href="apply-macro-api.html" class="wiki_link">apply-macro</a></li><li><a href="base64-api.html" class="wiki_link">base64</a></li><li><a href="classpath-api.html" class="wiki_link">classpath</a></li><li><a href="combinatorics-api.html" class="wiki_link">combinatorics</a></li><li><a href="command-line-api.html" class="wiki_link">command-line</a></li><li><a href="complex-numbers-api.html" class="wiki_link">complex-numbers</a></li><li><a href="cond-api.html" class="wiki_link">cond</a></li><li><a href="condition-api.html" class="wiki_link">condition</a></li><li><a href="core-api.html" class="wiki_link">core</a></li><li><a href="dataflow-api.html" class="wiki_link">dataflow</a></li><li><a href="datalog-api.html" class="wiki_link">datalog</a></li><li><a href="def-api.html" class="wiki_link">def</a></li><li><a href="duck-streams-api.html" class="wiki_link">duck-streams</a></li><li><a href="error-kit-api.html" class="wiki_link">error-kit</a></li><li><a href="except-api.html" class="wiki_link">except</a></li><li><a href="fcase-api.html" class="wiki_link">fcase</a></li><li><a href="find-namespaces-api.html" class="wiki_link">find-namespaces</a></li><li><a href="fnmap-api.html" class="wiki_link">fnmap</a></li><li><a href="gen-html-docs-api.html" class="wiki_link">gen-html-docs</a></li><li><a href="generic.arithmetic-api.html" class="wiki_link">generic.arithmetic</a></li><li><a href="generic.collection-api.html" class="wiki_link">generic.collection</a></li><li><a href="generic.comparison-api.html" class="wiki_link">generic.comparison</a></li><li><a href="generic.functor-api.html" class="wiki_link">generic.functor</a></li><li><a href="generic.math-functions-api.html" class="wiki_link">generic.math-functions</a></li><li><a href="graph-api.html" class="wiki_link">graph</a></li><li><a href="greatest-least-api.html" class="wiki_link">greatest-least</a></li><li><a href="http.agent-api.html" class="wiki_link">http.agent</a></li><li><a href="http.connection-api.html" class="wiki_link">http.connection</a></li><li><a href="import-static-api.html" class="wiki_link">import-static</a></li><li><a href="io-api.html" class="wiki_link">io</a></li><li><a href="jar-api.html" class="wiki_link">jar</a></li><li><a href="java-utils-api.html" class="wiki_link">java-utils</a></li><li><a href="javadoc.browse-api.html" class="wiki_link">javadoc.browse</a></li><li><a href="jmx-api.html" class="wiki_link">jmx</a></li><li><a href="json-api.html" class="wiki_link">json</a></li><li><a href="lazy-seqs-api.html" class="wiki_link">lazy-seqs</a></li><li><a href="lazy-xml-api.html" class="wiki_link">lazy-xml</a></li><li><a href="logging-api.html" class="wiki_link">logging</a></li><li><a href="macro-utils-api.html" class="wiki_link">macro-utils</a></li><li><a href="macros-api.html" class="wiki_link">macros</a></li><li><a href="map-utils-api.html" class="wiki_link">map-utils</a></li><li><a href="math-api.html" class="wiki_link">math</a></li><li><a href="miglayout-api.html" class="wiki_link">miglayout</a></li><li><a href="mmap-api.html" class="wiki_link">mmap</a></li><li><a href="mock-api.html" class="wiki_link">mock</a></li><li><a href="monadic-io-streams-api.html" class="wiki_link">monadic-io-streams</a></li><li><a href="monads-api.html" class="wiki_link">monads</a></li><li><a href="ns-utils-api.html" class="wiki_link">ns-utils</a></li><li><a href="pprint-api.html" class="wiki_link">pprint</a></li><li><a href="priority-map-api.html" class="wiki_link">priority-map</a></li><li><a href="probabilities.finite-distributions-api.html" class="wiki_link">probabilities.finite-distributions</a></li><li><a href="probabilities.monte-carlo-api.html" class="wiki_link">probabilities.monte-carlo</a></li><li><a href="probabilities.random-numbers-api.html" class="wiki_link">probabilities.random-numbers</a></li><li><a href="profile-api.html" class="wiki_link">profile</a></li><li><a href="properties-api.html" class="wiki_link">properties</a></li><li><a href="prxml-api.html" class="wiki_link">prxml</a></li><li><a href="reflect-api.html" class="wiki_link">reflect</a></li><li><a href="repl-ln-api.html" class="wiki_link">repl-ln</a></li><li><a href="repl-utils-api.html" class="wiki_link">repl-utils</a></li><li><a href="seq-api.html" class="wiki_link">seq</a></li><li><a href="seq-utils-api.html" class="wiki_link">seq-utils</a></li><li><a href="server-socket-api.html" class="wiki_link">server-socket</a></li><li><a href="set-api.html" class="wiki_link">set</a></li><li><a href="shell-api.html" class="wiki_link">shell</a></li><li><a href="shell-out-api.html" class="wiki_link">shell-out</a></li><li><a href="singleton-api.html" class="wiki_link">singleton</a></li><li><a href="sql-api.html" class="wiki_link">sql</a></li><li><a href="str-utils-api.html" class="wiki_link">str-utils</a></li><li><a href="str-utils2-api.html" class="wiki_link">str-utils2</a></li><li><a href="stream-utils-api.html" class="wiki_link">stream-utils</a></li><li><a href="string-api.html" class="wiki_link">string</a></li><li><a href="strint-api.html" class="wiki_link">strint</a></li><li><a href="swing-utils-api.html" class="wiki_link">swing-utils</a></li><li><a href="test-is-api.html" class="wiki_link">test-is</a></li><li><a href="trace-api.html" class="wiki_link">trace</a></li><li><a href="types-api.html" class="wiki_link">types</a></li><li><a href="with-ns-api.html" class="wiki_link">with-ns</a></li><li><a href="zip-filter-api.html" class="wiki_link">zip-filter</a></li> - </ul> - <div class="BranchTOC"> - <span class="toc-header">Other Versions</span> - <ul id="left-sidebar-branch-list"> - <li><a href="../index.html" class="wiki_link">v1.2 (beta 1)</a></li><li><a href="../branch-1.1.x/index.html" class="wiki_link">v1.1 (stable)</a></li> - </ul> - </div> - <a href="http://clojure.org" class="wiki_link">Clojure Home</a> - </div> -</div> -</div> - <div id="rightcolumn"> - <div id="Content"> - <div class="contentBox"><div class="innerContentBox"> - <div id="content_view" class="wiki wikiPage"> - <div id="right-sidebar"><div id="toc"> - <h1 class="nopad">Table of Contents</h1> - <div style="margin-left: 1em;" class="toc-section"> - <a href="#toc0">Overview</a> - <div style="margin-left: 1em;" class="toc-entry"> - <a href="#clojure.contrib.mock/calls">calls</a> - </div><div style="margin-left: 1em;" class="toc-entry"> - <a href="#clojure.contrib.mock/expect">expect</a> - </div><div style="margin-left: 1em;" class="toc-entry"> - <a href="#clojure.contrib.mock/has-args">has-args</a> - </div><div style="margin-left: 1em;" class="toc-entry"> - <a href="#clojure.contrib.mock/has-matching-signature?">has-matching-signature?</a> - </div><div style="margin-left: 1em;" class="toc-entry"> - <a href="#clojure.contrib.mock/make-arg-checker">make-arg-checker</a> - </div><div style="margin-left: 1em;" class="toc-entry"> - <a href="#clojure.contrib.mock/make-count-checker">make-count-checker</a> - </div><div style="margin-left: 1em;" class="toc-entry"> - <a href="#clojure.contrib.mock/make-mock">make-mock</a> - </div><div style="margin-left: 1em;" class="toc-entry"> - <a href="#clojure.contrib.mock/returns">returns</a> - </div><div style="margin-left: 1em;" class="toc-entry"> - <a href="#clojure.contrib.mock/times">times</a> - </div><div style="margin-left: 1em;" class="toc-entry"> - <a href="#clojure.contrib.mock/validate-counts">validate-counts</a> - </div> - <br /> - </div><div style="margin-left: 1em;" class="toc-section"> - <a href="#mock.test-adapter">mock.test-adapter</a> - <div style="margin-left: 1em;" class="toc-entry"> - <a href="#clojure.contrib.mock.test-adapter/calls">calls</a> - </div><div style="margin-left: 1em;" class="toc-entry"> - <a href="#clojure.contrib.mock.test-adapter/has-args">has-args</a> - </div><div style="margin-left: 1em;" class="toc-entry"> - <a href="#clojure.contrib.mock.test-adapter/has-matching-signature?">has-matching-signature?</a> - </div><div style="margin-left: 1em;" class="toc-entry"> - <a href="#clojure.contrib.mock.test-adapter/make-arg-checker">make-arg-checker</a> - </div><div style="margin-left: 1em;" class="toc-entry"> - <a href="#clojure.contrib.mock.test-adapter/make-count-checker">make-count-checker</a> - </div><div style="margin-left: 1em;" class="toc-entry"> - <a href="#clojure.contrib.mock.test-adapter/make-mock">make-mock</a> - </div><div style="margin-left: 1em;" class="toc-entry"> - <a href="#clojure.contrib.mock.test-adapter/report-problem">report-problem</a> - </div><div style="margin-left: 1em;" class="toc-entry"> - <a href="#clojure.contrib.mock.test-adapter/returns">returns</a> - </div><div style="margin-left: 1em;" class="toc-entry"> - <a href="#clojure.contrib.mock.test-adapter/times">times</a> - </div><div style="margin-left: 1em;" class="toc-entry"> - <a href="#clojure.contrib.mock.test-adapter/validate-counts">validate-counts</a> - </div> - <br /> - </div> -</div> -</div> - <div id="content-tag"><h1 id="overview">API for <span id="namespace-name">mock</span> - - <span id="header-project">clojure-contrib</span> <span id="header-version">next</span> (<span id="header-status">in development</span>) - </h1> - -<br />Usage: -<pre> -(ns your-namespace - (:require <span id="long-name">clojure.contrib.mock</span>)) -</pre><pre> -</pre><h2>Overview</h2> -<pre id="namespace-docstr"></pre> - - -<br /> -<h2>Public Variables and Functions</h2> -<div id="var-entry"> - <br /> - <hr /> - <h2 id="clojure.contrib.mock/calls">calls</h2> - <span id="var-type">function</span><br /> - <pre id="var-usage">Usage: (calls val) - (calls val expectation-hash) -</pre> - <pre id="var-docstr">Creates or associates to an existing expectation hash the :calls key with a -function that will be called with the given arguments. The return value from -this function will be returned returned by the expected function. If both this -and returns are specified, the return value of "calls" will have precedence. -Usage: -(calls some-fn expectation-hash?)</pre> - - - <a href="http://github.com/richhickey/clojure-contrib/blob/7188a51605136f36524e4091fe806859114d6056/src/main/clojure/clojure/contrib/mock.clj#L216" id="var-source">Source</a> -</div><div id="var-entry"> - <br /> - <hr /> - <h2 id="clojure.contrib.mock/expect">expect</h2> - <span id="var-type">macro</span><br /> - <pre id="var-usage">Usage: (expect expect-bindings & body) -</pre> - <pre id="var-docstr">Use expect to redirect calls to dependent functions that are made within the -code under test. Instead of calling the functions that would normally be used, -temporary stubs are used, which can verify function parameters and call counts. -Return values can also be specified as needed. -Usage: -(expect [dep-fn (has-args [arg-pred1] (times n (returns x)))] - (function-under-test a b c))</pre> - - - <a href="http://github.com/richhickey/clojure-contrib/blob/7188a51605136f36524e4091fe806859114d6056/src/main/clojure/clojure/contrib/mock.clj#L265" id="var-source">Source</a> -</div><div id="var-entry"> - <br /> - <hr /> - <h2 id="clojure.contrib.mock/has-args">has-args</h2> - <span id="var-type">macro</span><br /> - <pre id="var-usage">Usage: (has-args arg-pred-forms) - (has-args arg-pred-forms expect-hash-form) -</pre> - <pre id="var-docstr">Creates or associates to an existing expectation hash the :has-args key with -a value corresponding to a function that will either return true if its -argument expectations are met or throw an exception with the details of the -first failed argument it encounters. -Only specify as many predicates as you are interested in verifying. The rest -of the values are safely ignored. -Usage: -(has-args [arg-pred-1 arg-pred-2 ... arg-pred-n] expectation-hash?)</pre> - - - <a href="http://github.com/richhickey/clojure-contrib/blob/7188a51605136f36524e4091fe806859114d6056/src/main/clojure/clojure/contrib/mock.clj#L228" id="var-source">Source</a> -</div><div id="var-entry"> - <br /> - <hr /> - <h2 id="clojure.contrib.mock/has-matching-signature?">has-matching-signature?</h2> - <span id="var-type">function</span><br /> - <pre id="var-usage">Usage: (has-matching-signature? fn-name args) -</pre> - <pre id="var-docstr">Calls no-matching-function-signature if no match is found for the given -function. If no argslist meta data is available for the function, it is -not called.</pre> - - - <a href="http://github.com/richhickey/clojure-contrib/blob/7188a51605136f36524e4091fe806859114d6056/src/main/clojure/clojure/contrib/mock.clj#L105" id="var-source">Source</a> -</div><div id="var-entry"> - <br /> - <hr /> - <h2 id="clojure.contrib.mock/make-arg-checker">make-arg-checker</h2> - <span id="var-type">function</span><br /> - <pre id="var-usage">Usage: (make-arg-checker arg-preds arg-pred-forms) -</pre> - <pre id="var-docstr">Creates the argument verifying function for a replaced dependency within -the expectation bound scope. These functions take the additional argument -of the name of the replaced function, then the rest of their args. It is -designed to be called from the mock function generated in the first argument -of the mock info object created by make-mock.</pre> - - - <a href="http://github.com/richhickey/clojure-contrib/blob/7188a51605136f36524e4091fe806859114d6056/src/main/clojure/clojure/contrib/mock.clj#L116" id="var-source">Source</a> -</div><div id="var-entry"> - <br /> - <hr /> - <h2 id="clojure.contrib.mock/make-count-checker">make-count-checker</h2> - <span id="var-type">function</span><br /> - <pre id="var-usage">Usage: (make-count-checker pred pred-form) -</pre> - <pre id="var-docstr">creates the count checker that is invoked at the end of an expectation, after -the code under test has all been executed. The function returned takes the -name of the associated dependency and the invocation count as arguments.</pre> - - - <a href="http://github.com/richhickey/clojure-contrib/blob/7188a51605136f36524e4091fe806859114d6056/src/main/clojure/clojure/contrib/mock.clj#L131" id="var-source">Source</a> -</div><div id="var-entry"> - <br /> - <hr /> - <h2 id="clojure.contrib.mock/make-mock">make-mock</h2> - <span id="var-type">function</span><br /> - <pre id="var-usage">Usage: (make-mock fn-name expectation-hash) -</pre> - <pre id="var-docstr">creates a vector containing the following information for the named function: -1. dependent function replacement - verifies signature, calls arg checker, -increases count, returns return value. -2. an atom containing the invocation count -3. the invocation count checker function -4. a symbol of the name of the function being replaced.</pre> - - - <a href="http://github.com/richhickey/clojure-contrib/blob/7188a51605136f36524e4091fe806859114d6056/src/main/clojure/clojure/contrib/mock.clj#L150" id="var-source">Source</a> -</div><div id="var-entry"> - <br /> - <hr /> - <h2 id="clojure.contrib.mock/returns">returns</h2> - <span id="var-type">function</span><br /> - <pre id="var-usage">Usage: (returns val) - (returns val expectation-hash) -</pre> - <pre id="var-docstr">Creates or associates to an existing expectation hash the :returns key with -a value to be returned by the expectation after a successful invocation -matching its expected arguments (if applicable). -Usage: -(returns ret-value expectation-hash?)</pre> - - - <a href="http://github.com/richhickey/clojure-contrib/blob/7188a51605136f36524e4091fe806859114d6056/src/main/clojure/clojure/contrib/mock.clj#L205" id="var-source">Source</a> -</div><div id="var-entry"> - <br /> - <hr /> - <h2 id="clojure.contrib.mock/times">times</h2> - <span id="var-type">macro</span><br /> - <pre id="var-usage">Usage: (times times-fn) - (times times-fn expectation-hash) -</pre> - <pre id="var-docstr">Creates or associates to an existing expectation hash the :times key with a -value corresponding to a predicate function which expects an integer value. -This function can either be specified as the first argument to times or can be -the result of calling times with an integer argument, in which case the -predicate will default to being an exact match. This predicate is called at -the end of an expect expression to validate that an expected dependency -function was called the expected number of times. -Usage: -(times n) -(times #(> n %)) -(times n expectation-hash)</pre> - - - <a href="http://github.com/richhickey/clojure-contrib/blob/7188a51605136f36524e4091fe806859114d6056/src/main/clojure/clojure/contrib/mock.clj#L246" id="var-source">Source</a> -</div><div id="var-entry"> - <br /> - <hr /> - <h2 id="clojure.contrib.mock/validate-counts">validate-counts</h2> - <span id="var-type">function</span><br /> - <pre id="var-usage">Usage: (validate-counts mock-data) -</pre> - <pre id="var-docstr">given the sequence of all mock data for the expectation, simply calls the -count checker for each dependency.</pre> - - - <a href="http://github.com/richhickey/clojure-contrib/blob/7188a51605136f36524e4091fe806859114d6056/src/main/clojure/clojure/contrib/mock.clj#L175" id="var-source">Source</a> -</div> -<h2 id="namespace-name">mock.test-adapter</h2> -<pre id="namespace-docstr"></pre> - - -<br /> -<div id="var-entry"> - <hr /> - <h2 id="clojure.contrib.mock.test-adapter/calls">calls</h2> - <span id="var-type">function</span><br /> - <pre id="var-usage">Usage: (calls val) - (calls val expectation-hash) -</pre> - <pre id="var-docstr">Creates or associates to an existing expectation hash the :calls key with a -function that will be called with the given arguments. The return value from -this function will be returned returned by the expected function. If both this -and returns are specified, the return value of "calls" will have precedence. -Usage: -(calls some-fn expectation-hash?)</pre> - - - <a href="http://github.com/richhickey/clojure-contrib/blob/7188a51605136f36524e4091fe806859114d6056/src/main/clojure/clojure/contrib/mock.clj#L216" id="var-source">Source</a> -</div><div id="var-entry"> - <hr /> - <h2 id="clojure.contrib.mock.test-adapter/has-args">has-args</h2> - <span id="var-type">macro</span><br /> - <pre id="var-usage">Usage: (has-args arg-pred-forms) - (has-args arg-pred-forms expect-hash-form) -</pre> - <pre id="var-docstr">Creates or associates to an existing expectation hash the :has-args key with -a value corresponding to a function that will either return true if its -argument expectations are met or throw an exception with the details of the -first failed argument it encounters. -Only specify as many predicates as you are interested in verifying. The rest -of the values are safely ignored. -Usage: -(has-args [arg-pred-1 arg-pred-2 ... arg-pred-n] expectation-hash?)</pre> - - - <a href="http://github.com/richhickey/clojure-contrib/blob/7188a51605136f36524e4091fe806859114d6056/src/main/clojure/clojure/contrib/mock.clj#L228" id="var-source">Source</a> -</div><div id="var-entry"> - <hr /> - <h2 id="clojure.contrib.mock.test-adapter/has-matching-signature?">has-matching-signature?</h2> - <span id="var-type">function</span><br /> - <pre id="var-usage">Usage: (has-matching-signature? fn-name args) -</pre> - <pre id="var-docstr">Calls no-matching-function-signature if no match is found for the given -function. If no argslist meta data is available for the function, it is -not called.</pre> - - - <a href="http://github.com/richhickey/clojure-contrib/blob/7188a51605136f36524e4091fe806859114d6056/src/main/clojure/clojure/contrib/mock.clj#L105" id="var-source">Source</a> -</div><div id="var-entry"> - <hr /> - <h2 id="clojure.contrib.mock.test-adapter/make-arg-checker">make-arg-checker</h2> - <span id="var-type">function</span><br /> - <pre id="var-usage">Usage: (make-arg-checker arg-preds arg-pred-forms) -</pre> - <pre id="var-docstr">Creates the argument verifying function for a replaced dependency within -the expectation bound scope. These functions take the additional argument -of the name of the replaced function, then the rest of their args. It is -designed to be called from the mock function generated in the first argument -of the mock info object created by make-mock.</pre> - - - <a href="http://github.com/richhickey/clojure-contrib/blob/7188a51605136f36524e4091fe806859114d6056/src/main/clojure/clojure/contrib/mock.clj#L116" id="var-source">Source</a> -</div><div id="var-entry"> - <hr /> - <h2 id="clojure.contrib.mock.test-adapter/make-count-checker">make-count-checker</h2> - <span id="var-type">function</span><br /> - <pre id="var-usage">Usage: (make-count-checker pred pred-form) -</pre> - <pre id="var-docstr">creates the count checker that is invoked at the end of an expectation, after -the code under test has all been executed. The function returned takes the -name of the associated dependency and the invocation count as arguments.</pre> - - - <a href="http://github.com/richhickey/clojure-contrib/blob/7188a51605136f36524e4091fe806859114d6056/src/main/clojure/clojure/contrib/mock.clj#L131" id="var-source">Source</a> -</div><div id="var-entry"> - <hr /> - <h2 id="clojure.contrib.mock.test-adapter/make-mock">make-mock</h2> - <span id="var-type">function</span><br /> - <pre id="var-usage">Usage: (make-mock fn-name expectation-hash) -</pre> - <pre id="var-docstr">creates a vector containing the following information for the named function: -1. dependent function replacement - verifies signature, calls arg checker, -increases count, returns return value. -2. an atom containing the invocation count -3. the invocation count checker function -4. a symbol of the name of the function being replaced.</pre> - - - <a href="http://github.com/richhickey/clojure-contrib/blob/7188a51605136f36524e4091fe806859114d6056/src/main/clojure/clojure/contrib/mock.clj#L150" id="var-source">Source</a> -</div><div id="var-entry"> - <hr /> - <h2 id="clojure.contrib.mock.test-adapter/report-problem">report-problem</h2> - <span id="var-type">function</span><br /> - <pre id="var-usage">Usage: (report-problem fn-name expected actual msg) -</pre> - <pre id="var-docstr">This function is designed to be used in a binding macro to override -the report-problem function in clojure.contrib.mock. Instead of printing -the error to the console, the error is logged via clojure.test.</pre> - - - <a href="http://github.com/richhickey/clojure-contrib/blob/2ede388a9267d175bfaa7781ee9d57532eb4f20f/src/main/clojure/clojure/contrib/mock/test_adapter.clj#L19" id="var-source">Source</a> -</div><div id="var-entry"> - <hr /> - <h2 id="clojure.contrib.mock.test-adapter/returns">returns</h2> - <span id="var-type">function</span><br /> - <pre id="var-usage">Usage: (returns val) - (returns val expectation-hash) -</pre> - <pre id="var-docstr">Creates or associates to an existing expectation hash the :returns key with -a value to be returned by the expectation after a successful invocation -matching its expected arguments (if applicable). -Usage: -(returns ret-value expectation-hash?)</pre> - - - <a href="http://github.com/richhickey/clojure-contrib/blob/7188a51605136f36524e4091fe806859114d6056/src/main/clojure/clojure/contrib/mock.clj#L205" id="var-source">Source</a> -</div><div id="var-entry"> - <hr /> - <h2 id="clojure.contrib.mock.test-adapter/times">times</h2> - <span id="var-type">macro</span><br /> - <pre id="var-usage">Usage: (times times-fn) - (times times-fn expectation-hash) -</pre> - <pre id="var-docstr">Creates or associates to an existing expectation hash the :times key with a -value corresponding to a predicate function which expects an integer value. -This function can either be specified as the first argument to times or can be -the result of calling times with an integer argument, in which case the -predicate will default to being an exact match. This predicate is called at -the end of an expect expression to validate that an expected dependency -function was called the expected number of times. -Usage: -(times n) -(times #(> n %)) -(times n expectation-hash)</pre> - - - <a href="http://github.com/richhickey/clojure-contrib/blob/7188a51605136f36524e4091fe806859114d6056/src/main/clojure/clojure/contrib/mock.clj#L246" id="var-source">Source</a> -</div><div id="var-entry"> - <hr /> - <h2 id="clojure.contrib.mock.test-adapter/validate-counts">validate-counts</h2> - <span id="var-type">function</span><br /> - <pre id="var-usage">Usage: (validate-counts mock-data) -</pre> - <pre id="var-docstr">given the sequence of all mock data for the expectation, simply calls the -count checker for each dependency.</pre> - - - <a href="http://github.com/richhickey/clojure-contrib/blob/7188a51605136f36524e4091fe806859114d6056/src/main/clojure/clojure/contrib/mock.clj#L175" id="var-source">Source</a> -</div> - - -</div> - </div> - </div> - </div> - </div> - <div id="foot"> - <div style="text-align: center;" id="copyright">Copyright 2007-2009 by Rich Hickey and the various contributors</div> - </div> - </div> - <div id="DesignedBy">Logo & site design by <a title="Visit Tom Hickey's website." href="http://www.tomhickey.com">Tom Hickey</a>.<br /> - Clojure auto-documentation system by Tom Faulhaber.</div> - </div> - <!-- /AllContentContainer --> - </body> - -</html>
\ No newline at end of file diff --git a/branch-master/monadic-io-streams-api.html b/branch-master/monadic-io-streams-api.html deleted file mode 100644 index eb8a532c..00000000 --- a/branch-master/monadic-io-streams-api.html +++ /dev/null @@ -1,262 +0,0 @@ -<html> - <head> - <title>monadic-io-streams - clojure-contrib next API documentation</title> - <link href="../static/favicon.png" rel="icon" /> - <link href="../static/favicon.png" rel="shortcut icon" /> - <link media="all" type="text/css" href="../static/clojure.css" rel="stylesheet" /> - <link media="all" type="text/css" href="../static/wiki.css" rel="stylesheet" /> - <link media="all" type="text/css" href="../static/internal.css" rel="stylesheet" /> - <!-- TODO: are we using these (from clojure.org)? If so, add the files --> - <script src="file/view/code_highlighter.js" type="text/javascript"></script> - <script src="file/view/clojure.js" type="text/javascript"></script> - <style>.menuWrapper{height: 36px;}</style> - <!--[if lte IE 6]> - <link rel="stylesheet" href="http://www.wikispaces.com/_/2009051601/s/internal_ie.css" type="text/css" /> - <![endif]--> - </head> -<!-- -This document was auto-generated from the source by the clojure autodoc system. -To report errors or ask questions about the overall documentation structure, formatting, -etc., contact Tom Faulhaber (google mail name: tomfaulhaber). -For errors in the documentation of a particular namespace, contact the author of that -namespace. ---> - <body> - <div id="AllContentContainer"> - <div id="Header"> - <a id="Logo" href="index.html"><img alt="Clojure" height="100" width="100" src="../static/clojure-icon.gif" /></a> - <h1><a title="page header title" id="page-header" href="index.html">Clojure-contrib API Reference</a></h1> - </div> - <div id="leftcolumn"><div style="text-align: center;"></div> -<div class="menu"> - <div class="WikiCustomNav WikiElement wiki"> - <span class="toc-header"><span id="project-name">clojure-contrib</span> <span id="version">next</span> API</span><br /> - <ul> - <li><a class="wiki_link" href="index.html">Overview</a></li> - <li><a class="wiki_link" href="api-index.html">API Index</a></li> - </ul> - <span class="toc-header">Namespaces</span> - <ul id="left-sidebar-list"> - <li><a href="accumulators-api.html" class="wiki_link">accumulators</a></li><li><a href="agent-utils-api.html" class="wiki_link">agent-utils</a></li><li><a href="apply-macro-api.html" class="wiki_link">apply-macro</a></li><li><a href="base64-api.html" class="wiki_link">base64</a></li><li><a href="classpath-api.html" class="wiki_link">classpath</a></li><li><a href="combinatorics-api.html" class="wiki_link">combinatorics</a></li><li><a href="command-line-api.html" class="wiki_link">command-line</a></li><li><a href="complex-numbers-api.html" class="wiki_link">complex-numbers</a></li><li><a href="cond-api.html" class="wiki_link">cond</a></li><li><a href="condition-api.html" class="wiki_link">condition</a></li><li><a href="core-api.html" class="wiki_link">core</a></li><li><a href="dataflow-api.html" class="wiki_link">dataflow</a></li><li><a href="datalog-api.html" class="wiki_link">datalog</a></li><li><a href="def-api.html" class="wiki_link">def</a></li><li><a href="duck-streams-api.html" class="wiki_link">duck-streams</a></li><li><a href="error-kit-api.html" class="wiki_link">error-kit</a></li><li><a href="except-api.html" class="wiki_link">except</a></li><li><a href="fcase-api.html" class="wiki_link">fcase</a></li><li><a href="find-namespaces-api.html" class="wiki_link">find-namespaces</a></li><li><a href="fnmap-api.html" class="wiki_link">fnmap</a></li><li><a href="gen-html-docs-api.html" class="wiki_link">gen-html-docs</a></li><li><a href="generic.arithmetic-api.html" class="wiki_link">generic.arithmetic</a></li><li><a href="generic.collection-api.html" class="wiki_link">generic.collection</a></li><li><a href="generic.comparison-api.html" class="wiki_link">generic.comparison</a></li><li><a href="generic.functor-api.html" class="wiki_link">generic.functor</a></li><li><a href="generic.math-functions-api.html" class="wiki_link">generic.math-functions</a></li><li><a href="graph-api.html" class="wiki_link">graph</a></li><li><a href="greatest-least-api.html" class="wiki_link">greatest-least</a></li><li><a href="http.agent-api.html" class="wiki_link">http.agent</a></li><li><a href="http.connection-api.html" class="wiki_link">http.connection</a></li><li><a href="import-static-api.html" class="wiki_link">import-static</a></li><li><a href="io-api.html" class="wiki_link">io</a></li><li><a href="jar-api.html" class="wiki_link">jar</a></li><li><a href="java-utils-api.html" class="wiki_link">java-utils</a></li><li><a href="javadoc.browse-api.html" class="wiki_link">javadoc.browse</a></li><li><a href="jmx-api.html" class="wiki_link">jmx</a></li><li><a href="json-api.html" class="wiki_link">json</a></li><li><a href="lazy-seqs-api.html" class="wiki_link">lazy-seqs</a></li><li><a href="lazy-xml-api.html" class="wiki_link">lazy-xml</a></li><li><a href="logging-api.html" class="wiki_link">logging</a></li><li><a href="macro-utils-api.html" class="wiki_link">macro-utils</a></li><li><a href="macros-api.html" class="wiki_link">macros</a></li><li><a href="map-utils-api.html" class="wiki_link">map-utils</a></li><li><a href="math-api.html" class="wiki_link">math</a></li><li><a href="miglayout-api.html" class="wiki_link">miglayout</a></li><li><a href="mmap-api.html" class="wiki_link">mmap</a></li><li><a href="mock-api.html" class="wiki_link">mock</a></li><li><a href="monadic-io-streams-api.html" class="wiki_link">monadic-io-streams</a></li><li><a href="monads-api.html" class="wiki_link">monads</a></li><li><a href="ns-utils-api.html" class="wiki_link">ns-utils</a></li><li><a href="pprint-api.html" class="wiki_link">pprint</a></li><li><a href="priority-map-api.html" class="wiki_link">priority-map</a></li><li><a href="probabilities.finite-distributions-api.html" class="wiki_link">probabilities.finite-distributions</a></li><li><a href="probabilities.monte-carlo-api.html" class="wiki_link">probabilities.monte-carlo</a></li><li><a href="probabilities.random-numbers-api.html" class="wiki_link">probabilities.random-numbers</a></li><li><a href="profile-api.html" class="wiki_link">profile</a></li><li><a href="properties-api.html" class="wiki_link">properties</a></li><li><a href="prxml-api.html" class="wiki_link">prxml</a></li><li><a href="reflect-api.html" class="wiki_link">reflect</a></li><li><a href="repl-ln-api.html" class="wiki_link">repl-ln</a></li><li><a href="repl-utils-api.html" class="wiki_link">repl-utils</a></li><li><a href="seq-api.html" class="wiki_link">seq</a></li><li><a href="seq-utils-api.html" class="wiki_link">seq-utils</a></li><li><a href="server-socket-api.html" class="wiki_link">server-socket</a></li><li><a href="set-api.html" class="wiki_link">set</a></li><li><a href="shell-api.html" class="wiki_link">shell</a></li><li><a href="shell-out-api.html" class="wiki_link">shell-out</a></li><li><a href="singleton-api.html" class="wiki_link">singleton</a></li><li><a href="sql-api.html" class="wiki_link">sql</a></li><li><a href="str-utils-api.html" class="wiki_link">str-utils</a></li><li><a href="str-utils2-api.html" class="wiki_link">str-utils2</a></li><li><a href="stream-utils-api.html" class="wiki_link">stream-utils</a></li><li><a href="string-api.html" class="wiki_link">string</a></li><li><a href="strint-api.html" class="wiki_link">strint</a></li><li><a href="swing-utils-api.html" class="wiki_link">swing-utils</a></li><li><a href="test-is-api.html" class="wiki_link">test-is</a></li><li><a href="trace-api.html" class="wiki_link">trace</a></li><li><a href="types-api.html" class="wiki_link">types</a></li><li><a href="with-ns-api.html" class="wiki_link">with-ns</a></li><li><a href="zip-filter-api.html" class="wiki_link">zip-filter</a></li> - </ul> - <div class="BranchTOC"> - <span class="toc-header">Other Versions</span> - <ul id="left-sidebar-branch-list"> - <li><a href="../index.html" class="wiki_link">v1.2 (beta 1)</a></li><li><a href="../branch-1.1.x/index.html" class="wiki_link">v1.1 (stable)</a></li> - </ul> - </div> - <a href="http://clojure.org" class="wiki_link">Clojure Home</a> - </div> -</div> -</div> - <div id="rightcolumn"> - <div id="Content"> - <div class="contentBox"><div class="innerContentBox"> - <div id="content_view" class="wiki wikiPage"> - <div id="right-sidebar"><div id="toc"> - <h1 class="nopad">Table of Contents</h1> - <div style="margin-left: 1em;" class="toc-section"> - <a href="#toc0">Overview</a> - <div style="margin-left: 1em;" class="toc-entry"> - <a href="#clojure.contrib.monadic-io-streams/flush">flush</a> - </div><div style="margin-left: 1em;" class="toc-entry"> - <a href="#clojure.contrib.monadic-io-streams/print">print</a> - </div><div style="margin-left: 1em;" class="toc-entry"> - <a href="#clojure.contrib.monadic-io-streams/println">println</a> - </div><div style="margin-left: 1em;" class="toc-entry"> - <a href="#clojure.contrib.monadic-io-streams/read-char">read-char</a> - </div><div style="margin-left: 1em;" class="toc-entry"> - <a href="#clojure.contrib.monadic-io-streams/read-line">read-line</a> - </div><div style="margin-left: 1em;" class="toc-entry"> - <a href="#clojure.contrib.monadic-io-streams/read-lines">read-lines</a> - </div><div style="margin-left: 1em;" class="toc-entry"> - <a href="#clojure.contrib.monadic-io-streams/skip-chars">skip-chars</a> - </div><div style="margin-left: 1em;" class="toc-entry"> - <a href="#clojure.contrib.monadic-io-streams/with-io-streams">with-io-streams</a> - </div><div style="margin-left: 1em;" class="toc-entry"> - <a href="#clojure.contrib.monadic-io-streams/with-reader">with-reader</a> - </div><div style="margin-left: 1em;" class="toc-entry"> - <a href="#clojure.contrib.monadic-io-streams/with-writer">with-writer</a> - </div><div style="margin-left: 1em;" class="toc-entry"> - <a href="#clojure.contrib.monadic-io-streams/write">write</a> - </div> - <br /> - </div> -</div> -</div> - <div id="content-tag"><h1 id="overview">API for <span id="namespace-name">monadic-io-streams</span> - - <span id="header-project">clojure-contrib</span> <span id="header-version">next</span> (<span id="header-status">in development</span>) - </h1> -<span id="author-line">by <span id="author-name">Konrad Hinsen</span><br /></span> -<br />Usage: -<pre> -(ns your-namespace - (:require <span id="long-name">clojure.contrib.monadic-io-streams</span>)) -</pre><pre> -</pre><h2>Overview</h2> -<pre id="namespace-docstr">Monadic I/O with Java input/output streams -Defines monadic I/O statements to be used in a state monad -with an input or output stream as the state. The macro -monadic-io creates a stream, runs a monadic I/O statement -on it, and closes the stream. This structure permits the -definition of purely functional compound I/O statements -which are applied to streams that can never escape from the -monadic statement sequence.</pre> - - -<br /> -<h2>Public Variables and Functions</h2> -<div id="var-entry"> - <br /> - <hr /> - <h2 id="clojure.contrib.monadic-io-streams/flush">flush</h2> - <span id="var-type">function</span><br /> - <pre id="var-usage">Usage: (flush) -</pre> - <pre id="var-docstr">Flush</pre> - - - <a href="http://github.com/richhickey/clojure-contrib/blob/923c91280d208b377c7355a206bdb2c96c066ef0/src/main/clojure/clojure/contrib/monadic_io_streams.clj#L62" id="var-source">Source</a> -</div><div id="var-entry"> - <br /> - <hr /> - <h2 id="clojure.contrib.monadic-io-streams/print">print</h2> - <span id="var-type">function</span><br /> - <pre id="var-usage">Usage: (print obj) -</pre> - <pre id="var-docstr">Print obj</pre> - - - <a href="http://github.com/richhickey/clojure-contrib/blob/923c91280d208b377c7355a206bdb2c96c066ef0/src/main/clojure/clojure/contrib/monadic_io_streams.clj#L67" id="var-source">Source</a> -</div><div id="var-entry"> - <br /> - <hr /> - <h2 id="clojure.contrib.monadic-io-streams/println">println</h2> - <span id="var-type">function</span><br /> - <pre id="var-usage">Usage: (println) - (println obj) -</pre> - <pre id="var-docstr">Print obj followed by a newline</pre> - - - <a href="http://github.com/richhickey/clojure-contrib/blob/923c91280d208b377c7355a206bdb2c96c066ef0/src/main/clojure/clojure/contrib/monadic_io_streams.clj#L72" id="var-source">Source</a> -</div><div id="var-entry"> - <br /> - <hr /> - <h2 id="clojure.contrib.monadic-io-streams/read-char">read-char</h2> - <span id="var-type">function</span><br /> - <pre id="var-usage">Usage: (read-char) -</pre> - <pre id="var-docstr">Read a single character</pre> - - - <a href="http://github.com/richhickey/clojure-contrib/blob/923c91280d208b377c7355a206bdb2c96c066ef0/src/main/clojure/clojure/contrib/monadic_io_streams.clj#L42" id="var-source">Source</a> -</div><div id="var-entry"> - <br /> - <hr /> - <h2 id="clojure.contrib.monadic-io-streams/read-line">read-line</h2> - <span id="var-type">function</span><br /> - <pre id="var-usage">Usage: (read-line) -</pre> - <pre id="var-docstr">Read a single line</pre> - - - <a href="http://github.com/richhickey/clojure-contrib/blob/923c91280d208b377c7355a206bdb2c96c066ef0/src/main/clojure/clojure/contrib/monadic_io_streams.clj#L47" id="var-source">Source</a> -</div><div id="var-entry"> - <br /> - <hr /> - <h2 id="clojure.contrib.monadic-io-streams/read-lines">read-lines</h2> - <span id="var-type">function</span><br /> - <pre id="var-usage">Usage: (read-lines) -</pre> - <pre id="var-docstr">Read all lines and return them in a vector</pre> - - - <a href="http://github.com/richhickey/clojure-contrib/blob/923c91280d208b377c7355a206bdb2c96c066ef0/src/main/clojure/clojure/contrib/monadic_io_streams.clj#L126" id="var-source">Source</a> -</div><div id="var-entry"> - <br /> - <hr /> - <h2 id="clojure.contrib.monadic-io-streams/skip-chars">skip-chars</h2> - <span id="var-type">function</span><br /> - <pre id="var-usage">Usage: (skip-chars n) -</pre> - <pre id="var-docstr">Skip n characters</pre> - - - <a href="http://github.com/richhickey/clojure-contrib/blob/923c91280d208b377c7355a206bdb2c96c066ef0/src/main/clojure/clojure/contrib/monadic_io_streams.clj#L52" id="var-source">Source</a> -</div><div id="var-entry"> - <br /> - <hr /> - <h2 id="clojure.contrib.monadic-io-streams/with-io-streams">with-io-streams</h2> - <span id="var-type">function</span><br /> - <pre id="var-usage">Usage: (with-io-streams io-specs statement) -</pre> - <pre id="var-docstr">Open one or more streams as specified by io-spec, run a monadic -I/O statement on them, and close the streams. io-spec is -a binding-like vector in which each stream is specified by -three element: a keyword by which the stream can be referred to, -the stream mode (:read or :write), and a stream specification as -accepted by clojure.contrib.io/reader (mode :read) or -clojure.contrib.io/writer (mode :write). The statement -is run on a state which is a map from keywords to corresponding -streams. Single-stream monadic I/O statements must be wrapped -with clojure.contrib.monads/with-state-field.</pre> - - - <a href="http://github.com/richhickey/clojure-contrib/blob/923c91280d208b377c7355a206bdb2c96c066ef0/src/main/clojure/clojure/contrib/monadic_io_streams.clj#L98" id="var-source">Source</a> -</div><div id="var-entry"> - <br /> - <hr /> - <h2 id="clojure.contrib.monadic-io-streams/with-reader">with-reader</h2> - <span id="var-type">function</span><br /> - <pre id="var-usage">Usage: (with-reader reader-spec statement) -</pre> - <pre id="var-docstr">Create a reader from reader-spec, run the monadic I/O statement -on it, and close the reader. reader-spec can be any object accepted -by clojure.contrib.io/reader.</pre> - - - <a href="http://github.com/richhickey/clojure-contrib/blob/923c91280d208b377c7355a206bdb2c96c066ef0/src/main/clojure/clojure/contrib/monadic_io_streams.clj#L82" id="var-source">Source</a> -</div><div id="var-entry"> - <br /> - <hr /> - <h2 id="clojure.contrib.monadic-io-streams/with-writer">with-writer</h2> - <span id="var-type">function</span><br /> - <pre id="var-usage">Usage: (with-writer writer-spec statement) -</pre> - <pre id="var-docstr">Create a writer from writer-spec, run the monadic I/O statement -on it, and close the writer. writer-spec can be any object accepted -by clojure.contrib.io/writer.</pre> - - - <a href="http://github.com/richhickey/clojure-contrib/blob/923c91280d208b377c7355a206bdb2c96c066ef0/src/main/clojure/clojure/contrib/monadic_io_streams.clj#L90" id="var-source">Source</a> -</div><div id="var-entry"> - <br /> - <hr /> - <h2 id="clojure.contrib.monadic-io-streams/write">write</h2> - <span id="var-type">function</span><br /> - <pre id="var-usage">Usage: (write text) -</pre> - <pre id="var-docstr">Write text (a string)</pre> - - - <a href="http://github.com/richhickey/clojure-contrib/blob/923c91280d208b377c7355a206bdb2c96c066ef0/src/main/clojure/clojure/contrib/monadic_io_streams.clj#L57" id="var-source">Source</a> -</div> - - -</div> - </div> - </div> - </div> - </div> - <div id="foot"> - <div style="text-align: center;" id="copyright">Copyright 2007-2009 by Rich Hickey and the various contributors</div> - </div> - </div> - <div id="DesignedBy">Logo & site design by <a title="Visit Tom Hickey's website." href="http://www.tomhickey.com">Tom Hickey</a>.<br /> - Clojure auto-documentation system by Tom Faulhaber.</div> - </div> - <!-- /AllContentContainer --> - </body> - -</html>
\ No newline at end of file diff --git a/branch-master/monads-api.html b/branch-master/monads-api.html deleted file mode 100644 index bdaa863d..00000000 --- a/branch-master/monads-api.html +++ /dev/null @@ -1,645 +0,0 @@ -<html> - <head> - <title>monads - clojure-contrib next API documentation</title> - <link href="../static/favicon.png" rel="icon" /> - <link href="../static/favicon.png" rel="shortcut icon" /> - <link media="all" type="text/css" href="../static/clojure.css" rel="stylesheet" /> - <link media="all" type="text/css" href="../static/wiki.css" rel="stylesheet" /> - <link media="all" type="text/css" href="../static/internal.css" rel="stylesheet" /> - <!-- TODO: are we using these (from clojure.org)? If so, add the files --> - <script src="file/view/code_highlighter.js" type="text/javascript"></script> - <script src="file/view/clojure.js" type="text/javascript"></script> - <style>.menuWrapper{height: 36px;}</style> - <!--[if lte IE 6]> - <link rel="stylesheet" href="http://www.wikispaces.com/_/2009051601/s/internal_ie.css" type="text/css" /> - <![endif]--> - </head> -<!-- -This document was auto-generated from the source by the clojure autodoc system. -To report errors or ask questions about the overall documentation structure, formatting, -etc., contact Tom Faulhaber (google mail name: tomfaulhaber). -For errors in the documentation of a particular namespace, contact the author of that -namespace. ---> - <body> - <div id="AllContentContainer"> - <div id="Header"> - <a id="Logo" href="index.html"><img alt="Clojure" height="100" width="100" src="../static/clojure-icon.gif" /></a> - <h1><a title="page header title" id="page-header" href="index.html">Clojure-contrib API Reference</a></h1> - </div> - <div id="leftcolumn"><div style="text-align: center;"></div> -<div class="menu"> - <div class="WikiCustomNav WikiElement wiki"> - <span class="toc-header"><span id="project-name">clojure-contrib</span> <span id="version">next</span> API</span><br /> - <ul> - <li><a class="wiki_link" href="index.html">Overview</a></li> - <li><a class="wiki_link" href="api-index.html">API Index</a></li> - </ul> - <span class="toc-header">Namespaces</span> - <ul id="left-sidebar-list"> - <li><a href="accumulators-api.html" class="wiki_link">accumulators</a></li><li><a href="agent-utils-api.html" class="wiki_link">agent-utils</a></li><li><a href="apply-macro-api.html" class="wiki_link">apply-macro</a></li><li><a href="base64-api.html" class="wiki_link">base64</a></li><li><a href="classpath-api.html" class="wiki_link">classpath</a></li><li><a href="combinatorics-api.html" class="wiki_link">combinatorics</a></li><li><a href="command-line-api.html" class="wiki_link">command-line</a></li><li><a href="complex-numbers-api.html" class="wiki_link">complex-numbers</a></li><li><a href="cond-api.html" class="wiki_link">cond</a></li><li><a href="condition-api.html" class="wiki_link">condition</a></li><li><a href="core-api.html" class="wiki_link">core</a></li><li><a href="dataflow-api.html" class="wiki_link">dataflow</a></li><li><a href="datalog-api.html" class="wiki_link">datalog</a></li><li><a href="def-api.html" class="wiki_link">def</a></li><li><a href="duck-streams-api.html" class="wiki_link">duck-streams</a></li><li><a href="error-kit-api.html" class="wiki_link">error-kit</a></li><li><a href="except-api.html" class="wiki_link">except</a></li><li><a href="fcase-api.html" class="wiki_link">fcase</a></li><li><a href="find-namespaces-api.html" class="wiki_link">find-namespaces</a></li><li><a href="fnmap-api.html" class="wiki_link">fnmap</a></li><li><a href="gen-html-docs-api.html" class="wiki_link">gen-html-docs</a></li><li><a href="generic.arithmetic-api.html" class="wiki_link">generic.arithmetic</a></li><li><a href="generic.collection-api.html" class="wiki_link">generic.collection</a></li><li><a href="generic.comparison-api.html" class="wiki_link">generic.comparison</a></li><li><a href="generic.functor-api.html" class="wiki_link">generic.functor</a></li><li><a href="generic.math-functions-api.html" class="wiki_link">generic.math-functions</a></li><li><a href="graph-api.html" class="wiki_link">graph</a></li><li><a href="greatest-least-api.html" class="wiki_link">greatest-least</a></li><li><a href="http.agent-api.html" class="wiki_link">http.agent</a></li><li><a href="http.connection-api.html" class="wiki_link">http.connection</a></li><li><a href="import-static-api.html" class="wiki_link">import-static</a></li><li><a href="io-api.html" class="wiki_link">io</a></li><li><a href="jar-api.html" class="wiki_link">jar</a></li><li><a href="java-utils-api.html" class="wiki_link">java-utils</a></li><li><a href="javadoc.browse-api.html" class="wiki_link">javadoc.browse</a></li><li><a href="jmx-api.html" class="wiki_link">jmx</a></li><li><a href="json-api.html" class="wiki_link">json</a></li><li><a href="lazy-seqs-api.html" class="wiki_link">lazy-seqs</a></li><li><a href="lazy-xml-api.html" class="wiki_link">lazy-xml</a></li><li><a href="logging-api.html" class="wiki_link">logging</a></li><li><a href="macro-utils-api.html" class="wiki_link">macro-utils</a></li><li><a href="macros-api.html" class="wiki_link">macros</a></li><li><a href="map-utils-api.html" class="wiki_link">map-utils</a></li><li><a href="math-api.html" class="wiki_link">math</a></li><li><a href="miglayout-api.html" class="wiki_link">miglayout</a></li><li><a href="mmap-api.html" class="wiki_link">mmap</a></li><li><a href="mock-api.html" class="wiki_link">mock</a></li><li><a href="monadic-io-streams-api.html" class="wiki_link">monadic-io-streams</a></li><li><a href="monads-api.html" class="wiki_link">monads</a></li><li><a href="ns-utils-api.html" class="wiki_link">ns-utils</a></li><li><a href="pprint-api.html" class="wiki_link">pprint</a></li><li><a href="priority-map-api.html" class="wiki_link">priority-map</a></li><li><a href="probabilities.finite-distributions-api.html" class="wiki_link">probabilities.finite-distributions</a></li><li><a href="probabilities.monte-carlo-api.html" class="wiki_link">probabilities.monte-carlo</a></li><li><a href="probabilities.random-numbers-api.html" class="wiki_link">probabilities.random-numbers</a></li><li><a href="profile-api.html" class="wiki_link">profile</a></li><li><a href="properties-api.html" class="wiki_link">properties</a></li><li><a href="prxml-api.html" class="wiki_link">prxml</a></li><li><a href="reflect-api.html" class="wiki_link">reflect</a></li><li><a href="repl-ln-api.html" class="wiki_link">repl-ln</a></li><li><a href="repl-utils-api.html" class="wiki_link">repl-utils</a></li><li><a href="seq-api.html" class="wiki_link">seq</a></li><li><a href="seq-utils-api.html" class="wiki_link">seq-utils</a></li><li><a href="server-socket-api.html" class="wiki_link">server-socket</a></li><li><a href="set-api.html" class="wiki_link">set</a></li><li><a href="shell-api.html" class="wiki_link">shell</a></li><li><a href="shell-out-api.html" class="wiki_link">shell-out</a></li><li><a href="singleton-api.html" class="wiki_link">singleton</a></li><li><a href="sql-api.html" class="wiki_link">sql</a></li><li><a href="str-utils-api.html" class="wiki_link">str-utils</a></li><li><a href="str-utils2-api.html" class="wiki_link">str-utils2</a></li><li><a href="stream-utils-api.html" class="wiki_link">stream-utils</a></li><li><a href="string-api.html" class="wiki_link">string</a></li><li><a href="strint-api.html" class="wiki_link">strint</a></li><li><a href="swing-utils-api.html" class="wiki_link">swing-utils</a></li><li><a href="test-is-api.html" class="wiki_link">test-is</a></li><li><a href="trace-api.html" class="wiki_link">trace</a></li><li><a href="types-api.html" class="wiki_link">types</a></li><li><a href="with-ns-api.html" class="wiki_link">with-ns</a></li><li><a href="zip-filter-api.html" class="wiki_link">zip-filter</a></li> - </ul> - <div class="BranchTOC"> - <span class="toc-header">Other Versions</span> - <ul id="left-sidebar-branch-list"> - <li><a href="../index.html" class="wiki_link">v1.2 (beta 1)</a></li><li><a href="../branch-1.1.x/index.html" class="wiki_link">v1.1 (stable)</a></li> - </ul> - </div> - <a href="http://clojure.org" class="wiki_link">Clojure Home</a> - </div> -</div> -</div> - <div id="rightcolumn"> - <div id="Content"> - <div class="contentBox"><div class="innerContentBox"> - <div id="content_view" class="wiki wikiPage"> - <div id="right-sidebar"><div id="toc"> - <h1 class="nopad">Table of Contents</h1> - <div style="margin-left: 1em;" class="toc-section"> - <a href="#toc0">Overview</a> - <div style="margin-left: 1em;" class="toc-entry"> - <a href="#clojure.contrib.monads/call-cc">call-cc</a> - </div><div style="margin-left: 1em;" class="toc-entry"> - <a href="#clojure.contrib.monads/cont-m">cont-m</a> - </div><div style="margin-left: 1em;" class="toc-entry"> - <a href="#clojure.contrib.monads/defmonad">defmonad</a> - </div><div style="margin-left: 1em;" class="toc-entry"> - <a href="#clojure.contrib.monads/defmonadfn">defmonadfn</a> - </div><div style="margin-left: 1em;" class="toc-entry"> - <a href="#clojure.contrib.monads/domonad">domonad</a> - </div><div style="margin-left: 1em;" class="toc-entry"> - <a href="#clojure.contrib.monads/fetch-state">fetch-state</a> - </div><div style="margin-left: 1em;" class="toc-entry"> - <a href="#clojure.contrib.monads/fetch-val">fetch-val</a> - </div><div style="margin-left: 1em;" class="toc-entry"> - <a href="#clojure.contrib.monads/identity-m">identity-m</a> - </div><div style="margin-left: 1em;" class="toc-entry"> - <a href="#clojure.contrib.monads/m-chain">m-chain</a> - </div><div style="margin-left: 1em;" class="toc-entry"> - <a href="#clojure.contrib.monads/m-fmap">m-fmap</a> - </div><div style="margin-left: 1em;" class="toc-entry"> - <a href="#clojure.contrib.monads/m-join">m-join</a> - </div><div style="margin-left: 1em;" class="toc-entry"> - <a href="#clojure.contrib.monads/m-lift">m-lift</a> - </div><div style="margin-left: 1em;" class="toc-entry"> - <a href="#clojure.contrib.monads/m-map">m-map</a> - </div><div style="margin-left: 1em;" class="toc-entry"> - <a href="#clojure.contrib.monads/m-reduce">m-reduce</a> - </div><div style="margin-left: 1em;" class="toc-entry"> - <a href="#clojure.contrib.monads/m-seq">m-seq</a> - </div><div style="margin-left: 1em;" class="toc-entry"> - <a href="#clojure.contrib.monads/m-until">m-until</a> - </div><div style="margin-left: 1em;" class="toc-entry"> - <a href="#clojure.contrib.monads/m-when">m-when</a> - </div><div style="margin-left: 1em;" class="toc-entry"> - <a href="#clojure.contrib.monads/m-when-not">m-when-not</a> - </div><div style="margin-left: 1em;" class="toc-entry"> - <a href="#clojure.contrib.monads/maybe-m">maybe-m</a> - </div><div style="margin-left: 1em;" class="toc-entry"> - <a href="#clojure.contrib.monads/maybe-t">maybe-t</a> - </div><div style="margin-left: 1em;" class="toc-entry"> - <a href="#clojure.contrib.monads/monad">monad</a> - </div><div style="margin-left: 1em;" class="toc-entry"> - <a href="#clojure.contrib.monads/monad-transformer">monad-transformer</a> - </div><div style="margin-left: 1em;" class="toc-entry"> - <a href="#clojure.contrib.monads/run-cont">run-cont</a> - </div><div style="margin-left: 1em;" class="toc-entry"> - <a href="#clojure.contrib.monads/sequence-m">sequence-m</a> - </div><div style="margin-left: 1em;" class="toc-entry"> - <a href="#clojure.contrib.monads/sequence-t">sequence-t</a> - </div><div style="margin-left: 1em;" class="toc-entry"> - <a href="#clojure.contrib.monads/set-m">set-m</a> - </div><div style="margin-left: 1em;" class="toc-entry"> - <a href="#clojure.contrib.monads/set-state">set-state</a> - </div><div style="margin-left: 1em;" class="toc-entry"> - <a href="#clojure.contrib.monads/set-val">set-val</a> - </div><div style="margin-left: 1em;" class="toc-entry"> - <a href="#clojure.contrib.monads/state-m">state-m</a> - </div><div style="margin-left: 1em;" class="toc-entry"> - <a href="#clojure.contrib.monads/state-m-until">state-m-until</a> - </div><div style="margin-left: 1em;" class="toc-entry"> - <a href="#clojure.contrib.monads/state-t">state-t</a> - </div><div style="margin-left: 1em;" class="toc-entry"> - <a href="#clojure.contrib.monads/update-state">update-state</a> - </div><div style="margin-left: 1em;" class="toc-entry"> - <a href="#clojure.contrib.monads/update-val">update-val</a> - </div><div style="margin-left: 1em;" class="toc-entry"> - <a href="#clojure.contrib.monads/with-monad">with-monad</a> - </div><div style="margin-left: 1em;" class="toc-entry"> - <a href="#clojure.contrib.monads/with-state-field">with-state-field</a> - </div><div style="margin-left: 1em;" class="toc-entry"> - <a href="#clojure.contrib.monads/writer-m">writer-m</a> - </div> - <br /> - </div> -</div> -</div> - <div id="content-tag"><h1 id="overview">API for <span id="namespace-name">monads</span> - - <span id="header-project">clojure-contrib</span> <span id="header-version">next</span> (<span id="header-status">in development</span>) - </h1> -<span id="author-line">by <span id="author-name">Konrad Hinsen</span><br /></span> -<br />Usage: -<pre> -(ns your-namespace - (:require <span id="long-name">clojure.contrib.monads</span>)) -</pre><pre> -</pre><h2>Overview</h2> -<pre id="namespace-docstr">This library contains the most commonly used monads as well -as macros for defining and using monads and useful monadic -functions.</pre> - - -<span id="see-also">See also: - <span id="see-also-link"> - <a href="http://onclojure.com/2009/03/05/a-monad-tutorial-for-clojure-programmers-part-1/">Monad tutorial part 1</a> - </span><span id="see-also-link"> - <a href="http://onclojure.com/2009/03/06/a-monad-tutorial-for-clojure-programmers-part-2/">Monad tutorial part 2</a> - </span><span id="see-also-link"> - <a href="http://onclojure.com/2009/03/23/a-monad-tutorial-for-clojure-programmers-part-3/">Monad tutorial part 3</a> - </span><span id="see-also-link"> - <a href="http://onclojure.com/2009/04/24/a-monad-tutorial-for-clojure-programmers-part-4/">Monad tutorial part 4</a> - </span><span id="see-also-link"> - <a href="http://intensivesystems.net/tutorials/monads_101.html">Monads in Clojure part 1</a> - </span><span id="see-also-link"> - <a href="http://intensivesystems.net/tutorials/monads_201.html">Monads in Clojure part 2</a> - </span><br /> -</span><br /> -<h2>Public Variables and Functions</h2> -<div id="var-entry"> - <br /> - <hr /> - <h2 id="clojure.contrib.monads/call-cc">call-cc</h2> - <span id="var-type">function</span><br /> - <pre id="var-usage">Usage: (call-cc f) -</pre> - <pre id="var-docstr">A computation in the cont monad that calls function f with a single -argument representing the current continuation. The function f should -return a continuation (which becomes the return value of call-cc), -or call the passed-in current continuation to terminate.</pre> - - - <a href="http://github.com/richhickey/clojure-contrib/blob/7188a51605136f36524e4091fe806859114d6056/src/main/clojure/clojure/contrib/monads.clj#L456" id="var-source">Source</a> -</div><div id="var-entry"> - <br /> - <hr /> - <h2 id="clojure.contrib.monads/cont-m">cont-m</h2> - <span id="var-type">var</span><br /> - <pre id="var-usage"></pre> - <pre id="var-docstr">Monad describing computations in continuation-passing style. The monadic -values are functions that are called with a single argument representing -the continuation of the computation, to which they pass their result.</pre> - - - <a href="http://github.com/richhickey/clojure-contrib/blob/7188a51605136f36524e4091fe806859114d6056/src/main/clojure/clojure/contrib/monads.clj#L440" id="var-source">Source</a> -</div><div id="var-entry"> - <br /> - <hr /> - <h2 id="clojure.contrib.monads/defmonad">defmonad</h2> - <span id="var-type">macro</span><br /> - <pre id="var-usage">Usage: (defmonad name doc-string operations) - (defmonad name operations) -</pre> - <pre id="var-docstr">Define a named monad by defining the monad operations. The definitions -are written like bindings to the monad operations m-bind and -m-result (required) and m-zero and m-plus (optional).</pre> - - - <a href="http://github.com/richhickey/clojure-contrib/blob/7188a51605136f36524e4091fe806859114d6056/src/main/clojure/clojure/contrib/monads.clj#L51" id="var-source">Source</a> -</div><div id="var-entry"> - <br /> - <hr /> - <h2 id="clojure.contrib.monads/defmonadfn">defmonadfn</h2> - <span id="var-type">macro</span><br /> - <pre id="var-usage">Usage: (defmonadfn name docstring? attr-map? args expr) - (defmonadfn name docstring? attr-map? (args expr) ...) -</pre> - <pre id="var-docstr">Like defn, but for functions that use monad operations and are used inside -a with-monad block.</pre> - - - <a href="http://github.com/richhickey/clojure-contrib/blob/7188a51605136f36524e4091fe806859114d6056/src/main/clojure/clojure/contrib/monads.clj#L137" id="var-source">Source</a> -</div><div id="var-entry"> - <br /> - <hr /> - <h2 id="clojure.contrib.monads/domonad">domonad</h2> - <span id="var-type">macro</span><br /> - <pre id="var-usage">Usage: (domonad steps expr) - (domonad name steps expr) -</pre> - <pre id="var-docstr">Monad comprehension. Takes the name of a monad, a vector of steps -given as binding-form/monadic-expression pairs, and a result value -specified by expr. The monadic-expression terms can use the binding -variables of the previous steps. -If the monad contains a definition of m-zero, the step list can also -contain conditions of the form :when p, where the predicate p can -contain the binding variables from all previous steps. -A clause of the form :let [binding-form expr ...], where the bindings -are given as a vector as for the use in let, establishes additional -bindings that can be used in the following steps.</pre> - - - <a href="http://github.com/richhickey/clojure-contrib/blob/7188a51605136f36524e4091fe806859114d6056/src/main/clojure/clojure/contrib/monads.clj#L114" id="var-source">Source</a> -</div><div id="var-entry"> - <br /> - <hr /> - <h2 id="clojure.contrib.monads/fetch-state">fetch-state</h2> - <span id="var-type">function</span><br /> - <pre id="var-usage">Usage: (fetch-state) -</pre> - <pre id="var-docstr">Return a state-monad function that returns the current state and does not -modify it.</pre> - - - <a href="http://github.com/richhickey/clojure-contrib/blob/7188a51605136f36524e4091fe806859114d6056/src/main/clojure/clojure/contrib/monads.clj#L359" id="var-source">Source</a> -</div><div id="var-entry"> - <br /> - <hr /> - <h2 id="clojure.contrib.monads/fetch-val">fetch-val</h2> - <span id="var-type">function</span><br /> - <pre id="var-usage">Usage: (fetch-val key) -</pre> - <pre id="var-docstr">Return a state-monad function that assumes the state to be a map and -returns the value corresponding to the given key. The state is not modified.</pre> - - - <a href="http://github.com/richhickey/clojure-contrib/blob/7188a51605136f36524e4091fe806859114d6056/src/main/clojure/clojure/contrib/monads.clj#L365" id="var-source">Source</a> -</div><div id="var-entry"> - <br /> - <hr /> - <h2 id="clojure.contrib.monads/identity-m">identity-m</h2> - <span id="var-type">var</span><br /> - <pre id="var-usage"></pre> - <pre id="var-docstr">Monad describing plain computations. This monad does in fact nothing -at all. It is useful for testing, for combination with monad -transformers, and for code that is parameterized with a monad.</pre> - - - <a href="http://github.com/richhickey/clojure-contrib/blob/7188a51605136f36524e4091fe806859114d6056/src/main/clojure/clojure/contrib/monads.clj#L286" id="var-source">Source</a> -</div><div id="var-entry"> - <br /> - <hr /> - <h2 id="clojure.contrib.monads/m-chain">m-chain</h2> - <span id="var-type">var</span><br /> - <pre id="var-usage"></pre> - <pre id="var-docstr">Chains together monadic computation steps that are each functions -of one parameter. Each step is called with the result of the previous -step as its argument. (m-chain (step1 step2)) is equivalent to -(fn [x] (domonad [r1 (step1 x) r2 (step2 r1)] r2)).</pre> - - - <a href="http://github.com/richhickey/clojure-contrib/blob/7188a51605136f36524e4091fe806859114d6056/src/main/clojure/clojure/contrib/monads.clj#L217" id="var-source">Source</a> -</div><div id="var-entry"> - <br /> - <hr /> - <h2 id="clojure.contrib.monads/m-fmap">m-fmap</h2> - <span id="var-type">var</span><br /> - <pre id="var-usage"></pre> - <pre id="var-docstr">Bind the monadic value m to the function returning (f x) for argument x</pre> - - - <a href="http://github.com/richhickey/clojure-contrib/blob/7188a51605136f36524e4091fe806859114d6056/src/main/clojure/clojure/contrib/monads.clj#L195" id="var-source">Source</a> -</div><div id="var-entry"> - <br /> - <hr /> - <h2 id="clojure.contrib.monads/m-join">m-join</h2> - <span id="var-type">var</span><br /> - <pre id="var-usage"></pre> - <pre id="var-docstr">Converts a monadic value containing a monadic value into a 'simple' -monadic value.</pre> - - - <a href="http://github.com/richhickey/clojure-contrib/blob/7188a51605136f36524e4091fe806859114d6056/src/main/clojure/clojure/contrib/monads.clj#L189" id="var-source">Source</a> -</div><div id="var-entry"> - <br /> - <hr /> - <h2 id="clojure.contrib.monads/m-lift">m-lift</h2> - <span id="var-type">macro</span><br /> - <pre id="var-usage">Usage: (m-lift n f) -</pre> - <pre id="var-docstr">Converts a function f of n arguments into a function of n -monadic arguments returning a monadic value.</pre> - - - <a href="http://github.com/richhickey/clojure-contrib/blob/7188a51605136f36524e4091fe806859114d6056/src/main/clojure/clojure/contrib/monads.clj#L180" id="var-source">Source</a> -</div><div id="var-entry"> - <br /> - <hr /> - <h2 id="clojure.contrib.monads/m-map">m-map</h2> - <span id="var-type">var</span><br /> - <pre id="var-usage"></pre> - <pre id="var-docstr">'Executes' the sequence of monadic values resulting from mapping -f onto the values xs. f must return a monadic value.</pre> - - - <a href="http://github.com/richhickey/clojure-contrib/blob/7188a51605136f36524e4091fe806859114d6056/src/main/clojure/clojure/contrib/monads.clj#L211" id="var-source">Source</a> -</div><div id="var-entry"> - <br /> - <hr /> - <h2 id="clojure.contrib.monads/m-reduce">m-reduce</h2> - <span id="var-type">var</span><br /> - <pre id="var-usage"></pre> - <pre id="var-docstr">Return the reduction of (m-lift 2 f) over the list of monadic values mvs -with initial value (m-result val).</pre> - - - <a href="http://github.com/richhickey/clojure-contrib/blob/7188a51605136f36524e4091fe806859114d6056/src/main/clojure/clojure/contrib/monads.clj#L228" id="var-source">Source</a> -</div><div id="var-entry"> - <br /> - <hr /> - <h2 id="clojure.contrib.monads/m-seq">m-seq</h2> - <span id="var-type">var</span><br /> - <pre id="var-usage"></pre> - <pre id="var-docstr">'Executes' the monadic values in ms and returns a sequence of the -basic values contained in them.</pre> - - - <a href="http://github.com/richhickey/clojure-contrib/blob/7188a51605136f36524e4091fe806859114d6056/src/main/clojure/clojure/contrib/monads.clj#L200" id="var-source">Source</a> -</div><div id="var-entry"> - <br /> - <hr /> - <h2 id="clojure.contrib.monads/m-until">m-until</h2> - <span id="var-type">var</span><br /> - <pre id="var-usage"></pre> - <pre id="var-docstr">While (p x) is false, replace x by the value returned by the -monadic computation (f x). Return (m-result x) for the first -x for which (p x) is true.</pre> - - - <a href="http://github.com/richhickey/clojure-contrib/blob/7188a51605136f36524e4091fe806859114d6056/src/main/clojure/clojure/contrib/monads.clj#L241" id="var-source">Source</a> -</div><div id="var-entry"> - <br /> - <hr /> - <h2 id="clojure.contrib.monads/m-when">m-when</h2> - <span id="var-type">macro</span><br /> - <pre id="var-usage">Usage: (m-when test m-expr) -</pre> - <pre id="var-docstr">If test is logical true, return monadic value m-expr, else return -(m-result nil).</pre> - - - <a href="http://github.com/richhickey/clojure-contrib/blob/7188a51605136f36524e4091fe806859114d6056/src/main/clojure/clojure/contrib/monads.clj#L253" id="var-source">Source</a> -</div><div id="var-entry"> - <br /> - <hr /> - <h2 id="clojure.contrib.monads/m-when-not">m-when-not</h2> - <span id="var-type">macro</span><br /> - <pre id="var-usage">Usage: (m-when-not test m-expr) -</pre> - <pre id="var-docstr">If test if logical false, return monadic value m-expr, else return -(m-result nil).</pre> - - - <a href="http://github.com/richhickey/clojure-contrib/blob/7188a51605136f36524e4091fe806859114d6056/src/main/clojure/clojure/contrib/monads.clj#L259" id="var-source">Source</a> -</div><div id="var-entry"> - <br /> - <hr /> - <h2 id="clojure.contrib.monads/maybe-m">maybe-m</h2> - <span id="var-type">var</span><br /> - <pre id="var-usage"></pre> - <pre id="var-docstr">Monad describing computations with possible failures. Failure is -represented by nil, any other value is considered valid. As soon as -a step returns nil, the whole computation will yield nil as well.</pre> - - - <a href="http://github.com/richhickey/clojure-contrib/blob/7188a51605136f36524e4091fe806859114d6056/src/main/clojure/clojure/contrib/monads.clj#L296" id="var-source">Source</a> -</div><div id="var-entry"> - <br /> - <hr /> - <h2 id="clojure.contrib.monads/maybe-t">maybe-t</h2> - <span id="var-type">function</span><br /> - <pre id="var-usage">Usage: (maybe-t m) - (maybe-t m nothing) - (maybe-t m nothing which-m-plus) -</pre> - <pre id="var-docstr">Monad transformer that transforms a monad m into a monad in which -the base values can be invalid (represented by nothing, which defaults -to nil). The third argument chooses if m-zero and m-plus are inherited -from the base monad (use :m-plus-from-base) or adopt maybe-like -behaviour (use :m-plus-from-transformer). The default is :m-plus-from-base -if the base monad m has a definition for m-plus, and -:m-plus-from-transformer otherwise.</pre> - - - <a href="http://github.com/richhickey/clojure-contrib/blob/7188a51605136f36524e4091fe806859114d6056/src/main/clojure/clojure/contrib/monads.clj#L496" id="var-source">Source</a> -</div><div id="var-entry"> - <br /> - <hr /> - <h2 id="clojure.contrib.monads/monad">monad</h2> - <span id="var-type">macro</span><br /> - <pre id="var-usage">Usage: (monad operations) -</pre> - <pre id="var-docstr">Define a monad by defining the monad operations. The definitions -are written like bindings to the monad operations m-bind and -m-result (required) and m-zero and m-plus (optional).</pre> - - - <a href="http://github.com/richhickey/clojure-contrib/blob/7188a51605136f36524e4091fe806859114d6056/src/main/clojure/clojure/contrib/monads.clj#L36" id="var-source">Source</a> -</div><div id="var-entry"> - <br /> - <hr /> - <h2 id="clojure.contrib.monads/monad-transformer">monad-transformer</h2> - <span id="var-type">macro</span><br /> - <pre id="var-usage">Usage: (monad-transformer base which-m-plus operations) -</pre> - <pre id="var-docstr">Define a monad transforer in terms of the monad operations and the base -monad. The argument which-m-plus chooses if m-zero and m-plus are taken -from the base monad or from the transformer.</pre> - - - <a href="http://github.com/richhickey/clojure-contrib/blob/7188a51605136f36524e4091fe806859114d6056/src/main/clojure/clojure/contrib/monads.clj#L474" id="var-source">Source</a> -</div><div id="var-entry"> - <br /> - <hr /> - <h2 id="clojure.contrib.monads/run-cont">run-cont</h2> - <span id="var-type">function</span><br /> - <pre id="var-usage">Usage: (run-cont c) -</pre> - <pre id="var-docstr">Execute the computation c in the cont monad and return its result.</pre> - - - <a href="http://github.com/richhickey/clojure-contrib/blob/7188a51605136f36524e4091fe806859114d6056/src/main/clojure/clojure/contrib/monads.clj#L451" id="var-source">Source</a> -</div><div id="var-entry"> - <br /> - <hr /> - <h2 id="clojure.contrib.monads/sequence-m">sequence-m</h2> - <span id="var-type">var</span><br /> - <pre id="var-usage"></pre> - <pre id="var-docstr">Monad describing multi-valued computations, i.e. computations -that can yield multiple values. Any object implementing the seq -protocol can be used as a monadic value.</pre> - - - <a href="http://github.com/richhickey/clojure-contrib/blob/7188a51605136f36524e4091fe806859114d6056/src/main/clojure/clojure/contrib/monads.clj#L309" id="var-source">Source</a> -</div><div id="var-entry"> - <br /> - <hr /> - <h2 id="clojure.contrib.monads/sequence-t">sequence-t</h2> - <span id="var-type">function</span><br /> - <pre id="var-usage">Usage: (sequence-t m) - (sequence-t m which-m-plus) -</pre> - <pre id="var-docstr">Monad transformer that transforms a monad m into a monad in which -the base values are sequences. The argument which-m-plus chooses -if m-zero and m-plus are inherited from the base monad -(use :m-plus-from-base) or adopt sequence-like -behaviour (use :m-plus-from-transformer). The default is :m-plus-from-base -if the base monad m has a definition for m-plus, and -:m-plus-from-transformer otherwise.</pre> - - - <a href="http://github.com/richhickey/clojure-contrib/blob/7188a51605136f36524e4091fe806859114d6056/src/main/clojure/clojure/contrib/monads.clj#L528" id="var-source">Source</a> -</div><div id="var-entry"> - <br /> - <hr /> - <h2 id="clojure.contrib.monads/set-m">set-m</h2> - <span id="var-type">var</span><br /> - <pre id="var-usage"></pre> - <pre id="var-docstr">Monad describing multi-valued computations, like sequence-m, -but returning sets of results instead of sequences of results.</pre> - - - <a href="http://github.com/richhickey/clojure-contrib/blob/7188a51605136f36524e4091fe806859114d6056/src/main/clojure/clojure/contrib/monads.clj#L323" id="var-source">Source</a> -</div><div id="var-entry"> - <br /> - <hr /> - <h2 id="clojure.contrib.monads/set-state">set-state</h2> - <span id="var-type">function</span><br /> - <pre id="var-usage">Usage: (set-state s) -</pre> - <pre id="var-docstr">Return a state-monad function that replaces the current state by s and -returns the previous state.</pre> - - - <a href="http://github.com/richhickey/clojure-contrib/blob/7188a51605136f36524e4091fe806859114d6056/src/main/clojure/clojure/contrib/monads.clj#L353" id="var-source">Source</a> -</div><div id="var-entry"> - <br /> - <hr /> - <h2 id="clojure.contrib.monads/set-val">set-val</h2> - <span id="var-type">function</span><br /> - <pre id="var-usage">Usage: (set-val key val) -</pre> - <pre id="var-docstr">Return a state-monad function that assumes the state to be a map and -replaces the value associated with key by val. The old value is returned.</pre> - - - <a href="http://github.com/richhickey/clojure-contrib/blob/7188a51605136f36524e4091fe806859114d6056/src/main/clojure/clojure/contrib/monads.clj#L383" id="var-source">Source</a> -</div><div id="var-entry"> - <br /> - <hr /> - <h2 id="clojure.contrib.monads/state-m">state-m</h2> - <span id="var-type">var</span><br /> - <pre id="var-usage"></pre> - <pre id="var-docstr">Monad describing stateful computations. The monadic values have the -structure (fn [old-state] [result new-state]).</pre> - - - <a href="http://github.com/richhickey/clojure-contrib/blob/7188a51605136f36524e4091fe806859114d6056/src/main/clojure/clojure/contrib/monads.clj#L336" id="var-source">Source</a> -</div><div id="var-entry"> - <br /> - <hr /> - <h2 id="clojure.contrib.monads/state-m-until">state-m-until</h2> - <span id="var-type">function</span><br /> - <pre id="var-usage">Usage: (state-m-until p f x) -</pre> - <pre id="var-docstr">An optimized implementation of m-until for the state monad that -replaces recursion by a loop.</pre> - - - <a href="http://github.com/richhickey/clojure-contrib/blob/7188a51605136f36524e4091fe806859114d6056/src/main/clojure/clojure/contrib/monads.clj#L401" id="var-source">Source</a> -</div><div id="var-entry"> - <br /> - <hr /> - <h2 id="clojure.contrib.monads/state-t">state-t</h2> - <span id="var-type">function</span><br /> - <pre id="var-usage">Usage: (state-t m) -</pre> - <pre id="var-docstr">Monad transformer that transforms a monad m into a monad of stateful -computations that have the base monad type as their result.</pre> - - - <a href="http://github.com/richhickey/clojure-contrib/blob/7188a51605136f36524e4091fe806859114d6056/src/main/clojure/clojure/contrib/monads.clj#L555" id="var-source">Source</a> -</div><div id="var-entry"> - <br /> - <hr /> - <h2 id="clojure.contrib.monads/update-state">update-state</h2> - <span id="var-type">function</span><br /> - <pre id="var-usage">Usage: (update-state f) -</pre> - <pre id="var-docstr">Return a state-monad function that replaces the current state by the -result of f applied to the current state and that returns the old state.</pre> - - - <a href="http://github.com/richhickey/clojure-contrib/blob/7188a51605136f36524e4091fe806859114d6056/src/main/clojure/clojure/contrib/monads.clj#L347" id="var-source">Source</a> -</div><div id="var-entry"> - <br /> - <hr /> - <h2 id="clojure.contrib.monads/update-val">update-val</h2> - <span id="var-type">function</span><br /> - <pre id="var-usage">Usage: (update-val key f) -</pre> - <pre id="var-docstr">Return a state-monad function that assumes the state to be a map and -replaces the value associated with the given key by the return value -of f applied to the old value. The old value is returned.</pre> - - - <a href="http://github.com/richhickey/clojure-contrib/blob/7188a51605136f36524e4091fe806859114d6056/src/main/clojure/clojure/contrib/monads.clj#L373" id="var-source">Source</a> -</div><div id="var-entry"> - <br /> - <hr /> - <h2 id="clojure.contrib.monads/with-monad">with-monad</h2> - <span id="var-type">macro</span><br /> - <pre id="var-usage">Usage: (with-monad monad & exprs) -</pre> - <pre id="var-docstr">Evaluates an expression after replacing the keywords defining the -monad operations by the functions associated with these keywords -in the monad definition given by name.</pre> - - - <a href="http://github.com/richhickey/clojure-contrib/blob/7188a51605136f36524e4091fe806859114d6056/src/main/clojure/clojure/contrib/monads.clj#L102" id="var-source">Source</a> -</div><div id="var-entry"> - <br /> - <hr /> - <h2 id="clojure.contrib.monads/with-state-field">with-state-field</h2> - <span id="var-type">function</span><br /> - <pre id="var-usage">Usage: (with-state-field key statement) -</pre> - <pre id="var-docstr">Returns a state-monad function that expects a map as its state and -runs statement (another state-monad function) on the state defined by -the map entry corresponding to key. The map entry is updated with the -new state returned by statement.</pre> - - - <a href="http://github.com/richhickey/clojure-contrib/blob/7188a51605136f36524e4091fe806859114d6056/src/main/clojure/clojure/contrib/monads.clj#L389" id="var-source">Source</a> -</div><div id="var-entry"> - <br /> - <hr /> - <h2 id="clojure.contrib.monads/writer-m">writer-m</h2> - <span id="var-type">function</span><br /> - <pre id="var-usage">Usage: (writer-m empty-accumulator) -</pre> - <pre id="var-docstr">Monad describing computations that accumulate data on the side, e.g. for -logging. The monadic values have the structure [value log]. Any of the -accumulators from clojure.contrib.accumulators can be used for storing the -log data. Its empty value is passed as a parameter.</pre> - - - <a href="http://github.com/richhickey/clojure-contrib/blob/7188a51605136f36524e4091fe806859114d6056/src/main/clojure/clojure/contrib/monads.clj#L413" id="var-source">Source</a> -</div> - - -</div> - </div> - </div> - </div> - </div> - <div id="foot"> - <div style="text-align: center;" id="copyright">Copyright 2007-2009 by Rich Hickey and the various contributors</div> - </div> - </div> - <div id="DesignedBy">Logo & site design by <a title="Visit Tom Hickey's website." href="http://www.tomhickey.com">Tom Hickey</a>.<br /> - Clojure auto-documentation system by Tom Faulhaber.</div> - </div> - <!-- /AllContentContainer --> - </body> - -</html>
\ No newline at end of file diff --git a/branch-master/ns-utils-api.html b/branch-master/ns-utils-api.html deleted file mode 100644 index c5d51f04..00000000 --- a/branch-master/ns-utils-api.html +++ /dev/null @@ -1,208 +0,0 @@ -<html> - <head> - <title>ns-utils - clojure-contrib next API documentation</title> - <link href="../static/favicon.png" rel="icon" /> - <link href="../static/favicon.png" rel="shortcut icon" /> - <link media="all" type="text/css" href="../static/clojure.css" rel="stylesheet" /> - <link media="all" type="text/css" href="../static/wiki.css" rel="stylesheet" /> - <link media="all" type="text/css" href="../static/internal.css" rel="stylesheet" /> - <!-- TODO: are we using these (from clojure.org)? If so, add the files --> - <script src="file/view/code_highlighter.js" type="text/javascript"></script> - <script src="file/view/clojure.js" type="text/javascript"></script> - <style>.menuWrapper{height: 36px;}</style> - <!--[if lte IE 6]> - <link rel="stylesheet" href="http://www.wikispaces.com/_/2009051601/s/internal_ie.css" type="text/css" /> - <![endif]--> - </head> -<!-- -This document was auto-generated from the source by the clojure autodoc system. -To report errors or ask questions about the overall documentation structure, formatting, -etc., contact Tom Faulhaber (google mail name: tomfaulhaber). -For errors in the documentation of a particular namespace, contact the author of that -namespace. ---> - <body> - <div id="AllContentContainer"> - <div id="Header"> - <a id="Logo" href="index.html"><img alt="Clojure" height="100" width="100" src="../static/clojure-icon.gif" /></a> - <h1><a title="page header title" id="page-header" href="index.html">Clojure-contrib API Reference</a></h1> - </div> - <div id="leftcolumn"><div style="text-align: center;"></div> -<div class="menu"> - <div class="WikiCustomNav WikiElement wiki"> - <span class="toc-header"><span id="project-name">clojure-contrib</span> <span id="version">next</span> API</span><br /> - <ul> - <li><a class="wiki_link" href="index.html">Overview</a></li> - <li><a class="wiki_link" href="api-index.html">API Index</a></li> - </ul> - <span class="toc-header">Namespaces</span> - <ul id="left-sidebar-list"> - <li><a href="accumulators-api.html" class="wiki_link">accumulators</a></li><li><a href="agent-utils-api.html" class="wiki_link">agent-utils</a></li><li><a href="apply-macro-api.html" class="wiki_link">apply-macro</a></li><li><a href="base64-api.html" class="wiki_link">base64</a></li><li><a href="classpath-api.html" class="wiki_link">classpath</a></li><li><a href="combinatorics-api.html" class="wiki_link">combinatorics</a></li><li><a href="command-line-api.html" class="wiki_link">command-line</a></li><li><a href="complex-numbers-api.html" class="wiki_link">complex-numbers</a></li><li><a href="cond-api.html" class="wiki_link">cond</a></li><li><a href="condition-api.html" class="wiki_link">condition</a></li><li><a href="core-api.html" class="wiki_link">core</a></li><li><a href="dataflow-api.html" class="wiki_link">dataflow</a></li><li><a href="datalog-api.html" class="wiki_link">datalog</a></li><li><a href="def-api.html" class="wiki_link">def</a></li><li><a href="duck-streams-api.html" class="wiki_link">duck-streams</a></li><li><a href="error-kit-api.html" class="wiki_link">error-kit</a></li><li><a href="except-api.html" class="wiki_link">except</a></li><li><a href="fcase-api.html" class="wiki_link">fcase</a></li><li><a href="find-namespaces-api.html" class="wiki_link">find-namespaces</a></li><li><a href="fnmap-api.html" class="wiki_link">fnmap</a></li><li><a href="gen-html-docs-api.html" class="wiki_link">gen-html-docs</a></li><li><a href="generic.arithmetic-api.html" class="wiki_link">generic.arithmetic</a></li><li><a href="generic.collection-api.html" class="wiki_link">generic.collection</a></li><li><a href="generic.comparison-api.html" class="wiki_link">generic.comparison</a></li><li><a href="generic.functor-api.html" class="wiki_link">generic.functor</a></li><li><a href="generic.math-functions-api.html" class="wiki_link">generic.math-functions</a></li><li><a href="graph-api.html" class="wiki_link">graph</a></li><li><a href="greatest-least-api.html" class="wiki_link">greatest-least</a></li><li><a href="http.agent-api.html" class="wiki_link">http.agent</a></li><li><a href="http.connection-api.html" class="wiki_link">http.connection</a></li><li><a href="import-static-api.html" class="wiki_link">import-static</a></li><li><a href="io-api.html" class="wiki_link">io</a></li><li><a href="jar-api.html" class="wiki_link">jar</a></li><li><a href="java-utils-api.html" class="wiki_link">java-utils</a></li><li><a href="javadoc.browse-api.html" class="wiki_link">javadoc.browse</a></li><li><a href="jmx-api.html" class="wiki_link">jmx</a></li><li><a href="json-api.html" class="wiki_link">json</a></li><li><a href="lazy-seqs-api.html" class="wiki_link">lazy-seqs</a></li><li><a href="lazy-xml-api.html" class="wiki_link">lazy-xml</a></li><li><a href="logging-api.html" class="wiki_link">logging</a></li><li><a href="macro-utils-api.html" class="wiki_link">macro-utils</a></li><li><a href="macros-api.html" class="wiki_link">macros</a></li><li><a href="map-utils-api.html" class="wiki_link">map-utils</a></li><li><a href="math-api.html" class="wiki_link">math</a></li><li><a href="miglayout-api.html" class="wiki_link">miglayout</a></li><li><a href="mmap-api.html" class="wiki_link">mmap</a></li><li><a href="mock-api.html" class="wiki_link">mock</a></li><li><a href="monadic-io-streams-api.html" class="wiki_link">monadic-io-streams</a></li><li><a href="monads-api.html" class="wiki_link">monads</a></li><li><a href="ns-utils-api.html" class="wiki_link">ns-utils</a></li><li><a href="pprint-api.html" class="wiki_link">pprint</a></li><li><a href="priority-map-api.html" class="wiki_link">priority-map</a></li><li><a href="probabilities.finite-distributions-api.html" class="wiki_link">probabilities.finite-distributions</a></li><li><a href="probabilities.monte-carlo-api.html" class="wiki_link">probabilities.monte-carlo</a></li><li><a href="probabilities.random-numbers-api.html" class="wiki_link">probabilities.random-numbers</a></li><li><a href="profile-api.html" class="wiki_link">profile</a></li><li><a href="properties-api.html" class="wiki_link">properties</a></li><li><a href="prxml-api.html" class="wiki_link">prxml</a></li><li><a href="reflect-api.html" class="wiki_link">reflect</a></li><li><a href="repl-ln-api.html" class="wiki_link">repl-ln</a></li><li><a href="repl-utils-api.html" class="wiki_link">repl-utils</a></li><li><a href="seq-api.html" class="wiki_link">seq</a></li><li><a href="seq-utils-api.html" class="wiki_link">seq-utils</a></li><li><a href="server-socket-api.html" class="wiki_link">server-socket</a></li><li><a href="set-api.html" class="wiki_link">set</a></li><li><a href="shell-api.html" class="wiki_link">shell</a></li><li><a href="shell-out-api.html" class="wiki_link">shell-out</a></li><li><a href="singleton-api.html" class="wiki_link">singleton</a></li><li><a href="sql-api.html" class="wiki_link">sql</a></li><li><a href="str-utils-api.html" class="wiki_link">str-utils</a></li><li><a href="str-utils2-api.html" class="wiki_link">str-utils2</a></li><li><a href="stream-utils-api.html" class="wiki_link">stream-utils</a></li><li><a href="string-api.html" class="wiki_link">string</a></li><li><a href="strint-api.html" class="wiki_link">strint</a></li><li><a href="swing-utils-api.html" class="wiki_link">swing-utils</a></li><li><a href="test-is-api.html" class="wiki_link">test-is</a></li><li><a href="trace-api.html" class="wiki_link">trace</a></li><li><a href="types-api.html" class="wiki_link">types</a></li><li><a href="with-ns-api.html" class="wiki_link">with-ns</a></li><li><a href="zip-filter-api.html" class="wiki_link">zip-filter</a></li> - </ul> - <div class="BranchTOC"> - <span class="toc-header">Other Versions</span> - <ul id="left-sidebar-branch-list"> - <li><a href="../index.html" class="wiki_link">v1.2 (beta 1)</a></li><li><a href="../branch-1.1.x/index.html" class="wiki_link">v1.1 (stable)</a></li> - </ul> - </div> - <a href="http://clojure.org" class="wiki_link">Clojure Home</a> - </div> -</div> -</div> - <div id="rightcolumn"> - <div id="Content"> - <div class="contentBox"><div class="innerContentBox"> - <div id="content_view" class="wiki wikiPage"> - <div id="right-sidebar"><div id="toc"> - <h1 class="nopad">Table of Contents</h1> - <div style="margin-left: 1em;" class="toc-section"> - <a href="#toc0">Overview</a> - <div style="margin-left: 1em;" class="toc-entry"> - <a href="#clojure.contrib.ns-utils/dir">dir</a> - </div><div style="margin-left: 1em;" class="toc-entry"> - <a href="#clojure.contrib.ns-utils/docs">docs</a> - </div><div style="margin-left: 1em;" class="toc-entry"> - <a href="#clojure.contrib.ns-utils/get-ns">get-ns</a> - </div><div style="margin-left: 1em;" class="toc-entry"> - <a href="#clojure.contrib.ns-utils/immigrate">immigrate</a> - </div><div style="margin-left: 1em;" class="toc-entry"> - <a href="#clojure.contrib.ns-utils/ns-vars">ns-vars</a> - </div><div style="margin-left: 1em;" class="toc-entry"> - <a href="#clojure.contrib.ns-utils/print-dir">print-dir</a> - </div><div style="margin-left: 1em;" class="toc-entry"> - <a href="#clojure.contrib.ns-utils/print-docs">print-docs</a> - </div><div style="margin-left: 1em;" class="toc-entry"> - <a href="#clojure.contrib.ns-utils/vars">vars</a> - </div> - <br /> - </div> -</div> -</div> - <div id="content-tag"><h1 id="overview">API for <span id="namespace-name">ns-utils</span> - - <span id="header-project">clojure-contrib</span> <span id="header-version">next</span> (<span id="header-status">in development</span>) - </h1> -<span id="author-line">by <span id="author-name">Stephen C. Gilardi</span><br /></span> -<br />Usage: -<pre> -(ns your-namespace - (:require <span id="long-name">clojure.contrib.ns-utils</span>)) -</pre><pre> -</pre><h2>Overview</h2> -<pre id="namespace-docstr">Namespace utilities</pre> - - -<br /> -<h2>Public Variables and Functions</h2> -<div id="var-entry"> - <br /> - <hr /> - <h2 id="clojure.contrib.ns-utils/dir">dir</h2> - <span id="var-type">macro</span><br /> - <pre id="var-usage">Usage: (dir nsname) -</pre> - <pre id="var-docstr">Prints a sorted directory of public vars in a namespace</pre> - - - <a href="http://github.com/richhickey/clojure-contrib/blob/7188a51605136f36524e4091fe806859114d6056/src/main/clojure/clojure/contrib/ns_utils.clj#L84" id="var-source">Source</a> -</div><div id="var-entry"> - <br /> - <hr /> - <h2 id="clojure.contrib.ns-utils/docs">docs</h2> - <span id="var-type">macro</span><br /> - <pre id="var-usage">Usage: (docs nsname) -</pre> - <pre id="var-docstr">Prints documentation for the public vars in a namespace</pre> - - - <a href="http://github.com/richhickey/clojure-contrib/blob/7188a51605136f36524e4091fe806859114d6056/src/main/clojure/clojure/contrib/ns_utils.clj#L89" id="var-source">Source</a> -</div><div id="var-entry"> - <br /> - <hr /> - <h2 id="clojure.contrib.ns-utils/get-ns">get-ns</h2> - <span id="var-type">function</span><br /> - <pre id="var-usage">Usage: (get-ns ns-sym) -</pre> - <pre id="var-docstr">Returns the namespace named by ns-sym or throws if the -namespace does not exist</pre> - - - <a href="http://github.com/richhickey/clojure-contrib/blob/7188a51605136f36524e4091fe806859114d6056/src/main/clojure/clojure/contrib/ns_utils.clj#L50" id="var-source">Source</a> -</div><div id="var-entry"> - <br /> - <hr /> - <h2 id="clojure.contrib.ns-utils/immigrate">immigrate</h2> - <span id="var-type">function</span><br /> - <pre id="var-usage">Usage: (immigrate & ns-names) -</pre> - <pre id="var-docstr">Create a public var in this namespace for each public var in the -namespaces named by ns-names. The created vars have the same name, root -binding, and metadata as the original except that their :ns metadata -value is this namespace.</pre> - - - <a href="http://github.com/richhickey/clojure-contrib/blob/7188a51605136f36524e4091fe806859114d6056/src/main/clojure/clojure/contrib/ns_utils.clj#L94" id="var-source">Source</a> -</div><div id="var-entry"> - <br /> - <hr /> - <h2 id="clojure.contrib.ns-utils/ns-vars">ns-vars</h2> - <span id="var-type">function</span><br /> - <pre id="var-usage">Usage: (ns-vars ns) -</pre> - <pre id="var-docstr">Returns a sorted seq of symbols naming public vars in -a namespace</pre> - - - <a href="http://github.com/richhickey/clojure-contrib/blob/7188a51605136f36524e4091fe806859114d6056/src/main/clojure/clojure/contrib/ns_utils.clj#L58" id="var-source">Source</a> -</div><div id="var-entry"> - <br /> - <hr /> - <h2 id="clojure.contrib.ns-utils/print-dir">print-dir</h2> - <span id="var-type">function</span><br /> - <pre id="var-usage">Usage: (print-dir ns) -</pre> - <pre id="var-docstr">Prints a sorted directory of public vars in a namespace</pre> - - - <a href="http://github.com/richhickey/clojure-contrib/blob/7188a51605136f36524e4091fe806859114d6056/src/main/clojure/clojure/contrib/ns_utils.clj#L64" id="var-source">Source</a> -</div><div id="var-entry"> - <br /> - <hr /> - <h2 id="clojure.contrib.ns-utils/print-docs">print-docs</h2> - <span id="var-type">function</span><br /> - <pre id="var-usage">Usage: (print-docs ns) -</pre> - <pre id="var-docstr">Prints documentation for the public vars in a namespace</pre> - - - <a href="http://github.com/richhickey/clojure-contrib/blob/7188a51605136f36524e4091fe806859114d6056/src/main/clojure/clojure/contrib/ns_utils.clj#L70" id="var-source">Source</a> -</div><div id="var-entry"> - <br /> - <hr /> - <h2 id="clojure.contrib.ns-utils/vars">vars</h2> - <span id="var-type">macro</span><br /> - <pre id="var-usage">Usage: (vars nsname) -</pre> - <pre id="var-docstr">Returns a sorted seq of symbols naming public vars in -a namespace</pre> - - - <a href="http://github.com/richhickey/clojure-contrib/blob/7188a51605136f36524e4091fe806859114d6056/src/main/clojure/clojure/contrib/ns_utils.clj#L78" id="var-source">Source</a> -</div> - - -</div> - </div> - </div> - </div> - </div> - <div id="foot"> - <div style="text-align: center;" id="copyright">Copyright 2007-2009 by Rich Hickey and the various contributors</div> - </div> - </div> - <div id="DesignedBy">Logo & site design by <a title="Visit Tom Hickey's website." href="http://www.tomhickey.com">Tom Hickey</a>.<br /> - Clojure auto-documentation system by Tom Faulhaber.</div> - </div> - <!-- /AllContentContainer --> - </body> - -</html>
\ No newline at end of file diff --git a/branch-master/pprint-api.html b/branch-master/pprint-api.html deleted file mode 100644 index 36002416..00000000 --- a/branch-master/pprint-api.html +++ /dev/null @@ -1,694 +0,0 @@ -<html> - <head> - <title>pprint - clojure-contrib next API documentation</title> - <link href="../static/favicon.png" rel="icon" /> - <link href="../static/favicon.png" rel="shortcut icon" /> - <link media="all" type="text/css" href="../static/clojure.css" rel="stylesheet" /> - <link media="all" type="text/css" href="../static/wiki.css" rel="stylesheet" /> - <link media="all" type="text/css" href="../static/internal.css" rel="stylesheet" /> - <!-- TODO: are we using these (from clojure.org)? If so, add the files --> - <script src="file/view/code_highlighter.js" type="text/javascript"></script> - <script src="file/view/clojure.js" type="text/javascript"></script> - <style>.menuWrapper{height: 36px;}</style> - <!--[if lte IE 6]> - <link rel="stylesheet" href="http://www.wikispaces.com/_/2009051601/s/internal_ie.css" type="text/css" /> - <![endif]--> - </head> -<!-- -This document was auto-generated from the source by the clojure autodoc system. -To report errors or ask questions about the overall documentation structure, formatting, -etc., contact Tom Faulhaber (google mail name: tomfaulhaber). -For errors in the documentation of a particular namespace, contact the author of that -namespace. ---> - <body> - <div id="AllContentContainer"> - <div id="Header"> - <a id="Logo" href="index.html"><img alt="Clojure" height="100" width="100" src="../static/clojure-icon.gif" /></a> - <h1><a title="page header title" id="page-header" href="index.html">Clojure-contrib API Reference</a></h1> - </div> - <div id="leftcolumn"><div style="text-align: center;"></div> -<div class="menu"> - <div class="WikiCustomNav WikiElement wiki"> - <span class="toc-header"><span id="project-name">clojure-contrib</span> <span id="version">next</span> API</span><br /> - <ul> - <li><a class="wiki_link" href="index.html">Overview</a></li> - <li><a class="wiki_link" href="api-index.html">API Index</a></li> - </ul> - <span class="toc-header">Namespaces</span> - <ul id="left-sidebar-list"> - <li><a href="accumulators-api.html" class="wiki_link">accumulators</a></li><li><a href="agent-utils-api.html" class="wiki_link">agent-utils</a></li><li><a href="apply-macro-api.html" class="wiki_link">apply-macro</a></li><li><a href="base64-api.html" class="wiki_link">base64</a></li><li><a href="classpath-api.html" class="wiki_link">classpath</a></li><li><a href="combinatorics-api.html" class="wiki_link">combinatorics</a></li><li><a href="command-line-api.html" class="wiki_link">command-line</a></li><li><a href="complex-numbers-api.html" class="wiki_link">complex-numbers</a></li><li><a href="cond-api.html" class="wiki_link">cond</a></li><li><a href="condition-api.html" class="wiki_link">condition</a></li><li><a href="core-api.html" class="wiki_link">core</a></li><li><a href="dataflow-api.html" class="wiki_link">dataflow</a></li><li><a href="datalog-api.html" class="wiki_link">datalog</a></li><li><a href="def-api.html" class="wiki_link">def</a></li><li><a href="duck-streams-api.html" class="wiki_link">duck-streams</a></li><li><a href="error-kit-api.html" class="wiki_link">error-kit</a></li><li><a href="except-api.html" class="wiki_link">except</a></li><li><a href="fcase-api.html" class="wiki_link">fcase</a></li><li><a href="find-namespaces-api.html" class="wiki_link">find-namespaces</a></li><li><a href="fnmap-api.html" class="wiki_link">fnmap</a></li><li><a href="gen-html-docs-api.html" class="wiki_link">gen-html-docs</a></li><li><a href="generic.arithmetic-api.html" class="wiki_link">generic.arithmetic</a></li><li><a href="generic.collection-api.html" class="wiki_link">generic.collection</a></li><li><a href="generic.comparison-api.html" class="wiki_link">generic.comparison</a></li><li><a href="generic.functor-api.html" class="wiki_link">generic.functor</a></li><li><a href="generic.math-functions-api.html" class="wiki_link">generic.math-functions</a></li><li><a href="graph-api.html" class="wiki_link">graph</a></li><li><a href="greatest-least-api.html" class="wiki_link">greatest-least</a></li><li><a href="http.agent-api.html" class="wiki_link">http.agent</a></li><li><a href="http.connection-api.html" class="wiki_link">http.connection</a></li><li><a href="import-static-api.html" class="wiki_link">import-static</a></li><li><a href="io-api.html" class="wiki_link">io</a></li><li><a href="jar-api.html" class="wiki_link">jar</a></li><li><a href="java-utils-api.html" class="wiki_link">java-utils</a></li><li><a href="javadoc.browse-api.html" class="wiki_link">javadoc.browse</a></li><li><a href="jmx-api.html" class="wiki_link">jmx</a></li><li><a href="json-api.html" class="wiki_link">json</a></li><li><a href="lazy-seqs-api.html" class="wiki_link">lazy-seqs</a></li><li><a href="lazy-xml-api.html" class="wiki_link">lazy-xml</a></li><li><a href="logging-api.html" class="wiki_link">logging</a></li><li><a href="macro-utils-api.html" class="wiki_link">macro-utils</a></li><li><a href="macros-api.html" class="wiki_link">macros</a></li><li><a href="map-utils-api.html" class="wiki_link">map-utils</a></li><li><a href="math-api.html" class="wiki_link">math</a></li><li><a href="miglayout-api.html" class="wiki_link">miglayout</a></li><li><a href="mmap-api.html" class="wiki_link">mmap</a></li><li><a href="mock-api.html" class="wiki_link">mock</a></li><li><a href="monadic-io-streams-api.html" class="wiki_link">monadic-io-streams</a></li><li><a href="monads-api.html" class="wiki_link">monads</a></li><li><a href="ns-utils-api.html" class="wiki_link">ns-utils</a></li><li><a href="pprint-api.html" class="wiki_link">pprint</a></li><li><a href="priority-map-api.html" class="wiki_link">priority-map</a></li><li><a href="probabilities.finite-distributions-api.html" class="wiki_link">probabilities.finite-distributions</a></li><li><a href="probabilities.monte-carlo-api.html" class="wiki_link">probabilities.monte-carlo</a></li><li><a href="probabilities.random-numbers-api.html" class="wiki_link">probabilities.random-numbers</a></li><li><a href="profile-api.html" class="wiki_link">profile</a></li><li><a href="properties-api.html" class="wiki_link">properties</a></li><li><a href="prxml-api.html" class="wiki_link">prxml</a></li><li><a href="reflect-api.html" class="wiki_link">reflect</a></li><li><a href="repl-ln-api.html" class="wiki_link">repl-ln</a></li><li><a href="repl-utils-api.html" class="wiki_link">repl-utils</a></li><li><a href="seq-api.html" class="wiki_link">seq</a></li><li><a href="seq-utils-api.html" class="wiki_link">seq-utils</a></li><li><a href="server-socket-api.html" class="wiki_link">server-socket</a></li><li><a href="set-api.html" class="wiki_link">set</a></li><li><a href="shell-api.html" class="wiki_link">shell</a></li><li><a href="shell-out-api.html" class="wiki_link">shell-out</a></li><li><a href="singleton-api.html" class="wiki_link">singleton</a></li><li><a href="sql-api.html" class="wiki_link">sql</a></li><li><a href="str-utils-api.html" class="wiki_link">str-utils</a></li><li><a href="str-utils2-api.html" class="wiki_link">str-utils2</a></li><li><a href="stream-utils-api.html" class="wiki_link">stream-utils</a></li><li><a href="string-api.html" class="wiki_link">string</a></li><li><a href="strint-api.html" class="wiki_link">strint</a></li><li><a href="swing-utils-api.html" class="wiki_link">swing-utils</a></li><li><a href="test-is-api.html" class="wiki_link">test-is</a></li><li><a href="trace-api.html" class="wiki_link">trace</a></li><li><a href="types-api.html" class="wiki_link">types</a></li><li><a href="with-ns-api.html" class="wiki_link">with-ns</a></li><li><a href="zip-filter-api.html" class="wiki_link">zip-filter</a></li> - </ul> - <div class="BranchTOC"> - <span class="toc-header">Other Versions</span> - <ul id="left-sidebar-branch-list"> - <li><a href="../index.html" class="wiki_link">v1.2 (beta 1)</a></li><li><a href="../branch-1.1.x/index.html" class="wiki_link">v1.1 (stable)</a></li> - </ul> - </div> - <a href="http://clojure.org" class="wiki_link">Clojure Home</a> - </div> -</div> -</div> - <div id="rightcolumn"> - <div id="Content"> - <div class="contentBox"><div class="innerContentBox"> - <div id="content_view" class="wiki wikiPage"> - <div id="right-sidebar"><div id="toc"> - <h1 class="nopad">Table of Contents</h1> - <div style="margin-left: 1em;" class="toc-section"> - <a href="#toc0">Overview</a> - <div style="margin-left: 1em;" class="toc-entry"> - <a href="#clojure.contrib.pprint/*code-dispatch*">*code-dispatch*</a> - </div><div style="margin-left: 1em;" class="toc-entry"> - <a href="#clojure.contrib.pprint/*print-base*">*print-base*</a> - </div><div style="margin-left: 1em;" class="toc-entry"> - <a href="#clojure.contrib.pprint/*print-circle*">*print-circle*</a> - </div><div style="margin-left: 1em;" class="toc-entry"> - <a href="#clojure.contrib.pprint/*print-lines*">*print-lines*</a> - </div><div style="margin-left: 1em;" class="toc-entry"> - <a href="#clojure.contrib.pprint/*print-miser-width*">*print-miser-width*</a> - </div><div style="margin-left: 1em;" class="toc-entry"> - <a href="#clojure.contrib.pprint/*print-pprint-dispatch*">*print-pprint-dispatch*</a> - </div><div style="margin-left: 1em;" class="toc-entry"> - <a href="#clojure.contrib.pprint/*print-pretty*">*print-pretty*</a> - </div><div style="margin-left: 1em;" class="toc-entry"> - <a href="#clojure.contrib.pprint/*print-radix*">*print-radix*</a> - </div><div style="margin-left: 1em;" class="toc-entry"> - <a href="#clojure.contrib.pprint/*print-right-margin*">*print-right-margin*</a> - </div><div style="margin-left: 1em;" class="toc-entry"> - <a href="#clojure.contrib.pprint/*print-shared*">*print-shared*</a> - </div><div style="margin-left: 1em;" class="toc-entry"> - <a href="#clojure.contrib.pprint/*print-suppress-namespaces*">*print-suppress-namespaces*</a> - </div><div style="margin-left: 1em;" class="toc-entry"> - <a href="#clojure.contrib.pprint/*simple-dispatch*">*simple-dispatch*</a> - </div><div style="margin-left: 1em;" class="toc-entry"> - <a href="#clojure.contrib.pprint/cl-format">cl-format</a> - </div><div style="margin-left: 1em;" class="toc-entry"> - <a href="#clojure.contrib.pprint/compile-format">compile-format</a> - </div><div style="margin-left: 1em;" class="toc-entry"> - <a href="#clojure.contrib.pprint/formatter">formatter</a> - </div><div style="margin-left: 1em;" class="toc-entry"> - <a href="#clojure.contrib.pprint/formatter-out">formatter-out</a> - </div><div style="margin-left: 1em;" class="toc-entry"> - <a href="#clojure.contrib.pprint/fresh-line">fresh-line</a> - </div><div style="margin-left: 1em;" class="toc-entry"> - <a href="#clojure.contrib.pprint/pp">pp</a> - </div><div style="margin-left: 1em;" class="toc-entry"> - <a href="#clojure.contrib.pprint/pprint">pprint</a> - </div><div style="margin-left: 1em;" class="toc-entry"> - <a href="#clojure.contrib.pprint/pprint-indent">pprint-indent</a> - </div><div style="margin-left: 1em;" class="toc-entry"> - <a href="#clojure.contrib.pprint/pprint-logical-block">pprint-logical-block</a> - </div><div style="margin-left: 1em;" class="toc-entry"> - <a href="#clojure.contrib.pprint/pprint-newline">pprint-newline</a> - </div><div style="margin-left: 1em;" class="toc-entry"> - <a href="#clojure.contrib.pprint/pprint-tab">pprint-tab</a> - </div><div style="margin-left: 1em;" class="toc-entry"> - <a href="#clojure.contrib.pprint/set-pprint-dispatch">set-pprint-dispatch</a> - </div><div style="margin-left: 1em;" class="toc-entry"> - <a href="#clojure.contrib.pprint/use-method">use-method</a> - </div><div style="margin-left: 1em;" class="toc-entry"> - <a href="#clojure.contrib.pprint/with-pprint-dispatch">with-pprint-dispatch</a> - </div><div style="margin-left: 1em;" class="toc-entry"> - <a href="#clojure.contrib.pprint/write">write</a> - </div><div style="margin-left: 1em;" class="toc-entry"> - <a href="#clojure.contrib.pprint/write-out">write-out</a> - </div> - <br /> - </div><div style="margin-left: 1em;" class="toc-section"> - <a href="#pprint.examples.json">pprint.examples.json</a> - <div style="margin-left: 1em;" class="toc-entry"> - <a href="#clojure.contrib.pprint.examples.json/dispatch-json">dispatch-json</a> - </div><div style="margin-left: 1em;" class="toc-entry"> - <a href="#clojure.contrib.pprint.examples.json/json-str">json-str</a> - </div><div style="margin-left: 1em;" class="toc-entry"> - <a href="#clojure.contrib.pprint.examples.json/print-json">print-json</a> - </div> - <br /> - </div><div style="margin-left: 1em;" class="toc-section"> - <a href="#pprint.examples.xml">pprint.examples.xml</a> - <div style="margin-left: 1em;" class="toc-entry"> - <a href="#clojure.contrib.pprint.examples.xml/*html-compatible*">*html-compatible*</a> - </div><div style="margin-left: 1em;" class="toc-entry"> - <a href="#clojure.contrib.pprint.examples.xml/*prxml-indent*">*prxml-indent*</a> - </div><div style="margin-left: 1em;" class="toc-entry"> - <a href="#clojure.contrib.pprint.examples.xml/prxml">prxml</a> - </div> - <br /> - </div> -</div> -</div> - <div id="content-tag"><h1 id="overview">API for <span id="namespace-name">pprint</span> - - <span id="header-project">clojure-contrib</span> <span id="header-version">next</span> (<span id="header-status">in development</span>) - </h1> -<span id="author-line">by <span id="author-name">Tom Faulhaber</span><br /></span> -<br />Usage: -<pre> -(ns your-namespace - (:require <span id="long-name">clojure.contrib.pprint</span>)) -</pre><pre> -</pre><h2>Overview</h2> -<pre id="namespace-docstr">This module comprises two elements: -1) A pretty printer for Clojure data structures, implemented in the - function "pprint" -2) A Common Lisp compatible format function, implemented as - "cl-format" because Clojure is using the name "format" - for its Java-based format function. - -See documentation for those functions for more information or complete -documentation on the the clojure-contrib web site on github. - -As of the 1.2 release, pprint has been moved to clojure.pprint. Please prefer -the clojure.pprint version for new code.</pre> - -<span class="ns-deprecated"><span id="content">Deprecated since clojure-contrib version 1.2</span><br /></span> -<br /> -<span id="external-doc">Related documentation: - <span id="external-doc-link"> - <br /><a href="doc/pprint/CommonLispFormat.html">A Common Lisp-compatible Format Function</a> - <br /></span><span id="external-doc-link"> - <br /><a href="doc/pprint/PrettyPrinting.html">A Pretty Printer for Clojure</a> - <br /></span><br /> -</span><h2>Public Variables and Functions</h2> -<div id="var-entry"> - <br /> - <hr /> - <h2 id="clojure.contrib.pprint/*code-dispatch*">*code-dispatch*</h2> - <span id="var-type">multimethod</span><br /> - <pre id="var-usage">Usage: (*code-dispatch* object) -</pre> - <pre id="var-docstr">The pretty print dispatch function for pretty printing Clojure code.</pre> - - - <a href="http://github.com/richhickey/clojure-contrib/blob/7188a51605136f36524e4091fe806859114d6056/src/main/clojure/clojure/contrib/pprint/dispatch.clj#L354" id="var-source">Source</a> -</div><div id="var-entry"> - <br /> - <hr /> - <h2 id="clojure.contrib.pprint/*print-base*">*print-base*</h2> - <span id="var-type">var</span><br /> - <pre id="var-usage"></pre> - <pre id="var-docstr">The base to use for printing integers and rationals.</pre> - - - <a href="http://github.com/richhickey/clojure-contrib/blob/7188a51605136f36524e4091fe806859114d6056/src/main/clojure/clojure/contrib/pprint/pprint_base.clj#L78" id="var-source">Source</a> -</div><div id="var-entry"> - <br /> - <hr /> - <h2 id="clojure.contrib.pprint/*print-circle*">*print-circle*</h2> - <span id="var-type">var</span><br /> - <pre id="var-usage"></pre> - <pre id="var-docstr">Mark circular structures (N.B. This is not yet used)</pre> - - - <a href="http://github.com/richhickey/clojure-contrib/blob/7188a51605136f36524e4091fe806859114d6056/src/main/clojure/clojure/contrib/pprint/pprint_base.clj#L56" id="var-source">Source</a> -</div><div id="var-entry"> - <br /> - <hr /> - <h2 id="clojure.contrib.pprint/*print-lines*">*print-lines*</h2> - <span id="var-type">var</span><br /> - <pre id="var-usage"></pre> - <pre id="var-docstr">Maximum number of lines to print in a pretty print instance (N.B. This is not yet used)</pre> - - - <a href="http://github.com/richhickey/clojure-contrib/blob/7188a51605136f36524e4091fe806859114d6056/src/main/clojure/clojure/contrib/pprint/pprint_base.clj#L51" id="var-source">Source</a> -</div><div id="var-entry"> - <br /> - <hr /> - <h2 id="clojure.contrib.pprint/*print-miser-width*">*print-miser-width*</h2> - <span id="var-type">var</span><br /> - <pre id="var-usage"></pre> - <pre id="var-docstr">The column at which to enter miser style. Depending on the dispatch table, -miser style add newlines in more places to try to keep lines short allowing for further -levels of nesting.</pre> - - - <a href="http://github.com/richhickey/clojure-contrib/blob/7188a51605136f36524e4091fe806859114d6056/src/main/clojure/clojure/contrib/pprint/pprint_base.clj#L44" id="var-source">Source</a> -</div><div id="var-entry"> - <br /> - <hr /> - <h2 id="clojure.contrib.pprint/*print-pprint-dispatch*">*print-pprint-dispatch*</h2> - <span id="var-type">var</span><br /> - <pre id="var-usage"></pre> - <pre id="var-docstr">The pretty print dispatch function. Use with-pprint-dispatch or set-pprint-dispatch -to modify.</pre> - - - <a href="http://github.com/richhickey/clojure-contrib/blob/7188a51605136f36524e4091fe806859114d6056/src/main/clojure/clojure/contrib/pprint/pprint_base.clj#L33" id="var-source">Source</a> -</div><div id="var-entry"> - <br /> - <hr /> - <h2 id="clojure.contrib.pprint/*print-pretty*">*print-pretty*</h2> - <span id="var-type">var</span><br /> - <pre id="var-usage"></pre> - <pre id="var-docstr">Bind to true if you want write to use pretty printing</pre> - - - <a href="http://github.com/richhickey/clojure-contrib/blob/7188a51605136f36524e4091fe806859114d6056/src/main/clojure/clojure/contrib/pprint/pprint_base.clj#L29" id="var-source">Source</a> -</div><div id="var-entry"> - <br /> - <hr /> - <h2 id="clojure.contrib.pprint/*print-radix*">*print-radix*</h2> - <span id="var-type">var</span><br /> - <pre id="var-usage"></pre> - <pre id="var-docstr">Print a radix specifier in front of integers and rationals. If *print-base* is 2, 8, -or 16, then the radix specifier used is #b, #o, or #x, respectively. Otherwise the -radix specifier is in the form #XXr where XX is the decimal value of *print-base* </pre> - - - <a href="http://github.com/richhickey/clojure-contrib/blob/7188a51605136f36524e4091fe806859114d6056/src/main/clojure/clojure/contrib/pprint/pprint_base.clj#L72" id="var-source">Source</a> -</div><div id="var-entry"> - <br /> - <hr /> - <h2 id="clojure.contrib.pprint/*print-right-margin*">*print-right-margin*</h2> - <span id="var-type">var</span><br /> - <pre id="var-usage"></pre> - <pre id="var-docstr">Pretty printing will try to avoid anything going beyond this column. -Set it to nil to have pprint let the line be arbitrarily long. This will ignore all -non-mandatory newlines.</pre> - - - <a href="http://github.com/richhickey/clojure-contrib/blob/7188a51605136f36524e4091fe806859114d6056/src/main/clojure/clojure/contrib/pprint/pprint_base.clj#L38" id="var-source">Source</a> -</div><div id="var-entry"> - <br /> - <hr /> - <h2 id="clojure.contrib.pprint/*print-shared*">*print-shared*</h2> - <span id="var-type">var</span><br /> - <pre id="var-usage"></pre> - <pre id="var-docstr">Mark repeated structures rather than repeat them (N.B. This is not yet used)</pre> - - - <a href="http://github.com/richhickey/clojure-contrib/blob/7188a51605136f36524e4091fe806859114d6056/src/main/clojure/clojure/contrib/pprint/pprint_base.clj#L61" id="var-source">Source</a> -</div><div id="var-entry"> - <br /> - <hr /> - <h2 id="clojure.contrib.pprint/*print-suppress-namespaces*">*print-suppress-namespaces*</h2> - <span id="var-type">var</span><br /> - <pre id="var-usage"></pre> - <pre id="var-docstr">Don't print namespaces with symbols. This is particularly useful when -pretty printing the results of macro expansions</pre> - - - <a href="http://github.com/richhickey/clojure-contrib/blob/7188a51605136f36524e4091fe806859114d6056/src/main/clojure/clojure/contrib/pprint/pprint_base.clj#L65" id="var-source">Source</a> -</div><div id="var-entry"> - <br /> - <hr /> - <h2 id="clojure.contrib.pprint/*simple-dispatch*">*simple-dispatch*</h2> - <span id="var-type">multimethod</span><br /> - <pre id="var-usage">Usage: (*simple-dispatch* object) -</pre> - <pre id="var-docstr">The pretty print dispatch function for simple data structure format.</pre> - - - <a href="http://github.com/richhickey/clojure-contrib/blob/7188a51605136f36524e4091fe806859114d6056/src/main/clojure/clojure/contrib/pprint/dispatch.clj#L125" id="var-source">Source</a> -</div><div id="var-entry"> - <br /> - <hr /> - <h2 id="clojure.contrib.pprint/cl-format">cl-format</h2> - <span id="var-type">function</span><br /> - <pre id="var-usage">Usage: (cl-format writer format-in & args) -</pre> - <pre id="var-docstr">An implementation of a Common Lisp compatible format function. cl-format formats its -arguments to an output stream or string based on the format control string given. It -supports sophisticated formatting of structured data. - -Writer is an instance of java.io.Writer, true to output to *out* or nil to output -to a string, format-in is the format control string and the remaining arguments -are the data to be formatted. - -The format control string is a string to be output with embedded 'format directives' -describing how to format the various arguments passed in. - -If writer is nil, cl-format returns the formatted result string. Otherwise, cl-format -returns nil. - -For example: - (let [results [46 38 22]] - (cl-format true "There ~[are~;is~:;are~]~:* ~d result~:p: ~{~d~^, ~}~%" - (count results) results)) - -Prints to *out*: - There are 3 results: 46, 38, 22 - -Detailed documentation on format control strings is available in the "Common Lisp the -Language, 2nd edition", Chapter 22 (available online at: -<a href="http://www.cs.cmu.edu/afs/cs.cmu.edu/project/ai-repository/ai/html/cltl/clm/node200.html#SECTION002633000000000000000">http://www.cs.cmu.edu/afs/cs.cmu.edu/project/ai-repository/ai/html/cltl/clm/node200.html#SECTION002633000000000000000</a>) -and in the Common Lisp HyperSpec at -<a href="http://www.lispworks.com/documentation/HyperSpec/Body/22_c.htm">http://www.lispworks.com/documentation/HyperSpec/Body/22_c.htm</a></pre> - - - <a href="http://github.com/richhickey/clojure-contrib/blob/7188a51605136f36524e4091fe806859114d6056/src/main/clojure/clojure/contrib/pprint/cl_format.clj#L26" id="var-source">Source</a> -</div><div id="var-entry"> - <br /> - <hr /> - <h2 id="clojure.contrib.pprint/compile-format">compile-format</h2> - <span id="var-type">function</span><br /> - <pre id="var-usage">Usage: (compile-format format-str) -</pre> - <pre id="var-docstr">Compiles format-str into a compiled format which can be used as an argument -to cl-format just like a plain format string. Use this function for improved -performance when you're using the same format string repeatedly</pre> - - - <a href="http://github.com/richhickey/clojure-contrib/blob/7188a51605136f36524e4091fe806859114d6056/src/main/clojure/clojure/contrib/pprint/cl_format.clj#L1749" id="var-source">Source</a> -</div><div id="var-entry"> - <br /> - <hr /> - <h2 id="clojure.contrib.pprint/formatter">formatter</h2> - <span id="var-type">macro</span><br /> - <pre id="var-usage">Usage: (formatter format-in) -</pre> - <pre id="var-docstr">Makes a function which can directly run format-in. The function is -fn [stream & args] ... and returns nil unless the stream is nil (meaning -output to a string) in which case it returns the resulting string. - -format-in can be either a control string or a previously compiled format.</pre> - - - <a href="http://github.com/richhickey/clojure-contrib/blob/7188a51605136f36524e4091fe806859114d6056/src/main/clojure/clojure/contrib/pprint/cl_format.clj#L1817" id="var-source">Source</a> -</div><div id="var-entry"> - <br /> - <hr /> - <h2 id="clojure.contrib.pprint/formatter-out">formatter-out</h2> - <span id="var-type">macro</span><br /> - <pre id="var-usage">Usage: (formatter-out format-in) -</pre> - <pre id="var-docstr">Makes a function which can directly run format-in. The function is -fn [& args] ... and returns nil. This version of the formatter macro is -designed to be used with *out* set to an appropriate Writer. In particular, -this is meant to be used as part of a pretty printer dispatch method. - -format-in can be either a control string or a previously compiled format.</pre> - - - <a href="http://github.com/richhickey/clojure-contrib/blob/7188a51605136f36524e4091fe806859114d6056/src/main/clojure/clojure/contrib/pprint/cl_format.clj#L1831" id="var-source">Source</a> -</div><div id="var-entry"> - <br /> - <hr /> - <h2 id="clojure.contrib.pprint/fresh-line">fresh-line</h2> - <span id="var-type">function</span><br /> - <pre id="var-usage">Usage: (fresh-line) -</pre> - <pre id="var-docstr">Make a newline if the Writer is not already at the beginning of the line. -N.B. Only works on ColumnWriters right now.</pre> - - - <a href="http://github.com/richhickey/clojure-contrib/blob/7188a51605136f36524e4091fe806859114d6056/src/main/clojure/clojure/contrib/pprint/cl_format.clj#L1153" id="var-source">Source</a> -</div><div id="var-entry"> - <br /> - <hr /> - <h2 id="clojure.contrib.pprint/pp">pp</h2> - <span id="var-type">macro</span><br /> - <pre id="var-usage">Usage: (pp) -</pre> - <pre id="var-docstr">A convenience macro that pretty prints the last thing output. This is -exactly equivalent to (pprint *1).</pre> - - - <a href="http://github.com/richhickey/clojure-contrib/blob/7188a51605136f36524e4091fe806859114d6056/src/main/clojure/clojure/contrib/pprint/pprint_base.clj#L241" id="var-source">Source</a> -</div><div id="var-entry"> - <br /> - <hr /> - <h2 id="clojure.contrib.pprint/pprint">pprint</h2> - <span id="var-type">function</span><br /> - <pre id="var-usage">Usage: (pprint object) - (pprint object writer) -</pre> - <pre id="var-docstr">Pretty print object to the optional output writer. If the writer is not provided, -print the object to the currently bound value of *out*.</pre> - - - <a href="http://github.com/richhickey/clojure-contrib/blob/7188a51605136f36524e4091fe806859114d6056/src/main/clojure/clojure/contrib/pprint/pprint_base.clj#L229" id="var-source">Source</a> -</div><div id="var-entry"> - <br /> - <hr /> - <h2 id="clojure.contrib.pprint/pprint-indent">pprint-indent</h2> - <span id="var-type">function</span><br /> - <pre id="var-usage">Usage: (pprint-indent relative-to n) -</pre> - <pre id="var-docstr">Create an indent at this point in the pretty printing stream. This defines how -following lines are indented. relative-to can be either :block or :current depending -whether the indent should be computed relative to the start of the logical block or -the current column position. n is an offset. - -Output is sent to *out* which must be a pretty printing writer.</pre> - - - <a href="http://github.com/richhickey/clojure-contrib/blob/7188a51605136f36524e4091fe806859114d6056/src/main/clojure/clojure/contrib/pprint/pprint_base.clj#L315" id="var-source">Source</a> -</div><div id="var-entry"> - <br /> - <hr /> - <h2 id="clojure.contrib.pprint/pprint-logical-block">pprint-logical-block</h2> - <span id="var-type">macro</span><br /> - <pre id="var-usage">Usage: (pprint-logical-block options* body) -</pre> - <pre id="var-docstr">Execute the body as a pretty printing logical block with output to *out* which -must be a pretty printing writer. When used from pprint or cl-format, this can be -assumed. - -Before the body, the caller can optionally specify options: :prefix, :per-line-prefix, -and :suffix.</pre> - - - <a href="http://github.com/richhickey/clojure-contrib/blob/7188a51605136f36524e4091fe806859114d6056/src/main/clojure/clojure/contrib/pprint/pprint_base.clj#L286" id="var-source">Source</a> -</div><div id="var-entry"> - <br /> - <hr /> - <h2 id="clojure.contrib.pprint/pprint-newline">pprint-newline</h2> - <span id="var-type">function</span><br /> - <pre id="var-usage">Usage: (pprint-newline kind) -</pre> - <pre id="var-docstr">Print a conditional newline to a pretty printing stream. kind specifies if the -newline is :linear, :miser, :fill, or :mandatory. - -Output is sent to *out* which must be a pretty printing writer.</pre> - - - <a href="http://github.com/richhickey/clojure-contrib/blob/7188a51605136f36524e4091fe806859114d6056/src/main/clojure/clojure/contrib/pprint/pprint_base.clj#L306" id="var-source">Source</a> -</div><div id="var-entry"> - <br /> - <hr /> - <h2 id="clojure.contrib.pprint/pprint-tab">pprint-tab</h2> - <span id="var-type">function</span><br /> - <pre id="var-usage">Usage: (pprint-tab kind colnum colinc) -</pre> - <pre id="var-docstr">Tab at this point in the pretty printing stream. kind specifies whether the tab -is :line, :section, :line-relative, or :section-relative. - -Colnum and colinc specify the target column and the increment to move the target -forward if the output is already past the original target. - -Output is sent to *out* which must be a pretty printing writer. - -THIS FUNCTION IS NOT YET IMPLEMENTED.</pre> - - - <a href="http://github.com/richhickey/clojure-contrib/blob/7188a51605136f36524e4091fe806859114d6056/src/main/clojure/clojure/contrib/pprint/pprint_base.clj#L327" id="var-source">Source</a> -</div><div id="var-entry"> - <br /> - <hr /> - <h2 id="clojure.contrib.pprint/set-pprint-dispatch">set-pprint-dispatch</h2> - <span id="var-type">function</span><br /> - <pre id="var-usage">Usage: (set-pprint-dispatch function) -</pre> - <pre id="var-docstr">Set the pretty print dispatch function to a function matching (fn [obj] ...) -where obj is the object to pretty print. That function will be called with *out* set -to a pretty printing writer to which it should do its printing. - -For example functions, see *simple-dispatch* and *code-dispatch* in -clojure.contrib.pprint.dispatch.clj.</pre> - - - <a href="http://github.com/richhickey/clojure-contrib/blob/7188a51605136f36524e4091fe806859114d6056/src/main/clojure/clojure/contrib/pprint/pprint_base.clj#L246" id="var-source">Source</a> -</div><div id="var-entry"> - <br /> - <hr /> - <h2 id="clojure.contrib.pprint/use-method">use-method</h2> - <span id="var-type">function</span><br /> - <pre id="var-usage">Usage: (use-method multifn dispatch-val func) -</pre> - <pre id="var-docstr">Installs a function as a new method of multimethod associated with dispatch-value. </pre> - - - <a href="http://github.com/richhickey/clojure-contrib/blob/7188a51605136f36524e4091fe806859114d6056/src/main/clojure/clojure/contrib/pprint/dispatch.clj#L19" id="var-source">Source</a> -</div><div id="var-entry"> - <br /> - <hr /> - <h2 id="clojure.contrib.pprint/with-pprint-dispatch">with-pprint-dispatch</h2> - <span id="var-type">macro</span><br /> - <pre id="var-usage">Usage: (with-pprint-dispatch function & body) -</pre> - <pre id="var-docstr">Execute body with the pretty print dispatch function bound to function.</pre> - - - <a href="http://github.com/richhickey/clojure-contrib/blob/7188a51605136f36524e4091fe806859114d6056/src/main/clojure/clojure/contrib/pprint/pprint_base.clj#L259" id="var-source">Source</a> -</div><div id="var-entry"> - <br /> - <hr /> - <h2 id="clojure.contrib.pprint/write">write</h2> - <span id="var-type">function</span><br /> - <pre id="var-usage">Usage: (write object & kw-args) -</pre> - <pre id="var-docstr">Write an object subject to the current bindings of the printer control variables. -Use the kw-args argument to override individual variables for this call (and any -recursive calls). Returns the string result if :stream is nil or nil otherwise. - -The following keyword arguments can be passed with values: - Keyword Meaning Default value - :stream Writer for output or nil true (indicates *out*) - :base Base to use for writing rationals Current value of *print-base* - :circle* If true, mark circular structures Current value of *print-circle* - :length Maximum elements to show in sublists Current value of *print-length* - :level Maximum depth Current value of *print-level* - :lines* Maximum lines of output Current value of *print-lines* - :miser-width Width to enter miser mode Current value of *print-miser-width* - :dispatch The pretty print dispatch function Current value of *print-pprint-dispatch* - :pretty If true, do pretty printing Current value of *print-pretty* - :radix If true, prepend a radix specifier Current value of *print-radix* - :readably* If true, print readably Current value of *print-readably* - :right-margin The column for the right margin Current value of *print-right-margin* - :suppress-namespaces If true, no namespaces in symbols Current value of *print-suppress-namespaces* - - * = not yet supported</pre> - - - <a href="http://github.com/richhickey/clojure-contrib/blob/7188a51605136f36524e4091fe806859114d6056/src/main/clojure/clojure/contrib/pprint/pprint_base.clj#L186" id="var-source">Source</a> -</div><div id="var-entry"> - <br /> - <hr /> - <h2 id="clojure.contrib.pprint/write-out">write-out</h2> - <span id="var-type">function</span><br /> - <pre id="var-usage">Usage: (write-out object) -</pre> - <pre id="var-docstr">Write an object to *out* subject to the current bindings of the printer control -variables. Use the kw-args argument to override individual variables for this call (and -any recursive calls). - -*out* must be a PrettyWriter if pretty printing is enabled. This is the responsibility -of the caller. - -This method is primarily intended for use by pretty print dispatch functions that -already know that the pretty printer will have set up their environment appropriately. -Normal library clients should use the standard "write" interface. </pre> - - - <a href="http://github.com/richhickey/clojure-contrib/blob/7188a51605136f36524e4091fe806859114d6056/src/main/clojure/clojure/contrib/pprint/pprint_base.clj#L161" id="var-source">Source</a> -</div> -<h2 id="namespace-name">pprint.examples.json</h2> -<pre id="namespace-docstr">Pretty printing JavaScript Object Notation (JSON) generator. - -This is an example of using a pretty printer dispatch function to generate JSON output</pre> - - -<span id="see-also">See also: - <span id="see-also-link"> - <a href="http://json.org/">JSON Home Page</a> - </span><br /> -</span><br /> -<div id="var-entry"> - <hr /> - <h2 id="clojure.contrib.pprint.examples.json/dispatch-json">dispatch-json</h2> - <span id="var-type">multimethod</span><br /> - <pre id="var-usage">Usage: (dispatch-json x) -</pre> - <pre id="var-docstr">The dispatch function for printing objects as JSON</pre> - - - <a href="http://github.com/richhickey/clojure-contrib/blob/5d30e632710faf1b74ef7826ba5bf1bde737e5ef/src/examples/clojure/clojure/contrib/pprint/examples/json.clj#L28" id="var-source">Source</a> -</div><div id="var-entry"> - <hr /> - <h2 id="clojure.contrib.pprint.examples.json/json-str">json-str</h2> - <span id="var-type">function</span><br /> - <pre id="var-usage">Usage: (json-str x) -</pre> - <pre id="var-docstr">Converts x to a JSON-formatted string.</pre> - - - <a href="http://github.com/richhickey/clojure-contrib/blob/5d30e632710faf1b74ef7826ba5bf1bde737e5ef/src/examples/clojure/clojure/contrib/pprint/examples/json.clj#L96" id="var-source">Source</a> -</div><div id="var-entry"> - <hr /> - <h2 id="clojure.contrib.pprint.examples.json/print-json">print-json</h2> - <span id="var-type">function</span><br /> - <pre id="var-usage">Usage: (print-json x) -</pre> - <pre id="var-docstr">Prints x as JSON. Nil becomes JSON null. Keywords become -strings, without the leading colon. Maps become JSON objects, all -other collection types become JSON arrays. Java arrays become JSON -arrays. Unicode characters in strings are escaped as \uXXXX. -Numbers print as with pr.</pre> - - - <a href="http://github.com/richhickey/clojure-contrib/blob/5d30e632710faf1b74ef7826ba5bf1bde737e5ef/src/examples/clojure/clojure/contrib/pprint/examples/json.clj#L87" id="var-source">Source</a> -</div> -<h2 id="namespace-name">pprint.examples.xml</h2> -<pre id="namespace-docstr">A version of prxml that uses a pretty print dispatch function.</pre> - - -<br /> -<div id="var-entry"> - <hr /> - <h2 id="clojure.contrib.pprint.examples.xml/*html-compatible*">*html-compatible*</h2> - <span id="var-type">var</span><br /> - <pre id="var-usage"></pre> - <pre id="var-docstr">If true, empty tags will have a space before the closing /></pre> - - - <a href="http://github.com/richhickey/clojure-contrib/blob/5d30e632710faf1b74ef7826ba5bf1bde737e5ef/src/examples/clojure/clojure/contrib/pprint/examples/xml.clj#L26" id="var-source">Source</a> -</div><div id="var-entry"> - <hr /> - <h2 id="clojure.contrib.pprint.examples.xml/*prxml-indent*">*prxml-indent*</h2> - <span id="var-type">var</span><br /> - <pre id="var-usage"></pre> - <pre id="var-docstr">The number of spaces to indent sub-tags.</pre> - - - <a href="http://github.com/richhickey/clojure-contrib/blob/5d30e632710faf1b74ef7826ba5bf1bde737e5ef/src/examples/clojure/clojure/contrib/pprint/examples/xml.clj#L30" id="var-source">Source</a> -</div><div id="var-entry"> - <hr /> - <h2 id="clojure.contrib.pprint.examples.xml/prxml">prxml</h2> - <span id="var-type">function</span><br /> - <pre id="var-usage">Usage: (prxml & args) -</pre> - <pre id="var-docstr">Print XML to *out*. Vectors become XML tags: the first item is the -tag name; optional second item is a map of attributes. - -Sequences are processed recursively, so you can use map and other -sequence functions inside prxml. - - (prxml [:p {:class "greet"} [:i "Ladies & gentlemen"]]) - ; => <p class="greet"><i>Ladies &amp; gentlemen</i></p> - -PSEUDO-TAGS: some keywords have special meaning: - - :raw! do not XML-escape contents - :comment! create an XML comment - :decl! create an XML declaration, with attributes - :cdata! create a CDATA section - :doctype! create a DOCTYPE! - - (prxml [:p [:raw! "<i>here & gone</i>"]]) - ; => <p><i>here & gone</i></p> - - (prxml [:decl! {:version "1.1"}]) - ; => <?xml version="1.1" encoding="UTF-8"?></pre> - - - <a href="http://github.com/richhickey/clojure-contrib/blob/5d30e632710faf1b74ef7826ba5bf1bde737e5ef/src/examples/clojure/clojure/contrib/pprint/examples/xml.clj#L96" id="var-source">Source</a> -</div> - - -</div> - </div> - </div> - </div> - </div> - <div id="foot"> - <div style="text-align: center;" id="copyright">Copyright 2007-2009 by Rich Hickey and the various contributors</div> - </div> - </div> - <div id="DesignedBy">Logo & site design by <a title="Visit Tom Hickey's website." href="http://www.tomhickey.com">Tom Hickey</a>.<br /> - Clojure auto-documentation system by Tom Faulhaber.</div> - </div> - <!-- /AllContentContainer --> - </body> - -</html>
\ No newline at end of file diff --git a/branch-master/priority-map-api.html b/branch-master/priority-map-api.html deleted file mode 100644 index 019e33b7..00000000 --- a/branch-master/priority-map-api.html +++ /dev/null @@ -1,126 +0,0 @@ -<html> - <head> - <title>priority-map - clojure-contrib next API documentation</title> - <link href="../static/favicon.png" rel="icon" /> - <link href="../static/favicon.png" rel="shortcut icon" /> - <link media="all" type="text/css" href="../static/clojure.css" rel="stylesheet" /> - <link media="all" type="text/css" href="../static/wiki.css" rel="stylesheet" /> - <link media="all" type="text/css" href="../static/internal.css" rel="stylesheet" /> - <!-- TODO: are we using these (from clojure.org)? If so, add the files --> - <script src="file/view/code_highlighter.js" type="text/javascript"></script> - <script src="file/view/clojure.js" type="text/javascript"></script> - <style>.menuWrapper{height: 36px;}</style> - <!--[if lte IE 6]> - <link rel="stylesheet" href="http://www.wikispaces.com/_/2009051601/s/internal_ie.css" type="text/css" /> - <![endif]--> - </head> -<!-- -This document was auto-generated from the source by the clojure autodoc system. -To report errors or ask questions about the overall documentation structure, formatting, -etc., contact Tom Faulhaber (google mail name: tomfaulhaber). -For errors in the documentation of a particular namespace, contact the author of that -namespace. ---> - <body> - <div id="AllContentContainer"> - <div id="Header"> - <a id="Logo" href="index.html"><img alt="Clojure" height="100" width="100" src="../static/clojure-icon.gif" /></a> - <h1><a title="page header title" id="page-header" href="index.html">Clojure-contrib API Reference</a></h1> - </div> - <div id="leftcolumn"><div style="text-align: center;"></div> -<div class="menu"> - <div class="WikiCustomNav WikiElement wiki"> - <span class="toc-header"><span id="project-name">clojure-contrib</span> <span id="version">next</span> API</span><br /> - <ul> - <li><a class="wiki_link" href="index.html">Overview</a></li> - <li><a class="wiki_link" href="api-index.html">API Index</a></li> - </ul> - <span class="toc-header">Namespaces</span> - <ul id="left-sidebar-list"> - <li><a href="accumulators-api.html" class="wiki_link">accumulators</a></li><li><a href="agent-utils-api.html" class="wiki_link">agent-utils</a></li><li><a href="apply-macro-api.html" class="wiki_link">apply-macro</a></li><li><a href="base64-api.html" class="wiki_link">base64</a></li><li><a href="classpath-api.html" class="wiki_link">classpath</a></li><li><a href="combinatorics-api.html" class="wiki_link">combinatorics</a></li><li><a href="command-line-api.html" class="wiki_link">command-line</a></li><li><a href="complex-numbers-api.html" class="wiki_link">complex-numbers</a></li><li><a href="cond-api.html" class="wiki_link">cond</a></li><li><a href="condition-api.html" class="wiki_link">condition</a></li><li><a href="core-api.html" class="wiki_link">core</a></li><li><a href="dataflow-api.html" class="wiki_link">dataflow</a></li><li><a href="datalog-api.html" class="wiki_link">datalog</a></li><li><a href="def-api.html" class="wiki_link">def</a></li><li><a href="duck-streams-api.html" class="wiki_link">duck-streams</a></li><li><a href="error-kit-api.html" class="wiki_link">error-kit</a></li><li><a href="except-api.html" class="wiki_link">except</a></li><li><a href="fcase-api.html" class="wiki_link">fcase</a></li><li><a href="find-namespaces-api.html" class="wiki_link">find-namespaces</a></li><li><a href="fnmap-api.html" class="wiki_link">fnmap</a></li><li><a href="gen-html-docs-api.html" class="wiki_link">gen-html-docs</a></li><li><a href="generic.arithmetic-api.html" class="wiki_link">generic.arithmetic</a></li><li><a href="generic.collection-api.html" class="wiki_link">generic.collection</a></li><li><a href="generic.comparison-api.html" class="wiki_link">generic.comparison</a></li><li><a href="generic.functor-api.html" class="wiki_link">generic.functor</a></li><li><a href="generic.math-functions-api.html" class="wiki_link">generic.math-functions</a></li><li><a href="graph-api.html" class="wiki_link">graph</a></li><li><a href="greatest-least-api.html" class="wiki_link">greatest-least</a></li><li><a href="http.agent-api.html" class="wiki_link">http.agent</a></li><li><a href="http.connection-api.html" class="wiki_link">http.connection</a></li><li><a href="import-static-api.html" class="wiki_link">import-static</a></li><li><a href="io-api.html" class="wiki_link">io</a></li><li><a href="jar-api.html" class="wiki_link">jar</a></li><li><a href="java-utils-api.html" class="wiki_link">java-utils</a></li><li><a href="javadoc.browse-api.html" class="wiki_link">javadoc.browse</a></li><li><a href="jmx-api.html" class="wiki_link">jmx</a></li><li><a href="json-api.html" class="wiki_link">json</a></li><li><a href="lazy-seqs-api.html" class="wiki_link">lazy-seqs</a></li><li><a href="lazy-xml-api.html" class="wiki_link">lazy-xml</a></li><li><a href="logging-api.html" class="wiki_link">logging</a></li><li><a href="macro-utils-api.html" class="wiki_link">macro-utils</a></li><li><a href="macros-api.html" class="wiki_link">macros</a></li><li><a href="map-utils-api.html" class="wiki_link">map-utils</a></li><li><a href="math-api.html" class="wiki_link">math</a></li><li><a href="miglayout-api.html" class="wiki_link">miglayout</a></li><li><a href="mmap-api.html" class="wiki_link">mmap</a></li><li><a href="mock-api.html" class="wiki_link">mock</a></li><li><a href="monadic-io-streams-api.html" class="wiki_link">monadic-io-streams</a></li><li><a href="monads-api.html" class="wiki_link">monads</a></li><li><a href="ns-utils-api.html" class="wiki_link">ns-utils</a></li><li><a href="pprint-api.html" class="wiki_link">pprint</a></li><li><a href="priority-map-api.html" class="wiki_link">priority-map</a></li><li><a href="probabilities.finite-distributions-api.html" class="wiki_link">probabilities.finite-distributions</a></li><li><a href="probabilities.monte-carlo-api.html" class="wiki_link">probabilities.monte-carlo</a></li><li><a href="probabilities.random-numbers-api.html" class="wiki_link">probabilities.random-numbers</a></li><li><a href="profile-api.html" class="wiki_link">profile</a></li><li><a href="properties-api.html" class="wiki_link">properties</a></li><li><a href="prxml-api.html" class="wiki_link">prxml</a></li><li><a href="reflect-api.html" class="wiki_link">reflect</a></li><li><a href="repl-ln-api.html" class="wiki_link">repl-ln</a></li><li><a href="repl-utils-api.html" class="wiki_link">repl-utils</a></li><li><a href="seq-api.html" class="wiki_link">seq</a></li><li><a href="seq-utils-api.html" class="wiki_link">seq-utils</a></li><li><a href="server-socket-api.html" class="wiki_link">server-socket</a></li><li><a href="set-api.html" class="wiki_link">set</a></li><li><a href="shell-api.html" class="wiki_link">shell</a></li><li><a href="shell-out-api.html" class="wiki_link">shell-out</a></li><li><a href="singleton-api.html" class="wiki_link">singleton</a></li><li><a href="sql-api.html" class="wiki_link">sql</a></li><li><a href="str-utils-api.html" class="wiki_link">str-utils</a></li><li><a href="str-utils2-api.html" class="wiki_link">str-utils2</a></li><li><a href="stream-utils-api.html" class="wiki_link">stream-utils</a></li><li><a href="string-api.html" class="wiki_link">string</a></li><li><a href="strint-api.html" class="wiki_link">strint</a></li><li><a href="swing-utils-api.html" class="wiki_link">swing-utils</a></li><li><a href="test-is-api.html" class="wiki_link">test-is</a></li><li><a href="trace-api.html" class="wiki_link">trace</a></li><li><a href="types-api.html" class="wiki_link">types</a></li><li><a href="with-ns-api.html" class="wiki_link">with-ns</a></li><li><a href="zip-filter-api.html" class="wiki_link">zip-filter</a></li> - </ul> - <div class="BranchTOC"> - <span class="toc-header">Other Versions</span> - <ul id="left-sidebar-branch-list"> - <li><a href="../index.html" class="wiki_link">v1.2 (beta 1)</a></li><li><a href="../branch-1.1.x/index.html" class="wiki_link">v1.1 (stable)</a></li> - </ul> - </div> - <a href="http://clojure.org" class="wiki_link">Clojure Home</a> - </div> -</div> -</div> - <div id="rightcolumn"> - <div id="Content"> - <div class="contentBox"><div class="innerContentBox"> - <div id="content_view" class="wiki wikiPage"> - <div id="right-sidebar"><div id="toc"> - <h1 class="nopad">Table of Contents</h1> - <div style="margin-left: 1em;" class="toc-section"> - <a href="#toc0">Overview</a> - <div style="margin-left: 1em;" class="toc-entry"> - <a href="#clojure.contrib.priority-map/priority-map">priority-map</a> - </div><div style="margin-left: 1em;" class="toc-entry"> - <a href="#clojure.contrib.priority-map/priority-map-by">priority-map-by</a> - </div> - <br /> - </div> -</div> -</div> - <div id="content-tag"><h1 id="overview">API for <span id="namespace-name">priority-map</span> - - <span id="header-project">clojure-contrib</span> <span id="header-version">next</span> (<span id="header-status">in development</span>) - </h1> - -<br />Usage: -<pre> -(ns your-namespace - (:require <span id="long-name">clojure.contrib.priority-map</span>)) -</pre><pre> -</pre><h2>Overview</h2> -<pre id="namespace-docstr"></pre> - - -<br /> -<h2>Public Variables and Functions</h2> -<div id="var-entry"> - <br /> - <hr /> - <h2 id="clojure.contrib.priority-map/priority-map">priority-map</h2> - <span id="var-type">function</span><br /> - <pre id="var-usage">Usage: (priority-map & keyvals) -</pre> - <pre id="var-docstr">keyval => key val -Returns a new priority map with supplied mappings</pre> - - - <a href="http://github.com/richhickey/clojure-contrib/blob/88160ea26d97f74052939785ab389116ee44e703/src/main/clojure/clojure/contrib/priority_map.clj#L306" id="var-source">Source</a> -</div><div id="var-entry"> - <br /> - <hr /> - <h2 id="clojure.contrib.priority-map/priority-map-by">priority-map-by</h2> - <span id="var-type">function</span><br /> - <pre id="var-usage">Usage: (priority-map-by comparator & keyvals) -</pre> - <pre id="var-docstr">keyval => key val -Returns a new priority map with supplied mappings</pre> - - - <a href="http://github.com/richhickey/clojure-contrib/blob/88160ea26d97f74052939785ab389116ee44e703/src/main/clojure/clojure/contrib/priority_map.clj#L312" id="var-source">Source</a> -</div> - - -</div> - </div> - </div> - </div> - </div> - <div id="foot"> - <div style="text-align: center;" id="copyright">Copyright 2007-2009 by Rich Hickey and the various contributors</div> - </div> - </div> - <div id="DesignedBy">Logo & site design by <a title="Visit Tom Hickey's website." href="http://www.tomhickey.com">Tom Hickey</a>.<br /> - Clojure auto-documentation system by Tom Faulhaber.</div> - </div> - <!-- /AllContentContainer --> - </body> - -</html>
\ No newline at end of file diff --git a/branch-master/probabilities.finite-distributions-api.html b/branch-master/probabilities.finite-distributions-api.html deleted file mode 100644 index 5322dce3..00000000 --- a/branch-master/probabilities.finite-distributions-api.html +++ /dev/null @@ -1,256 +0,0 @@ -<html> - <head> - <title>probabilities.finite-distributions - clojure-contrib next API documentation</title> - <link href="../static/favicon.png" rel="icon" /> - <link href="../static/favicon.png" rel="shortcut icon" /> - <link media="all" type="text/css" href="../static/clojure.css" rel="stylesheet" /> - <link media="all" type="text/css" href="../static/wiki.css" rel="stylesheet" /> - <link media="all" type="text/css" href="../static/internal.css" rel="stylesheet" /> - <!-- TODO: are we using these (from clojure.org)? If so, add the files --> - <script src="file/view/code_highlighter.js" type="text/javascript"></script> - <script src="file/view/clojure.js" type="text/javascript"></script> - <style>.menuWrapper{height: 36px;}</style> - <!--[if lte IE 6]> - <link rel="stylesheet" href="http://www.wikispaces.com/_/2009051601/s/internal_ie.css" type="text/css" /> - <![endif]--> - </head> -<!-- -This document was auto-generated from the source by the clojure autodoc system. -To report errors or ask questions about the overall documentation structure, formatting, -etc., contact Tom Faulhaber (google mail name: tomfaulhaber). -For errors in the documentation of a particular namespace, contact the author of that -namespace. ---> - <body> - <div id="AllContentContainer"> - <div id="Header"> - <a id="Logo" href="index.html"><img alt="Clojure" height="100" width="100" src="../static/clojure-icon.gif" /></a> - <h1><a title="page header title" id="page-header" href="index.html">Clojure-contrib API Reference</a></h1> - </div> - <div id="leftcolumn"><div style="text-align: center;"></div> -<div class="menu"> - <div class="WikiCustomNav WikiElement wiki"> - <span class="toc-header"><span id="project-name">clojure-contrib</span> <span id="version">next</span> API</span><br /> - <ul> - <li><a class="wiki_link" href="index.html">Overview</a></li> - <li><a class="wiki_link" href="api-index.html">API Index</a></li> - </ul> - <span class="toc-header">Namespaces</span> - <ul id="left-sidebar-list"> - <li><a href="accumulators-api.html" class="wiki_link">accumulators</a></li><li><a href="agent-utils-api.html" class="wiki_link">agent-utils</a></li><li><a href="apply-macro-api.html" class="wiki_link">apply-macro</a></li><li><a href="base64-api.html" class="wiki_link">base64</a></li><li><a href="classpath-api.html" class="wiki_link">classpath</a></li><li><a href="combinatorics-api.html" class="wiki_link">combinatorics</a></li><li><a href="command-line-api.html" class="wiki_link">command-line</a></li><li><a href="complex-numbers-api.html" class="wiki_link">complex-numbers</a></li><li><a href="cond-api.html" class="wiki_link">cond</a></li><li><a href="condition-api.html" class="wiki_link">condition</a></li><li><a href="core-api.html" class="wiki_link">core</a></li><li><a href="dataflow-api.html" class="wiki_link">dataflow</a></li><li><a href="datalog-api.html" class="wiki_link">datalog</a></li><li><a href="def-api.html" class="wiki_link">def</a></li><li><a href="duck-streams-api.html" class="wiki_link">duck-streams</a></li><li><a href="error-kit-api.html" class="wiki_link">error-kit</a></li><li><a href="except-api.html" class="wiki_link">except</a></li><li><a href="fcase-api.html" class="wiki_link">fcase</a></li><li><a href="find-namespaces-api.html" class="wiki_link">find-namespaces</a></li><li><a href="fnmap-api.html" class="wiki_link">fnmap</a></li><li><a href="gen-html-docs-api.html" class="wiki_link">gen-html-docs</a></li><li><a href="generic.arithmetic-api.html" class="wiki_link">generic.arithmetic</a></li><li><a href="generic.collection-api.html" class="wiki_link">generic.collection</a></li><li><a href="generic.comparison-api.html" class="wiki_link">generic.comparison</a></li><li><a href="generic.functor-api.html" class="wiki_link">generic.functor</a></li><li><a href="generic.math-functions-api.html" class="wiki_link">generic.math-functions</a></li><li><a href="graph-api.html" class="wiki_link">graph</a></li><li><a href="greatest-least-api.html" class="wiki_link">greatest-least</a></li><li><a href="http.agent-api.html" class="wiki_link">http.agent</a></li><li><a href="http.connection-api.html" class="wiki_link">http.connection</a></li><li><a href="import-static-api.html" class="wiki_link">import-static</a></li><li><a href="io-api.html" class="wiki_link">io</a></li><li><a href="jar-api.html" class="wiki_link">jar</a></li><li><a href="java-utils-api.html" class="wiki_link">java-utils</a></li><li><a href="javadoc.browse-api.html" class="wiki_link">javadoc.browse</a></li><li><a href="jmx-api.html" class="wiki_link">jmx</a></li><li><a href="json-api.html" class="wiki_link">json</a></li><li><a href="lazy-seqs-api.html" class="wiki_link">lazy-seqs</a></li><li><a href="lazy-xml-api.html" class="wiki_link">lazy-xml</a></li><li><a href="logging-api.html" class="wiki_link">logging</a></li><li><a href="macro-utils-api.html" class="wiki_link">macro-utils</a></li><li><a href="macros-api.html" class="wiki_link">macros</a></li><li><a href="map-utils-api.html" class="wiki_link">map-utils</a></li><li><a href="math-api.html" class="wiki_link">math</a></li><li><a href="miglayout-api.html" class="wiki_link">miglayout</a></li><li><a href="mmap-api.html" class="wiki_link">mmap</a></li><li><a href="mock-api.html" class="wiki_link">mock</a></li><li><a href="monadic-io-streams-api.html" class="wiki_link">monadic-io-streams</a></li><li><a href="monads-api.html" class="wiki_link">monads</a></li><li><a href="ns-utils-api.html" class="wiki_link">ns-utils</a></li><li><a href="pprint-api.html" class="wiki_link">pprint</a></li><li><a href="priority-map-api.html" class="wiki_link">priority-map</a></li><li><a href="probabilities.finite-distributions-api.html" class="wiki_link">probabilities.finite-distributions</a></li><li><a href="probabilities.monte-carlo-api.html" class="wiki_link">probabilities.monte-carlo</a></li><li><a href="probabilities.random-numbers-api.html" class="wiki_link">probabilities.random-numbers</a></li><li><a href="profile-api.html" class="wiki_link">profile</a></li><li><a href="properties-api.html" class="wiki_link">properties</a></li><li><a href="prxml-api.html" class="wiki_link">prxml</a></li><li><a href="reflect-api.html" class="wiki_link">reflect</a></li><li><a href="repl-ln-api.html" class="wiki_link">repl-ln</a></li><li><a href="repl-utils-api.html" class="wiki_link">repl-utils</a></li><li><a href="seq-api.html" class="wiki_link">seq</a></li><li><a href="seq-utils-api.html" class="wiki_link">seq-utils</a></li><li><a href="server-socket-api.html" class="wiki_link">server-socket</a></li><li><a href="set-api.html" class="wiki_link">set</a></li><li><a href="shell-api.html" class="wiki_link">shell</a></li><li><a href="shell-out-api.html" class="wiki_link">shell-out</a></li><li><a href="singleton-api.html" class="wiki_link">singleton</a></li><li><a href="sql-api.html" class="wiki_link">sql</a></li><li><a href="str-utils-api.html" class="wiki_link">str-utils</a></li><li><a href="str-utils2-api.html" class="wiki_link">str-utils2</a></li><li><a href="stream-utils-api.html" class="wiki_link">stream-utils</a></li><li><a href="string-api.html" class="wiki_link">string</a></li><li><a href="strint-api.html" class="wiki_link">strint</a></li><li><a href="swing-utils-api.html" class="wiki_link">swing-utils</a></li><li><a href="test-is-api.html" class="wiki_link">test-is</a></li><li><a href="trace-api.html" class="wiki_link">trace</a></li><li><a href="types-api.html" class="wiki_link">types</a></li><li><a href="with-ns-api.html" class="wiki_link">with-ns</a></li><li><a href="zip-filter-api.html" class="wiki_link">zip-filter</a></li> - </ul> - <div class="BranchTOC"> - <span class="toc-header">Other Versions</span> - <ul id="left-sidebar-branch-list"> - <li><a href="../index.html" class="wiki_link">v1.2 (beta 1)</a></li><li><a href="../branch-1.1.x/index.html" class="wiki_link">v1.1 (stable)</a></li> - </ul> - </div> - <a href="http://clojure.org" class="wiki_link">Clojure Home</a> - </div> -</div> -</div> - <div id="rightcolumn"> - <div id="Content"> - <div class="contentBox"><div class="innerContentBox"> - <div id="content_view" class="wiki wikiPage"> - <div id="right-sidebar"><div id="toc"> - <h1 class="nopad">Table of Contents</h1> - <div style="margin-left: 1em;" class="toc-section"> - <a href="#toc0">Overview</a> - <div style="margin-left: 1em;" class="toc-entry"> - <a href="#clojure.contrib.probabilities.finite-distributions/certainly">certainly</a> - </div><div style="margin-left: 1em;" class="toc-entry"> - <a href="#clojure.contrib.probabilities.finite-distributions/choose">choose</a> - </div><div style="margin-left: 1em;" class="toc-entry"> - <a href="#clojure.contrib.probabilities.finite-distributions/cond-dist-m">cond-dist-m</a> - </div><div style="margin-left: 1em;" class="toc-entry"> - <a href="#clojure.contrib.probabilities.finite-distributions/cond-prob">cond-prob</a> - </div><div style="margin-left: 1em;" class="toc-entry"> - <a href="#clojure.contrib.probabilities.finite-distributions/dist-m">dist-m</a> - </div><div style="margin-left: 1em;" class="toc-entry"> - <a href="#clojure.contrib.probabilities.finite-distributions/join-with">join-with</a> - </div><div style="margin-left: 1em;" class="toc-entry"> - <a href="#clojure.contrib.probabilities.finite-distributions/make-distribution">make-distribution</a> - </div><div style="margin-left: 1em;" class="toc-entry"> - <a href="#clojure.contrib.probabilities.finite-distributions/normalize">normalize</a> - </div><div style="margin-left: 1em;" class="toc-entry"> - <a href="#clojure.contrib.probabilities.finite-distributions/prob">prob</a> - </div><div style="margin-left: 1em;" class="toc-entry"> - <a href="#clojure.contrib.probabilities.finite-distributions/uniform">uniform</a> - </div><div style="margin-left: 1em;" class="toc-entry"> - <a href="#clojure.contrib.probabilities.finite-distributions/zipf">zipf</a> - </div> - <br /> - </div> -</div> -</div> - <div id="content-tag"><h1 id="overview">API for <span id="namespace-name">probabilities.finite-distributions</span> - - <span id="header-project">clojure-contrib</span> <span id="header-version">next</span> (<span id="header-status">in development</span>) - </h1> -<span id="author-line">by <span id="author-name">Konrad Hinsen</span><br /></span> -<br />Usage: -<pre> -(ns your-namespace - (:require <span id="long-name">clojure.contrib.probabilities.finite-distributions</span>)) -</pre><pre> -</pre><h2>Overview</h2> -<pre id="namespace-docstr">Finite probability distributions -This library defines a monad for combining finite probability -distributions.</pre> - - -<br /> -<h2>Public Variables and Functions</h2> -<div id="var-entry"> - <br /> - <hr /> - <h2 id="clojure.contrib.probabilities.finite-distributions/certainly">certainly</h2> - <span id="var-type">function</span><br /> - <pre id="var-usage">Usage: (certainly v) -</pre> - <pre id="var-docstr">Returns a distribution in which the single value v has probability 1.</pre> - - - <a href="http://github.com/richhickey/clojure-contrib/blob/7188a51605136f36524e4091fe806859114d6056/src/main/clojure/clojure/contrib/probabilities/finite_distributions.clj#L146" id="var-source">Source</a> -</div><div id="var-entry"> - <br /> - <hr /> - <h2 id="clojure.contrib.probabilities.finite-distributions/choose">choose</h2> - <span id="var-type">function</span><br /> - <pre id="var-usage">Usage: (choose & choices) -</pre> - <pre id="var-docstr">Construct a distribution from an explicit list of probabilities -and values. They are given in the form of a vector of probability-value -pairs. In the last pair, the probability can be given by the keyword -:else, which stands for 1 minus the total of the other probabilities.</pre> - - - <a href="http://github.com/richhickey/clojure-contrib/blob/7188a51605136f36524e4091fe806859114d6056/src/main/clojure/clojure/contrib/probabilities/finite_distributions.clj#L92" id="var-source">Source</a> -</div><div id="var-entry"> - <br /> - <hr /> - <h2 id="clojure.contrib.probabilities.finite-distributions/cond-dist-m">cond-dist-m</h2> - <span id="var-type">var</span><br /> - <pre id="var-usage"></pre> - <pre id="var-docstr">Variant of the dist monad that can handle undefined values.</pre> - - - <a href="http://github.com/richhickey/clojure-contrib/blob/7188a51605136f36524e4091fe806859114d6056/src/main/clojure/clojure/contrib/probabilities/finite_distributions.clj#L46" id="var-source">Source</a> -</div><div id="var-entry"> - <br /> - <hr /> - <h2 id="clojure.contrib.probabilities.finite-distributions/cond-prob">cond-prob</h2> - <span id="var-type">function</span><br /> - <pre id="var-usage">Usage: (cond-prob pred dist) -</pre> - <pre id="var-docstr">Returns the conditional probability for the values in dist that satisfy -the predicate pred.</pre> - - - <a href="http://github.com/richhickey/clojure-contrib/blob/7188a51605136f36524e4091fe806859114d6056/src/main/clojure/clojure/contrib/probabilities/finite_distributions.clj#L160" id="var-source">Source</a> -</div><div id="var-entry"> - <br /> - <hr /> - <h2 id="clojure.contrib.probabilities.finite-distributions/dist-m">dist-m</h2> - <span id="var-type">var</span><br /> - <pre id="var-usage"></pre> - <pre id="var-docstr">Monad describing computations on fuzzy quantities, represented by a finite -probability distribution for the possible values. A distribution is -represented by a map from values to probabilities.</pre> - - - <a href="http://github.com/richhickey/clojure-contrib/blob/7188a51605136f36524e4091fe806859114d6056/src/main/clojure/clojure/contrib/probabilities/finite_distributions.clj#L28" id="var-source">Source</a> -</div><div id="var-entry"> - <br /> - <hr /> - <h2 id="clojure.contrib.probabilities.finite-distributions/join-with">join-with</h2> - <span id="var-type">function</span><br /> - <pre id="var-usage">Usage: (join-with f dist1 dist2) -</pre> - <pre id="var-docstr">Returns the distribution of (f x y) with x from dist1 and y from dist2.</pre> - - - <a href="http://github.com/richhickey/clojure-contrib/blob/7188a51605136f36524e4091fe806859114d6056/src/main/clojure/clojure/contrib/probabilities/finite_distributions.clj#L151" id="var-source">Source</a> -</div><div id="var-entry"> - <br /> - <hr /> - <h2 id="clojure.contrib.probabilities.finite-distributions/make-distribution">make-distribution</h2> - <span id="var-type">function</span><br /> - <pre id="var-usage">Usage: (make-distribution coll f) -</pre> - <pre id="var-docstr">Returns the distribution in which each element x of the collection -has a probability proportional to (f x)</pre> - - - <a href="http://github.com/richhickey/clojure-contrib/blob/7188a51605136f36524e4091fe806859114d6056/src/main/clojure/clojure/contrib/probabilities/finite_distributions.clj#L134" id="var-source">Source</a> -</div><div id="var-entry"> - <br /> - <hr /> - <h2 id="clojure.contrib.probabilities.finite-distributions/normalize">normalize</h2> - <span id="var-type">function</span><br /> - <pre id="var-usage">Usage: (normalize weights) -</pre> - <pre id="var-docstr">Convert a weight map (e.g. a map of counter values) to a distribution -by multiplying with a normalization factor. If the map has a key -:total, its value is assumed to be the sum over all the other values and -it is used for normalization. Otherwise, the sum is calculated -explicitly. The :total key is removed from the resulting distribution.</pre> - - - <a href="http://github.com/richhickey/clojure-contrib/blob/7188a51605136f36524e4091fe806859114d6056/src/main/clojure/clojure/contrib/probabilities/finite_distributions.clj#L70" id="var-source">Source</a> -</div><div id="var-entry"> - <br /> - <hr /> - <h2 id="clojure.contrib.probabilities.finite-distributions/prob">prob</h2> - <span id="var-type">function</span><br /> - <pre id="var-usage">Usage: (prob pred dist) -</pre> - <pre id="var-docstr">Return the probability that the predicate pred is satisfied in the -distribution dist, i.e. the sum of the probabilities of the values -that satisfy pred.</pre> - - - <a href="http://github.com/richhickey/clojure-contrib/blob/7188a51605136f36524e4091fe806859114d6056/src/main/clojure/clojure/contrib/probabilities/finite_distributions.clj#L197" id="var-source">Source</a> -</div><div id="var-entry"> - <br /> - <hr /> - <h2 id="clojure.contrib.probabilities.finite-distributions/uniform">uniform</h2> - <span id="var-type">function</span><br /> - <pre id="var-usage">Usage: (uniform coll) -</pre> - <pre id="var-docstr">Return a distribution in which each of the elements of coll -has the same probability.</pre> - - - <a href="http://github.com/richhickey/clojure-contrib/blob/7188a51605136f36524e4091fe806859114d6056/src/main/clojure/clojure/contrib/probabilities/finite_distributions.clj#L84" id="var-source">Source</a> -</div><div id="var-entry"> - <br /> - <hr /> - <h2 id="clojure.contrib.probabilities.finite-distributions/zipf">zipf</h2> - <span id="var-type">function</span><br /> - <pre id="var-usage">Usage: (zipf s n) -</pre> - <pre id="var-docstr">Returns the Zipf distribution in which the numbers k=1..n have -probabilities proportional to 1/k^s.</pre> - - - <a href="http://github.com/richhickey/clojure-contrib/blob/7188a51605136f36524e4091fe806859114d6056/src/main/clojure/clojure/contrib/probabilities/finite_distributions.clj#L140" id="var-source">Source</a> -</div> - - -</div> - </div> - </div> - </div> - </div> - <div id="foot"> - <div style="text-align: center;" id="copyright">Copyright 2007-2009 by Rich Hickey and the various contributors</div> - </div> - </div> - <div id="DesignedBy">Logo & site design by <a title="Visit Tom Hickey's website." href="http://www.tomhickey.com">Tom Hickey</a>.<br /> - Clojure auto-documentation system by Tom Faulhaber.</div> - </div> - <!-- /AllContentContainer --> - </body> - -</html>
\ No newline at end of file diff --git a/branch-master/probabilities.monte-carlo-api.html b/branch-master/probabilities.monte-carlo-api.html deleted file mode 100644 index 7be9773a..00000000 --- a/branch-master/probabilities.monte-carlo-api.html +++ /dev/null @@ -1,300 +0,0 @@ -<html> - <head> - <title>probabilities.monte-carlo - clojure-contrib next API documentation</title> - <link href="../static/favicon.png" rel="icon" /> - <link href="../static/favicon.png" rel="shortcut icon" /> - <link media="all" type="text/css" href="../static/clojure.css" rel="stylesheet" /> - <link media="all" type="text/css" href="../static/wiki.css" rel="stylesheet" /> - <link media="all" type="text/css" href="../static/internal.css" rel="stylesheet" /> - <!-- TODO: are we using these (from clojure.org)? If so, add the files --> - <script src="file/view/code_highlighter.js" type="text/javascript"></script> - <script src="file/view/clojure.js" type="text/javascript"></script> - <style>.menuWrapper{height: 36px;}</style> - <!--[if lte IE 6]> - <link rel="stylesheet" href="http://www.wikispaces.com/_/2009051601/s/internal_ie.css" type="text/css" /> - <![endif]--> - </head> -<!-- -This document was auto-generated from the source by the clojure autodoc system. -To report errors or ask questions about the overall documentation structure, formatting, -etc., contact Tom Faulhaber (google mail name: tomfaulhaber). -For errors in the documentation of a particular namespace, contact the author of that -namespace. ---> - <body> - <div id="AllContentContainer"> - <div id="Header"> - <a id="Logo" href="index.html"><img alt="Clojure" height="100" width="100" src="../static/clojure-icon.gif" /></a> - <h1><a title="page header title" id="page-header" href="index.html">Clojure-contrib API Reference</a></h1> - </div> - <div id="leftcolumn"><div style="text-align: center;"></div> -<div class="menu"> - <div class="WikiCustomNav WikiElement wiki"> - <span class="toc-header"><span id="project-name">clojure-contrib</span> <span id="version">next</span> API</span><br /> - <ul> - <li><a class="wiki_link" href="index.html">Overview</a></li> - <li><a class="wiki_link" href="api-index.html">API Index</a></li> - </ul> - <span class="toc-header">Namespaces</span> - <ul id="left-sidebar-list"> - <li><a href="accumulators-api.html" class="wiki_link">accumulators</a></li><li><a href="agent-utils-api.html" class="wiki_link">agent-utils</a></li><li><a href="apply-macro-api.html" class="wiki_link">apply-macro</a></li><li><a href="base64-api.html" class="wiki_link">base64</a></li><li><a href="classpath-api.html" class="wiki_link">classpath</a></li><li><a href="combinatorics-api.html" class="wiki_link">combinatorics</a></li><li><a href="command-line-api.html" class="wiki_link">command-line</a></li><li><a href="complex-numbers-api.html" class="wiki_link">complex-numbers</a></li><li><a href="cond-api.html" class="wiki_link">cond</a></li><li><a href="condition-api.html" class="wiki_link">condition</a></li><li><a href="core-api.html" class="wiki_link">core</a></li><li><a href="dataflow-api.html" class="wiki_link">dataflow</a></li><li><a href="datalog-api.html" class="wiki_link">datalog</a></li><li><a href="def-api.html" class="wiki_link">def</a></li><li><a href="duck-streams-api.html" class="wiki_link">duck-streams</a></li><li><a href="error-kit-api.html" class="wiki_link">error-kit</a></li><li><a href="except-api.html" class="wiki_link">except</a></li><li><a href="fcase-api.html" class="wiki_link">fcase</a></li><li><a href="find-namespaces-api.html" class="wiki_link">find-namespaces</a></li><li><a href="fnmap-api.html" class="wiki_link">fnmap</a></li><li><a href="gen-html-docs-api.html" class="wiki_link">gen-html-docs</a></li><li><a href="generic.arithmetic-api.html" class="wiki_link">generic.arithmetic</a></li><li><a href="generic.collection-api.html" class="wiki_link">generic.collection</a></li><li><a href="generic.comparison-api.html" class="wiki_link">generic.comparison</a></li><li><a href="generic.functor-api.html" class="wiki_link">generic.functor</a></li><li><a href="generic.math-functions-api.html" class="wiki_link">generic.math-functions</a></li><li><a href="graph-api.html" class="wiki_link">graph</a></li><li><a href="greatest-least-api.html" class="wiki_link">greatest-least</a></li><li><a href="http.agent-api.html" class="wiki_link">http.agent</a></li><li><a href="http.connection-api.html" class="wiki_link">http.connection</a></li><li><a href="import-static-api.html" class="wiki_link">import-static</a></li><li><a href="io-api.html" class="wiki_link">io</a></li><li><a href="jar-api.html" class="wiki_link">jar</a></li><li><a href="java-utils-api.html" class="wiki_link">java-utils</a></li><li><a href="javadoc.browse-api.html" class="wiki_link">javadoc.browse</a></li><li><a href="jmx-api.html" class="wiki_link">jmx</a></li><li><a href="json-api.html" class="wiki_link">json</a></li><li><a href="lazy-seqs-api.html" class="wiki_link">lazy-seqs</a></li><li><a href="lazy-xml-api.html" class="wiki_link">lazy-xml</a></li><li><a href="logging-api.html" class="wiki_link">logging</a></li><li><a href="macro-utils-api.html" class="wiki_link">macro-utils</a></li><li><a href="macros-api.html" class="wiki_link">macros</a></li><li><a href="map-utils-api.html" class="wiki_link">map-utils</a></li><li><a href="math-api.html" class="wiki_link">math</a></li><li><a href="miglayout-api.html" class="wiki_link">miglayout</a></li><li><a href="mmap-api.html" class="wiki_link">mmap</a></li><li><a href="mock-api.html" class="wiki_link">mock</a></li><li><a href="monadic-io-streams-api.html" class="wiki_link">monadic-io-streams</a></li><li><a href="monads-api.html" class="wiki_link">monads</a></li><li><a href="ns-utils-api.html" class="wiki_link">ns-utils</a></li><li><a href="pprint-api.html" class="wiki_link">pprint</a></li><li><a href="priority-map-api.html" class="wiki_link">priority-map</a></li><li><a href="probabilities.finite-distributions-api.html" class="wiki_link">probabilities.finite-distributions</a></li><li><a href="probabilities.monte-carlo-api.html" class="wiki_link">probabilities.monte-carlo</a></li><li><a href="probabilities.random-numbers-api.html" class="wiki_link">probabilities.random-numbers</a></li><li><a href="profile-api.html" class="wiki_link">profile</a></li><li><a href="properties-api.html" class="wiki_link">properties</a></li><li><a href="prxml-api.html" class="wiki_link">prxml</a></li><li><a href="reflect-api.html" class="wiki_link">reflect</a></li><li><a href="repl-ln-api.html" class="wiki_link">repl-ln</a></li><li><a href="repl-utils-api.html" class="wiki_link">repl-utils</a></li><li><a href="seq-api.html" class="wiki_link">seq</a></li><li><a href="seq-utils-api.html" class="wiki_link">seq-utils</a></li><li><a href="server-socket-api.html" class="wiki_link">server-socket</a></li><li><a href="set-api.html" class="wiki_link">set</a></li><li><a href="shell-api.html" class="wiki_link">shell</a></li><li><a href="shell-out-api.html" class="wiki_link">shell-out</a></li><li><a href="singleton-api.html" class="wiki_link">singleton</a></li><li><a href="sql-api.html" class="wiki_link">sql</a></li><li><a href="str-utils-api.html" class="wiki_link">str-utils</a></li><li><a href="str-utils2-api.html" class="wiki_link">str-utils2</a></li><li><a href="stream-utils-api.html" class="wiki_link">stream-utils</a></li><li><a href="string-api.html" class="wiki_link">string</a></li><li><a href="strint-api.html" class="wiki_link">strint</a></li><li><a href="swing-utils-api.html" class="wiki_link">swing-utils</a></li><li><a href="test-is-api.html" class="wiki_link">test-is</a></li><li><a href="trace-api.html" class="wiki_link">trace</a></li><li><a href="types-api.html" class="wiki_link">types</a></li><li><a href="with-ns-api.html" class="wiki_link">with-ns</a></li><li><a href="zip-filter-api.html" class="wiki_link">zip-filter</a></li> - </ul> - <div class="BranchTOC"> - <span class="toc-header">Other Versions</span> - <ul id="left-sidebar-branch-list"> - <li><a href="../index.html" class="wiki_link">v1.2 (beta 1)</a></li><li><a href="../branch-1.1.x/index.html" class="wiki_link">v1.1 (stable)</a></li> - </ul> - </div> - <a href="http://clojure.org" class="wiki_link">Clojure Home</a> - </div> -</div> -</div> - <div id="rightcolumn"> - <div id="Content"> - <div class="contentBox"><div class="innerContentBox"> - <div id="content_view" class="wiki wikiPage"> - <div id="right-sidebar"><div id="toc"> - <h1 class="nopad">Table of Contents</h1> - <div style="margin-left: 1em;" class="toc-section"> - <a href="#toc0">Overview</a> - <div style="margin-left: 1em;" class="toc-entry"> - <a href="#clojure.contrib.probabilities.monte-carlo/discrete">discrete</a> - </div><div style="margin-left: 1em;" class="toc-entry"> - <a href="#clojure.contrib.probabilities.monte-carlo/exponential">exponential</a> - </div><div style="margin-left: 1em;" class="toc-entry"> - <a href="#clojure.contrib.probabilities.monte-carlo/lognormal">lognormal</a> - </div><div style="margin-left: 1em;" class="toc-entry"> - <a href="#clojure.contrib.probabilities.monte-carlo/n-sphere">n-sphere</a> - </div><div style="margin-left: 1em;" class="toc-entry"> - <a href="#clojure.contrib.probabilities.monte-carlo/normal">normal</a> - </div><div style="margin-left: 1em;" class="toc-entry"> - <a href="#clojure.contrib.probabilities.monte-carlo/normal-box-muller">normal-box-muller</a> - </div><div style="margin-left: 1em;" class="toc-entry"> - <a href="#clojure.contrib.probabilities.monte-carlo/random-stream">random-stream</a> - </div><div style="margin-left: 1em;" class="toc-entry"> - <a href="#clojure.contrib.probabilities.monte-carlo/reject">reject</a> - </div><div style="margin-left: 1em;" class="toc-entry"> - <a href="#clojure.contrib.probabilities.monte-carlo/sample">sample</a> - </div><div style="margin-left: 1em;" class="toc-entry"> - <a href="#clojure.contrib.probabilities.monte-carlo/sample-mean">sample-mean</a> - </div><div style="margin-left: 1em;" class="toc-entry"> - <a href="#clojure.contrib.probabilities.monte-carlo/sample-mean-variance">sample-mean-variance</a> - </div><div style="margin-left: 1em;" class="toc-entry"> - <a href="#clojure.contrib.probabilities.monte-carlo/sample-reduce">sample-reduce</a> - </div><div style="margin-left: 1em;" class="toc-entry"> - <a href="#clojure.contrib.probabilities.monte-carlo/sample-sum">sample-sum</a> - </div> - <br /> - </div> -</div> -</div> - <div id="content-tag"><h1 id="overview">API for <span id="namespace-name">probabilities.monte-carlo</span> - - <span id="header-project">clojure-contrib</span> <span id="header-version">next</span> (<span id="header-status">in development</span>) - </h1> -<span id="author-line">by <span id="author-name">Konrad Hinsen</span><br /></span> -<br />Usage: -<pre> -(ns your-namespace - (:require <span id="long-name">clojure.contrib.probabilities.monte-carlo</span>)) -</pre><pre> -</pre><h2>Overview</h2> -<pre id="namespace-docstr">Monte-Carlo method support - -Monte-Carlo methods transform an input random number stream -(usually having a continuous uniform distribution in the -interval [0, 1)) into a random number stream whose distribution -satisfies certain conditions (usually the expectation value -is equal to some desired quantity). They are thus -transformations from one probability distribution to another one. - -This library represents a Monte-Carlo method by a function that -takes as input the state of a random number stream with -uniform distribution (see -clojure.contrib.probabilities.random-numbers) and returns a -vector containing one sample value of the desired output -distribution and the final state of the input random number -stream. Such functions are state monad values and can be -composed using operations defined in clojure.contrib.monads.</pre> - - -<br /> -<h2>Public Variables and Functions</h2> -<div id="var-entry"> - <br /> - <hr /> - <h2 id="clojure.contrib.probabilities.monte-carlo/discrete">discrete</h2> - <span id="var-type">function</span><br /> - <pre id="var-usage">Usage: (discrete dist) -</pre> - <pre id="var-docstr">A discrete distribution, defined by a map dist mapping values -to probabilities. The sum of probabilities must be one.</pre> - - - <a href="http://github.com/richhickey/clojure-contrib/blob/7188a51605136f36524e4091fe806859114d6056/src/main/clojure/clojure/contrib/probabilities/monte_carlo.clj#L87" id="var-source">Source</a> -</div><div id="var-entry"> - <br /> - <hr /> - <h2 id="clojure.contrib.probabilities.monte-carlo/exponential">exponential</h2> - <span id="var-type">function</span><br /> - <pre id="var-usage">Usage: (exponential lambda) -</pre> - <pre id="var-docstr">Transform a sequence of uniform random numbers in the interval [0, 1) -into a sequence of exponential random numbers with parameter lambda.</pre> - - - <a href="http://github.com/richhickey/clojure-contrib/blob/7188a51605136f36524e4091fe806859114d6056/src/main/clojure/clojure/contrib/probabilities/monte_carlo.clj#L146" id="var-source">Source</a> -</div><div id="var-entry"> - <br /> - <hr /> - <h2 id="clojure.contrib.probabilities.monte-carlo/lognormal">lognormal</h2> - <span id="var-type">function</span><br /> - <pre id="var-usage">Usage: (lognormal mu sigma) -</pre> - <pre id="var-docstr">Transform a sequence of uniform random numbesr in the interval [0, 1) -into a sequence of lognormal random numbers with mean mu and standard -deviation sigma.</pre> - - - <a href="http://github.com/richhickey/clojure-contrib/blob/7188a51605136f36524e4091fe806859114d6056/src/main/clojure/clojure/contrib/probabilities/monte_carlo.clj#L137" id="var-source">Source</a> -</div><div id="var-entry"> - <br /> - <hr /> - <h2 id="clojure.contrib.probabilities.monte-carlo/n-sphere">n-sphere</h2> - <span id="var-type">function</span><br /> - <pre id="var-usage">Usage: (n-sphere n r) -</pre> - <pre id="var-docstr">Return a uniform distribution of n-dimensional vectors inside an -n-sphere of radius r.</pre> - - - <a href="http://github.com/richhickey/clojure-contrib/blob/7188a51605136f36524e4091fe806859114d6056/src/main/clojure/clojure/contrib/probabilities/monte_carlo.clj#L228" id="var-source">Source</a> -</div><div id="var-entry"> - <br /> - <hr /> - <h2 id="clojure.contrib.probabilities.monte-carlo/normal">normal</h2> - <span id="var-type">function</span><br /> - <pre id="var-usage">Usage: (normal mu sigma) -</pre> - <pre id="var-docstr">Transform a sequence urs of uniform random number in the interval [0, 1) -into a sequence of normal random numbers with mean mu and standard -deviation sigma.</pre> - - - <a href="http://github.com/richhickey/clojure-contrib/blob/7188a51605136f36524e4091fe806859114d6056/src/main/clojure/clojure/contrib/probabilities/monte_carlo.clj#L116" id="var-source">Source</a> -</div><div id="var-entry"> - <br /> - <hr /> - <h2 id="clojure.contrib.probabilities.monte-carlo/normal-box-muller">normal-box-muller</h2> - <span id="var-type">function</span><br /> - <pre id="var-usage">Usage: (normal-box-muller mu sigma) -</pre> - <pre id="var-docstr">Transform a sequence of uniform random numbers in the interval [0, 1) -into a sequence of normal random numbers with mean mu and standard -deviation sigma.</pre> - - - <a href="http://github.com/richhickey/clojure-contrib/blob/7188a51605136f36524e4091fe806859114d6056/src/main/clojure/clojure/contrib/probabilities/monte_carlo.clj#L163" id="var-source">Source</a> -</div><div id="var-entry"> - <br /> - <hr /> - <h2 id="clojure.contrib.probabilities.monte-carlo/random-stream">random-stream</h2> - <span id="var-type">function</span><br /> - <pre id="var-usage">Usage: (random-stream distribution random-stream-state) -</pre> - <pre id="var-docstr">Define a random stream by a distribution and the state of a -random number stream with uniform distribution in [0, 1).</pre> - - - <a href="http://github.com/richhickey/clojure-contrib/blob/7188a51605136f36524e4091fe806859114d6056/src/main/clojure/clojure/contrib/probabilities/monte_carlo.clj#L62" id="var-source">Source</a> -</div><div id="var-entry"> - <br /> - <hr /> - <h2 id="clojure.contrib.probabilities.monte-carlo/reject">reject</h2> - <span id="var-type">function</span><br /> - <pre id="var-usage">Usage: (reject p dist) -</pre> - <pre id="var-docstr">Return the distribution that results from rejecting the values from -dist that do not satisfy predicate p.</pre> - - - <a href="http://github.com/richhickey/clojure-contrib/blob/7188a51605136f36524e4091fe806859114d6056/src/main/clojure/clojure/contrib/probabilities/monte_carlo.clj#L74" id="var-source">Source</a> -</div><div id="var-entry"> - <br /> - <hr /> - <h2 id="clojure.contrib.probabilities.monte-carlo/sample">sample</h2> - <span id="var-type">function</span><br /> - <pre id="var-usage">Usage: (sample n dist) -</pre> - <pre id="var-docstr">Return the distribution of samples of length n from the -distribution dist</pre> - - - <a href="http://github.com/richhickey/clojure-contrib/blob/7188a51605136f36524e4091fe806859114d6056/src/main/clojure/clojure/contrib/probabilities/monte_carlo.clj#L182" id="var-source">Source</a> -</div><div id="var-entry"> - <br /> - <hr /> - <h2 id="clojure.contrib.probabilities.monte-carlo/sample-mean">sample-mean</h2> - <span id="var-type">function</span><br /> - <pre id="var-usage">Usage: (sample-mean n dist) -</pre> - <pre id="var-docstr">Return the distribution of the mean over n samples from the -distribution dist</pre> - - - <a href="http://github.com/richhickey/clojure-contrib/blob/7188a51605136f36524e4091fe806859114d6056/src/main/clojure/clojure/contrib/probabilities/monte_carlo.clj#L182" id="var-source">Source</a> -</div><div id="var-entry"> - <br /> - <hr /> - <h2 id="clojure.contrib.probabilities.monte-carlo/sample-mean-variance">sample-mean-variance</h2> - <span id="var-type">function</span><br /> - <pre id="var-usage">Usage: (sample-mean-variance n dist) -</pre> - <pre id="var-docstr">Return the distribution of the mean-and-variance (a vector containing -the mean and the variance) over n samples from the distribution dist</pre> - - - <a href="http://github.com/richhickey/clojure-contrib/blob/7188a51605136f36524e4091fe806859114d6056/src/main/clojure/clojure/contrib/probabilities/monte_carlo.clj#L182" id="var-source">Source</a> -</div><div id="var-entry"> - <br /> - <hr /> - <h2 id="clojure.contrib.probabilities.monte-carlo/sample-reduce">sample-reduce</h2> - <span id="var-type">function</span><br /> - <pre id="var-usage">Usage: (sample-reduce f n dist) - (sample-reduce f val n dist) -</pre> - <pre id="var-docstr">Returns the distribution of the reduction of f over n samples from the -distribution dist.</pre> - - - <a href="http://github.com/richhickey/clojure-contrib/blob/7188a51605136f36524e4091fe806859114d6056/src/main/clojure/clojure/contrib/probabilities/monte_carlo.clj#L182" id="var-source">Source</a> -</div><div id="var-entry"> - <br /> - <hr /> - <h2 id="clojure.contrib.probabilities.monte-carlo/sample-sum">sample-sum</h2> - <span id="var-type">function</span><br /> - <pre id="var-usage">Usage: (sample-sum n dist) -</pre> - <pre id="var-docstr">Return the distribution of the sum over n samples from the -distribution dist.</pre> - - - <a href="http://github.com/richhickey/clojure-contrib/blob/7188a51605136f36524e4091fe806859114d6056/src/main/clojure/clojure/contrib/probabilities/monte_carlo.clj#L182" id="var-source">Source</a> -</div> - - -</div> - </div> - </div> - </div> - </div> - <div id="foot"> - <div style="text-align: center;" id="copyright">Copyright 2007-2009 by Rich Hickey and the various contributors</div> - </div> - </div> - <div id="DesignedBy">Logo & site design by <a title="Visit Tom Hickey's website." href="http://www.tomhickey.com">Tom Hickey</a>.<br /> - Clojure auto-documentation system by Tom Faulhaber.</div> - </div> - <!-- /AllContentContainer --> - </body> - -</html>
\ No newline at end of file diff --git a/branch-master/probabilities.random-numbers-api.html b/branch-master/probabilities.random-numbers-api.html deleted file mode 100644 index 952df157..00000000 --- a/branch-master/probabilities.random-numbers-api.html +++ /dev/null @@ -1,134 +0,0 @@ -<html> - <head> - <title>probabilities.random-numbers - clojure-contrib next API documentation</title> - <link href="../static/favicon.png" rel="icon" /> - <link href="../static/favicon.png" rel="shortcut icon" /> - <link media="all" type="text/css" href="../static/clojure.css" rel="stylesheet" /> - <link media="all" type="text/css" href="../static/wiki.css" rel="stylesheet" /> - <link media="all" type="text/css" href="../static/internal.css" rel="stylesheet" /> - <!-- TODO: are we using these (from clojure.org)? If so, add the files --> - <script src="file/view/code_highlighter.js" type="text/javascript"></script> - <script src="file/view/clojure.js" type="text/javascript"></script> - <style>.menuWrapper{height: 36px;}</style> - <!--[if lte IE 6]> - <link rel="stylesheet" href="http://www.wikispaces.com/_/2009051601/s/internal_ie.css" type="text/css" /> - <![endif]--> - </head> -<!-- -This document was auto-generated from the source by the clojure autodoc system. -To report errors or ask questions about the overall documentation structure, formatting, -etc., contact Tom Faulhaber (google mail name: tomfaulhaber). -For errors in the documentation of a particular namespace, contact the author of that -namespace. ---> - <body> - <div id="AllContentContainer"> - <div id="Header"> - <a id="Logo" href="index.html"><img alt="Clojure" height="100" width="100" src="../static/clojure-icon.gif" /></a> - <h1><a title="page header title" id="page-header" href="index.html">Clojure-contrib API Reference</a></h1> - </div> - <div id="leftcolumn"><div style="text-align: center;"></div> -<div class="menu"> - <div class="WikiCustomNav WikiElement wiki"> - <span class="toc-header"><span id="project-name">clojure-contrib</span> <span id="version">next</span> API</span><br /> - <ul> - <li><a class="wiki_link" href="index.html">Overview</a></li> - <li><a class="wiki_link" href="api-index.html">API Index</a></li> - </ul> - <span class="toc-header">Namespaces</span> - <ul id="left-sidebar-list"> - <li><a href="accumulators-api.html" class="wiki_link">accumulators</a></li><li><a href="agent-utils-api.html" class="wiki_link">agent-utils</a></li><li><a href="apply-macro-api.html" class="wiki_link">apply-macro</a></li><li><a href="base64-api.html" class="wiki_link">base64</a></li><li><a href="classpath-api.html" class="wiki_link">classpath</a></li><li><a href="combinatorics-api.html" class="wiki_link">combinatorics</a></li><li><a href="command-line-api.html" class="wiki_link">command-line</a></li><li><a href="complex-numbers-api.html" class="wiki_link">complex-numbers</a></li><li><a href="cond-api.html" class="wiki_link">cond</a></li><li><a href="condition-api.html" class="wiki_link">condition</a></li><li><a href="core-api.html" class="wiki_link">core</a></li><li><a href="dataflow-api.html" class="wiki_link">dataflow</a></li><li><a href="datalog-api.html" class="wiki_link">datalog</a></li><li><a href="def-api.html" class="wiki_link">def</a></li><li><a href="duck-streams-api.html" class="wiki_link">duck-streams</a></li><li><a href="error-kit-api.html" class="wiki_link">error-kit</a></li><li><a href="except-api.html" class="wiki_link">except</a></li><li><a href="fcase-api.html" class="wiki_link">fcase</a></li><li><a href="find-namespaces-api.html" class="wiki_link">find-namespaces</a></li><li><a href="fnmap-api.html" class="wiki_link">fnmap</a></li><li><a href="gen-html-docs-api.html" class="wiki_link">gen-html-docs</a></li><li><a href="generic.arithmetic-api.html" class="wiki_link">generic.arithmetic</a></li><li><a href="generic.collection-api.html" class="wiki_link">generic.collection</a></li><li><a href="generic.comparison-api.html" class="wiki_link">generic.comparison</a></li><li><a href="generic.functor-api.html" class="wiki_link">generic.functor</a></li><li><a href="generic.math-functions-api.html" class="wiki_link">generic.math-functions</a></li><li><a href="graph-api.html" class="wiki_link">graph</a></li><li><a href="greatest-least-api.html" class="wiki_link">greatest-least</a></li><li><a href="http.agent-api.html" class="wiki_link">http.agent</a></li><li><a href="http.connection-api.html" class="wiki_link">http.connection</a></li><li><a href="import-static-api.html" class="wiki_link">import-static</a></li><li><a href="io-api.html" class="wiki_link">io</a></li><li><a href="jar-api.html" class="wiki_link">jar</a></li><li><a href="java-utils-api.html" class="wiki_link">java-utils</a></li><li><a href="javadoc.browse-api.html" class="wiki_link">javadoc.browse</a></li><li><a href="jmx-api.html" class="wiki_link">jmx</a></li><li><a href="json-api.html" class="wiki_link">json</a></li><li><a href="lazy-seqs-api.html" class="wiki_link">lazy-seqs</a></li><li><a href="lazy-xml-api.html" class="wiki_link">lazy-xml</a></li><li><a href="logging-api.html" class="wiki_link">logging</a></li><li><a href="macro-utils-api.html" class="wiki_link">macro-utils</a></li><li><a href="macros-api.html" class="wiki_link">macros</a></li><li><a href="map-utils-api.html" class="wiki_link">map-utils</a></li><li><a href="math-api.html" class="wiki_link">math</a></li><li><a href="miglayout-api.html" class="wiki_link">miglayout</a></li><li><a href="mmap-api.html" class="wiki_link">mmap</a></li><li><a href="mock-api.html" class="wiki_link">mock</a></li><li><a href="monadic-io-streams-api.html" class="wiki_link">monadic-io-streams</a></li><li><a href="monads-api.html" class="wiki_link">monads</a></li><li><a href="ns-utils-api.html" class="wiki_link">ns-utils</a></li><li><a href="pprint-api.html" class="wiki_link">pprint</a></li><li><a href="priority-map-api.html" class="wiki_link">priority-map</a></li><li><a href="probabilities.finite-distributions-api.html" class="wiki_link">probabilities.finite-distributions</a></li><li><a href="probabilities.monte-carlo-api.html" class="wiki_link">probabilities.monte-carlo</a></li><li><a href="probabilities.random-numbers-api.html" class="wiki_link">probabilities.random-numbers</a></li><li><a href="profile-api.html" class="wiki_link">profile</a></li><li><a href="properties-api.html" class="wiki_link">properties</a></li><li><a href="prxml-api.html" class="wiki_link">prxml</a></li><li><a href="reflect-api.html" class="wiki_link">reflect</a></li><li><a href="repl-ln-api.html" class="wiki_link">repl-ln</a></li><li><a href="repl-utils-api.html" class="wiki_link">repl-utils</a></li><li><a href="seq-api.html" class="wiki_link">seq</a></li><li><a href="seq-utils-api.html" class="wiki_link">seq-utils</a></li><li><a href="server-socket-api.html" class="wiki_link">server-socket</a></li><li><a href="set-api.html" class="wiki_link">set</a></li><li><a href="shell-api.html" class="wiki_link">shell</a></li><li><a href="shell-out-api.html" class="wiki_link">shell-out</a></li><li><a href="singleton-api.html" class="wiki_link">singleton</a></li><li><a href="sql-api.html" class="wiki_link">sql</a></li><li><a href="str-utils-api.html" class="wiki_link">str-utils</a></li><li><a href="str-utils2-api.html" class="wiki_link">str-utils2</a></li><li><a href="stream-utils-api.html" class="wiki_link">stream-utils</a></li><li><a href="string-api.html" class="wiki_link">string</a></li><li><a href="strint-api.html" class="wiki_link">strint</a></li><li><a href="swing-utils-api.html" class="wiki_link">swing-utils</a></li><li><a href="test-is-api.html" class="wiki_link">test-is</a></li><li><a href="trace-api.html" class="wiki_link">trace</a></li><li><a href="types-api.html" class="wiki_link">types</a></li><li><a href="with-ns-api.html" class="wiki_link">with-ns</a></li><li><a href="zip-filter-api.html" class="wiki_link">zip-filter</a></li> - </ul> - <div class="BranchTOC"> - <span class="toc-header">Other Versions</span> - <ul id="left-sidebar-branch-list"> - <li><a href="../index.html" class="wiki_link">v1.2 (beta 1)</a></li><li><a href="../branch-1.1.x/index.html" class="wiki_link">v1.1 (stable)</a></li> - </ul> - </div> - <a href="http://clojure.org" class="wiki_link">Clojure Home</a> - </div> -</div> -</div> - <div id="rightcolumn"> - <div id="Content"> - <div class="contentBox"><div class="innerContentBox"> - <div id="content_view" class="wiki wikiPage"> - <div id="right-sidebar"><div id="toc"> - <h1 class="nopad">Table of Contents</h1> - <div style="margin-left: 1em;" class="toc-section"> - <a href="#toc0">Overview</a> - <div style="margin-left: 1em;" class="toc-entry"> - <a href="#clojure.contrib.probabilities.random-numbers/lcg">lcg</a> - </div><div style="margin-left: 1em;" class="toc-entry"> - <a href="#clojure.contrib.probabilities.random-numbers/rand-stream">rand-stream</a> - </div> - <br /> - </div> -</div> -</div> - <div id="content-tag"><h1 id="overview">API for <span id="namespace-name">probabilities.random-numbers</span> - - <span id="header-project">clojure-contrib</span> <span id="header-version">next</span> (<span id="header-status">in development</span>) - </h1> -<span id="author-line">by <span id="author-name">Konrad Hinsen</span><br /></span> -<br />Usage: -<pre> -(ns your-namespace - (:require <span id="long-name">clojure.contrib.probabilities.random-numbers</span>)) -</pre><pre> -</pre><h2>Overview</h2> -<pre id="namespace-docstr">Random number streams - -This library provides random number generators with a common -stream interface. They all produce pseudo-random numbers that are -uniformly distributed in the interval [0, 1), i.e. 0 is a -possible value but 1 isn't. For transformations to other -distributions, see clojure.contrib.probabilities.monte-carlo. - -At the moment, the only generator provided is a rather simple -linear congruential generator.</pre> - - -<br /> -<h2>Public Variables and Functions</h2> -<div id="var-entry"> - <br /> - <hr /> - <h2 id="clojure.contrib.probabilities.random-numbers/lcg">lcg</h2> - <span id="var-type">function</span><br /> - <pre id="var-usage">Usage: (lcg modulus multiplier increment seed) -</pre> - <pre id="var-docstr">Create a linear congruential generator</pre> - - - <a href="http://github.com/richhickey/clojure-contrib/blob/7188a51605136f36524e4091fe806859114d6056/src/main/clojure/clojure/contrib/probabilities/random_numbers.clj#L35" id="var-source">Source</a> -</div><div id="var-entry"> - <br /> - <hr /> - <h2 id="clojure.contrib.probabilities.random-numbers/rand-stream">rand-stream</h2> - <span id="var-type">var</span><br /> - <pre id="var-usage"></pre> - <pre id="var-docstr">A random number stream based on clojure.core/rand. Note that this -generator uses an internal mutable state. The state is thus not stored -in the stream object and cannot be restored.</pre> - - - <a href="http://github.com/richhickey/clojure-contrib/blob/7188a51605136f36524e4091fe806859114d6056/src/main/clojure/clojure/contrib/probabilities/random_numbers.clj#L56" id="var-source">Source</a> -</div> - - -</div> - </div> - </div> - </div> - </div> - <div id="foot"> - <div style="text-align: center;" id="copyright">Copyright 2007-2009 by Rich Hickey and the various contributors</div> - </div> - </div> - <div id="DesignedBy">Logo & site design by <a title="Visit Tom Hickey's website." href="http://www.tomhickey.com">Tom Hickey</a>.<br /> - Clojure auto-documentation system by Tom Faulhaber.</div> - </div> - <!-- /AllContentContainer --> - </body> - -</html>
\ No newline at end of file diff --git a/branch-master/profile-api.html b/branch-master/profile-api.html deleted file mode 100644 index 685c0366..00000000 --- a/branch-master/profile-api.html +++ /dev/null @@ -1,212 +0,0 @@ -<html> - <head> - <title>profile - clojure-contrib next API documentation</title> - <link href="../static/favicon.png" rel="icon" /> - <link href="../static/favicon.png" rel="shortcut icon" /> - <link media="all" type="text/css" href="../static/clojure.css" rel="stylesheet" /> - <link media="all" type="text/css" href="../static/wiki.css" rel="stylesheet" /> - <link media="all" type="text/css" href="../static/internal.css" rel="stylesheet" /> - <!-- TODO: are we using these (from clojure.org)? If so, add the files --> - <script src="file/view/code_highlighter.js" type="text/javascript"></script> - <script src="file/view/clojure.js" type="text/javascript"></script> - <style>.menuWrapper{height: 36px;}</style> - <!--[if lte IE 6]> - <link rel="stylesheet" href="http://www.wikispaces.com/_/2009051601/s/internal_ie.css" type="text/css" /> - <![endif]--> - </head> -<!-- -This document was auto-generated from the source by the clojure autodoc system. -To report errors or ask questions about the overall documentation structure, formatting, -etc., contact Tom Faulhaber (google mail name: tomfaulhaber). -For errors in the documentation of a particular namespace, contact the author of that -namespace. ---> - <body> - <div id="AllContentContainer"> - <div id="Header"> - <a id="Logo" href="index.html"><img alt="Clojure" height="100" width="100" src="../static/clojure-icon.gif" /></a> - <h1><a title="page header title" id="page-header" href="index.html">Clojure-contrib API Reference</a></h1> - </div> - <div id="leftcolumn"><div style="text-align: center;"></div> -<div class="menu"> - <div class="WikiCustomNav WikiElement wiki"> - <span class="toc-header"><span id="project-name">clojure-contrib</span> <span id="version">next</span> API</span><br /> - <ul> - <li><a class="wiki_link" href="index.html">Overview</a></li> - <li><a class="wiki_link" href="api-index.html">API Index</a></li> - </ul> - <span class="toc-header">Namespaces</span> - <ul id="left-sidebar-list"> - <li><a href="accumulators-api.html" class="wiki_link">accumulators</a></li><li><a href="agent-utils-api.html" class="wiki_link">agent-utils</a></li><li><a href="apply-macro-api.html" class="wiki_link">apply-macro</a></li><li><a href="base64-api.html" class="wiki_link">base64</a></li><li><a href="classpath-api.html" class="wiki_link">classpath</a></li><li><a href="combinatorics-api.html" class="wiki_link">combinatorics</a></li><li><a href="command-line-api.html" class="wiki_link">command-line</a></li><li><a href="complex-numbers-api.html" class="wiki_link">complex-numbers</a></li><li><a href="cond-api.html" class="wiki_link">cond</a></li><li><a href="condition-api.html" class="wiki_link">condition</a></li><li><a href="core-api.html" class="wiki_link">core</a></li><li><a href="dataflow-api.html" class="wiki_link">dataflow</a></li><li><a href="datalog-api.html" class="wiki_link">datalog</a></li><li><a href="def-api.html" class="wiki_link">def</a></li><li><a href="duck-streams-api.html" class="wiki_link">duck-streams</a></li><li><a href="error-kit-api.html" class="wiki_link">error-kit</a></li><li><a href="except-api.html" class="wiki_link">except</a></li><li><a href="fcase-api.html" class="wiki_link">fcase</a></li><li><a href="find-namespaces-api.html" class="wiki_link">find-namespaces</a></li><li><a href="fnmap-api.html" class="wiki_link">fnmap</a></li><li><a href="gen-html-docs-api.html" class="wiki_link">gen-html-docs</a></li><li><a href="generic.arithmetic-api.html" class="wiki_link">generic.arithmetic</a></li><li><a href="generic.collection-api.html" class="wiki_link">generic.collection</a></li><li><a href="generic.comparison-api.html" class="wiki_link">generic.comparison</a></li><li><a href="generic.functor-api.html" class="wiki_link">generic.functor</a></li><li><a href="generic.math-functions-api.html" class="wiki_link">generic.math-functions</a></li><li><a href="graph-api.html" class="wiki_link">graph</a></li><li><a href="greatest-least-api.html" class="wiki_link">greatest-least</a></li><li><a href="http.agent-api.html" class="wiki_link">http.agent</a></li><li><a href="http.connection-api.html" class="wiki_link">http.connection</a></li><li><a href="import-static-api.html" class="wiki_link">import-static</a></li><li><a href="io-api.html" class="wiki_link">io</a></li><li><a href="jar-api.html" class="wiki_link">jar</a></li><li><a href="java-utils-api.html" class="wiki_link">java-utils</a></li><li><a href="javadoc.browse-api.html" class="wiki_link">javadoc.browse</a></li><li><a href="jmx-api.html" class="wiki_link">jmx</a></li><li><a href="json-api.html" class="wiki_link">json</a></li><li><a href="lazy-seqs-api.html" class="wiki_link">lazy-seqs</a></li><li><a href="lazy-xml-api.html" class="wiki_link">lazy-xml</a></li><li><a href="logging-api.html" class="wiki_link">logging</a></li><li><a href="macro-utils-api.html" class="wiki_link">macro-utils</a></li><li><a href="macros-api.html" class="wiki_link">macros</a></li><li><a href="map-utils-api.html" class="wiki_link">map-utils</a></li><li><a href="math-api.html" class="wiki_link">math</a></li><li><a href="miglayout-api.html" class="wiki_link">miglayout</a></li><li><a href="mmap-api.html" class="wiki_link">mmap</a></li><li><a href="mock-api.html" class="wiki_link">mock</a></li><li><a href="monadic-io-streams-api.html" class="wiki_link">monadic-io-streams</a></li><li><a href="monads-api.html" class="wiki_link">monads</a></li><li><a href="ns-utils-api.html" class="wiki_link">ns-utils</a></li><li><a href="pprint-api.html" class="wiki_link">pprint</a></li><li><a href="priority-map-api.html" class="wiki_link">priority-map</a></li><li><a href="probabilities.finite-distributions-api.html" class="wiki_link">probabilities.finite-distributions</a></li><li><a href="probabilities.monte-carlo-api.html" class="wiki_link">probabilities.monte-carlo</a></li><li><a href="probabilities.random-numbers-api.html" class="wiki_link">probabilities.random-numbers</a></li><li><a href="profile-api.html" class="wiki_link">profile</a></li><li><a href="properties-api.html" class="wiki_link">properties</a></li><li><a href="prxml-api.html" class="wiki_link">prxml</a></li><li><a href="reflect-api.html" class="wiki_link">reflect</a></li><li><a href="repl-ln-api.html" class="wiki_link">repl-ln</a></li><li><a href="repl-utils-api.html" class="wiki_link">repl-utils</a></li><li><a href="seq-api.html" class="wiki_link">seq</a></li><li><a href="seq-utils-api.html" class="wiki_link">seq-utils</a></li><li><a href="server-socket-api.html" class="wiki_link">server-socket</a></li><li><a href="set-api.html" class="wiki_link">set</a></li><li><a href="shell-api.html" class="wiki_link">shell</a></li><li><a href="shell-out-api.html" class="wiki_link">shell-out</a></li><li><a href="singleton-api.html" class="wiki_link">singleton</a></li><li><a href="sql-api.html" class="wiki_link">sql</a></li><li><a href="str-utils-api.html" class="wiki_link">str-utils</a></li><li><a href="str-utils2-api.html" class="wiki_link">str-utils2</a></li><li><a href="stream-utils-api.html" class="wiki_link">stream-utils</a></li><li><a href="string-api.html" class="wiki_link">string</a></li><li><a href="strint-api.html" class="wiki_link">strint</a></li><li><a href="swing-utils-api.html" class="wiki_link">swing-utils</a></li><li><a href="test-is-api.html" class="wiki_link">test-is</a></li><li><a href="trace-api.html" class="wiki_link">trace</a></li><li><a href="types-api.html" class="wiki_link">types</a></li><li><a href="with-ns-api.html" class="wiki_link">with-ns</a></li><li><a href="zip-filter-api.html" class="wiki_link">zip-filter</a></li> - </ul> - <div class="BranchTOC"> - <span class="toc-header">Other Versions</span> - <ul id="left-sidebar-branch-list"> - <li><a href="../index.html" class="wiki_link">v1.2 (beta 1)</a></li><li><a href="../branch-1.1.x/index.html" class="wiki_link">v1.1 (stable)</a></li> - </ul> - </div> - <a href="http://clojure.org" class="wiki_link">Clojure Home</a> - </div> -</div> -</div> - <div id="rightcolumn"> - <div id="Content"> - <div class="contentBox"><div class="innerContentBox"> - <div id="content_view" class="wiki wikiPage"> - <div id="right-sidebar"><div id="toc"> - <h1 class="nopad">Table of Contents</h1> - <div style="margin-left: 1em;" class="toc-section"> - <a href="#toc0">Overview</a> - <div style="margin-left: 1em;" class="toc-entry"> - <a href="#clojure.contrib.profile/*enable-profiling*">*enable-profiling*</a> - </div><div style="margin-left: 1em;" class="toc-entry"> - <a href="#clojure.contrib.profile/print-summary">print-summary</a> - </div><div style="margin-left: 1em;" class="toc-entry"> - <a href="#clojure.contrib.profile/prof">prof</a> - </div><div style="margin-left: 1em;" class="toc-entry"> - <a href="#clojure.contrib.profile/profile">profile</a> - </div><div style="margin-left: 1em;" class="toc-entry"> - <a href="#clojure.contrib.profile/summarize">summarize</a> - </div><div style="margin-left: 1em;" class="toc-entry"> - <a href="#clojure.contrib.profile/with-profile-data">with-profile-data</a> - </div> - <br /> - </div> -</div> -</div> - <div id="content-tag"><h1 id="overview">API for <span id="namespace-name">profile</span> - - <span id="header-project">clojure-contrib</span> <span id="header-version">next</span> (<span id="header-status">in development</span>) - </h1> -<span id="author-line">by <span id="author-name">Stuart Sierra</span><br /></span> -<br />Usage: -<pre> -(ns your-namespace - (:require <span id="long-name">clojure.contrib.profile</span>)) -</pre><pre> -</pre><h2>Overview</h2> -<pre id="namespace-docstr">Simple code profiling & timing measurement. - -Wrap any section of code in the prof macro, giving it a name, like this: - - (defn my-function [x y] - (let [sum (prof :addition (+ x y)) - product (prof :multiplication (* x y))] - [sum product])) - -The run your code in the profile macro, like this: - - (profile (dotimes [i 10000] (my-function 3 4))) - -Which prints a report for each named section of code: - - Name mean min max count sum - addition 265 0 37000 10000 2655000 -multiplication 274 0 53000 10000 2747000 - -Times are measured in nanoseconds, to the maximum precision available -under the JVM. See the function documentation for more details.</pre> - - -<br /> -<h2>Public Variables and Functions</h2> -<div id="var-entry"> - <br /> - <hr /> - <h2 id="clojure.contrib.profile/*enable-profiling*">*enable-profiling*</h2> - <span id="var-type">var</span><br /> - <pre id="var-usage"></pre> - <pre id="var-docstr">Set this to false before loading/compiling to omit -profiling code.</pre> - - - <a href="http://github.com/richhickey/clojure-contrib/blob/7188a51605136f36524e4091fe806859114d6056/src/main/clojure/clojure/contrib/profile.clj#L42" id="var-source">Source</a> -</div><div id="var-entry"> - <br /> - <hr /> - <h2 id="clojure.contrib.profile/print-summary">print-summary</h2> - <span id="var-type">function</span><br /> - <pre id="var-usage">Usage: (print-summary profile-summary) -</pre> - <pre id="var-docstr">Prints a table of the results returned by summarize.</pre> - - - <a href="http://github.com/richhickey/clojure-contrib/blob/7188a51605136f36524e4091fe806859114d6056/src/main/clojure/clojure/contrib/profile.clj#L95" id="var-source">Source</a> -</div><div id="var-entry"> - <br /> - <hr /> - <h2 id="clojure.contrib.profile/prof">prof</h2> - <span id="var-type">macro</span><br /> - <pre id="var-usage">Usage: (prof name & body) -</pre> - <pre id="var-docstr">If *enable-profiling* is true, wraps body in profiling code. -Returns the result of body. Profile timings will be stored in -*profile-data* using name, which must be a keyword, as the key. -Timings are measured with System/nanoTime.</pre> - - - <a href="http://github.com/richhickey/clojure-contrib/blob/7188a51605136f36524e4091fe806859114d6056/src/main/clojure/clojure/contrib/profile.clj#L45" id="var-source">Source</a> -</div><div id="var-entry"> - <br /> - <hr /> - <h2 id="clojure.contrib.profile/profile">profile</h2> - <span id="var-type">macro</span><br /> - <pre id="var-usage">Usage: (profile & body) -</pre> - <pre id="var-docstr">Runs body with profiling enabled, then prints a summary of -results. Returns nil.</pre> - - - <a href="http://github.com/richhickey/clojure-contrib/blob/7188a51605136f36524e4091fe806859114d6056/src/main/clojure/clojure/contrib/profile.clj#L106" id="var-source">Source</a> -</div><div id="var-entry"> - <br /> - <hr /> - <h2 id="clojure.contrib.profile/summarize">summarize</h2> - <span id="var-type">function</span><br /> - <pre id="var-usage">Usage: (summarize profile-data) -</pre> - <pre id="var-docstr">Takes the raw data returned by with-profile-data and returns a map -from names to summary statistics. Each value in the map will look -like: - - {:mean ..., :min ..., :max ..., :count ..., :sum ...} - -:mean, :min, and :max are how long the profiled section took to run, -in nanoseconds. :count is the total number of times the profiled -section was executed. :sum is the total amount of time spent in the -profiled section, in nanoseconds.</pre> - - - <a href="http://github.com/richhickey/clojure-contrib/blob/7188a51605136f36524e4091fe806859114d6056/src/main/clojure/clojure/contrib/profile.clj#L73" id="var-source">Source</a> -</div><div id="var-entry"> - <br /> - <hr /> - <h2 id="clojure.contrib.profile/with-profile-data">with-profile-data</h2> - <span id="var-type">macro</span><br /> - <pre id="var-usage">Usage: (with-profile-data & body) -</pre> - <pre id="var-docstr">Executes body with *profile-data* bound to an atom of a new map. -Returns the raw profile data as a map. Keys in the map are profile -names (keywords), and values are lists of elapsed time, in -nanoseconds.</pre> - - - <a href="http://github.com/richhickey/clojure-contrib/blob/7188a51605136f36524e4091fe806859114d6056/src/main/clojure/clojure/contrib/profile.clj#L63" id="var-source">Source</a> -</div> - - -</div> - </div> - </div> - </div> - </div> - <div id="foot"> - <div style="text-align: center;" id="copyright">Copyright 2007-2009 by Rich Hickey and the various contributors</div> - </div> - </div> - <div id="DesignedBy">Logo & site design by <a title="Visit Tom Hickey's website." href="http://www.tomhickey.com">Tom Hickey</a>.<br /> - Clojure auto-documentation system by Tom Faulhaber.</div> - </div> - <!-- /AllContentContainer --> - </body> - -</html>
\ No newline at end of file diff --git a/branch-master/properties-api.html b/branch-master/properties-api.html deleted file mode 100644 index 5b9c699d..00000000 --- a/branch-master/properties-api.html +++ /dev/null @@ -1,183 +0,0 @@ -<html> - <head> - <title>properties - clojure-contrib next API documentation</title> - <link href="../static/favicon.png" rel="icon" /> - <link href="../static/favicon.png" rel="shortcut icon" /> - <link media="all" type="text/css" href="../static/clojure.css" rel="stylesheet" /> - <link media="all" type="text/css" href="../static/wiki.css" rel="stylesheet" /> - <link media="all" type="text/css" href="../static/internal.css" rel="stylesheet" /> - <!-- TODO: are we using these (from clojure.org)? If so, add the files --> - <script src="file/view/code_highlighter.js" type="text/javascript"></script> - <script src="file/view/clojure.js" type="text/javascript"></script> - <style>.menuWrapper{height: 36px;}</style> - <!--[if lte IE 6]> - <link rel="stylesheet" href="http://www.wikispaces.com/_/2009051601/s/internal_ie.css" type="text/css" /> - <![endif]--> - </head> -<!-- -This document was auto-generated from the source by the clojure autodoc system. -To report errors or ask questions about the overall documentation structure, formatting, -etc., contact Tom Faulhaber (google mail name: tomfaulhaber). -For errors in the documentation of a particular namespace, contact the author of that -namespace. ---> - <body> - <div id="AllContentContainer"> - <div id="Header"> - <a id="Logo" href="index.html"><img alt="Clojure" height="100" width="100" src="../static/clojure-icon.gif" /></a> - <h1><a title="page header title" id="page-header" href="index.html">Clojure-contrib API Reference</a></h1> - </div> - <div id="leftcolumn"><div style="text-align: center;"></div> -<div class="menu"> - <div class="WikiCustomNav WikiElement wiki"> - <span class="toc-header"><span id="project-name">clojure-contrib</span> <span id="version">next</span> API</span><br /> - <ul> - <li><a class="wiki_link" href="index.html">Overview</a></li> - <li><a class="wiki_link" href="api-index.html">API Index</a></li> - </ul> - <span class="toc-header">Namespaces</span> - <ul id="left-sidebar-list"> - <li><a href="accumulators-api.html" class="wiki_link">accumulators</a></li><li><a href="agent-utils-api.html" class="wiki_link">agent-utils</a></li><li><a href="apply-macro-api.html" class="wiki_link">apply-macro</a></li><li><a href="base64-api.html" class="wiki_link">base64</a></li><li><a href="classpath-api.html" class="wiki_link">classpath</a></li><li><a href="combinatorics-api.html" class="wiki_link">combinatorics</a></li><li><a href="command-line-api.html" class="wiki_link">command-line</a></li><li><a href="complex-numbers-api.html" class="wiki_link">complex-numbers</a></li><li><a href="cond-api.html" class="wiki_link">cond</a></li><li><a href="condition-api.html" class="wiki_link">condition</a></li><li><a href="core-api.html" class="wiki_link">core</a></li><li><a href="dataflow-api.html" class="wiki_link">dataflow</a></li><li><a href="datalog-api.html" class="wiki_link">datalog</a></li><li><a href="def-api.html" class="wiki_link">def</a></li><li><a href="duck-streams-api.html" class="wiki_link">duck-streams</a></li><li><a href="error-kit-api.html" class="wiki_link">error-kit</a></li><li><a href="except-api.html" class="wiki_link">except</a></li><li><a href="fcase-api.html" class="wiki_link">fcase</a></li><li><a href="find-namespaces-api.html" class="wiki_link">find-namespaces</a></li><li><a href="fnmap-api.html" class="wiki_link">fnmap</a></li><li><a href="gen-html-docs-api.html" class="wiki_link">gen-html-docs</a></li><li><a href="generic.arithmetic-api.html" class="wiki_link">generic.arithmetic</a></li><li><a href="generic.collection-api.html" class="wiki_link">generic.collection</a></li><li><a href="generic.comparison-api.html" class="wiki_link">generic.comparison</a></li><li><a href="generic.functor-api.html" class="wiki_link">generic.functor</a></li><li><a href="generic.math-functions-api.html" class="wiki_link">generic.math-functions</a></li><li><a href="graph-api.html" class="wiki_link">graph</a></li><li><a href="greatest-least-api.html" class="wiki_link">greatest-least</a></li><li><a href="http.agent-api.html" class="wiki_link">http.agent</a></li><li><a href="http.connection-api.html" class="wiki_link">http.connection</a></li><li><a href="import-static-api.html" class="wiki_link">import-static</a></li><li><a href="io-api.html" class="wiki_link">io</a></li><li><a href="jar-api.html" class="wiki_link">jar</a></li><li><a href="java-utils-api.html" class="wiki_link">java-utils</a></li><li><a href="javadoc.browse-api.html" class="wiki_link">javadoc.browse</a></li><li><a href="jmx-api.html" class="wiki_link">jmx</a></li><li><a href="json-api.html" class="wiki_link">json</a></li><li><a href="lazy-seqs-api.html" class="wiki_link">lazy-seqs</a></li><li><a href="lazy-xml-api.html" class="wiki_link">lazy-xml</a></li><li><a href="logging-api.html" class="wiki_link">logging</a></li><li><a href="macro-utils-api.html" class="wiki_link">macro-utils</a></li><li><a href="macros-api.html" class="wiki_link">macros</a></li><li><a href="map-utils-api.html" class="wiki_link">map-utils</a></li><li><a href="math-api.html" class="wiki_link">math</a></li><li><a href="miglayout-api.html" class="wiki_link">miglayout</a></li><li><a href="mmap-api.html" class="wiki_link">mmap</a></li><li><a href="mock-api.html" class="wiki_link">mock</a></li><li><a href="monadic-io-streams-api.html" class="wiki_link">monadic-io-streams</a></li><li><a href="monads-api.html" class="wiki_link">monads</a></li><li><a href="ns-utils-api.html" class="wiki_link">ns-utils</a></li><li><a href="pprint-api.html" class="wiki_link">pprint</a></li><li><a href="priority-map-api.html" class="wiki_link">priority-map</a></li><li><a href="probabilities.finite-distributions-api.html" class="wiki_link">probabilities.finite-distributions</a></li><li><a href="probabilities.monte-carlo-api.html" class="wiki_link">probabilities.monte-carlo</a></li><li><a href="probabilities.random-numbers-api.html" class="wiki_link">probabilities.random-numbers</a></li><li><a href="profile-api.html" class="wiki_link">profile</a></li><li><a href="properties-api.html" class="wiki_link">properties</a></li><li><a href="prxml-api.html" class="wiki_link">prxml</a></li><li><a href="reflect-api.html" class="wiki_link">reflect</a></li><li><a href="repl-ln-api.html" class="wiki_link">repl-ln</a></li><li><a href="repl-utils-api.html" class="wiki_link">repl-utils</a></li><li><a href="seq-api.html" class="wiki_link">seq</a></li><li><a href="seq-utils-api.html" class="wiki_link">seq-utils</a></li><li><a href="server-socket-api.html" class="wiki_link">server-socket</a></li><li><a href="set-api.html" class="wiki_link">set</a></li><li><a href="shell-api.html" class="wiki_link">shell</a></li><li><a href="shell-out-api.html" class="wiki_link">shell-out</a></li><li><a href="singleton-api.html" class="wiki_link">singleton</a></li><li><a href="sql-api.html" class="wiki_link">sql</a></li><li><a href="str-utils-api.html" class="wiki_link">str-utils</a></li><li><a href="str-utils2-api.html" class="wiki_link">str-utils2</a></li><li><a href="stream-utils-api.html" class="wiki_link">stream-utils</a></li><li><a href="string-api.html" class="wiki_link">string</a></li><li><a href="strint-api.html" class="wiki_link">strint</a></li><li><a href="swing-utils-api.html" class="wiki_link">swing-utils</a></li><li><a href="test-is-api.html" class="wiki_link">test-is</a></li><li><a href="trace-api.html" class="wiki_link">trace</a></li><li><a href="types-api.html" class="wiki_link">types</a></li><li><a href="with-ns-api.html" class="wiki_link">with-ns</a></li><li><a href="zip-filter-api.html" class="wiki_link">zip-filter</a></li> - </ul> - <div class="BranchTOC"> - <span class="toc-header">Other Versions</span> - <ul id="left-sidebar-branch-list"> - <li><a href="../index.html" class="wiki_link">v1.2 (beta 1)</a></li><li><a href="../branch-1.1.x/index.html" class="wiki_link">v1.1 (stable)</a></li> - </ul> - </div> - <a href="http://clojure.org" class="wiki_link">Clojure Home</a> - </div> -</div> -</div> - <div id="rightcolumn"> - <div id="Content"> - <div class="contentBox"><div class="innerContentBox"> - <div id="content_view" class="wiki wikiPage"> - <div id="right-sidebar"><div id="toc"> - <h1 class="nopad">Table of Contents</h1> - <div style="margin-left: 1em;" class="toc-section"> - <a href="#toc0">Overview</a> - <div style="margin-left: 1em;" class="toc-entry"> - <a href="#clojure.contrib.properties/as-properties">as-properties</a> - </div><div style="margin-left: 1em;" class="toc-entry"> - <a href="#clojure.contrib.properties/get-system-property">get-system-property</a> - </div><div style="margin-left: 1em;" class="toc-entry"> - <a href="#clojure.contrib.properties/read-properties">read-properties</a> - </div><div style="margin-left: 1em;" class="toc-entry"> - <a href="#clojure.contrib.properties/set-system-properties">set-system-properties</a> - </div><div style="margin-left: 1em;" class="toc-entry"> - <a href="#clojure.contrib.properties/with-system-properties">with-system-properties</a> - </div><div style="margin-left: 1em;" class="toc-entry"> - <a href="#clojure.contrib.properties/write-properties">write-properties</a> - </div> - <br /> - </div> -</div> -</div> - <div id="content-tag"><h1 id="overview">API for <span id="namespace-name">properties</span> - - <span id="header-project">clojure-contrib</span> <span id="header-version">next</span> (<span id="header-status">in development</span>) - </h1> - -<br />Usage: -<pre> -(ns your-namespace - (:require <span id="long-name">clojure.contrib.properties</span>)) -</pre><pre> -</pre><h2>Overview</h2> -<pre id="namespace-docstr"></pre> - -<span class="ns-deprecated"><span id="content">Deprecated since clojure-contrib version 1.2</span><br /></span> -<br /> -<h2>Public Variables and Functions</h2> -<div id="var-entry"> - <br /> - <hr /> - <h2 id="clojure.contrib.properties/as-properties">as-properties</h2> - <span id="var-type">function</span><br /> - <pre id="var-usage">Usage: (as-properties m) -</pre> - <pre id="var-docstr">Convert any seq of pairs to a java.utils.Properties instance. -Uses as-str to convert both keys and values into strings.</pre> - - - <a href="http://github.com/richhickey/clojure-contrib/blob/28fb2d9be2d388bbacea9bebad5870c41bfa5faa/src/main/clojure/clojure/contrib/properties.clj#L53" id="var-source">Source</a> -</div><div id="var-entry"> - <br /> - <hr /> - <h2 id="clojure.contrib.properties/get-system-property">get-system-property</h2> - <span id="var-type">function</span><br /> - <pre id="var-usage">Usage: (get-system-property stringable) - (get-system-property stringable default) -</pre> - <pre id="var-docstr">Get a system property.</pre> - - - <a href="http://github.com/richhickey/clojure-contrib/blob/28fb2d9be2d388bbacea9bebad5870c41bfa5faa/src/main/clojure/clojure/contrib/properties.clj#L18" id="var-source">Source</a> -</div><div id="var-entry"> - <br /> - <hr /> - <h2 id="clojure.contrib.properties/read-properties">read-properties</h2> - <span id="var-type">function</span><br /> - <pre id="var-usage">Usage: (read-properties file-able) -</pre> - <pre id="var-docstr">Read properties from file-able.</pre> - - - <a href="http://github.com/richhickey/clojure-contrib/blob/28fb2d9be2d388bbacea9bebad5870c41bfa5faa/src/main/clojure/clojure/contrib/properties.clj#L63" id="var-source">Source</a> -</div><div id="var-entry"> - <br /> - <hr /> - <h2 id="clojure.contrib.properties/set-system-properties">set-system-properties</h2> - <span id="var-type">function</span><br /> - <pre id="var-usage">Usage: (set-system-properties settings) -</pre> - <pre id="var-docstr">Set some system properties. Nil clears a property.</pre> - - - <a href="http://github.com/richhickey/clojure-contrib/blob/28fb2d9be2d388bbacea9bebad5870c41bfa5faa/src/main/clojure/clojure/contrib/properties.clj#L25" id="var-source">Source</a> -</div><div id="var-entry"> - <br /> - <hr /> - <h2 id="clojure.contrib.properties/with-system-properties">with-system-properties</h2> - <span id="var-type">macro</span><br /> - <pre id="var-usage">Usage: (with-system-properties settings & body) -</pre> - <pre id="var-docstr">setting => property-name value - -Sets the system properties to the supplied values, executes the body, and -sets the properties back to their original values. Values of nil are -translated to a clearing of the property.</pre> - - - <a href="http://github.com/richhickey/clojure-contrib/blob/28fb2d9be2d388bbacea9bebad5870c41bfa5faa/src/main/clojure/clojure/contrib/properties.clj#L33" id="var-source">Source</a> -</div><div id="var-entry"> - <br /> - <hr /> - <h2 id="clojure.contrib.properties/write-properties">write-properties</h2> - <span id="var-type">function</span><br /> - <pre id="var-usage">Usage: (write-properties m file-able) - (write-properties m file-able comments) -</pre> - <pre id="var-docstr">Write properties to file-able.</pre> - - - <a href="http://github.com/richhickey/clojure-contrib/blob/28fb2d9be2d388bbacea9bebad5870c41bfa5faa/src/main/clojure/clojure/contrib/properties.clj#L70" id="var-source">Source</a> -</div> - - -</div> - </div> - </div> - </div> - </div> - <div id="foot"> - <div style="text-align: center;" id="copyright">Copyright 2007-2009 by Rich Hickey and the various contributors</div> - </div> - </div> - <div id="DesignedBy">Logo & site design by <a title="Visit Tom Hickey's website." href="http://www.tomhickey.com">Tom Hickey</a>.<br /> - Clojure auto-documentation system by Tom Faulhaber.</div> - </div> - <!-- /AllContentContainer --> - </body> - -</html>
\ No newline at end of file diff --git a/branch-master/prxml-api.html b/branch-master/prxml-api.html deleted file mode 100644 index 93eeb991..00000000 --- a/branch-master/prxml-api.html +++ /dev/null @@ -1,158 +0,0 @@ -<html> - <head> - <title>prxml - clojure-contrib next API documentation</title> - <link href="../static/favicon.png" rel="icon" /> - <link href="../static/favicon.png" rel="shortcut icon" /> - <link media="all" type="text/css" href="../static/clojure.css" rel="stylesheet" /> - <link media="all" type="text/css" href="../static/wiki.css" rel="stylesheet" /> - <link media="all" type="text/css" href="../static/internal.css" rel="stylesheet" /> - <!-- TODO: are we using these (from clojure.org)? If so, add the files --> - <script src="file/view/code_highlighter.js" type="text/javascript"></script> - <script src="file/view/clojure.js" type="text/javascript"></script> - <style>.menuWrapper{height: 36px;}</style> - <!--[if lte IE 6]> - <link rel="stylesheet" href="http://www.wikispaces.com/_/2009051601/s/internal_ie.css" type="text/css" /> - <![endif]--> - </head> -<!-- -This document was auto-generated from the source by the clojure autodoc system. -To report errors or ask questions about the overall documentation structure, formatting, -etc., contact Tom Faulhaber (google mail name: tomfaulhaber). -For errors in the documentation of a particular namespace, contact the author of that -namespace. ---> - <body> - <div id="AllContentContainer"> - <div id="Header"> - <a id="Logo" href="index.html"><img alt="Clojure" height="100" width="100" src="../static/clojure-icon.gif" /></a> - <h1><a title="page header title" id="page-header" href="index.html">Clojure-contrib API Reference</a></h1> - </div> - <div id="leftcolumn"><div style="text-align: center;"></div> -<div class="menu"> - <div class="WikiCustomNav WikiElement wiki"> - <span class="toc-header"><span id="project-name">clojure-contrib</span> <span id="version">next</span> API</span><br /> - <ul> - <li><a class="wiki_link" href="index.html">Overview</a></li> - <li><a class="wiki_link" href="api-index.html">API Index</a></li> - </ul> - <span class="toc-header">Namespaces</span> - <ul id="left-sidebar-list"> - <li><a href="accumulators-api.html" class="wiki_link">accumulators</a></li><li><a href="agent-utils-api.html" class="wiki_link">agent-utils</a></li><li><a href="apply-macro-api.html" class="wiki_link">apply-macro</a></li><li><a href="base64-api.html" class="wiki_link">base64</a></li><li><a href="classpath-api.html" class="wiki_link">classpath</a></li><li><a href="combinatorics-api.html" class="wiki_link">combinatorics</a></li><li><a href="command-line-api.html" class="wiki_link">command-line</a></li><li><a href="complex-numbers-api.html" class="wiki_link">complex-numbers</a></li><li><a href="cond-api.html" class="wiki_link">cond</a></li><li><a href="condition-api.html" class="wiki_link">condition</a></li><li><a href="core-api.html" class="wiki_link">core</a></li><li><a href="dataflow-api.html" class="wiki_link">dataflow</a></li><li><a href="datalog-api.html" class="wiki_link">datalog</a></li><li><a href="def-api.html" class="wiki_link">def</a></li><li><a href="duck-streams-api.html" class="wiki_link">duck-streams</a></li><li><a href="error-kit-api.html" class="wiki_link">error-kit</a></li><li><a href="except-api.html" class="wiki_link">except</a></li><li><a href="fcase-api.html" class="wiki_link">fcase</a></li><li><a href="find-namespaces-api.html" class="wiki_link">find-namespaces</a></li><li><a href="fnmap-api.html" class="wiki_link">fnmap</a></li><li><a href="gen-html-docs-api.html" class="wiki_link">gen-html-docs</a></li><li><a href="generic.arithmetic-api.html" class="wiki_link">generic.arithmetic</a></li><li><a href="generic.collection-api.html" class="wiki_link">generic.collection</a></li><li><a href="generic.comparison-api.html" class="wiki_link">generic.comparison</a></li><li><a href="generic.functor-api.html" class="wiki_link">generic.functor</a></li><li><a href="generic.math-functions-api.html" class="wiki_link">generic.math-functions</a></li><li><a href="graph-api.html" class="wiki_link">graph</a></li><li><a href="greatest-least-api.html" class="wiki_link">greatest-least</a></li><li><a href="http.agent-api.html" class="wiki_link">http.agent</a></li><li><a href="http.connection-api.html" class="wiki_link">http.connection</a></li><li><a href="import-static-api.html" class="wiki_link">import-static</a></li><li><a href="io-api.html" class="wiki_link">io</a></li><li><a href="jar-api.html" class="wiki_link">jar</a></li><li><a href="java-utils-api.html" class="wiki_link">java-utils</a></li><li><a href="javadoc.browse-api.html" class="wiki_link">javadoc.browse</a></li><li><a href="jmx-api.html" class="wiki_link">jmx</a></li><li><a href="json-api.html" class="wiki_link">json</a></li><li><a href="lazy-seqs-api.html" class="wiki_link">lazy-seqs</a></li><li><a href="lazy-xml-api.html" class="wiki_link">lazy-xml</a></li><li><a href="logging-api.html" class="wiki_link">logging</a></li><li><a href="macro-utils-api.html" class="wiki_link">macro-utils</a></li><li><a href="macros-api.html" class="wiki_link">macros</a></li><li><a href="map-utils-api.html" class="wiki_link">map-utils</a></li><li><a href="math-api.html" class="wiki_link">math</a></li><li><a href="miglayout-api.html" class="wiki_link">miglayout</a></li><li><a href="mmap-api.html" class="wiki_link">mmap</a></li><li><a href="mock-api.html" class="wiki_link">mock</a></li><li><a href="monadic-io-streams-api.html" class="wiki_link">monadic-io-streams</a></li><li><a href="monads-api.html" class="wiki_link">monads</a></li><li><a href="ns-utils-api.html" class="wiki_link">ns-utils</a></li><li><a href="pprint-api.html" class="wiki_link">pprint</a></li><li><a href="priority-map-api.html" class="wiki_link">priority-map</a></li><li><a href="probabilities.finite-distributions-api.html" class="wiki_link">probabilities.finite-distributions</a></li><li><a href="probabilities.monte-carlo-api.html" class="wiki_link">probabilities.monte-carlo</a></li><li><a href="probabilities.random-numbers-api.html" class="wiki_link">probabilities.random-numbers</a></li><li><a href="profile-api.html" class="wiki_link">profile</a></li><li><a href="properties-api.html" class="wiki_link">properties</a></li><li><a href="prxml-api.html" class="wiki_link">prxml</a></li><li><a href="reflect-api.html" class="wiki_link">reflect</a></li><li><a href="repl-ln-api.html" class="wiki_link">repl-ln</a></li><li><a href="repl-utils-api.html" class="wiki_link">repl-utils</a></li><li><a href="seq-api.html" class="wiki_link">seq</a></li><li><a href="seq-utils-api.html" class="wiki_link">seq-utils</a></li><li><a href="server-socket-api.html" class="wiki_link">server-socket</a></li><li><a href="set-api.html" class="wiki_link">set</a></li><li><a href="shell-api.html" class="wiki_link">shell</a></li><li><a href="shell-out-api.html" class="wiki_link">shell-out</a></li><li><a href="singleton-api.html" class="wiki_link">singleton</a></li><li><a href="sql-api.html" class="wiki_link">sql</a></li><li><a href="str-utils-api.html" class="wiki_link">str-utils</a></li><li><a href="str-utils2-api.html" class="wiki_link">str-utils2</a></li><li><a href="stream-utils-api.html" class="wiki_link">stream-utils</a></li><li><a href="string-api.html" class="wiki_link">string</a></li><li><a href="strint-api.html" class="wiki_link">strint</a></li><li><a href="swing-utils-api.html" class="wiki_link">swing-utils</a></li><li><a href="test-is-api.html" class="wiki_link">test-is</a></li><li><a href="trace-api.html" class="wiki_link">trace</a></li><li><a href="types-api.html" class="wiki_link">types</a></li><li><a href="with-ns-api.html" class="wiki_link">with-ns</a></li><li><a href="zip-filter-api.html" class="wiki_link">zip-filter</a></li> - </ul> - <div class="BranchTOC"> - <span class="toc-header">Other Versions</span> - <ul id="left-sidebar-branch-list"> - <li><a href="../index.html" class="wiki_link">v1.2 (beta 1)</a></li><li><a href="../branch-1.1.x/index.html" class="wiki_link">v1.1 (stable)</a></li> - </ul> - </div> - <a href="http://clojure.org" class="wiki_link">Clojure Home</a> - </div> -</div> -</div> - <div id="rightcolumn"> - <div id="Content"> - <div class="contentBox"><div class="innerContentBox"> - <div id="content_view" class="wiki wikiPage"> - <div id="right-sidebar"><div id="toc"> - <h1 class="nopad">Table of Contents</h1> - <div style="margin-left: 1em;" class="toc-section"> - <a href="#toc0">Overview</a> - <div style="margin-left: 1em;" class="toc-entry"> - <a href="#clojure.contrib.prxml/*html-compatible*">*html-compatible*</a> - </div><div style="margin-left: 1em;" class="toc-entry"> - <a href="#clojure.contrib.prxml/*prxml-indent*">*prxml-indent*</a> - </div><div style="margin-left: 1em;" class="toc-entry"> - <a href="#clojure.contrib.prxml/prxml">prxml</a> - </div> - <br /> - </div> -</div> -</div> - <div id="content-tag"><h1 id="overview">API for <span id="namespace-name">prxml</span> - - <span id="header-project">clojure-contrib</span> <span id="header-version">next</span> (<span id="header-status">in development</span>) - </h1> -<span id="author-line">by <span id="author-name">Stuart Sierra</span><br /></span> -<br />Usage: -<pre> -(ns your-namespace - (:require <span id="long-name">clojure.contrib.prxml</span>)) -</pre><pre> -</pre><h2>Overview</h2> -<pre id="namespace-docstr">Compact syntax for generating XML. See the documentation of "prxml" -for details.</pre> - - -<br /> -<h2>Public Variables and Functions</h2> -<div id="var-entry"> - <br /> - <hr /> - <h2 id="clojure.contrib.prxml/*html-compatible*">*html-compatible*</h2> - <span id="var-type">var</span><br /> - <pre id="var-usage"></pre> - <pre id="var-docstr">If true, empty tags will have a space before the closing /></pre> - - - <a href="http://github.com/richhickey/clojure-contrib/blob/7188a51605136f36524e4091fe806859114d6056/src/main/clojure/clojure/contrib/prxml.clj#L32" id="var-source">Source</a> -</div><div id="var-entry"> - <br /> - <hr /> - <h2 id="clojure.contrib.prxml/*prxml-indent*">*prxml-indent*</h2> - <span id="var-type">var</span><br /> - <pre id="var-usage"></pre> - <pre id="var-docstr">The number of spaces to indent sub-tags. nil for no indent -and no extra line-breaks.</pre> - - - <a href="http://github.com/richhickey/clojure-contrib/blob/7188a51605136f36524e4091fe806859114d6056/src/main/clojure/clojure/contrib/prxml.clj#L36" id="var-source">Source</a> -</div><div id="var-entry"> - <br /> - <hr /> - <h2 id="clojure.contrib.prxml/prxml">prxml</h2> - <span id="var-type">function</span><br /> - <pre id="var-usage">Usage: (prxml & args) -</pre> - <pre id="var-docstr">Print XML to *out*. Vectors become XML tags: the first item is the -tag name; optional second item is a map of attributes. - -Sequences are processed recursively, so you can use map and other -sequence functions inside prxml. - - (prxml [:p {:class "greet"} [:i "Ladies & gentlemen"]]) - ; => <p class="greet"><i>Ladies &amp; gentlemen</i></p> - -PSEUDO-TAGS: some keywords have special meaning: - - :raw! do not XML-escape contents - :comment! create an XML comment - :decl! create an XML declaration, with attributes - :cdata! create a CDATA section - :doctype! create a DOCTYPE! - - (prxml [:p [:raw! "<i>here & gone</i>"]]) - ; => <p><i>here & gone</i></p> - - (prxml [:decl! {:version "1.1"}]) - ; => <?xml version="1.1" encoding="UTF-8"?></pre> - - - <a href="http://github.com/richhickey/clojure-contrib/blob/7188a51605136f36524e4091fe806859114d6056/src/main/clojure/clojure/contrib/prxml.clj#L146" id="var-source">Source</a> -</div> - - -</div> - </div> - </div> - </div> - </div> - <div id="foot"> - <div style="text-align: center;" id="copyright">Copyright 2007-2009 by Rich Hickey and the various contributors</div> - </div> - </div> - <div id="DesignedBy">Logo & site design by <a title="Visit Tom Hickey's website." href="http://www.tomhickey.com">Tom Hickey</a>.<br /> - Clojure auto-documentation system by Tom Faulhaber.</div> - </div> - <!-- /AllContentContainer --> - </body> - -</html>
\ No newline at end of file diff --git a/branch-master/reflect-api.html b/branch-master/reflect-api.html deleted file mode 100644 index 8e0d431a..00000000 --- a/branch-master/reflect-api.html +++ /dev/null @@ -1,132 +0,0 @@ -<html> - <head> - <title>reflect - clojure-contrib next API documentation</title> - <link href="../static/favicon.png" rel="icon" /> - <link href="../static/favicon.png" rel="shortcut icon" /> - <link media="all" type="text/css" href="../static/clojure.css" rel="stylesheet" /> - <link media="all" type="text/css" href="../static/wiki.css" rel="stylesheet" /> - <link media="all" type="text/css" href="../static/internal.css" rel="stylesheet" /> - <!-- TODO: are we using these (from clojure.org)? If so, add the files --> - <script src="file/view/code_highlighter.js" type="text/javascript"></script> - <script src="file/view/clojure.js" type="text/javascript"></script> - <style>.menuWrapper{height: 36px;}</style> - <!--[if lte IE 6]> - <link rel="stylesheet" href="http://www.wikispaces.com/_/2009051601/s/internal_ie.css" type="text/css" /> - <![endif]--> - </head> -<!-- -This document was auto-generated from the source by the clojure autodoc system. -To report errors or ask questions about the overall documentation structure, formatting, -etc., contact Tom Faulhaber (google mail name: tomfaulhaber). -For errors in the documentation of a particular namespace, contact the author of that -namespace. ---> - <body> - <div id="AllContentContainer"> - <div id="Header"> - <a id="Logo" href="index.html"><img alt="Clojure" height="100" width="100" src="../static/clojure-icon.gif" /></a> - <h1><a title="page header title" id="page-header" href="index.html">Clojure-contrib API Reference</a></h1> - </div> - <div id="leftcolumn"><div style="text-align: center;"></div> -<div class="menu"> - <div class="WikiCustomNav WikiElement wiki"> - <span class="toc-header"><span id="project-name">clojure-contrib</span> <span id="version">next</span> API</span><br /> - <ul> - <li><a class="wiki_link" href="index.html">Overview</a></li> - <li><a class="wiki_link" href="api-index.html">API Index</a></li> - </ul> - <span class="toc-header">Namespaces</span> - <ul id="left-sidebar-list"> - <li><a href="accumulators-api.html" class="wiki_link">accumulators</a></li><li><a href="agent-utils-api.html" class="wiki_link">agent-utils</a></li><li><a href="apply-macro-api.html" class="wiki_link">apply-macro</a></li><li><a href="base64-api.html" class="wiki_link">base64</a></li><li><a href="classpath-api.html" class="wiki_link">classpath</a></li><li><a href="combinatorics-api.html" class="wiki_link">combinatorics</a></li><li><a href="command-line-api.html" class="wiki_link">command-line</a></li><li><a href="complex-numbers-api.html" class="wiki_link">complex-numbers</a></li><li><a href="cond-api.html" class="wiki_link">cond</a></li><li><a href="condition-api.html" class="wiki_link">condition</a></li><li><a href="core-api.html" class="wiki_link">core</a></li><li><a href="dataflow-api.html" class="wiki_link">dataflow</a></li><li><a href="datalog-api.html" class="wiki_link">datalog</a></li><li><a href="def-api.html" class="wiki_link">def</a></li><li><a href="duck-streams-api.html" class="wiki_link">duck-streams</a></li><li><a href="error-kit-api.html" class="wiki_link">error-kit</a></li><li><a href="except-api.html" class="wiki_link">except</a></li><li><a href="fcase-api.html" class="wiki_link">fcase</a></li><li><a href="find-namespaces-api.html" class="wiki_link">find-namespaces</a></li><li><a href="fnmap-api.html" class="wiki_link">fnmap</a></li><li><a href="gen-html-docs-api.html" class="wiki_link">gen-html-docs</a></li><li><a href="generic.arithmetic-api.html" class="wiki_link">generic.arithmetic</a></li><li><a href="generic.collection-api.html" class="wiki_link">generic.collection</a></li><li><a href="generic.comparison-api.html" class="wiki_link">generic.comparison</a></li><li><a href="generic.functor-api.html" class="wiki_link">generic.functor</a></li><li><a href="generic.math-functions-api.html" class="wiki_link">generic.math-functions</a></li><li><a href="graph-api.html" class="wiki_link">graph</a></li><li><a href="greatest-least-api.html" class="wiki_link">greatest-least</a></li><li><a href="http.agent-api.html" class="wiki_link">http.agent</a></li><li><a href="http.connection-api.html" class="wiki_link">http.connection</a></li><li><a href="import-static-api.html" class="wiki_link">import-static</a></li><li><a href="io-api.html" class="wiki_link">io</a></li><li><a href="jar-api.html" class="wiki_link">jar</a></li><li><a href="java-utils-api.html" class="wiki_link">java-utils</a></li><li><a href="javadoc.browse-api.html" class="wiki_link">javadoc.browse</a></li><li><a href="jmx-api.html" class="wiki_link">jmx</a></li><li><a href="json-api.html" class="wiki_link">json</a></li><li><a href="lazy-seqs-api.html" class="wiki_link">lazy-seqs</a></li><li><a href="lazy-xml-api.html" class="wiki_link">lazy-xml</a></li><li><a href="logging-api.html" class="wiki_link">logging</a></li><li><a href="macro-utils-api.html" class="wiki_link">macro-utils</a></li><li><a href="macros-api.html" class="wiki_link">macros</a></li><li><a href="map-utils-api.html" class="wiki_link">map-utils</a></li><li><a href="math-api.html" class="wiki_link">math</a></li><li><a href="miglayout-api.html" class="wiki_link">miglayout</a></li><li><a href="mmap-api.html" class="wiki_link">mmap</a></li><li><a href="mock-api.html" class="wiki_link">mock</a></li><li><a href="monadic-io-streams-api.html" class="wiki_link">monadic-io-streams</a></li><li><a href="monads-api.html" class="wiki_link">monads</a></li><li><a href="ns-utils-api.html" class="wiki_link">ns-utils</a></li><li><a href="pprint-api.html" class="wiki_link">pprint</a></li><li><a href="priority-map-api.html" class="wiki_link">priority-map</a></li><li><a href="probabilities.finite-distributions-api.html" class="wiki_link">probabilities.finite-distributions</a></li><li><a href="probabilities.monte-carlo-api.html" class="wiki_link">probabilities.monte-carlo</a></li><li><a href="probabilities.random-numbers-api.html" class="wiki_link">probabilities.random-numbers</a></li><li><a href="profile-api.html" class="wiki_link">profile</a></li><li><a href="properties-api.html" class="wiki_link">properties</a></li><li><a href="prxml-api.html" class="wiki_link">prxml</a></li><li><a href="reflect-api.html" class="wiki_link">reflect</a></li><li><a href="repl-ln-api.html" class="wiki_link">repl-ln</a></li><li><a href="repl-utils-api.html" class="wiki_link">repl-utils</a></li><li><a href="seq-api.html" class="wiki_link">seq</a></li><li><a href="seq-utils-api.html" class="wiki_link">seq-utils</a></li><li><a href="server-socket-api.html" class="wiki_link">server-socket</a></li><li><a href="set-api.html" class="wiki_link">set</a></li><li><a href="shell-api.html" class="wiki_link">shell</a></li><li><a href="shell-out-api.html" class="wiki_link">shell-out</a></li><li><a href="singleton-api.html" class="wiki_link">singleton</a></li><li><a href="sql-api.html" class="wiki_link">sql</a></li><li><a href="str-utils-api.html" class="wiki_link">str-utils</a></li><li><a href="str-utils2-api.html" class="wiki_link">str-utils2</a></li><li><a href="stream-utils-api.html" class="wiki_link">stream-utils</a></li><li><a href="string-api.html" class="wiki_link">string</a></li><li><a href="strint-api.html" class="wiki_link">strint</a></li><li><a href="swing-utils-api.html" class="wiki_link">swing-utils</a></li><li><a href="test-is-api.html" class="wiki_link">test-is</a></li><li><a href="trace-api.html" class="wiki_link">trace</a></li><li><a href="types-api.html" class="wiki_link">types</a></li><li><a href="with-ns-api.html" class="wiki_link">with-ns</a></li><li><a href="zip-filter-api.html" class="wiki_link">zip-filter</a></li> - </ul> - <div class="BranchTOC"> - <span class="toc-header">Other Versions</span> - <ul id="left-sidebar-branch-list"> - <li><a href="../index.html" class="wiki_link">v1.2 (beta 1)</a></li><li><a href="../branch-1.1.x/index.html" class="wiki_link">v1.1 (stable)</a></li> - </ul> - </div> - <a href="http://clojure.org" class="wiki_link">Clojure Home</a> - </div> -</div> -</div> - <div id="rightcolumn"> - <div id="Content"> - <div class="contentBox"><div class="innerContentBox"> - <div id="content_view" class="wiki wikiPage"> - <div id="right-sidebar"><div id="toc"> - <h1 class="nopad">Table of Contents</h1> - <div style="margin-left: 1em;" class="toc-section"> - <a href="#toc0">Overview</a> - <div style="margin-left: 1em;" class="toc-entry"> - <a href="#clojure.contrib.reflect/call-method">call-method</a> - </div><div style="margin-left: 1em;" class="toc-entry"> - <a href="#clojure.contrib.reflect/get-field">get-field</a> - </div> - <br /> - </div> -</div> -</div> - <div id="content-tag"><h1 id="overview">API for <span id="namespace-name">reflect</span> - - <span id="header-project">clojure-contrib</span> <span id="header-version">next</span> (<span id="header-status">in development</span>) - </h1> - -<br />Usage: -<pre> -(ns your-namespace - (:require <span id="long-name">clojure.contrib.reflect</span>)) -</pre><pre> -</pre><h2>Overview</h2> -<pre id="namespace-docstr"></pre> - - -<br /> -<h2>Public Variables and Functions</h2> -<div id="var-entry"> - <br /> - <hr /> - <h2 id="clojure.contrib.reflect/call-method">call-method</h2> - <span id="var-type">function</span><br /> - <pre id="var-usage">Usage: (call-method klass method-name params obj & args) -</pre> - <pre id="var-docstr">Calls a private or protected method. - -params is a vector of classes which correspond to the arguments to -the method e - -obj is nil for static methods, the instance object otherwise. - -The method-name is given a symbol or a keyword (something Named).</pre> - - - <a href="http://github.com/richhickey/clojure-contrib/blob/91582e13e7b93b23fb53f821caa73fd23368d551/src/main/clojure/clojure/contrib/reflect.clj#L12" id="var-source">Source</a> -</div><div id="var-entry"> - <br /> - <hr /> - <h2 id="clojure.contrib.reflect/get-field">get-field</h2> - <span id="var-type">function</span><br /> - <pre id="var-usage">Usage: (get-field klass field-name obj) -</pre> - <pre id="var-docstr">Access to private or protected field. field-name is a symbol or -keyword.</pre> - - - <a href="http://github.com/richhickey/clojure-contrib/blob/91582e13e7b93b23fb53f821caa73fd23368d551/src/main/clojure/clojure/contrib/reflect.clj#L27" id="var-source">Source</a> -</div> - - -</div> - </div> - </div> - </div> - </div> - <div id="foot"> - <div style="text-align: center;" id="copyright">Copyright 2007-2009 by Rich Hickey and the various contributors</div> - </div> - </div> - <div id="DesignedBy">Logo & site design by <a title="Visit Tom Hickey's website." href="http://www.tomhickey.com">Tom Hickey</a>.<br /> - Clojure auto-documentation system by Tom Faulhaber.</div> - </div> - <!-- /AllContentContainer --> - </body> - -</html>
\ No newline at end of file diff --git a/branch-master/repl-ln-api.html b/branch-master/repl-ln-api.html deleted file mode 100644 index 0c3ed7ba..00000000 --- a/branch-master/repl-ln-api.html +++ /dev/null @@ -1,225 +0,0 @@ -<html> - <head> - <title>repl-ln - clojure-contrib next API documentation</title> - <link href="../static/favicon.png" rel="icon" /> - <link href="../static/favicon.png" rel="shortcut icon" /> - <link media="all" type="text/css" href="../static/clojure.css" rel="stylesheet" /> - <link media="all" type="text/css" href="../static/wiki.css" rel="stylesheet" /> - <link media="all" type="text/css" href="../static/internal.css" rel="stylesheet" /> - <!-- TODO: are we using these (from clojure.org)? If so, add the files --> - <script src="file/view/code_highlighter.js" type="text/javascript"></script> - <script src="file/view/clojure.js" type="text/javascript"></script> - <style>.menuWrapper{height: 36px;}</style> - <!--[if lte IE 6]> - <link rel="stylesheet" href="http://www.wikispaces.com/_/2009051601/s/internal_ie.css" type="text/css" /> - <![endif]--> - </head> -<!-- -This document was auto-generated from the source by the clojure autodoc system. -To report errors or ask questions about the overall documentation structure, formatting, -etc., contact Tom Faulhaber (google mail name: tomfaulhaber). -For errors in the documentation of a particular namespace, contact the author of that -namespace. ---> - <body> - <div id="AllContentContainer"> - <div id="Header"> - <a id="Logo" href="index.html"><img alt="Clojure" height="100" width="100" src="../static/clojure-icon.gif" /></a> - <h1><a title="page header title" id="page-header" href="index.html">Clojure-contrib API Reference</a></h1> - </div> - <div id="leftcolumn"><div style="text-align: center;"></div> -<div class="menu"> - <div class="WikiCustomNav WikiElement wiki"> - <span class="toc-header"><span id="project-name">clojure-contrib</span> <span id="version">next</span> API</span><br /> - <ul> - <li><a class="wiki_link" href="index.html">Overview</a></li> - <li><a class="wiki_link" href="api-index.html">API Index</a></li> - </ul> - <span class="toc-header">Namespaces</span> - <ul id="left-sidebar-list"> - <li><a href="accumulators-api.html" class="wiki_link">accumulators</a></li><li><a href="agent-utils-api.html" class="wiki_link">agent-utils</a></li><li><a href="apply-macro-api.html" class="wiki_link">apply-macro</a></li><li><a href="base64-api.html" class="wiki_link">base64</a></li><li><a href="classpath-api.html" class="wiki_link">classpath</a></li><li><a href="combinatorics-api.html" class="wiki_link">combinatorics</a></li><li><a href="command-line-api.html" class="wiki_link">command-line</a></li><li><a href="complex-numbers-api.html" class="wiki_link">complex-numbers</a></li><li><a href="cond-api.html" class="wiki_link">cond</a></li><li><a href="condition-api.html" class="wiki_link">condition</a></li><li><a href="core-api.html" class="wiki_link">core</a></li><li><a href="dataflow-api.html" class="wiki_link">dataflow</a></li><li><a href="datalog-api.html" class="wiki_link">datalog</a></li><li><a href="def-api.html" class="wiki_link">def</a></li><li><a href="duck-streams-api.html" class="wiki_link">duck-streams</a></li><li><a href="error-kit-api.html" class="wiki_link">error-kit</a></li><li><a href="except-api.html" class="wiki_link">except</a></li><li><a href="fcase-api.html" class="wiki_link">fcase</a></li><li><a href="find-namespaces-api.html" class="wiki_link">find-namespaces</a></li><li><a href="fnmap-api.html" class="wiki_link">fnmap</a></li><li><a href="gen-html-docs-api.html" class="wiki_link">gen-html-docs</a></li><li><a href="generic.arithmetic-api.html" class="wiki_link">generic.arithmetic</a></li><li><a href="generic.collection-api.html" class="wiki_link">generic.collection</a></li><li><a href="generic.comparison-api.html" class="wiki_link">generic.comparison</a></li><li><a href="generic.functor-api.html" class="wiki_link">generic.functor</a></li><li><a href="generic.math-functions-api.html" class="wiki_link">generic.math-functions</a></li><li><a href="graph-api.html" class="wiki_link">graph</a></li><li><a href="greatest-least-api.html" class="wiki_link">greatest-least</a></li><li><a href="http.agent-api.html" class="wiki_link">http.agent</a></li><li><a href="http.connection-api.html" class="wiki_link">http.connection</a></li><li><a href="import-static-api.html" class="wiki_link">import-static</a></li><li><a href="io-api.html" class="wiki_link">io</a></li><li><a href="jar-api.html" class="wiki_link">jar</a></li><li><a href="java-utils-api.html" class="wiki_link">java-utils</a></li><li><a href="javadoc.browse-api.html" class="wiki_link">javadoc.browse</a></li><li><a href="jmx-api.html" class="wiki_link">jmx</a></li><li><a href="json-api.html" class="wiki_link">json</a></li><li><a href="lazy-seqs-api.html" class="wiki_link">lazy-seqs</a></li><li><a href="lazy-xml-api.html" class="wiki_link">lazy-xml</a></li><li><a href="logging-api.html" class="wiki_link">logging</a></li><li><a href="macro-utils-api.html" class="wiki_link">macro-utils</a></li><li><a href="macros-api.html" class="wiki_link">macros</a></li><li><a href="map-utils-api.html" class="wiki_link">map-utils</a></li><li><a href="math-api.html" class="wiki_link">math</a></li><li><a href="miglayout-api.html" class="wiki_link">miglayout</a></li><li><a href="mmap-api.html" class="wiki_link">mmap</a></li><li><a href="mock-api.html" class="wiki_link">mock</a></li><li><a href="monadic-io-streams-api.html" class="wiki_link">monadic-io-streams</a></li><li><a href="monads-api.html" class="wiki_link">monads</a></li><li><a href="ns-utils-api.html" class="wiki_link">ns-utils</a></li><li><a href="pprint-api.html" class="wiki_link">pprint</a></li><li><a href="priority-map-api.html" class="wiki_link">priority-map</a></li><li><a href="probabilities.finite-distributions-api.html" class="wiki_link">probabilities.finite-distributions</a></li><li><a href="probabilities.monte-carlo-api.html" class="wiki_link">probabilities.monte-carlo</a></li><li><a href="probabilities.random-numbers-api.html" class="wiki_link">probabilities.random-numbers</a></li><li><a href="profile-api.html" class="wiki_link">profile</a></li><li><a href="properties-api.html" class="wiki_link">properties</a></li><li><a href="prxml-api.html" class="wiki_link">prxml</a></li><li><a href="reflect-api.html" class="wiki_link">reflect</a></li><li><a href="repl-ln-api.html" class="wiki_link">repl-ln</a></li><li><a href="repl-utils-api.html" class="wiki_link">repl-utils</a></li><li><a href="seq-api.html" class="wiki_link">seq</a></li><li><a href="seq-utils-api.html" class="wiki_link">seq-utils</a></li><li><a href="server-socket-api.html" class="wiki_link">server-socket</a></li><li><a href="set-api.html" class="wiki_link">set</a></li><li><a href="shell-api.html" class="wiki_link">shell</a></li><li><a href="shell-out-api.html" class="wiki_link">shell-out</a></li><li><a href="singleton-api.html" class="wiki_link">singleton</a></li><li><a href="sql-api.html" class="wiki_link">sql</a></li><li><a href="str-utils-api.html" class="wiki_link">str-utils</a></li><li><a href="str-utils2-api.html" class="wiki_link">str-utils2</a></li><li><a href="stream-utils-api.html" class="wiki_link">stream-utils</a></li><li><a href="string-api.html" class="wiki_link">string</a></li><li><a href="strint-api.html" class="wiki_link">strint</a></li><li><a href="swing-utils-api.html" class="wiki_link">swing-utils</a></li><li><a href="test-is-api.html" class="wiki_link">test-is</a></li><li><a href="trace-api.html" class="wiki_link">trace</a></li><li><a href="types-api.html" class="wiki_link">types</a></li><li><a href="with-ns-api.html" class="wiki_link">with-ns</a></li><li><a href="zip-filter-api.html" class="wiki_link">zip-filter</a></li> - </ul> - <div class="BranchTOC"> - <span class="toc-header">Other Versions</span> - <ul id="left-sidebar-branch-list"> - <li><a href="../index.html" class="wiki_link">v1.2 (beta 1)</a></li><li><a href="../branch-1.1.x/index.html" class="wiki_link">v1.1 (stable)</a></li> - </ul> - </div> - <a href="http://clojure.org" class="wiki_link">Clojure Home</a> - </div> -</div> -</div> - <div id="rightcolumn"> - <div id="Content"> - <div class="contentBox"><div class="innerContentBox"> - <div id="content_view" class="wiki wikiPage"> - <div id="right-sidebar"><div id="toc"> - <h1 class="nopad">Table of Contents</h1> - <div style="margin-left: 1em;" class="toc-section"> - <a href="#toc0">Overview</a> - <div style="margin-left: 1em;" class="toc-entry"> - <a href="#clojure.contrib.repl-ln/print-repl-info">print-repl-info</a> - </div><div style="margin-left: 1em;" class="toc-entry"> - <a href="#clojure.contrib.repl-ln/repl">repl</a> - </div><div style="margin-left: 1em;" class="toc-entry"> - <a href="#clojure.contrib.repl-ln/repl-info">repl-info</a> - </div><div style="margin-left: 1em;" class="toc-entry"> - <a href="#clojure.contrib.repl-ln/repl-prompt">repl-prompt</a> - </div><div style="margin-left: 1em;" class="toc-entry"> - <a href="#clojure.contrib.repl-ln/set-repl-name">set-repl-name</a> - </div><div style="margin-left: 1em;" class="toc-entry"> - <a href="#clojure.contrib.repl-ln/set-repl-prompt">set-repl-prompt</a> - </div><div style="margin-left: 1em;" class="toc-entry"> - <a href="#clojure.contrib.repl-ln/stream-repl">stream-repl</a> - </div> - <br /> - </div> -</div> -</div> - <div id="content-tag"><h1 id="overview">API for <span id="namespace-name">repl-ln</span> - - <span id="header-project">clojure-contrib</span> <span id="header-version">next</span> (<span id="header-status">in development</span>) - </h1> -<span id="author-line">by <span id="author-name">Stephen C. Gilardi</span><br /></span> -<br />Usage: -<pre> -(ns your-namespace - (:require <span id="long-name">clojure.contrib.repl-ln</span>)) -</pre><pre> -</pre><h2>Overview</h2> -<pre id="namespace-docstr">A repl with that provides support for lines and line numbers in the -input stream.</pre> - - -<br /> -<h2>Public Variables and Functions</h2> -<div id="var-entry"> - <br /> - <hr /> - <h2 id="clojure.contrib.repl-ln/print-repl-info">print-repl-info</h2> - <span id="var-type">function</span><br /> - <pre id="var-usage">Usage: (print-repl-info) -</pre> - <pre id="var-docstr">Prints info about the current repl</pre> - - - <a href="http://github.com/richhickey/clojure-contrib/blob/7188a51605136f36524e4091fe806859114d6056/src/main/clojure/clojure/contrib/repl_ln.clj#L208" id="var-source">Source</a> -</div><div id="var-entry"> - <br /> - <hr /> - <h2 id="clojure.contrib.repl-ln/repl">repl</h2> - <span id="var-type">function</span><br /> - <pre id="var-usage">Usage: (repl & options) -</pre> - <pre id="var-docstr">A repl that supports line numbers. For definitions and evaluations made -at the repl, the repl-name and line number will be reported as the -origin. Use set-repl-name and set-repl-prompt to customize the repl name -and prompt. This repl supports all of the keyword arguments documented -for clojure.main/repl with the following change and additions: - - - :prompt has a new default - default: #(clojure.core/print (repl-prompt)) - - - :name-fmt, Name format string - default: the name-fmt of the parent repl, or "repl-%S" - - - :prompt-fmt, Prompt format string - default: the prompt-fmt of the parent repl, or "%S:%L %N=> "</pre> - - - <a href="http://github.com/richhickey/clojure-contrib/blob/7188a51605136f36524e4091fe806859114d6056/src/main/clojure/clojure/contrib/repl_ln.clj#L217" id="var-source">Source</a> -</div><div id="var-entry"> - <br /> - <hr /> - <h2 id="clojure.contrib.repl-ln/repl-info">repl-info</h2> - <span id="var-type">function</span><br /> - <pre id="var-usage">Usage: (repl-info) -</pre> - <pre id="var-docstr">Returns a map of info about the current repl</pre> - - - <a href="http://github.com/richhickey/clojure-contrib/blob/7188a51605136f36524e4091fe806859114d6056/src/main/clojure/clojure/contrib/repl_ln.clj#L202" id="var-source">Source</a> -</div><div id="var-entry"> - <br /> - <hr /> - <h2 id="clojure.contrib.repl-ln/repl-prompt">repl-prompt</h2> - <span id="var-type">function</span><br /> - <pre id="var-usage">Usage: (repl-prompt) -</pre> - <pre id="var-docstr">Returns the current repl prompt based on this repl's prompt-fmt</pre> - - - <a href="http://github.com/richhickey/clojure-contrib/blob/7188a51605136f36524e4091fe806859114d6056/src/main/clojure/clojure/contrib/repl_ln.clj#L148" id="var-source">Source</a> -</div><div id="var-entry"> - <br /> - <hr /> - <h2 id="clojure.contrib.repl-ln/set-repl-name">set-repl-name</h2> - <span id="var-type">function</span><br /> - <pre id="var-usage">Usage: (set-repl-name) - (set-repl-name name-fmt) -</pre> - <pre id="var-docstr">Sets the repl name format to the string name-fmt. Include the following -codes in the name to make the corresponding dynamic values part of it: - - %S - repl serial number - %T - thread id - %D - nesting depth in this thread - -With no arguments, resets the repl name to its default: "repl-%S"</pre> - - - <a href="http://github.com/richhickey/clojure-contrib/blob/7188a51605136f36524e4091fe806859114d6056/src/main/clojure/clojure/contrib/repl_ln.clj#L157" id="var-source">Source</a> -</div><div id="var-entry"> - <br /> - <hr /> - <h2 id="clojure.contrib.repl-ln/set-repl-prompt">set-repl-prompt</h2> - <span id="var-type">function</span><br /> - <pre id="var-usage">Usage: (set-repl-prompt) - (set-repl-prompt prompt-fmt) -</pre> - <pre id="var-docstr">Sets the repl prompt. Include the following codes in the prompt to make -the corresponding dynamic values part of it: - - %S - repl serial number - %T - thread id - %D - nesting depth in this thread - %L - input line number - %N - namespace name - -With no arguments, resets the repl pompt to its default: "%S:%L %N=> "</pre> - - - <a href="http://github.com/richhickey/clojure-contrib/blob/7188a51605136f36524e4091fe806859114d6056/src/main/clojure/clojure/contrib/repl_ln.clj#L180" id="var-source">Source</a> -</div><div id="var-entry"> - <br /> - <hr /> - <h2 id="clojure.contrib.repl-ln/stream-repl">stream-repl</h2> - <span id="var-type">function</span><br /> - <pre id="var-usage">Usage: (stream-repl & options) -</pre> - <pre id="var-docstr">Repl entry point that provides convenient overriding of input, output, -and err streams via sequential keyword-value pairs. Default values -for :in, :out, and :err are streams associated with System/in, -System/out, and System/err using UTF-8 encoding. Also supports all the -options provided by clojure.contrib.repl-ln/repl.</pre> - - - <a href="http://github.com/richhickey/clojure-contrib/blob/7188a51605136f36524e4091fe806859114d6056/src/main/clojure/clojure/contrib/repl_ln.clj#L119" id="var-source">Source</a> -</div> - - -</div> - </div> - </div> - </div> - </div> - <div id="foot"> - <div style="text-align: center;" id="copyright">Copyright 2007-2009 by Rich Hickey and the various contributors</div> - </div> - </div> - <div id="DesignedBy">Logo & site design by <a title="Visit Tom Hickey's website." href="http://www.tomhickey.com">Tom Hickey</a>.<br /> - Clojure auto-documentation system by Tom Faulhaber.</div> - </div> - <!-- /AllContentContainer --> - </body> - -</html>
\ No newline at end of file diff --git a/branch-master/repl-utils-api.html b/branch-master/repl-utils-api.html deleted file mode 100644 index 7620f67b..00000000 --- a/branch-master/repl-utils-api.html +++ /dev/null @@ -1,348 +0,0 @@ -<html> - <head> - <title>repl-utils - clojure-contrib next API documentation</title> - <link href="../static/favicon.png" rel="icon" /> - <link href="../static/favicon.png" rel="shortcut icon" /> - <link media="all" type="text/css" href="../static/clojure.css" rel="stylesheet" /> - <link media="all" type="text/css" href="../static/wiki.css" rel="stylesheet" /> - <link media="all" type="text/css" href="../static/internal.css" rel="stylesheet" /> - <!-- TODO: are we using these (from clojure.org)? If so, add the files --> - <script src="file/view/code_highlighter.js" type="text/javascript"></script> - <script src="file/view/clojure.js" type="text/javascript"></script> - <style>.menuWrapper{height: 36px;}</style> - <!--[if lte IE 6]> - <link rel="stylesheet" href="http://www.wikispaces.com/_/2009051601/s/internal_ie.css" type="text/css" /> - <![endif]--> - </head> -<!-- -This document was auto-generated from the source by the clojure autodoc system. -To report errors or ask questions about the overall documentation structure, formatting, -etc., contact Tom Faulhaber (google mail name: tomfaulhaber). -For errors in the documentation of a particular namespace, contact the author of that -namespace. ---> - <body> - <div id="AllContentContainer"> - <div id="Header"> - <a id="Logo" href="index.html"><img alt="Clojure" height="100" width="100" src="../static/clojure-icon.gif" /></a> - <h1><a title="page header title" id="page-header" href="index.html">Clojure-contrib API Reference</a></h1> - </div> - <div id="leftcolumn"><div style="text-align: center;"></div> -<div class="menu"> - <div class="WikiCustomNav WikiElement wiki"> - <span class="toc-header"><span id="project-name">clojure-contrib</span> <span id="version">next</span> API</span><br /> - <ul> - <li><a class="wiki_link" href="index.html">Overview</a></li> - <li><a class="wiki_link" href="api-index.html">API Index</a></li> - </ul> - <span class="toc-header">Namespaces</span> - <ul id="left-sidebar-list"> - <li><a href="accumulators-api.html" class="wiki_link">accumulators</a></li><li><a href="agent-utils-api.html" class="wiki_link">agent-utils</a></li><li><a href="apply-macro-api.html" class="wiki_link">apply-macro</a></li><li><a href="base64-api.html" class="wiki_link">base64</a></li><li><a href="classpath-api.html" class="wiki_link">classpath</a></li><li><a href="combinatorics-api.html" class="wiki_link">combinatorics</a></li><li><a href="command-line-api.html" class="wiki_link">command-line</a></li><li><a href="complex-numbers-api.html" class="wiki_link">complex-numbers</a></li><li><a href="cond-api.html" class="wiki_link">cond</a></li><li><a href="condition-api.html" class="wiki_link">condition</a></li><li><a href="core-api.html" class="wiki_link">core</a></li><li><a href="dataflow-api.html" class="wiki_link">dataflow</a></li><li><a href="datalog-api.html" class="wiki_link">datalog</a></li><li><a href="def-api.html" class="wiki_link">def</a></li><li><a href="duck-streams-api.html" class="wiki_link">duck-streams</a></li><li><a href="error-kit-api.html" class="wiki_link">error-kit</a></li><li><a href="except-api.html" class="wiki_link">except</a></li><li><a href="fcase-api.html" class="wiki_link">fcase</a></li><li><a href="find-namespaces-api.html" class="wiki_link">find-namespaces</a></li><li><a href="fnmap-api.html" class="wiki_link">fnmap</a></li><li><a href="gen-html-docs-api.html" class="wiki_link">gen-html-docs</a></li><li><a href="generic.arithmetic-api.html" class="wiki_link">generic.arithmetic</a></li><li><a href="generic.collection-api.html" class="wiki_link">generic.collection</a></li><li><a href="generic.comparison-api.html" class="wiki_link">generic.comparison</a></li><li><a href="generic.functor-api.html" class="wiki_link">generic.functor</a></li><li><a href="generic.math-functions-api.html" class="wiki_link">generic.math-functions</a></li><li><a href="graph-api.html" class="wiki_link">graph</a></li><li><a href="greatest-least-api.html" class="wiki_link">greatest-least</a></li><li><a href="http.agent-api.html" class="wiki_link">http.agent</a></li><li><a href="http.connection-api.html" class="wiki_link">http.connection</a></li><li><a href="import-static-api.html" class="wiki_link">import-static</a></li><li><a href="io-api.html" class="wiki_link">io</a></li><li><a href="jar-api.html" class="wiki_link">jar</a></li><li><a href="java-utils-api.html" class="wiki_link">java-utils</a></li><li><a href="javadoc.browse-api.html" class="wiki_link">javadoc.browse</a></li><li><a href="jmx-api.html" class="wiki_link">jmx</a></li><li><a href="json-api.html" class="wiki_link">json</a></li><li><a href="lazy-seqs-api.html" class="wiki_link">lazy-seqs</a></li><li><a href="lazy-xml-api.html" class="wiki_link">lazy-xml</a></li><li><a href="logging-api.html" class="wiki_link">logging</a></li><li><a href="macro-utils-api.html" class="wiki_link">macro-utils</a></li><li><a href="macros-api.html" class="wiki_link">macros</a></li><li><a href="map-utils-api.html" class="wiki_link">map-utils</a></li><li><a href="math-api.html" class="wiki_link">math</a></li><li><a href="miglayout-api.html" class="wiki_link">miglayout</a></li><li><a href="mmap-api.html" class="wiki_link">mmap</a></li><li><a href="mock-api.html" class="wiki_link">mock</a></li><li><a href="monadic-io-streams-api.html" class="wiki_link">monadic-io-streams</a></li><li><a href="monads-api.html" class="wiki_link">monads</a></li><li><a href="ns-utils-api.html" class="wiki_link">ns-utils</a></li><li><a href="pprint-api.html" class="wiki_link">pprint</a></li><li><a href="priority-map-api.html" class="wiki_link">priority-map</a></li><li><a href="probabilities.finite-distributions-api.html" class="wiki_link">probabilities.finite-distributions</a></li><li><a href="probabilities.monte-carlo-api.html" class="wiki_link">probabilities.monte-carlo</a></li><li><a href="probabilities.random-numbers-api.html" class="wiki_link">probabilities.random-numbers</a></li><li><a href="profile-api.html" class="wiki_link">profile</a></li><li><a href="properties-api.html" class="wiki_link">properties</a></li><li><a href="prxml-api.html" class="wiki_link">prxml</a></li><li><a href="reflect-api.html" class="wiki_link">reflect</a></li><li><a href="repl-ln-api.html" class="wiki_link">repl-ln</a></li><li><a href="repl-utils-api.html" class="wiki_link">repl-utils</a></li><li><a href="seq-api.html" class="wiki_link">seq</a></li><li><a href="seq-utils-api.html" class="wiki_link">seq-utils</a></li><li><a href="server-socket-api.html" class="wiki_link">server-socket</a></li><li><a href="set-api.html" class="wiki_link">set</a></li><li><a href="shell-api.html" class="wiki_link">shell</a></li><li><a href="shell-out-api.html" class="wiki_link">shell-out</a></li><li><a href="singleton-api.html" class="wiki_link">singleton</a></li><li><a href="sql-api.html" class="wiki_link">sql</a></li><li><a href="str-utils-api.html" class="wiki_link">str-utils</a></li><li><a href="str-utils2-api.html" class="wiki_link">str-utils2</a></li><li><a href="stream-utils-api.html" class="wiki_link">stream-utils</a></li><li><a href="string-api.html" class="wiki_link">string</a></li><li><a href="strint-api.html" class="wiki_link">strint</a></li><li><a href="swing-utils-api.html" class="wiki_link">swing-utils</a></li><li><a href="test-is-api.html" class="wiki_link">test-is</a></li><li><a href="trace-api.html" class="wiki_link">trace</a></li><li><a href="types-api.html" class="wiki_link">types</a></li><li><a href="with-ns-api.html" class="wiki_link">with-ns</a></li><li><a href="zip-filter-api.html" class="wiki_link">zip-filter</a></li> - </ul> - <div class="BranchTOC"> - <span class="toc-header">Other Versions</span> - <ul id="left-sidebar-branch-list"> - <li><a href="../index.html" class="wiki_link">v1.2 (beta 1)</a></li><li><a href="../branch-1.1.x/index.html" class="wiki_link">v1.1 (stable)</a></li> - </ul> - </div> - <a href="http://clojure.org" class="wiki_link">Clojure Home</a> - </div> -</div> -</div> - <div id="rightcolumn"> - <div id="Content"> - <div class="contentBox"><div class="innerContentBox"> - <div id="content_view" class="wiki wikiPage"> - <div id="right-sidebar"><div id="toc"> - <h1 class="nopad">Table of Contents</h1> - <div style="margin-left: 1em;" class="toc-section"> - <a href="#toc0">Overview</a> - <div style="margin-left: 1em;" class="toc-entry"> - <a href="#clojure.contrib.repl-utils/*local-javadocs*">*local-javadocs*</a> - </div><div style="margin-left: 1em;" class="toc-entry"> - <a href="#clojure.contrib.repl-utils/*remote-javadocs*">*remote-javadocs*</a> - </div><div style="margin-left: 1em;" class="toc-entry"> - <a href="#clojure.contrib.repl-utils/add-break-thread!">add-break-thread!</a> - </div><div style="margin-left: 1em;" class="toc-entry"> - <a href="#clojure.contrib.repl-utils/add-local-javadoc">add-local-javadoc</a> - </div><div style="margin-left: 1em;" class="toc-entry"> - <a href="#clojure.contrib.repl-utils/add-remote-javadoc">add-remote-javadoc</a> - </div><div style="margin-left: 1em;" class="toc-entry"> - <a href="#clojure.contrib.repl-utils/apropos">apropos</a> - </div><div style="margin-left: 1em;" class="toc-entry"> - <a href="#clojure.contrib.repl-utils/break-threads">break-threads</a> - </div><div style="margin-left: 1em;" class="toc-entry"> - <a href="#clojure.contrib.repl-utils/expression-info">expression-info</a> - </div><div style="margin-left: 1em;" class="toc-entry"> - <a href="#clojure.contrib.repl-utils/find-javadoc-url">find-javadoc-url</a> - </div><div style="margin-left: 1em;" class="toc-entry"> - <a href="#clojure.contrib.repl-utils/get-source">get-source</a> - </div><div style="margin-left: 1em;" class="toc-entry"> - <a href="#clojure.contrib.repl-utils/javadoc">javadoc</a> - </div><div style="margin-left: 1em;" class="toc-entry"> - <a href="#clojure.contrib.repl-utils/run">run</a> - </div><div style="margin-left: 1em;" class="toc-entry"> - <a href="#clojure.contrib.repl-utils/run*">run*</a> - </div><div style="margin-left: 1em;" class="toc-entry"> - <a href="#clojure.contrib.repl-utils/show">show</a> - </div><div style="margin-left: 1em;" class="toc-entry"> - <a href="#clojure.contrib.repl-utils/source">source</a> - </div><div style="margin-left: 1em;" class="toc-entry"> - <a href="#clojure.contrib.repl-utils/start-handling-break">start-handling-break</a> - </div> - <br /> - </div> -</div> -</div> - <div id="content-tag"><h1 id="overview">API for <span id="namespace-name">repl-utils</span> - - <span id="header-project">clojure-contrib</span> <span id="header-version">next</span> (<span id="header-status">in development</span>) - </h1> -<span id="author-line">by <span id="author-name">Chris Houser, Christophe Grand, Stephen Gilardi, Michel Salim</span><br /></span> -<br />Usage: -<pre> -(ns your-namespace - (:require <span id="long-name">clojure.contrib.repl-utils</span>)) -</pre><pre> -</pre><h2>Overview</h2> -<pre id="namespace-docstr">Utilities meant to be used interactively at the REPL</pre> - - -<br /> -<h2>Public Variables and Functions</h2> -<div id="var-entry"> - <br /> - <hr /> - <h2 id="clojure.contrib.repl-utils/*local-javadocs*">*local-javadocs*</h2> - <span id="var-type">var</span><br /> - <pre id="var-usage"></pre> - <pre id="var-docstr">Ref to a list of local paths for Javadoc-generated HTML -files.</pre> - - - <a href="http://github.com/richhickey/clojure-contrib/blob/7188a51605136f36524e4091fe806859114d6056/src/main/clojure/clojure/contrib/repl_utils/javadoc.clj#L18" id="var-source">Source</a> -</div><div id="var-entry"> - <br /> - <hr /> - <h2 id="clojure.contrib.repl-utils/*remote-javadocs*">*remote-javadocs*</h2> - <span id="var-type">var</span><br /> - <pre id="var-usage"></pre> - <pre id="var-docstr">Ref to a map from package name prefixes to URLs for remote -Javadocs.</pre> - - - <a href="http://github.com/richhickey/clojure-contrib/blob/7188a51605136f36524e4091fe806859114d6056/src/main/clojure/clojure/contrib/repl_utils/javadoc.clj#L28" id="var-source">Source</a> -</div><div id="var-entry"> - <br /> - <hr /> - <h2 id="clojure.contrib.repl-utils/add-break-thread!">add-break-thread!</h2> - <span id="var-type">function</span><br /> - <pre id="var-usage">Usage: (add-break-thread!) - (add-break-thread! t) -</pre> - <pre id="var-docstr">Add the given thread to break-threads so that it will be stopped -any time the user presses Ctrl-C. Calls start-handling-break for -you. Adds the current thread if none is given.</pre> - - - <a href="http://github.com/richhickey/clojure-contrib/blob/2a2879fcc4ac7c1796d12c8b35c49c5b9222bfc3/src/main/clojure/clojure/contrib/repl_utils.clj#L168" id="var-source">Source</a> -</div><div id="var-entry"> - <br /> - <hr /> - <h2 id="clojure.contrib.repl-utils/add-local-javadoc">add-local-javadoc</h2> - <span id="var-type">function</span><br /> - <pre id="var-usage">Usage: (add-local-javadoc path) -</pre> - <pre id="var-docstr">Adds to the list of local Javadoc paths.</pre> - - - <a href="http://github.com/richhickey/clojure-contrib/blob/7188a51605136f36524e4091fe806859114d6056/src/main/clojure/clojure/contrib/repl_utils/javadoc.clj#L43" id="var-source">Source</a> -</div><div id="var-entry"> - <br /> - <hr /> - <h2 id="clojure.contrib.repl-utils/add-remote-javadoc">add-remote-javadoc</h2> - <span id="var-type">function</span><br /> - <pre id="var-usage">Usage: (add-remote-javadoc package-prefix url) -</pre> - <pre id="var-docstr">Adds to the list of remote Javadoc URLs. package-prefix is the -beginning of the package name that has docs at this URL.</pre> - - - <a href="http://github.com/richhickey/clojure-contrib/blob/7188a51605136f36524e4091fe806859114d6056/src/main/clojure/clojure/contrib/repl_utils/javadoc.clj#L48" id="var-source">Source</a> -</div><div id="var-entry"> - <br /> - <hr /> - <h2 id="clojure.contrib.repl-utils/apropos">apropos</h2> - <span id="var-type">function</span><br /> - <pre id="var-usage">Usage: (apropos str-or-pattern) -</pre> - <pre id="var-docstr">Given a regular expression or stringable thing, return a seq of -all definitions in all currently-loaded namespaces that match the -str-or-pattern.</pre> - - <span class="var-deprecated"><span id="content">Deprecated since clojure-contrib version 1.2</span><br /></span> - <a href="http://github.com/richhickey/clojure-contrib/blob/2a2879fcc4ac7c1796d12c8b35c49c5b9222bfc3/src/main/clojure/clojure/contrib/repl_utils.clj#L133" id="var-source">Source</a> -</div><div id="var-entry"> - <br /> - <hr /> - <h2 id="clojure.contrib.repl-utils/break-threads">break-threads</h2> - <span id="var-type">var</span><br /> - <pre id="var-usage"></pre> - <pre id="var-docstr">Threads to stop when Ctrl-C is pressed. See 'add-break-thread!'</pre> - - - <a href="http://github.com/richhickey/clojure-contrib/blob/2a2879fcc4ac7c1796d12c8b35c49c5b9222bfc3/src/main/clojure/clojure/contrib/repl_utils.clj#L149" id="var-source">Source</a> -</div><div id="var-entry"> - <br /> - <hr /> - <h2 id="clojure.contrib.repl-utils/expression-info">expression-info</h2> - <span id="var-type">function</span><br /> - <pre id="var-usage">Usage: (expression-info expr) -</pre> - <pre id="var-docstr">Uses the Clojure compiler to analyze the given s-expr. Returns -a map with keys :class and :primitive? indicating what the compiler -concluded about the return value of the expression. Returns nil if -not type info can be determined at compile-time. - -Example: (expression-info '(+ (int 5) (float 10))) -Returns: {:class float, :primitive? true}</pre> - - - <a href="http://github.com/richhickey/clojure-contrib/blob/2a2879fcc4ac7c1796d12c8b35c49c5b9222bfc3/src/main/clojure/clojure/contrib/repl_utils.clj#L181" id="var-source">Source</a> -</div><div id="var-entry"> - <br /> - <hr /> - <h2 id="clojure.contrib.repl-utils/find-javadoc-url">find-javadoc-url</h2> - <span id="var-type">function</span><br /> - <pre id="var-usage">Usage: (find-javadoc-url classname) -</pre> - <pre id="var-docstr">Searches for a URL for the given class name. Tries -*local-javadocs* first, then *remote-javadocs*. Returns a string.</pre> - - - <a href="http://github.com/richhickey/clojure-contrib/blob/7188a51605136f36524e4091fe806859114d6056/src/main/clojure/clojure/contrib/repl_utils/javadoc.clj#L54" id="var-source">Source</a> -</div><div id="var-entry"> - <br /> - <hr /> - <h2 id="clojure.contrib.repl-utils/get-source">get-source</h2> - <span id="var-type">function</span><br /> - <pre id="var-usage">Usage: (get-source x) -</pre> - <pre id="var-docstr">Returns a string of the source code for the given symbol, if it can -find it. This requires that the symbol resolve to a Var defined in -a namespace for which the .clj is in the classpath. Returns nil if -it can't find the source. For most REPL usage, 'source' is more -convenient. - -Example: (get-source 'filter)</pre> - - <span class="var-deprecated"><span id="content">Deprecated since clojure-contrib version 1.2</span><br /></span> - <a href="http://github.com/richhickey/clojure-contrib/blob/2a2879fcc4ac7c1796d12c8b35c49c5b9222bfc3/src/main/clojure/clojure/contrib/repl_utils.clj#L100" id="var-source">Source</a> -</div><div id="var-entry"> - <br /> - <hr /> - <h2 id="clojure.contrib.repl-utils/javadoc">javadoc</h2> - <span id="var-type">function</span><br /> - <pre id="var-usage">Usage: (javadoc class-or-object) -</pre> - <pre id="var-docstr">Opens a browser window displaying the javadoc for the argument. -Tries *local-javadocs* first, then *remote-javadocs*.</pre> - - - <a href="http://github.com/richhickey/clojure-contrib/blob/7188a51605136f36524e4091fe806859114d6056/src/main/clojure/clojure/contrib/repl_utils/javadoc.clj#L74" id="var-source">Source</a> -</div><div id="var-entry"> - <br /> - <hr /> - <h2 id="clojure.contrib.repl-utils/run">run</h2> - <span id="var-type">macro</span><br /> - <pre id="var-usage">Usage: (run ns-name & args) -</pre> - <pre id="var-docstr">Loads the specified namespace and invokes its "main" function with -optional args. ns-name is not evaluated.</pre> - - - <a href="http://github.com/richhickey/clojure-contrib/blob/2a2879fcc4ac7c1796d12c8b35c49c5b9222bfc3/src/main/clojure/clojure/contrib/repl_utils.clj#L206" id="var-source">Source</a> -</div><div id="var-entry"> - <br /> - <hr /> - <h2 id="clojure.contrib.repl-utils/run*">run*</h2> - <span id="var-type">function</span><br /> - <pre id="var-usage">Usage: (run* ns-sym & args) -</pre> - <pre id="var-docstr">Loads the specified namespace and invokes its "main" function with -optional args.</pre> - - - <a href="http://github.com/richhickey/clojure-contrib/blob/2a2879fcc4ac7c1796d12c8b35c49c5b9222bfc3/src/main/clojure/clojure/contrib/repl_utils.clj#L199" id="var-source">Source</a> -</div><div id="var-entry"> - <br /> - <hr /> - <h2 id="clojure.contrib.repl-utils/show">show</h2> - <span id="var-type">function</span><br /> - <pre id="var-usage">Usage: (show x) - (show x selector) -</pre> - <pre id="var-docstr">With one arg prints all static and instance members of x or (class x). -Each member is listed with a number which can be given as 'selector' -to return the member object -- the REPL will print more details for -that member. - -The selector also may be a string or regex, in which case only -members whose names match 'selector' as a case-insensitive regex -will be printed. - -Finally, the selector also may be a predicate, in which case only -members for which the predicate returns true will be printed. The -predicate will be passed a single argument, a map that includes the -:text that will be printed and the :member object itself, as well as -all the properies of the member object as translated by 'bean'. - -Examples: (show Integer) (show []) (show String 23) (show String "case")</pre> - - - <a href="http://github.com/richhickey/clojure-contrib/blob/2a2879fcc4ac7c1796d12c8b35c49c5b9222bfc3/src/main/clojure/clojure/contrib/repl_utils.clj#L62" id="var-source">Source</a> -</div><div id="var-entry"> - <br /> - <hr /> - <h2 id="clojure.contrib.repl-utils/source">source</h2> - <span id="var-type">macro</span><br /> - <pre id="var-usage">Usage: (source n) -</pre> - <pre id="var-docstr">Prints the source code for the given symbol, if it can find it. -This requires that the symbol resolve to a Var defined in a -namespace for which the .clj is in the classpath. - -Example: (source filter)</pre> - - <span class="var-deprecated"><span id="content">Deprecated since clojure-contrib version 1.2</span><br /></span> - <a href="http://github.com/richhickey/clojure-contrib/blob/2a2879fcc4ac7c1796d12c8b35c49c5b9222bfc3/src/main/clojure/clojure/contrib/repl_utils.clj#L123" id="var-source">Source</a> -</div><div id="var-entry"> - <br /> - <hr /> - <h2 id="clojure.contrib.repl-utils/start-handling-break">start-handling-break</h2> - <span id="var-type">function</span><br /> - <pre id="var-usage">Usage: (start-handling-break) -</pre> - <pre id="var-docstr">Register INT signal handler. After calling this, Ctrl-C will cause -all break-threads to be stopped. See 'add-break-thread!'</pre> - - - <a href="http://github.com/richhickey/clojure-contrib/blob/2a2879fcc4ac7c1796d12c8b35c49c5b9222bfc3/src/main/clojure/clojure/contrib/repl_utils.clj#L153" id="var-source">Source</a> -</div> - - -</div> - </div> - </div> - </div> - </div> - <div id="foot"> - <div style="text-align: center;" id="copyright">Copyright 2007-2009 by Rich Hickey and the various contributors</div> - </div> - </div> - <div id="DesignedBy">Logo & site design by <a title="Visit Tom Hickey's website." href="http://www.tomhickey.com">Tom Hickey</a>.<br /> - Clojure auto-documentation system by Tom Faulhaber.</div> - </div> - <!-- /AllContentContainer --> - </body> - -</html>
\ No newline at end of file diff --git a/branch-master/seq-api.html b/branch-master/seq-api.html deleted file mode 100644 index af14dfa9..00000000 --- a/branch-master/seq-api.html +++ /dev/null @@ -1,367 +0,0 @@ -<html> - <head> - <title>seq - clojure-contrib next API documentation</title> - <link href="../static/favicon.png" rel="icon" /> - <link href="../static/favicon.png" rel="shortcut icon" /> - <link media="all" type="text/css" href="../static/clojure.css" rel="stylesheet" /> - <link media="all" type="text/css" href="../static/wiki.css" rel="stylesheet" /> - <link media="all" type="text/css" href="../static/internal.css" rel="stylesheet" /> - <!-- TODO: are we using these (from clojure.org)? If so, add the files --> - <script src="file/view/code_highlighter.js" type="text/javascript"></script> - <script src="file/view/clojure.js" type="text/javascript"></script> - <style>.menuWrapper{height: 36px;}</style> - <!--[if lte IE 6]> - <link rel="stylesheet" href="http://www.wikispaces.com/_/2009051601/s/internal_ie.css" type="text/css" /> - <![endif]--> - </head> -<!-- -This document was auto-generated from the source by the clojure autodoc system. -To report errors or ask questions about the overall documentation structure, formatting, -etc., contact Tom Faulhaber (google mail name: tomfaulhaber). -For errors in the documentation of a particular namespace, contact the author of that -namespace. ---> - <body> - <div id="AllContentContainer"> - <div id="Header"> - <a id="Logo" href="index.html"><img alt="Clojure" height="100" width="100" src="../static/clojure-icon.gif" /></a> - <h1><a title="page header title" id="page-header" href="index.html">Clojure-contrib API Reference</a></h1> - </div> - <div id="leftcolumn"><div style="text-align: center;"></div> -<div class="menu"> - <div class="WikiCustomNav WikiElement wiki"> - <span class="toc-header"><span id="project-name">clojure-contrib</span> <span id="version">next</span> API</span><br /> - <ul> - <li><a class="wiki_link" href="index.html">Overview</a></li> - <li><a class="wiki_link" href="api-index.html">API Index</a></li> - </ul> - <span class="toc-header">Namespaces</span> - <ul id="left-sidebar-list"> - <li><a href="accumulators-api.html" class="wiki_link">accumulators</a></li><li><a href="agent-utils-api.html" class="wiki_link">agent-utils</a></li><li><a href="apply-macro-api.html" class="wiki_link">apply-macro</a></li><li><a href="base64-api.html" class="wiki_link">base64</a></li><li><a href="classpath-api.html" class="wiki_link">classpath</a></li><li><a href="combinatorics-api.html" class="wiki_link">combinatorics</a></li><li><a href="command-line-api.html" class="wiki_link">command-line</a></li><li><a href="complex-numbers-api.html" class="wiki_link">complex-numbers</a></li><li><a href="cond-api.html" class="wiki_link">cond</a></li><li><a href="condition-api.html" class="wiki_link">condition</a></li><li><a href="core-api.html" class="wiki_link">core</a></li><li><a href="dataflow-api.html" class="wiki_link">dataflow</a></li><li><a href="datalog-api.html" class="wiki_link">datalog</a></li><li><a href="def-api.html" class="wiki_link">def</a></li><li><a href="duck-streams-api.html" class="wiki_link">duck-streams</a></li><li><a href="error-kit-api.html" class="wiki_link">error-kit</a></li><li><a href="except-api.html" class="wiki_link">except</a></li><li><a href="fcase-api.html" class="wiki_link">fcase</a></li><li><a href="find-namespaces-api.html" class="wiki_link">find-namespaces</a></li><li><a href="fnmap-api.html" class="wiki_link">fnmap</a></li><li><a href="gen-html-docs-api.html" class="wiki_link">gen-html-docs</a></li><li><a href="generic.arithmetic-api.html" class="wiki_link">generic.arithmetic</a></li><li><a href="generic.collection-api.html" class="wiki_link">generic.collection</a></li><li><a href="generic.comparison-api.html" class="wiki_link">generic.comparison</a></li><li><a href="generic.functor-api.html" class="wiki_link">generic.functor</a></li><li><a href="generic.math-functions-api.html" class="wiki_link">generic.math-functions</a></li><li><a href="graph-api.html" class="wiki_link">graph</a></li><li><a href="greatest-least-api.html" class="wiki_link">greatest-least</a></li><li><a href="http.agent-api.html" class="wiki_link">http.agent</a></li><li><a href="http.connection-api.html" class="wiki_link">http.connection</a></li><li><a href="import-static-api.html" class="wiki_link">import-static</a></li><li><a href="io-api.html" class="wiki_link">io</a></li><li><a href="jar-api.html" class="wiki_link">jar</a></li><li><a href="java-utils-api.html" class="wiki_link">java-utils</a></li><li><a href="javadoc.browse-api.html" class="wiki_link">javadoc.browse</a></li><li><a href="jmx-api.html" class="wiki_link">jmx</a></li><li><a href="json-api.html" class="wiki_link">json</a></li><li><a href="lazy-seqs-api.html" class="wiki_link">lazy-seqs</a></li><li><a href="lazy-xml-api.html" class="wiki_link">lazy-xml</a></li><li><a href="logging-api.html" class="wiki_link">logging</a></li><li><a href="macro-utils-api.html" class="wiki_link">macro-utils</a></li><li><a href="macros-api.html" class="wiki_link">macros</a></li><li><a href="map-utils-api.html" class="wiki_link">map-utils</a></li><li><a href="math-api.html" class="wiki_link">math</a></li><li><a href="miglayout-api.html" class="wiki_link">miglayout</a></li><li><a href="mmap-api.html" class="wiki_link">mmap</a></li><li><a href="mock-api.html" class="wiki_link">mock</a></li><li><a href="monadic-io-streams-api.html" class="wiki_link">monadic-io-streams</a></li><li><a href="monads-api.html" class="wiki_link">monads</a></li><li><a href="ns-utils-api.html" class="wiki_link">ns-utils</a></li><li><a href="pprint-api.html" class="wiki_link">pprint</a></li><li><a href="priority-map-api.html" class="wiki_link">priority-map</a></li><li><a href="probabilities.finite-distributions-api.html" class="wiki_link">probabilities.finite-distributions</a></li><li><a href="probabilities.monte-carlo-api.html" class="wiki_link">probabilities.monte-carlo</a></li><li><a href="probabilities.random-numbers-api.html" class="wiki_link">probabilities.random-numbers</a></li><li><a href="profile-api.html" class="wiki_link">profile</a></li><li><a href="properties-api.html" class="wiki_link">properties</a></li><li><a href="prxml-api.html" class="wiki_link">prxml</a></li><li><a href="reflect-api.html" class="wiki_link">reflect</a></li><li><a href="repl-ln-api.html" class="wiki_link">repl-ln</a></li><li><a href="repl-utils-api.html" class="wiki_link">repl-utils</a></li><li><a href="seq-api.html" class="wiki_link">seq</a></li><li><a href="seq-utils-api.html" class="wiki_link">seq-utils</a></li><li><a href="server-socket-api.html" class="wiki_link">server-socket</a></li><li><a href="set-api.html" class="wiki_link">set</a></li><li><a href="shell-api.html" class="wiki_link">shell</a></li><li><a href="shell-out-api.html" class="wiki_link">shell-out</a></li><li><a href="singleton-api.html" class="wiki_link">singleton</a></li><li><a href="sql-api.html" class="wiki_link">sql</a></li><li><a href="str-utils-api.html" class="wiki_link">str-utils</a></li><li><a href="str-utils2-api.html" class="wiki_link">str-utils2</a></li><li><a href="stream-utils-api.html" class="wiki_link">stream-utils</a></li><li><a href="string-api.html" class="wiki_link">string</a></li><li><a href="strint-api.html" class="wiki_link">strint</a></li><li><a href="swing-utils-api.html" class="wiki_link">swing-utils</a></li><li><a href="test-is-api.html" class="wiki_link">test-is</a></li><li><a href="trace-api.html" class="wiki_link">trace</a></li><li><a href="types-api.html" class="wiki_link">types</a></li><li><a href="with-ns-api.html" class="wiki_link">with-ns</a></li><li><a href="zip-filter-api.html" class="wiki_link">zip-filter</a></li> - </ul> - <div class="BranchTOC"> - <span class="toc-header">Other Versions</span> - <ul id="left-sidebar-branch-list"> - <li><a href="../index.html" class="wiki_link">v1.2 (beta 1)</a></li><li><a href="../branch-1.1.x/index.html" class="wiki_link">v1.1 (stable)</a></li> - </ul> - </div> - <a href="http://clojure.org" class="wiki_link">Clojure Home</a> - </div> -</div> -</div> - <div id="rightcolumn"> - <div id="Content"> - <div class="contentBox"><div class="innerContentBox"> - <div id="content_view" class="wiki wikiPage"> - <div id="right-sidebar"><div id="toc"> - <h1 class="nopad">Table of Contents</h1> - <div style="margin-left: 1em;" class="toc-section"> - <a href="#toc0">Overview</a> - <div style="margin-left: 1em;" class="toc-entry"> - <a href="#clojure.contrib.seq/fill-queue">fill-queue</a> - </div><div style="margin-left: 1em;" class="toc-entry"> - <a href="#clojure.contrib.seq/find-first">find-first</a> - </div><div style="margin-left: 1em;" class="toc-entry"> - <a href="#clojure.contrib.seq/flatten">flatten</a> - </div><div style="margin-left: 1em;" class="toc-entry"> - <a href="#clojure.contrib.seq/frequencies">frequencies</a> - </div><div style="margin-left: 1em;" class="toc-entry"> - <a href="#clojure.contrib.seq/group-by">group-by</a> - </div><div style="margin-left: 1em;" class="toc-entry"> - <a href="#clojure.contrib.seq/includes?">includes?</a> - </div><div style="margin-left: 1em;" class="toc-entry"> - <a href="#clojure.contrib.seq/indexed">indexed</a> - </div><div style="margin-left: 1em;" class="toc-entry"> - <a href="#clojure.contrib.seq/partition-all">partition-all</a> - </div><div style="margin-left: 1em;" class="toc-entry"> - <a href="#clojure.contrib.seq/partition-by">partition-by</a> - </div><div style="margin-left: 1em;" class="toc-entry"> - <a href="#clojure.contrib.seq/positions">positions</a> - </div><div style="margin-left: 1em;" class="toc-entry"> - <a href="#clojure.contrib.seq/rand-elt">rand-elt</a> - </div><div style="margin-left: 1em;" class="toc-entry"> - <a href="#clojure.contrib.seq/rec-cat">rec-cat</a> - </div><div style="margin-left: 1em;" class="toc-entry"> - <a href="#clojure.contrib.seq/rec-seq">rec-seq</a> - </div><div style="margin-left: 1em;" class="toc-entry"> - <a href="#clojure.contrib.seq/reductions">reductions</a> - </div><div style="margin-left: 1em;" class="toc-entry"> - <a href="#clojure.contrib.seq/rotations">rotations</a> - </div><div style="margin-left: 1em;" class="toc-entry"> - <a href="#clojure.contrib.seq/separate">separate</a> - </div><div style="margin-left: 1em;" class="toc-entry"> - <a href="#clojure.contrib.seq/seq-on">seq-on</a> - </div><div style="margin-left: 1em;" class="toc-entry"> - <a href="#clojure.contrib.seq/shuffle">shuffle</a> - </div> - <br /> - </div> -</div> -</div> - <div id="content-tag"><h1 id="overview">API for <span id="namespace-name">seq</span> - - <span id="header-project">clojure-contrib</span> <span id="header-version">next</span> (<span id="header-status">in development</span>) - </h1> -<span id="author-line">by <span id="author-name">Stuart Sierra (and others)</span><br /></span> -<br />Usage: -<pre> -(ns your-namespace - (:require <span id="long-name">clojure.contrib.seq</span>)) -</pre><pre> -</pre><h2>Overview</h2> -<pre id="namespace-docstr">Sequence utilities for Clojure</pre> - - -<br /> -<h2>Public Variables and Functions</h2> -<div id="var-entry"> - <br /> - <hr /> - <h2 id="clojure.contrib.seq/fill-queue">fill-queue</h2> - <span id="var-type">function</span><br /> - <pre id="var-usage">Usage: (fill-queue filler-func & optseq) -</pre> - <pre id="var-docstr">filler-func will be called in another thread with a single arg -'fill'. filler-func may call fill repeatedly with one arg each -time which will be pushed onto a queue, blocking if needed until -this is possible. fill-queue will return a lazy seq of the values -filler-func has pushed onto the queue, blocking if needed until each -next element becomes available. filler-func's return value is ignored.</pre> - - - <a href="http://github.com/richhickey/clojure-contrib/blob/7188a51605136f36524e4091fe806859114d6056/src/main/clojure/clojure/contrib/seq.clj#L188" id="var-source">Source</a> -</div><div id="var-entry"> - <br /> - <hr /> - <h2 id="clojure.contrib.seq/find-first">find-first</h2> - <span id="var-type">function</span><br /> - <pre id="var-usage">Usage: (find-first pred coll) -</pre> - <pre id="var-docstr">Returns the first item of coll for which (pred item) returns logical true. -Consumes sequences up to the first match, will consume the entire sequence -and return nil if no match is found.</pre> - - - <a href="http://github.com/richhickey/clojure-contrib/blob/7188a51605136f36524e4091fe806859114d6056/src/main/clojure/clojure/contrib/seq.clj#L179" id="var-source">Source</a> -</div><div id="var-entry"> - <br /> - <hr /> - <h2 id="clojure.contrib.seq/flatten">flatten</h2> - <span id="var-type">function</span><br /> - <pre id="var-usage">Usage: (flatten x) -</pre> - <pre id="var-docstr">DEPRECATED. Prefer clojure.core version. -Takes any nested combination of sequential things (lists, vectors, -etc.) and returns their contents as a single, flat sequence. -(flatten nil) returns nil.</pre> - - <span class="var-deprecated"><span id="content">Deprecated since clojure-contrib version 1.2</span><br /></span> - <a href="http://github.com/richhickey/clojure-contrib/blob/7188a51605136f36524e4091fe806859114d6056/src/main/clojure/clojure/contrib/seq.clj#L35" id="var-source">Source</a> -</div><div id="var-entry"> - <br /> - <hr /> - <h2 id="clojure.contrib.seq/frequencies">frequencies</h2> - <span id="var-type">function</span><br /> - <pre id="var-usage">Usage: (frequencies coll) -</pre> - <pre id="var-docstr">DEPRECATED. Prefer clojure.core version. -Returns a map from distinct items in coll to the number of times -they appear.</pre> - - <span class="var-deprecated"><span id="content">Deprecated since clojure-contrib version 1.2</span><br /></span> - <a href="http://github.com/richhickey/clojure-contrib/blob/7188a51605136f36524e4091fe806859114d6056/src/main/clojure/clojure/contrib/seq.clj#L89" id="var-source">Source</a> -</div><div id="var-entry"> - <br /> - <hr /> - <h2 id="clojure.contrib.seq/group-by">group-by</h2> - <span id="var-type">function</span><br /> - <pre id="var-usage">Usage: (group-by f coll) -</pre> - <pre id="var-docstr">DEPRECATED. Prefer clojure.core version. - Returns a sorted map of the elements of coll keyed by the result of -f on each element. The value at each key will be a vector of the -corresponding elements, in the order they appeared in coll.</pre> - - <span class="var-deprecated"><span id="content">Deprecated since clojure-contrib version 1.2</span><br /></span> - <a href="http://github.com/richhickey/clojure-contrib/blob/7188a51605136f36524e4091fe806859114d6056/src/main/clojure/clojure/contrib/seq.clj#L61" id="var-source">Source</a> -</div><div id="var-entry"> - <br /> - <hr /> - <h2 id="clojure.contrib.seq/includes?">includes?</h2> - <span id="var-type">function</span><br /> - <pre id="var-usage">Usage: (includes? coll x) -</pre> - <pre id="var-docstr">Returns true if coll contains something equal (with =) to x, -in linear time. Deprecated. Prefer 'contains?' for key testing, -or 'some' for ad hoc linear searches.</pre> - - <span class="var-deprecated"><span id="content">Deprecated since clojure-contrib version 1.2</span><br /></span> - <a href="http://github.com/richhickey/clojure-contrib/blob/7188a51605136f36524e4091fe806859114d6056/src/main/clojure/clojure/contrib/seq.clj#L229" id="var-source">Source</a> -</div><div id="var-entry"> - <br /> - <hr /> - <h2 id="clojure.contrib.seq/indexed">indexed</h2> - <span id="var-type">function</span><br /> - <pre id="var-usage">Usage: (indexed s) -</pre> - <pre id="var-docstr">Returns a lazy sequence of [index, item] pairs, where items come -from 's' and indexes count up from zero. - -(indexed '(a b c d)) => ([0 a] [1 b] [2 c] [3 d])</pre> - - - <a href="http://github.com/richhickey/clojure-contrib/blob/7188a51605136f36524e4091fe806859114d6056/src/main/clojure/clojure/contrib/seq.clj#L51" id="var-source">Source</a> -</div><div id="var-entry"> - <br /> - <hr /> - <h2 id="clojure.contrib.seq/partition-all">partition-all</h2> - <span id="var-type">function</span><br /> - <pre id="var-usage">Usage: (partition-all n coll) - (partition-all n step coll) -</pre> - <pre id="var-docstr">DEPRECATED. Prefer clojure.core version. -Returns a lazy sequence of lists like clojure.core/partition, but may -include lists with fewer than n items at the end.</pre> - - <span class="var-deprecated"><span id="content">Deprecated since clojure-contrib version 1.2</span><br /></span> - <a href="http://github.com/richhickey/clojure-contrib/blob/7188a51605136f36524e4091fe806859114d6056/src/main/clojure/clojure/contrib/seq.clj#L139" id="var-source">Source</a> -</div><div id="var-entry"> - <br /> - <hr /> - <h2 id="clojure.contrib.seq/partition-by">partition-by</h2> - <span id="var-type">function</span><br /> - <pre id="var-usage">Usage: (partition-by f coll) -</pre> - <pre id="var-docstr">DEPRECATED. Prefer clojure.core version. -Applies f to each value in coll, splitting it each time f returns -a new value. Returns a lazy seq of lazy seqs.</pre> - - <span class="var-deprecated"><span id="content">Deprecated since clojure-contrib version 1.2</span><br /></span> - <a href="http://github.com/richhickey/clojure-contrib/blob/7188a51605136f36524e4091fe806859114d6056/src/main/clojure/clojure/contrib/seq.clj#L76" id="var-source">Source</a> -</div><div id="var-entry"> - <br /> - <hr /> - <h2 id="clojure.contrib.seq/positions">positions</h2> - <span id="var-type">function</span><br /> - <pre id="var-usage">Usage: (positions pred coll) -</pre> - <pre id="var-docstr">Returns a lazy sequence containing the positions at which pred -is true for items in coll.</pre> - - - <a href="http://github.com/richhickey/clojure-contrib/blob/7188a51605136f36524e4091fe806859114d6056/src/main/clojure/clojure/contrib/seq.clj#L223" id="var-source">Source</a> -</div><div id="var-entry"> - <br /> - <hr /> - <h2 id="clojure.contrib.seq/rand-elt">rand-elt</h2> - <span id="var-type">function</span><br /> - <pre id="var-usage">Usage: (rand-elt s) -</pre> - <pre id="var-docstr">DEPRECATED. Prefer clojure.core/rand-nth. -Return a random element of this seq</pre> - - <span class="var-deprecated"><span id="content">Deprecated since clojure-contrib version 1.2</span><br /></span> - <a href="http://github.com/richhickey/clojure-contrib/blob/7188a51605136f36524e4091fe806859114d6056/src/main/clojure/clojure/contrib/seq.clj#L160" id="var-source">Source</a> -</div><div id="var-entry"> - <br /> - <hr /> - <h2 id="clojure.contrib.seq/rec-cat">rec-cat</h2> - <span id="var-type">macro</span><br /> - <pre id="var-usage">Usage: (rec-cat binding-name & exprs) -</pre> - <pre id="var-docstr">Similar to lazy-cat but binds the resulting sequence to the supplied -binding-name, allowing for recursive expressions.</pre> - - - <a href="http://github.com/richhickey/clojure-contrib/blob/7188a51605136f36524e4091fe806859114d6056/src/main/clojure/clojure/contrib/seq.clj#L108" id="var-source">Source</a> -</div><div id="var-entry"> - <br /> - <hr /> - <h2 id="clojure.contrib.seq/rec-seq">rec-seq</h2> - <span id="var-type">macro</span><br /> - <pre id="var-usage">Usage: (rec-seq binding-name & body) -</pre> - <pre id="var-docstr">Similar to lazy-seq but binds the resulting seq to the supplied -binding-name, allowing for recursive expressions.</pre> - - - <a href="http://github.com/richhickey/clojure-contrib/blob/7188a51605136f36524e4091fe806859114d6056/src/main/clojure/clojure/contrib/seq.clj#L101" id="var-source">Source</a> -</div><div id="var-entry"> - <br /> - <hr /> - <h2 id="clojure.contrib.seq/reductions">reductions</h2> - <span id="var-type">function</span><br /> - <pre id="var-usage">Usage: (reductions f coll) - (reductions f init coll) -</pre> - <pre id="var-docstr">DEPRECATED. Prefer clojure.core version. -Returns a lazy seq of the intermediate values of the reduction (as -per reduce) of coll by f, starting with init.</pre> - - <span class="var-deprecated"><span id="content">Deprecated since clojure-contrib version 1.2</span><br /></span> - <a href="http://github.com/richhickey/clojure-contrib/blob/7188a51605136f36524e4091fe806859114d6056/src/main/clojure/clojure/contrib/seq.clj#L117" id="var-source">Source</a> -</div><div id="var-entry"> - <br /> - <hr /> - <h2 id="clojure.contrib.seq/rotations">rotations</h2> - <span id="var-type">function</span><br /> - <pre id="var-usage">Usage: (rotations x) -</pre> - <pre id="var-docstr">Returns a lazy seq of all rotations of a seq</pre> - - - <a href="http://github.com/richhickey/clojure-contrib/blob/7188a51605136f36524e4091fe806859114d6056/src/main/clojure/clojure/contrib/seq.clj#L129" id="var-source">Source</a> -</div><div id="var-entry"> - <br /> - <hr /> - <h2 id="clojure.contrib.seq/separate">separate</h2> - <span id="var-type">function</span><br /> - <pre id="var-usage">Usage: (separate f s) -</pre> - <pre id="var-docstr">Returns a vector: -[ (filter f s), (filter (complement f) s) ]</pre> - - - <a href="http://github.com/richhickey/clojure-contrib/blob/7188a51605136f36524e4091fe806859114d6056/src/main/clojure/clojure/contrib/seq.clj#L45" id="var-source">Source</a> -</div><div id="var-entry"> - <br /> - <hr /> - <h2 id="clojure.contrib.seq/seq-on">seq-on</h2> - <span id="var-type">multimethod</span><br /> - <pre id="var-usage">Usage: (seq-on s) -</pre> - <pre id="var-docstr">Returns a seq on the object s. Works like the built-in seq but as -a multimethod that can have implementations for new classes and types.</pre> - - - <a href="http://github.com/richhickey/clojure-contrib/blob/7188a51605136f36524e4091fe806859114d6056/src/main/clojure/clojure/contrib/seq.clj#L168" id="var-source">Source</a> -</div><div id="var-entry"> - <br /> - <hr /> - <h2 id="clojure.contrib.seq/shuffle">shuffle</h2> - <span id="var-type">function</span><br /> - <pre id="var-usage">Usage: (shuffle coll) -</pre> - <pre id="var-docstr">DEPRECATED. Prefer clojure.core version. -Return a random permutation of coll</pre> - - <span class="var-deprecated"><span id="content">Deprecated since clojure-contrib version 1.2</span><br /></span> - <a href="http://github.com/richhickey/clojure-contrib/blob/7188a51605136f36524e4091fe806859114d6056/src/main/clojure/clojure/contrib/seq.clj#L151" id="var-source">Source</a> -</div> - - -</div> - </div> - </div> - </div> - </div> - <div id="foot"> - <div style="text-align: center;" id="copyright">Copyright 2007-2009 by Rich Hickey and the various contributors</div> - </div> - </div> - <div id="DesignedBy">Logo & site design by <a title="Visit Tom Hickey's website." href="http://www.tomhickey.com">Tom Hickey</a>.<br /> - Clojure auto-documentation system by Tom Faulhaber.</div> - </div> - <!-- /AllContentContainer --> - </body> - -</html>
\ No newline at end of file diff --git a/branch-master/seq-utils-api.html b/branch-master/seq-utils-api.html deleted file mode 100644 index ad1d8bce..00000000 --- a/branch-master/seq-utils-api.html +++ /dev/null @@ -1,367 +0,0 @@ -<html> - <head> - <title>seq-utils - clojure-contrib next API documentation</title> - <link href="../static/favicon.png" rel="icon" /> - <link href="../static/favicon.png" rel="shortcut icon" /> - <link media="all" type="text/css" href="../static/clojure.css" rel="stylesheet" /> - <link media="all" type="text/css" href="../static/wiki.css" rel="stylesheet" /> - <link media="all" type="text/css" href="../static/internal.css" rel="stylesheet" /> - <!-- TODO: are we using these (from clojure.org)? If so, add the files --> - <script src="file/view/code_highlighter.js" type="text/javascript"></script> - <script src="file/view/clojure.js" type="text/javascript"></script> - <style>.menuWrapper{height: 36px;}</style> - <!--[if lte IE 6]> - <link rel="stylesheet" href="http://www.wikispaces.com/_/2009051601/s/internal_ie.css" type="text/css" /> - <![endif]--> - </head> -<!-- -This document was auto-generated from the source by the clojure autodoc system. -To report errors or ask questions about the overall documentation structure, formatting, -etc., contact Tom Faulhaber (google mail name: tomfaulhaber). -For errors in the documentation of a particular namespace, contact the author of that -namespace. ---> - <body> - <div id="AllContentContainer"> - <div id="Header"> - <a id="Logo" href="index.html"><img alt="Clojure" height="100" width="100" src="../static/clojure-icon.gif" /></a> - <h1><a title="page header title" id="page-header" href="index.html">Clojure-contrib API Reference</a></h1> - </div> - <div id="leftcolumn"><div style="text-align: center;"></div> -<div class="menu"> - <div class="WikiCustomNav WikiElement wiki"> - <span class="toc-header"><span id="project-name">clojure-contrib</span> <span id="version">next</span> API</span><br /> - <ul> - <li><a class="wiki_link" href="index.html">Overview</a></li> - <li><a class="wiki_link" href="api-index.html">API Index</a></li> - </ul> - <span class="toc-header">Namespaces</span> - <ul id="left-sidebar-list"> - <li><a href="accumulators-api.html" class="wiki_link">accumulators</a></li><li><a href="agent-utils-api.html" class="wiki_link">agent-utils</a></li><li><a href="apply-macro-api.html" class="wiki_link">apply-macro</a></li><li><a href="base64-api.html" class="wiki_link">base64</a></li><li><a href="classpath-api.html" class="wiki_link">classpath</a></li><li><a href="combinatorics-api.html" class="wiki_link">combinatorics</a></li><li><a href="command-line-api.html" class="wiki_link">command-line</a></li><li><a href="complex-numbers-api.html" class="wiki_link">complex-numbers</a></li><li><a href="cond-api.html" class="wiki_link">cond</a></li><li><a href="condition-api.html" class="wiki_link">condition</a></li><li><a href="core-api.html" class="wiki_link">core</a></li><li><a href="dataflow-api.html" class="wiki_link">dataflow</a></li><li><a href="datalog-api.html" class="wiki_link">datalog</a></li><li><a href="def-api.html" class="wiki_link">def</a></li><li><a href="duck-streams-api.html" class="wiki_link">duck-streams</a></li><li><a href="error-kit-api.html" class="wiki_link">error-kit</a></li><li><a href="except-api.html" class="wiki_link">except</a></li><li><a href="fcase-api.html" class="wiki_link">fcase</a></li><li><a href="find-namespaces-api.html" class="wiki_link">find-namespaces</a></li><li><a href="fnmap-api.html" class="wiki_link">fnmap</a></li><li><a href="gen-html-docs-api.html" class="wiki_link">gen-html-docs</a></li><li><a href="generic.arithmetic-api.html" class="wiki_link">generic.arithmetic</a></li><li><a href="generic.collection-api.html" class="wiki_link">generic.collection</a></li><li><a href="generic.comparison-api.html" class="wiki_link">generic.comparison</a></li><li><a href="generic.functor-api.html" class="wiki_link">generic.functor</a></li><li><a href="generic.math-functions-api.html" class="wiki_link">generic.math-functions</a></li><li><a href="graph-api.html" class="wiki_link">graph</a></li><li><a href="greatest-least-api.html" class="wiki_link">greatest-least</a></li><li><a href="http.agent-api.html" class="wiki_link">http.agent</a></li><li><a href="http.connection-api.html" class="wiki_link">http.connection</a></li><li><a href="import-static-api.html" class="wiki_link">import-static</a></li><li><a href="io-api.html" class="wiki_link">io</a></li><li><a href="jar-api.html" class="wiki_link">jar</a></li><li><a href="java-utils-api.html" class="wiki_link">java-utils</a></li><li><a href="javadoc.browse-api.html" class="wiki_link">javadoc.browse</a></li><li><a href="jmx-api.html" class="wiki_link">jmx</a></li><li><a href="json-api.html" class="wiki_link">json</a></li><li><a href="lazy-seqs-api.html" class="wiki_link">lazy-seqs</a></li><li><a href="lazy-xml-api.html" class="wiki_link">lazy-xml</a></li><li><a href="logging-api.html" class="wiki_link">logging</a></li><li><a href="macro-utils-api.html" class="wiki_link">macro-utils</a></li><li><a href="macros-api.html" class="wiki_link">macros</a></li><li><a href="map-utils-api.html" class="wiki_link">map-utils</a></li><li><a href="math-api.html" class="wiki_link">math</a></li><li><a href="miglayout-api.html" class="wiki_link">miglayout</a></li><li><a href="mmap-api.html" class="wiki_link">mmap</a></li><li><a href="mock-api.html" class="wiki_link">mock</a></li><li><a href="monadic-io-streams-api.html" class="wiki_link">monadic-io-streams</a></li><li><a href="monads-api.html" class="wiki_link">monads</a></li><li><a href="ns-utils-api.html" class="wiki_link">ns-utils</a></li><li><a href="pprint-api.html" class="wiki_link">pprint</a></li><li><a href="priority-map-api.html" class="wiki_link">priority-map</a></li><li><a href="probabilities.finite-distributions-api.html" class="wiki_link">probabilities.finite-distributions</a></li><li><a href="probabilities.monte-carlo-api.html" class="wiki_link">probabilities.monte-carlo</a></li><li><a href="probabilities.random-numbers-api.html" class="wiki_link">probabilities.random-numbers</a></li><li><a href="profile-api.html" class="wiki_link">profile</a></li><li><a href="properties-api.html" class="wiki_link">properties</a></li><li><a href="prxml-api.html" class="wiki_link">prxml</a></li><li><a href="reflect-api.html" class="wiki_link">reflect</a></li><li><a href="repl-ln-api.html" class="wiki_link">repl-ln</a></li><li><a href="repl-utils-api.html" class="wiki_link">repl-utils</a></li><li><a href="seq-api.html" class="wiki_link">seq</a></li><li><a href="seq-utils-api.html" class="wiki_link">seq-utils</a></li><li><a href="server-socket-api.html" class="wiki_link">server-socket</a></li><li><a href="set-api.html" class="wiki_link">set</a></li><li><a href="shell-api.html" class="wiki_link">shell</a></li><li><a href="shell-out-api.html" class="wiki_link">shell-out</a></li><li><a href="singleton-api.html" class="wiki_link">singleton</a></li><li><a href="sql-api.html" class="wiki_link">sql</a></li><li><a href="str-utils-api.html" class="wiki_link">str-utils</a></li><li><a href="str-utils2-api.html" class="wiki_link">str-utils2</a></li><li><a href="stream-utils-api.html" class="wiki_link">stream-utils</a></li><li><a href="string-api.html" class="wiki_link">string</a></li><li><a href="strint-api.html" class="wiki_link">strint</a></li><li><a href="swing-utils-api.html" class="wiki_link">swing-utils</a></li><li><a href="test-is-api.html" class="wiki_link">test-is</a></li><li><a href="trace-api.html" class="wiki_link">trace</a></li><li><a href="types-api.html" class="wiki_link">types</a></li><li><a href="with-ns-api.html" class="wiki_link">with-ns</a></li><li><a href="zip-filter-api.html" class="wiki_link">zip-filter</a></li> - </ul> - <div class="BranchTOC"> - <span class="toc-header">Other Versions</span> - <ul id="left-sidebar-branch-list"> - <li><a href="../index.html" class="wiki_link">v1.2 (beta 1)</a></li><li><a href="../branch-1.1.x/index.html" class="wiki_link">v1.1 (stable)</a></li> - </ul> - </div> - <a href="http://clojure.org" class="wiki_link">Clojure Home</a> - </div> -</div> -</div> - <div id="rightcolumn"> - <div id="Content"> - <div class="contentBox"><div class="innerContentBox"> - <div id="content_view" class="wiki wikiPage"> - <div id="right-sidebar"><div id="toc"> - <h1 class="nopad">Table of Contents</h1> - <div style="margin-left: 1em;" class="toc-section"> - <a href="#toc0">Overview</a> - <div style="margin-left: 1em;" class="toc-entry"> - <a href="#clojure.contrib.seq-utils/fill-queue">fill-queue</a> - </div><div style="margin-left: 1em;" class="toc-entry"> - <a href="#clojure.contrib.seq-utils/find-first">find-first</a> - </div><div style="margin-left: 1em;" class="toc-entry"> - <a href="#clojure.contrib.seq-utils/flatten">flatten</a> - </div><div style="margin-left: 1em;" class="toc-entry"> - <a href="#clojure.contrib.seq-utils/frequencies">frequencies</a> - </div><div style="margin-left: 1em;" class="toc-entry"> - <a href="#clojure.contrib.seq-utils/group-by">group-by</a> - </div><div style="margin-left: 1em;" class="toc-entry"> - <a href="#clojure.contrib.seq-utils/includes?">includes?</a> - </div><div style="margin-left: 1em;" class="toc-entry"> - <a href="#clojure.contrib.seq-utils/indexed">indexed</a> - </div><div style="margin-left: 1em;" class="toc-entry"> - <a href="#clojure.contrib.seq-utils/partition-all">partition-all</a> - </div><div style="margin-left: 1em;" class="toc-entry"> - <a href="#clojure.contrib.seq-utils/partition-by">partition-by</a> - </div><div style="margin-left: 1em;" class="toc-entry"> - <a href="#clojure.contrib.seq-utils/positions">positions</a> - </div><div style="margin-left: 1em;" class="toc-entry"> - <a href="#clojure.contrib.seq-utils/rand-elt">rand-elt</a> - </div><div style="margin-left: 1em;" class="toc-entry"> - <a href="#clojure.contrib.seq-utils/rec-cat">rec-cat</a> - </div><div style="margin-left: 1em;" class="toc-entry"> - <a href="#clojure.contrib.seq-utils/rec-seq">rec-seq</a> - </div><div style="margin-left: 1em;" class="toc-entry"> - <a href="#clojure.contrib.seq-utils/reductions">reductions</a> - </div><div style="margin-left: 1em;" class="toc-entry"> - <a href="#clojure.contrib.seq-utils/rotations">rotations</a> - </div><div style="margin-left: 1em;" class="toc-entry"> - <a href="#clojure.contrib.seq-utils/separate">separate</a> - </div><div style="margin-left: 1em;" class="toc-entry"> - <a href="#clojure.contrib.seq-utils/seq-on">seq-on</a> - </div><div style="margin-left: 1em;" class="toc-entry"> - <a href="#clojure.contrib.seq-utils/shuffle">shuffle</a> - </div> - <br /> - </div> -</div> -</div> - <div id="content-tag"><h1 id="overview">API for <span id="namespace-name">seq-utils</span> - - <span id="header-project">clojure-contrib</span> <span id="header-version">next</span> (<span id="header-status">in development</span>) - </h1> -<span id="author-line">by <span id="author-name">Stuart Sierra (and others)</span><br /></span> -<br />Usage: -<pre> -(ns your-namespace - (:require <span id="long-name">clojure.contrib.seq-utils</span>)) -</pre><pre> -</pre><h2>Overview</h2> -<pre id="namespace-docstr">Sequence utilities for Clojure</pre> - -<span class="ns-deprecated"><span id="content">Deprecated since clojure-contrib version 1.2</span><br /></span> -<br /> -<h2>Public Variables and Functions</h2> -<div id="var-entry"> - <br /> - <hr /> - <h2 id="clojure.contrib.seq-utils/fill-queue">fill-queue</h2> - <span id="var-type">function</span><br /> - <pre id="var-usage">Usage: (fill-queue filler-func & optseq) -</pre> - <pre id="var-docstr">filler-func will be called in another thread with a single arg -'fill'. filler-func may call fill repeatedly with one arg each -time which will be pushed onto a queue, blocking if needed until -this is possible. fill-queue will return a lazy seq of the values -filler-func has pushed onto the queue, blocking if needed until each -next element becomes available. filler-func's return value is ignored.</pre> - - - <a href="http://github.com/richhickey/clojure-contrib/blob/b485ffc11dd9c930eda0470ff299aa8695cfe141/src/main/clojure/clojure/contrib/seq_utils.clj#L193" id="var-source">Source</a> -</div><div id="var-entry"> - <br /> - <hr /> - <h2 id="clojure.contrib.seq-utils/find-first">find-first</h2> - <span id="var-type">function</span><br /> - <pre id="var-usage">Usage: (find-first pred coll) -</pre> - <pre id="var-docstr">Returns the first item of coll for which (pred item) returns logical true. -Consumes sequences up to the first match, will consume the entire sequence -and return nil if no match is found.</pre> - - - <a href="http://github.com/richhickey/clojure-contrib/blob/b485ffc11dd9c930eda0470ff299aa8695cfe141/src/main/clojure/clojure/contrib/seq_utils.clj#L184" id="var-source">Source</a> -</div><div id="var-entry"> - <br /> - <hr /> - <h2 id="clojure.contrib.seq-utils/flatten">flatten</h2> - <span id="var-type">function</span><br /> - <pre id="var-usage">Usage: (flatten x) -</pre> - <pre id="var-docstr">DEPRECATED. Prefer clojure.core version. -Takes any nested combination of sequential things (lists, vectors, -etc.) and returns their contents as a single, flat sequence. -(flatten nil) returns nil.</pre> - - <span class="var-deprecated"><span id="content">Deprecated since clojure-contrib version 1.2</span><br /></span> - <a href="http://github.com/richhickey/clojure-contrib/blob/b485ffc11dd9c930eda0470ff299aa8695cfe141/src/main/clojure/clojure/contrib/seq_utils.clj#L39" id="var-source">Source</a> -</div><div id="var-entry"> - <br /> - <hr /> - <h2 id="clojure.contrib.seq-utils/frequencies">frequencies</h2> - <span id="var-type">function</span><br /> - <pre id="var-usage">Usage: (frequencies coll) -</pre> - <pre id="var-docstr">DEPRECATED. Prefer clojure.core version. -Returns a map from distinct items in coll to the number of times -they appear.</pre> - - <span class="var-deprecated"><span id="content">Deprecated since clojure-contrib version 1.2</span><br /></span> - <a href="http://github.com/richhickey/clojure-contrib/blob/b485ffc11dd9c930eda0470ff299aa8695cfe141/src/main/clojure/clojure/contrib/seq_utils.clj#L93" id="var-source">Source</a> -</div><div id="var-entry"> - <br /> - <hr /> - <h2 id="clojure.contrib.seq-utils/group-by">group-by</h2> - <span id="var-type">function</span><br /> - <pre id="var-usage">Usage: (group-by f coll) -</pre> - <pre id="var-docstr">DEPRECATED. Prefer clojure.core version. - Returns a sorted map of the elements of coll keyed by the result of -f on each element. The value at each key will be a vector of the -corresponding elements, in the order they appeared in coll.</pre> - - <span class="var-deprecated"><span id="content">Deprecated since clojure-contrib version 1.2</span><br /></span> - <a href="http://github.com/richhickey/clojure-contrib/blob/b485ffc11dd9c930eda0470ff299aa8695cfe141/src/main/clojure/clojure/contrib/seq_utils.clj#L65" id="var-source">Source</a> -</div><div id="var-entry"> - <br /> - <hr /> - <h2 id="clojure.contrib.seq-utils/includes?">includes?</h2> - <span id="var-type">function</span><br /> - <pre id="var-usage">Usage: (includes? coll x) -</pre> - <pre id="var-docstr">Returns true if coll contains something equal (with =) to x, -in linear time. Deprecated. Prefer 'contains?' for key testing, -or 'some' for ad hoc linear searches.</pre> - - <span class="var-deprecated"><span id="content">Deprecated since clojure-contrib version 1.2</span><br /></span> - <a href="http://github.com/richhickey/clojure-contrib/blob/b485ffc11dd9c930eda0470ff299aa8695cfe141/src/main/clojure/clojure/contrib/seq_utils.clj#L234" id="var-source">Source</a> -</div><div id="var-entry"> - <br /> - <hr /> - <h2 id="clojure.contrib.seq-utils/indexed">indexed</h2> - <span id="var-type">function</span><br /> - <pre id="var-usage">Usage: (indexed s) -</pre> - <pre id="var-docstr">Returns a lazy sequence of [index, item] pairs, where items come -from 's' and indexes count up from zero. - -(indexed '(a b c d)) => ([0 a] [1 b] [2 c] [3 d])</pre> - - - <a href="http://github.com/richhickey/clojure-contrib/blob/b485ffc11dd9c930eda0470ff299aa8695cfe141/src/main/clojure/clojure/contrib/seq_utils.clj#L55" id="var-source">Source</a> -</div><div id="var-entry"> - <br /> - <hr /> - <h2 id="clojure.contrib.seq-utils/partition-all">partition-all</h2> - <span id="var-type">function</span><br /> - <pre id="var-usage">Usage: (partition-all n coll) - (partition-all n step coll) -</pre> - <pre id="var-docstr">DEPRECATED. Prefer clojure.core version. -Returns a lazy sequence of lists like clojure.core/partition, but may -include lists with fewer than n items at the end.</pre> - - <span class="var-deprecated"><span id="content">Deprecated since clojure-contrib version 1.2</span><br /></span> - <a href="http://github.com/richhickey/clojure-contrib/blob/b485ffc11dd9c930eda0470ff299aa8695cfe141/src/main/clojure/clojure/contrib/seq_utils.clj#L143" id="var-source">Source</a> -</div><div id="var-entry"> - <br /> - <hr /> - <h2 id="clojure.contrib.seq-utils/partition-by">partition-by</h2> - <span id="var-type">function</span><br /> - <pre id="var-usage">Usage: (partition-by f coll) -</pre> - <pre id="var-docstr">DEPRECATED. Prefer clojure.core version. -Applies f to each value in coll, splitting it each time f returns -a new value. Returns a lazy seq of lazy seqs.</pre> - - <span class="var-deprecated"><span id="content">Deprecated since clojure-contrib version 1.2</span><br /></span> - <a href="http://github.com/richhickey/clojure-contrib/blob/b485ffc11dd9c930eda0470ff299aa8695cfe141/src/main/clojure/clojure/contrib/seq_utils.clj#L80" id="var-source">Source</a> -</div><div id="var-entry"> - <br /> - <hr /> - <h2 id="clojure.contrib.seq-utils/positions">positions</h2> - <span id="var-type">function</span><br /> - <pre id="var-usage">Usage: (positions pred coll) -</pre> - <pre id="var-docstr">Returns a lazy sequence containing the positions at which pred -is true for items in coll.</pre> - - - <a href="http://github.com/richhickey/clojure-contrib/blob/b485ffc11dd9c930eda0470ff299aa8695cfe141/src/main/clojure/clojure/contrib/seq_utils.clj#L228" id="var-source">Source</a> -</div><div id="var-entry"> - <br /> - <hr /> - <h2 id="clojure.contrib.seq-utils/rand-elt">rand-elt</h2> - <span id="var-type">function</span><br /> - <pre id="var-usage">Usage: (rand-elt s) -</pre> - <pre id="var-docstr">DEPRECATED. Prefer clojure.core/rand-nth. -Return a random element of this seq</pre> - - <span class="var-deprecated"><span id="content">Deprecated since clojure-contrib version 1.2</span><br /></span> - <a href="http://github.com/richhickey/clojure-contrib/blob/b485ffc11dd9c930eda0470ff299aa8695cfe141/src/main/clojure/clojure/contrib/seq_utils.clj#L164" id="var-source">Source</a> -</div><div id="var-entry"> - <br /> - <hr /> - <h2 id="clojure.contrib.seq-utils/rec-cat">rec-cat</h2> - <span id="var-type">macro</span><br /> - <pre id="var-usage">Usage: (rec-cat binding-name & exprs) -</pre> - <pre id="var-docstr">Similar to lazy-cat but binds the resulting sequence to the supplied -binding-name, allowing for recursive expressions.</pre> - - - <a href="http://github.com/richhickey/clojure-contrib/blob/b485ffc11dd9c930eda0470ff299aa8695cfe141/src/main/clojure/clojure/contrib/seq_utils.clj#L112" id="var-source">Source</a> -</div><div id="var-entry"> - <br /> - <hr /> - <h2 id="clojure.contrib.seq-utils/rec-seq">rec-seq</h2> - <span id="var-type">macro</span><br /> - <pre id="var-usage">Usage: (rec-seq binding-name & body) -</pre> - <pre id="var-docstr">Similar to lazy-seq but binds the resulting seq to the supplied -binding-name, allowing for recursive expressions.</pre> - - - <a href="http://github.com/richhickey/clojure-contrib/blob/b485ffc11dd9c930eda0470ff299aa8695cfe141/src/main/clojure/clojure/contrib/seq_utils.clj#L105" id="var-source">Source</a> -</div><div id="var-entry"> - <br /> - <hr /> - <h2 id="clojure.contrib.seq-utils/reductions">reductions</h2> - <span id="var-type">function</span><br /> - <pre id="var-usage">Usage: (reductions f coll) - (reductions f init coll) -</pre> - <pre id="var-docstr">DEPRECATED. Prefer clojure.core version. -Returns a lazy seq of the intermediate values of the reduction (as -per reduce) of coll by f, starting with init.</pre> - - <span class="var-deprecated"><span id="content">Deprecated since clojure-contrib version 1.2</span><br /></span> - <a href="http://github.com/richhickey/clojure-contrib/blob/b485ffc11dd9c930eda0470ff299aa8695cfe141/src/main/clojure/clojure/contrib/seq_utils.clj#L121" id="var-source">Source</a> -</div><div id="var-entry"> - <br /> - <hr /> - <h2 id="clojure.contrib.seq-utils/rotations">rotations</h2> - <span id="var-type">function</span><br /> - <pre id="var-usage">Usage: (rotations x) -</pre> - <pre id="var-docstr">Returns a lazy seq of all rotations of a seq</pre> - - - <a href="http://github.com/richhickey/clojure-contrib/blob/b485ffc11dd9c930eda0470ff299aa8695cfe141/src/main/clojure/clojure/contrib/seq_utils.clj#L133" id="var-source">Source</a> -</div><div id="var-entry"> - <br /> - <hr /> - <h2 id="clojure.contrib.seq-utils/separate">separate</h2> - <span id="var-type">function</span><br /> - <pre id="var-usage">Usage: (separate f s) -</pre> - <pre id="var-docstr">Returns a vector: -[ (filter f s), (filter (complement f) s) ]</pre> - - - <a href="http://github.com/richhickey/clojure-contrib/blob/b485ffc11dd9c930eda0470ff299aa8695cfe141/src/main/clojure/clojure/contrib/seq_utils.clj#L49" id="var-source">Source</a> -</div><div id="var-entry"> - <br /> - <hr /> - <h2 id="clojure.contrib.seq-utils/seq-on">seq-on</h2> - <span id="var-type">multimethod</span><br /> - <pre id="var-usage">Usage: (seq-on s) -</pre> - <pre id="var-docstr">Returns a seq on the object s. Works like the built-in seq but as -a multimethod that can have implementations for new classes and types.</pre> - - - <a href="http://github.com/richhickey/clojure-contrib/blob/b485ffc11dd9c930eda0470ff299aa8695cfe141/src/main/clojure/clojure/contrib/seq_utils.clj#L173" id="var-source">Source</a> -</div><div id="var-entry"> - <br /> - <hr /> - <h2 id="clojure.contrib.seq-utils/shuffle">shuffle</h2> - <span id="var-type">function</span><br /> - <pre id="var-usage">Usage: (shuffle coll) -</pre> - <pre id="var-docstr">DEPRECATED. Prefer clojure.core version. -Return a random permutation of coll</pre> - - <span class="var-deprecated"><span id="content">Deprecated since clojure-contrib version 1.2</span><br /></span> - <a href="http://github.com/richhickey/clojure-contrib/blob/b485ffc11dd9c930eda0470ff299aa8695cfe141/src/main/clojure/clojure/contrib/seq_utils.clj#L155" id="var-source">Source</a> -</div> - - -</div> - </div> - </div> - </div> - </div> - <div id="foot"> - <div style="text-align: center;" id="copyright">Copyright 2007-2009 by Rich Hickey and the various contributors</div> - </div> - </div> - <div id="DesignedBy">Logo & site design by <a title="Visit Tom Hickey's website." href="http://www.tomhickey.com">Tom Hickey</a>.<br /> - Clojure auto-documentation system by Tom Faulhaber.</div> - </div> - <!-- /AllContentContainer --> - </body> - -</html>
\ No newline at end of file diff --git a/branch-master/server-socket-api.html b/branch-master/server-socket-api.html deleted file mode 100644 index 0f81b6e2..00000000 --- a/branch-master/server-socket-api.html +++ /dev/null @@ -1,134 +0,0 @@ -<html> - <head> - <title>server-socket - clojure-contrib next API documentation</title> - <link href="../static/favicon.png" rel="icon" /> - <link href="../static/favicon.png" rel="shortcut icon" /> - <link media="all" type="text/css" href="../static/clojure.css" rel="stylesheet" /> - <link media="all" type="text/css" href="../static/wiki.css" rel="stylesheet" /> - <link media="all" type="text/css" href="../static/internal.css" rel="stylesheet" /> - <!-- TODO: are we using these (from clojure.org)? If so, add the files --> - <script src="file/view/code_highlighter.js" type="text/javascript"></script> - <script src="file/view/clojure.js" type="text/javascript"></script> - <style>.menuWrapper{height: 36px;}</style> - <!--[if lte IE 6]> - <link rel="stylesheet" href="http://www.wikispaces.com/_/2009051601/s/internal_ie.css" type="text/css" /> - <![endif]--> - </head> -<!-- -This document was auto-generated from the source by the clojure autodoc system. -To report errors or ask questions about the overall documentation structure, formatting, -etc., contact Tom Faulhaber (google mail name: tomfaulhaber). -For errors in the documentation of a particular namespace, contact the author of that -namespace. ---> - <body> - <div id="AllContentContainer"> - <div id="Header"> - <a id="Logo" href="index.html"><img alt="Clojure" height="100" width="100" src="../static/clojure-icon.gif" /></a> - <h1><a title="page header title" id="page-header" href="index.html">Clojure-contrib API Reference</a></h1> - </div> - <div id="leftcolumn"><div style="text-align: center;"></div> -<div class="menu"> - <div class="WikiCustomNav WikiElement wiki"> - <span class="toc-header"><span id="project-name">clojure-contrib</span> <span id="version">next</span> API</span><br /> - <ul> - <li><a class="wiki_link" href="index.html">Overview</a></li> - <li><a class="wiki_link" href="api-index.html">API Index</a></li> - </ul> - <span class="toc-header">Namespaces</span> - <ul id="left-sidebar-list"> - <li><a href="accumulators-api.html" class="wiki_link">accumulators</a></li><li><a href="agent-utils-api.html" class="wiki_link">agent-utils</a></li><li><a href="apply-macro-api.html" class="wiki_link">apply-macro</a></li><li><a href="base64-api.html" class="wiki_link">base64</a></li><li><a href="classpath-api.html" class="wiki_link">classpath</a></li><li><a href="combinatorics-api.html" class="wiki_link">combinatorics</a></li><li><a href="command-line-api.html" class="wiki_link">command-line</a></li><li><a href="complex-numbers-api.html" class="wiki_link">complex-numbers</a></li><li><a href="cond-api.html" class="wiki_link">cond</a></li><li><a href="condition-api.html" class="wiki_link">condition</a></li><li><a href="core-api.html" class="wiki_link">core</a></li><li><a href="dataflow-api.html" class="wiki_link">dataflow</a></li><li><a href="datalog-api.html" class="wiki_link">datalog</a></li><li><a href="def-api.html" class="wiki_link">def</a></li><li><a href="duck-streams-api.html" class="wiki_link">duck-streams</a></li><li><a href="error-kit-api.html" class="wiki_link">error-kit</a></li><li><a href="except-api.html" class="wiki_link">except</a></li><li><a href="fcase-api.html" class="wiki_link">fcase</a></li><li><a href="find-namespaces-api.html" class="wiki_link">find-namespaces</a></li><li><a href="fnmap-api.html" class="wiki_link">fnmap</a></li><li><a href="gen-html-docs-api.html" class="wiki_link">gen-html-docs</a></li><li><a href="generic.arithmetic-api.html" class="wiki_link">generic.arithmetic</a></li><li><a href="generic.collection-api.html" class="wiki_link">generic.collection</a></li><li><a href="generic.comparison-api.html" class="wiki_link">generic.comparison</a></li><li><a href="generic.functor-api.html" class="wiki_link">generic.functor</a></li><li><a href="generic.math-functions-api.html" class="wiki_link">generic.math-functions</a></li><li><a href="graph-api.html" class="wiki_link">graph</a></li><li><a href="greatest-least-api.html" class="wiki_link">greatest-least</a></li><li><a href="http.agent-api.html" class="wiki_link">http.agent</a></li><li><a href="http.connection-api.html" class="wiki_link">http.connection</a></li><li><a href="import-static-api.html" class="wiki_link">import-static</a></li><li><a href="io-api.html" class="wiki_link">io</a></li><li><a href="jar-api.html" class="wiki_link">jar</a></li><li><a href="java-utils-api.html" class="wiki_link">java-utils</a></li><li><a href="javadoc.browse-api.html" class="wiki_link">javadoc.browse</a></li><li><a href="jmx-api.html" class="wiki_link">jmx</a></li><li><a href="json-api.html" class="wiki_link">json</a></li><li><a href="lazy-seqs-api.html" class="wiki_link">lazy-seqs</a></li><li><a href="lazy-xml-api.html" class="wiki_link">lazy-xml</a></li><li><a href="logging-api.html" class="wiki_link">logging</a></li><li><a href="macro-utils-api.html" class="wiki_link">macro-utils</a></li><li><a href="macros-api.html" class="wiki_link">macros</a></li><li><a href="map-utils-api.html" class="wiki_link">map-utils</a></li><li><a href="math-api.html" class="wiki_link">math</a></li><li><a href="miglayout-api.html" class="wiki_link">miglayout</a></li><li><a href="mmap-api.html" class="wiki_link">mmap</a></li><li><a href="mock-api.html" class="wiki_link">mock</a></li><li><a href="monadic-io-streams-api.html" class="wiki_link">monadic-io-streams</a></li><li><a href="monads-api.html" class="wiki_link">monads</a></li><li><a href="ns-utils-api.html" class="wiki_link">ns-utils</a></li><li><a href="pprint-api.html" class="wiki_link">pprint</a></li><li><a href="priority-map-api.html" class="wiki_link">priority-map</a></li><li><a href="probabilities.finite-distributions-api.html" class="wiki_link">probabilities.finite-distributions</a></li><li><a href="probabilities.monte-carlo-api.html" class="wiki_link">probabilities.monte-carlo</a></li><li><a href="probabilities.random-numbers-api.html" class="wiki_link">probabilities.random-numbers</a></li><li><a href="profile-api.html" class="wiki_link">profile</a></li><li><a href="properties-api.html" class="wiki_link">properties</a></li><li><a href="prxml-api.html" class="wiki_link">prxml</a></li><li><a href="reflect-api.html" class="wiki_link">reflect</a></li><li><a href="repl-ln-api.html" class="wiki_link">repl-ln</a></li><li><a href="repl-utils-api.html" class="wiki_link">repl-utils</a></li><li><a href="seq-api.html" class="wiki_link">seq</a></li><li><a href="seq-utils-api.html" class="wiki_link">seq-utils</a></li><li><a href="server-socket-api.html" class="wiki_link">server-socket</a></li><li><a href="set-api.html" class="wiki_link">set</a></li><li><a href="shell-api.html" class="wiki_link">shell</a></li><li><a href="shell-out-api.html" class="wiki_link">shell-out</a></li><li><a href="singleton-api.html" class="wiki_link">singleton</a></li><li><a href="sql-api.html" class="wiki_link">sql</a></li><li><a href="str-utils-api.html" class="wiki_link">str-utils</a></li><li><a href="str-utils2-api.html" class="wiki_link">str-utils2</a></li><li><a href="stream-utils-api.html" class="wiki_link">stream-utils</a></li><li><a href="string-api.html" class="wiki_link">string</a></li><li><a href="strint-api.html" class="wiki_link">strint</a></li><li><a href="swing-utils-api.html" class="wiki_link">swing-utils</a></li><li><a href="test-is-api.html" class="wiki_link">test-is</a></li><li><a href="trace-api.html" class="wiki_link">trace</a></li><li><a href="types-api.html" class="wiki_link">types</a></li><li><a href="with-ns-api.html" class="wiki_link">with-ns</a></li><li><a href="zip-filter-api.html" class="wiki_link">zip-filter</a></li> - </ul> - <div class="BranchTOC"> - <span class="toc-header">Other Versions</span> - <ul id="left-sidebar-branch-list"> - <li><a href="../index.html" class="wiki_link">v1.2 (beta 1)</a></li><li><a href="../branch-1.1.x/index.html" class="wiki_link">v1.1 (stable)</a></li> - </ul> - </div> - <a href="http://clojure.org" class="wiki_link">Clojure Home</a> - </div> -</div> -</div> - <div id="rightcolumn"> - <div id="Content"> - <div class="contentBox"><div class="innerContentBox"> - <div id="content_view" class="wiki wikiPage"> - <div id="right-sidebar"><div id="toc"> - <h1 class="nopad">Table of Contents</h1> - <div style="margin-left: 1em;" class="toc-section"> - <a href="#toc0">Overview</a> - <div style="margin-left: 1em;" class="toc-entry"> - <a href="#clojure.contrib.server-socket/create-repl-server">create-repl-server</a> - </div><div style="margin-left: 1em;" class="toc-entry"> - <a href="#clojure.contrib.server-socket/create-server">create-server</a> - </div> - <br /> - </div> -</div> -</div> - <div id="content-tag"><h1 id="overview">API for <span id="namespace-name">server-socket</span> - - <span id="header-project">clojure-contrib</span> <span id="header-version">next</span> (<span id="header-status">in development</span>) - </h1> -<span id="author-line">by <span id="author-name">Craig McDaniel</span><br /></span> -<br />Usage: -<pre> -(ns your-namespace - (:require <span id="long-name">clojure.contrib.server-socket</span>)) -</pre><pre> -</pre><h2>Overview</h2> -<pre id="namespace-docstr">Server socket library - includes REPL on socket</pre> - - -<br /> -<h2>Public Variables and Functions</h2> -<div id="var-entry"> - <br /> - <hr /> - <h2 id="clojure.contrib.server-socket/create-repl-server">create-repl-server</h2> - <span id="var-type">function</span><br /> - <pre id="var-usage">Usage: (create-repl-server port backlog bind-addr) - (create-repl-server port backlog) - (create-repl-server port) -</pre> - <pre id="var-docstr">create a repl on a socket</pre> - - - <a href="http://github.com/richhickey/clojure-contrib/blob/7188a51605136f36524e4091fe806859114d6056/src/main/clojure/clojure/contrib/server_socket.clj#L87" id="var-source">Source</a> -</div><div id="var-entry"> - <br /> - <hr /> - <h2 id="clojure.contrib.server-socket/create-server">create-server</h2> - <span id="var-type">function</span><br /> - <pre id="var-usage">Usage: (create-server port fun backlog bind-addr) - (create-server port fun backlog) - (create-server port fun) -</pre> - <pre id="var-docstr">Creates a server socket on port. Upon accept, a new thread is -created which calls: - -(fun input-stream output-stream) - -Optional arguments support specifying a listen backlog and binding -to a specific endpoint.</pre> - - - <a href="http://github.com/richhickey/clojure-contrib/blob/7188a51605136f36524e4091fe806859114d6056/src/main/clojure/clojure/contrib/server_socket.clj#L53" id="var-source">Source</a> -</div> - - -</div> - </div> - </div> - </div> - </div> - <div id="foot"> - <div style="text-align: center;" id="copyright">Copyright 2007-2009 by Rich Hickey and the various contributors</div> - </div> - </div> - <div id="DesignedBy">Logo & site design by <a title="Visit Tom Hickey's website." href="http://www.tomhickey.com">Tom Hickey</a>.<br /> - Clojure auto-documentation system by Tom Faulhaber.</div> - </div> - <!-- /AllContentContainer --> - </body> - -</html>
\ No newline at end of file diff --git a/branch-master/set-api.html b/branch-master/set-api.html deleted file mode 100644 index 8cec973e..00000000 --- a/branch-master/set-api.html +++ /dev/null @@ -1,150 +0,0 @@ -<html> - <head> - <title>set - clojure-contrib next API documentation</title> - <link href="../static/favicon.png" rel="icon" /> - <link href="../static/favicon.png" rel="shortcut icon" /> - <link media="all" type="text/css" href="../static/clojure.css" rel="stylesheet" /> - <link media="all" type="text/css" href="../static/wiki.css" rel="stylesheet" /> - <link media="all" type="text/css" href="../static/internal.css" rel="stylesheet" /> - <!-- TODO: are we using these (from clojure.org)? If so, add the files --> - <script src="file/view/code_highlighter.js" type="text/javascript"></script> - <script src="file/view/clojure.js" type="text/javascript"></script> - <style>.menuWrapper{height: 36px;}</style> - <!--[if lte IE 6]> - <link rel="stylesheet" href="http://www.wikispaces.com/_/2009051601/s/internal_ie.css" type="text/css" /> - <![endif]--> - </head> -<!-- -This document was auto-generated from the source by the clojure autodoc system. -To report errors or ask questions about the overall documentation structure, formatting, -etc., contact Tom Faulhaber (google mail name: tomfaulhaber). -For errors in the documentation of a particular namespace, contact the author of that -namespace. ---> - <body> - <div id="AllContentContainer"> - <div id="Header"> - <a id="Logo" href="index.html"><img alt="Clojure" height="100" width="100" src="../static/clojure-icon.gif" /></a> - <h1><a title="page header title" id="page-header" href="index.html">Clojure-contrib API Reference</a></h1> - </div> - <div id="leftcolumn"><div style="text-align: center;"></div> -<div class="menu"> - <div class="WikiCustomNav WikiElement wiki"> - <span class="toc-header"><span id="project-name">clojure-contrib</span> <span id="version">next</span> API</span><br /> - <ul> - <li><a class="wiki_link" href="index.html">Overview</a></li> - <li><a class="wiki_link" href="api-index.html">API Index</a></li> - </ul> - <span class="toc-header">Namespaces</span> - <ul id="left-sidebar-list"> - <li><a href="accumulators-api.html" class="wiki_link">accumulators</a></li><li><a href="agent-utils-api.html" class="wiki_link">agent-utils</a></li><li><a href="apply-macro-api.html" class="wiki_link">apply-macro</a></li><li><a href="base64-api.html" class="wiki_link">base64</a></li><li><a href="classpath-api.html" class="wiki_link">classpath</a></li><li><a href="combinatorics-api.html" class="wiki_link">combinatorics</a></li><li><a href="command-line-api.html" class="wiki_link">command-line</a></li><li><a href="complex-numbers-api.html" class="wiki_link">complex-numbers</a></li><li><a href="cond-api.html" class="wiki_link">cond</a></li><li><a href="condition-api.html" class="wiki_link">condition</a></li><li><a href="core-api.html" class="wiki_link">core</a></li><li><a href="dataflow-api.html" class="wiki_link">dataflow</a></li><li><a href="datalog-api.html" class="wiki_link">datalog</a></li><li><a href="def-api.html" class="wiki_link">def</a></li><li><a href="duck-streams-api.html" class="wiki_link">duck-streams</a></li><li><a href="error-kit-api.html" class="wiki_link">error-kit</a></li><li><a href="except-api.html" class="wiki_link">except</a></li><li><a href="fcase-api.html" class="wiki_link">fcase</a></li><li><a href="find-namespaces-api.html" class="wiki_link">find-namespaces</a></li><li><a href="fnmap-api.html" class="wiki_link">fnmap</a></li><li><a href="gen-html-docs-api.html" class="wiki_link">gen-html-docs</a></li><li><a href="generic.arithmetic-api.html" class="wiki_link">generic.arithmetic</a></li><li><a href="generic.collection-api.html" class="wiki_link">generic.collection</a></li><li><a href="generic.comparison-api.html" class="wiki_link">generic.comparison</a></li><li><a href="generic.functor-api.html" class="wiki_link">generic.functor</a></li><li><a href="generic.math-functions-api.html" class="wiki_link">generic.math-functions</a></li><li><a href="graph-api.html" class="wiki_link">graph</a></li><li><a href="greatest-least-api.html" class="wiki_link">greatest-least</a></li><li><a href="http.agent-api.html" class="wiki_link">http.agent</a></li><li><a href="http.connection-api.html" class="wiki_link">http.connection</a></li><li><a href="import-static-api.html" class="wiki_link">import-static</a></li><li><a href="io-api.html" class="wiki_link">io</a></li><li><a href="jar-api.html" class="wiki_link">jar</a></li><li><a href="java-utils-api.html" class="wiki_link">java-utils</a></li><li><a href="javadoc.browse-api.html" class="wiki_link">javadoc.browse</a></li><li><a href="jmx-api.html" class="wiki_link">jmx</a></li><li><a href="json-api.html" class="wiki_link">json</a></li><li><a href="lazy-seqs-api.html" class="wiki_link">lazy-seqs</a></li><li><a href="lazy-xml-api.html" class="wiki_link">lazy-xml</a></li><li><a href="logging-api.html" class="wiki_link">logging</a></li><li><a href="macro-utils-api.html" class="wiki_link">macro-utils</a></li><li><a href="macros-api.html" class="wiki_link">macros</a></li><li><a href="map-utils-api.html" class="wiki_link">map-utils</a></li><li><a href="math-api.html" class="wiki_link">math</a></li><li><a href="miglayout-api.html" class="wiki_link">miglayout</a></li><li><a href="mmap-api.html" class="wiki_link">mmap</a></li><li><a href="mock-api.html" class="wiki_link">mock</a></li><li><a href="monadic-io-streams-api.html" class="wiki_link">monadic-io-streams</a></li><li><a href="monads-api.html" class="wiki_link">monads</a></li><li><a href="ns-utils-api.html" class="wiki_link">ns-utils</a></li><li><a href="pprint-api.html" class="wiki_link">pprint</a></li><li><a href="priority-map-api.html" class="wiki_link">priority-map</a></li><li><a href="probabilities.finite-distributions-api.html" class="wiki_link">probabilities.finite-distributions</a></li><li><a href="probabilities.monte-carlo-api.html" class="wiki_link">probabilities.monte-carlo</a></li><li><a href="probabilities.random-numbers-api.html" class="wiki_link">probabilities.random-numbers</a></li><li><a href="profile-api.html" class="wiki_link">profile</a></li><li><a href="properties-api.html" class="wiki_link">properties</a></li><li><a href="prxml-api.html" class="wiki_link">prxml</a></li><li><a href="reflect-api.html" class="wiki_link">reflect</a></li><li><a href="repl-ln-api.html" class="wiki_link">repl-ln</a></li><li><a href="repl-utils-api.html" class="wiki_link">repl-utils</a></li><li><a href="seq-api.html" class="wiki_link">seq</a></li><li><a href="seq-utils-api.html" class="wiki_link">seq-utils</a></li><li><a href="server-socket-api.html" class="wiki_link">server-socket</a></li><li><a href="set-api.html" class="wiki_link">set</a></li><li><a href="shell-api.html" class="wiki_link">shell</a></li><li><a href="shell-out-api.html" class="wiki_link">shell-out</a></li><li><a href="singleton-api.html" class="wiki_link">singleton</a></li><li><a href="sql-api.html" class="wiki_link">sql</a></li><li><a href="str-utils-api.html" class="wiki_link">str-utils</a></li><li><a href="str-utils2-api.html" class="wiki_link">str-utils2</a></li><li><a href="stream-utils-api.html" class="wiki_link">stream-utils</a></li><li><a href="string-api.html" class="wiki_link">string</a></li><li><a href="strint-api.html" class="wiki_link">strint</a></li><li><a href="swing-utils-api.html" class="wiki_link">swing-utils</a></li><li><a href="test-is-api.html" class="wiki_link">test-is</a></li><li><a href="trace-api.html" class="wiki_link">trace</a></li><li><a href="types-api.html" class="wiki_link">types</a></li><li><a href="with-ns-api.html" class="wiki_link">with-ns</a></li><li><a href="zip-filter-api.html" class="wiki_link">zip-filter</a></li> - </ul> - <div class="BranchTOC"> - <span class="toc-header">Other Versions</span> - <ul id="left-sidebar-branch-list"> - <li><a href="../index.html" class="wiki_link">v1.2 (beta 1)</a></li><li><a href="../branch-1.1.x/index.html" class="wiki_link">v1.1 (stable)</a></li> - </ul> - </div> - <a href="http://clojure.org" class="wiki_link">Clojure Home</a> - </div> -</div> -</div> - <div id="rightcolumn"> - <div id="Content"> - <div class="contentBox"><div class="innerContentBox"> - <div id="content_view" class="wiki wikiPage"> - <div id="right-sidebar"><div id="toc"> - <h1 class="nopad">Table of Contents</h1> - <div style="margin-left: 1em;" class="toc-section"> - <a href="#toc0">Overview</a> - <div style="margin-left: 1em;" class="toc-entry"> - <a href="#clojure.contrib.set/proper-subset?">proper-subset?</a> - </div><div style="margin-left: 1em;" class="toc-entry"> - <a href="#clojure.contrib.set/proper-superset?">proper-superset?</a> - </div><div style="margin-left: 1em;" class="toc-entry"> - <a href="#clojure.contrib.set/subset?">subset?</a> - </div><div style="margin-left: 1em;" class="toc-entry"> - <a href="#clojure.contrib.set/superset?">superset?</a> - </div> - <br /> - </div> -</div> -</div> - <div id="content-tag"><h1 id="overview">API for <span id="namespace-name">set</span> - - <span id="header-project">clojure-contrib</span> <span id="header-version">next</span> (<span id="header-status">in development</span>) - </h1> -<span id="author-line">by <span id="author-name">Jason Wolfe</span><br /></span> -<br />Usage: -<pre> -(ns your-namespace - (:require <span id="long-name">clojure.contrib.set</span>)) -</pre><pre> -</pre><h2>Overview</h2> -<pre id="namespace-docstr">Clojure functions for operating on sets (supplemental to clojure.set)</pre> - - -<br /> -<h2>Public Variables and Functions</h2> -<div id="var-entry"> - <br /> - <hr /> - <h2 id="clojure.contrib.set/proper-subset?">proper-subset?</h2> - <span id="var-type">function</span><br /> - <pre id="var-usage">Usage: (proper-subset? set1 set2) -</pre> - <pre id="var-docstr">Is s1 a proper subset of s2?</pre> - - - <a href="http://github.com/richhickey/clojure-contrib/blob/db82a0d49493b518d65eaa73c7243fc31e208091/src/main/clojure/clojure/contrib/set.clj#L40" id="var-source">Source</a> -</div><div id="var-entry"> - <br /> - <hr /> - <h2 id="clojure.contrib.set/proper-superset?">proper-superset?</h2> - <span id="var-type">function</span><br /> - <pre id="var-usage">Usage: (proper-superset? set1 set2) -</pre> - <pre id="var-docstr">Is s1 a proper superset of s2?</pre> - - - <a href="http://github.com/richhickey/clojure-contrib/blob/db82a0d49493b518d65eaa73c7243fc31e208091/src/main/clojure/clojure/contrib/set.clj#L47" id="var-source">Source</a> -</div><div id="var-entry"> - <br /> - <hr /> - <h2 id="clojure.contrib.set/subset?">subset?</h2> - <span id="var-type">function</span><br /> - <pre id="var-usage">Usage: (subset? set1 set2) -</pre> - <pre id="var-docstr">Is set1 a subset of set2?</pre> - - <span class="var-deprecated"><span id="content">Deprecated since clojure-contrib version 1.2</span><br /></span> - <a href="http://github.com/richhickey/clojure-contrib/blob/db82a0d49493b518d65eaa73c7243fc31e208091/src/main/clojure/clojure/contrib/set.clj#L24" id="var-source">Source</a> -</div><div id="var-entry"> - <br /> - <hr /> - <h2 id="clojure.contrib.set/superset?">superset?</h2> - <span id="var-type">function</span><br /> - <pre id="var-usage">Usage: (superset? set1 set2) -</pre> - <pre id="var-docstr">Is set1 a superset of set2?</pre> - - <span class="var-deprecated"><span id="content">Deprecated since clojure-contrib version 1.2</span><br /></span> - <a href="http://github.com/richhickey/clojure-contrib/blob/db82a0d49493b518d65eaa73c7243fc31e208091/src/main/clojure/clojure/contrib/set.clj#L32" id="var-source">Source</a> -</div> - - -</div> - </div> - </div> - </div> - </div> - <div id="foot"> - <div style="text-align: center;" id="copyright">Copyright 2007-2009 by Rich Hickey and the various contributors</div> - </div> - </div> - <div id="DesignedBy">Logo & site design by <a title="Visit Tom Hickey's website." href="http://www.tomhickey.com">Tom Hickey</a>.<br /> - Clojure auto-documentation system by Tom Faulhaber.</div> - </div> - <!-- /AllContentContainer --> - </body> - -</html>
\ No newline at end of file diff --git a/branch-master/shell-api.html b/branch-master/shell-api.html deleted file mode 100644 index 002f9f86..00000000 --- a/branch-master/shell-api.html +++ /dev/null @@ -1,137 +0,0 @@ -<html> - <head> - <title>shell - clojure-contrib next API documentation</title> - <link href="../static/favicon.png" rel="icon" /> - <link href="../static/favicon.png" rel="shortcut icon" /> - <link media="all" type="text/css" href="../static/clojure.css" rel="stylesheet" /> - <link media="all" type="text/css" href="../static/wiki.css" rel="stylesheet" /> - <link media="all" type="text/css" href="../static/internal.css" rel="stylesheet" /> - <!-- TODO: are we using these (from clojure.org)? If so, add the files --> - <script src="file/view/code_highlighter.js" type="text/javascript"></script> - <script src="file/view/clojure.js" type="text/javascript"></script> - <style>.menuWrapper{height: 36px;}</style> - <!--[if lte IE 6]> - <link rel="stylesheet" href="http://www.wikispaces.com/_/2009051601/s/internal_ie.css" type="text/css" /> - <![endif]--> - </head> -<!-- -This document was auto-generated from the source by the clojure autodoc system. -To report errors or ask questions about the overall documentation structure, formatting, -etc., contact Tom Faulhaber (google mail name: tomfaulhaber). -For errors in the documentation of a particular namespace, contact the author of that -namespace. ---> - <body> - <div id="AllContentContainer"> - <div id="Header"> - <a id="Logo" href="index.html"><img alt="Clojure" height="100" width="100" src="../static/clojure-icon.gif" /></a> - <h1><a title="page header title" id="page-header" href="index.html">Clojure-contrib API Reference</a></h1> - </div> - <div id="leftcolumn"><div style="text-align: center;"></div> -<div class="menu"> - <div class="WikiCustomNav WikiElement wiki"> - <span class="toc-header"><span id="project-name">clojure-contrib</span> <span id="version">next</span> API</span><br /> - <ul> - <li><a class="wiki_link" href="index.html">Overview</a></li> - <li><a class="wiki_link" href="api-index.html">API Index</a></li> - </ul> - <span class="toc-header">Namespaces</span> - <ul id="left-sidebar-list"> - <li><a href="accumulators-api.html" class="wiki_link">accumulators</a></li><li><a href="agent-utils-api.html" class="wiki_link">agent-utils</a></li><li><a href="apply-macro-api.html" class="wiki_link">apply-macro</a></li><li><a href="base64-api.html" class="wiki_link">base64</a></li><li><a href="classpath-api.html" class="wiki_link">classpath</a></li><li><a href="combinatorics-api.html" class="wiki_link">combinatorics</a></li><li><a href="command-line-api.html" class="wiki_link">command-line</a></li><li><a href="complex-numbers-api.html" class="wiki_link">complex-numbers</a></li><li><a href="cond-api.html" class="wiki_link">cond</a></li><li><a href="condition-api.html" class="wiki_link">condition</a></li><li><a href="core-api.html" class="wiki_link">core</a></li><li><a href="dataflow-api.html" class="wiki_link">dataflow</a></li><li><a href="datalog-api.html" class="wiki_link">datalog</a></li><li><a href="def-api.html" class="wiki_link">def</a></li><li><a href="duck-streams-api.html" class="wiki_link">duck-streams</a></li><li><a href="error-kit-api.html" class="wiki_link">error-kit</a></li><li><a href="except-api.html" class="wiki_link">except</a></li><li><a href="fcase-api.html" class="wiki_link">fcase</a></li><li><a href="find-namespaces-api.html" class="wiki_link">find-namespaces</a></li><li><a href="fnmap-api.html" class="wiki_link">fnmap</a></li><li><a href="gen-html-docs-api.html" class="wiki_link">gen-html-docs</a></li><li><a href="generic.arithmetic-api.html" class="wiki_link">generic.arithmetic</a></li><li><a href="generic.collection-api.html" class="wiki_link">generic.collection</a></li><li><a href="generic.comparison-api.html" class="wiki_link">generic.comparison</a></li><li><a href="generic.functor-api.html" class="wiki_link">generic.functor</a></li><li><a href="generic.math-functions-api.html" class="wiki_link">generic.math-functions</a></li><li><a href="graph-api.html" class="wiki_link">graph</a></li><li><a href="greatest-least-api.html" class="wiki_link">greatest-least</a></li><li><a href="http.agent-api.html" class="wiki_link">http.agent</a></li><li><a href="http.connection-api.html" class="wiki_link">http.connection</a></li><li><a href="import-static-api.html" class="wiki_link">import-static</a></li><li><a href="io-api.html" class="wiki_link">io</a></li><li><a href="jar-api.html" class="wiki_link">jar</a></li><li><a href="java-utils-api.html" class="wiki_link">java-utils</a></li><li><a href="javadoc.browse-api.html" class="wiki_link">javadoc.browse</a></li><li><a href="jmx-api.html" class="wiki_link">jmx</a></li><li><a href="json-api.html" class="wiki_link">json</a></li><li><a href="lazy-seqs-api.html" class="wiki_link">lazy-seqs</a></li><li><a href="lazy-xml-api.html" class="wiki_link">lazy-xml</a></li><li><a href="logging-api.html" class="wiki_link">logging</a></li><li><a href="macro-utils-api.html" class="wiki_link">macro-utils</a></li><li><a href="macros-api.html" class="wiki_link">macros</a></li><li><a href="map-utils-api.html" class="wiki_link">map-utils</a></li><li><a href="math-api.html" class="wiki_link">math</a></li><li><a href="miglayout-api.html" class="wiki_link">miglayout</a></li><li><a href="mmap-api.html" class="wiki_link">mmap</a></li><li><a href="mock-api.html" class="wiki_link">mock</a></li><li><a href="monadic-io-streams-api.html" class="wiki_link">monadic-io-streams</a></li><li><a href="monads-api.html" class="wiki_link">monads</a></li><li><a href="ns-utils-api.html" class="wiki_link">ns-utils</a></li><li><a href="pprint-api.html" class="wiki_link">pprint</a></li><li><a href="priority-map-api.html" class="wiki_link">priority-map</a></li><li><a href="probabilities.finite-distributions-api.html" class="wiki_link">probabilities.finite-distributions</a></li><li><a href="probabilities.monte-carlo-api.html" class="wiki_link">probabilities.monte-carlo</a></li><li><a href="probabilities.random-numbers-api.html" class="wiki_link">probabilities.random-numbers</a></li><li><a href="profile-api.html" class="wiki_link">profile</a></li><li><a href="properties-api.html" class="wiki_link">properties</a></li><li><a href="prxml-api.html" class="wiki_link">prxml</a></li><li><a href="reflect-api.html" class="wiki_link">reflect</a></li><li><a href="repl-ln-api.html" class="wiki_link">repl-ln</a></li><li><a href="repl-utils-api.html" class="wiki_link">repl-utils</a></li><li><a href="seq-api.html" class="wiki_link">seq</a></li><li><a href="seq-utils-api.html" class="wiki_link">seq-utils</a></li><li><a href="server-socket-api.html" class="wiki_link">server-socket</a></li><li><a href="set-api.html" class="wiki_link">set</a></li><li><a href="shell-api.html" class="wiki_link">shell</a></li><li><a href="shell-out-api.html" class="wiki_link">shell-out</a></li><li><a href="singleton-api.html" class="wiki_link">singleton</a></li><li><a href="sql-api.html" class="wiki_link">sql</a></li><li><a href="str-utils-api.html" class="wiki_link">str-utils</a></li><li><a href="str-utils2-api.html" class="wiki_link">str-utils2</a></li><li><a href="stream-utils-api.html" class="wiki_link">stream-utils</a></li><li><a href="string-api.html" class="wiki_link">string</a></li><li><a href="strint-api.html" class="wiki_link">strint</a></li><li><a href="swing-utils-api.html" class="wiki_link">swing-utils</a></li><li><a href="test-is-api.html" class="wiki_link">test-is</a></li><li><a href="trace-api.html" class="wiki_link">trace</a></li><li><a href="types-api.html" class="wiki_link">types</a></li><li><a href="with-ns-api.html" class="wiki_link">with-ns</a></li><li><a href="zip-filter-api.html" class="wiki_link">zip-filter</a></li> - </ul> - <div class="BranchTOC"> - <span class="toc-header">Other Versions</span> - <ul id="left-sidebar-branch-list"> - <li><a href="../index.html" class="wiki_link">v1.2 (beta 1)</a></li><li><a href="../branch-1.1.x/index.html" class="wiki_link">v1.1 (stable)</a></li> - </ul> - </div> - <a href="http://clojure.org" class="wiki_link">Clojure Home</a> - </div> -</div> -</div> - <div id="rightcolumn"> - <div id="Content"> - <div class="contentBox"><div class="innerContentBox"> - <div id="content_view" class="wiki wikiPage"> - <div id="right-sidebar"><div id="toc"> - <h1 class="nopad">Table of Contents</h1> - <div style="margin-left: 1em;" class="toc-section"> - <a href="#toc0">Overview</a> - <div style="margin-left: 1em;" class="toc-entry"> - <a href="#clojure.contrib.shell/sh">sh</a> - </div> - <br /> - </div> -</div> -</div> - <div id="content-tag"><h1 id="overview">API for <span id="namespace-name">shell</span> - - <span id="header-project">clojure-contrib</span> <span id="header-version">next</span> (<span id="header-status">in development</span>) - </h1> -<span id="author-line">by <span id="author-name">Chris Houser</span><br /></span> -<br />Usage: -<pre> -(ns your-namespace - (:require <span id="long-name">clojure.contrib.shell</span>)) -</pre><pre> -</pre><h2>Overview</h2> -<pre id="namespace-docstr">Conveniently launch a sub-process providing to its stdin and -collecting its stdout</pre> - -<span class="ns-deprecated"><span id="content">Deprecated since clojure-contrib version 1.2</span><br /></span> -<br /> -<h2>Public Variables and Functions</h2> -<div id="var-entry"> - <br /> - <hr /> - <h2 id="clojure.contrib.shell/sh">sh</h2> - <span id="var-type">function</span><br /> - <pre id="var-usage">Usage: (sh & args) -</pre> - <pre id="var-docstr">Passes the given strings to Runtime.exec() to launch a sub-process. - -Options are - -:in may be given followed by a String specifying text to be fed to the - sub-process's stdin. -:out option may be given followed by :bytes or a String. If a String - is given, it will be used as a character encoding name (for - example "UTF-8" or "ISO-8859-1") to convert the - sub-process's stdout to a String which is returned. - If :bytes is given, the sub-process's stdout will be stored in - a byte array and returned. Defaults to UTF-8. -:return-map - when followed by boolean true, sh returns a map of - :exit => sub-process's exit code - :out => sub-process's stdout (as byte[] or String) - :err => sub-process's stderr (as byte[] or String) - when not given or followed by false, sh returns a single - array or String of the sub-process's stdout followed by its - stderr -:env override the process env with a map (or the underlying Java - String[] if you are a masochist). -:dir override the process dir with a String or java.io.File. - -You can bind :env or :dir for multiple operations using with-sh-env -and with-sh-dir.</pre> - - - <a href="http://github.com/richhickey/clojure-contrib/blob/d155128295ec03da586b04a665bc943e176c189c/src/main/clojure/clojure/contrib/shell.clj#L86" id="var-source">Source</a> -</div> - - -</div> - </div> - </div> - </div> - </div> - <div id="foot"> - <div style="text-align: center;" id="copyright">Copyright 2007-2009 by Rich Hickey and the various contributors</div> - </div> - </div> - <div id="DesignedBy">Logo & site design by <a title="Visit Tom Hickey's website." href="http://www.tomhickey.com">Tom Hickey</a>.<br /> - Clojure auto-documentation system by Tom Faulhaber.</div> - </div> - <!-- /AllContentContainer --> - </body> - -</html>
\ No newline at end of file diff --git a/branch-master/shell-out-api.html b/branch-master/shell-out-api.html deleted file mode 100644 index 3238e864..00000000 --- a/branch-master/shell-out-api.html +++ /dev/null @@ -1,137 +0,0 @@ -<html> - <head> - <title>shell-out - clojure-contrib next API documentation</title> - <link href="../static/favicon.png" rel="icon" /> - <link href="../static/favicon.png" rel="shortcut icon" /> - <link media="all" type="text/css" href="../static/clojure.css" rel="stylesheet" /> - <link media="all" type="text/css" href="../static/wiki.css" rel="stylesheet" /> - <link media="all" type="text/css" href="../static/internal.css" rel="stylesheet" /> - <!-- TODO: are we using these (from clojure.org)? If so, add the files --> - <script src="file/view/code_highlighter.js" type="text/javascript"></script> - <script src="file/view/clojure.js" type="text/javascript"></script> - <style>.menuWrapper{height: 36px;}</style> - <!--[if lte IE 6]> - <link rel="stylesheet" href="http://www.wikispaces.com/_/2009051601/s/internal_ie.css" type="text/css" /> - <![endif]--> - </head> -<!-- -This document was auto-generated from the source by the clojure autodoc system. -To report errors or ask questions about the overall documentation structure, formatting, -etc., contact Tom Faulhaber (google mail name: tomfaulhaber). -For errors in the documentation of a particular namespace, contact the author of that -namespace. ---> - <body> - <div id="AllContentContainer"> - <div id="Header"> - <a id="Logo" href="index.html"><img alt="Clojure" height="100" width="100" src="../static/clojure-icon.gif" /></a> - <h1><a title="page header title" id="page-header" href="index.html">Clojure-contrib API Reference</a></h1> - </div> - <div id="leftcolumn"><div style="text-align: center;"></div> -<div class="menu"> - <div class="WikiCustomNav WikiElement wiki"> - <span class="toc-header"><span id="project-name">clojure-contrib</span> <span id="version">next</span> API</span><br /> - <ul> - <li><a class="wiki_link" href="index.html">Overview</a></li> - <li><a class="wiki_link" href="api-index.html">API Index</a></li> - </ul> - <span class="toc-header">Namespaces</span> - <ul id="left-sidebar-list"> - <li><a href="accumulators-api.html" class="wiki_link">accumulators</a></li><li><a href="agent-utils-api.html" class="wiki_link">agent-utils</a></li><li><a href="apply-macro-api.html" class="wiki_link">apply-macro</a></li><li><a href="base64-api.html" class="wiki_link">base64</a></li><li><a href="classpath-api.html" class="wiki_link">classpath</a></li><li><a href="combinatorics-api.html" class="wiki_link">combinatorics</a></li><li><a href="command-line-api.html" class="wiki_link">command-line</a></li><li><a href="complex-numbers-api.html" class="wiki_link">complex-numbers</a></li><li><a href="cond-api.html" class="wiki_link">cond</a></li><li><a href="condition-api.html" class="wiki_link">condition</a></li><li><a href="core-api.html" class="wiki_link">core</a></li><li><a href="dataflow-api.html" class="wiki_link">dataflow</a></li><li><a href="datalog-api.html" class="wiki_link">datalog</a></li><li><a href="def-api.html" class="wiki_link">def</a></li><li><a href="duck-streams-api.html" class="wiki_link">duck-streams</a></li><li><a href="error-kit-api.html" class="wiki_link">error-kit</a></li><li><a href="except-api.html" class="wiki_link">except</a></li><li><a href="fcase-api.html" class="wiki_link">fcase</a></li><li><a href="find-namespaces-api.html" class="wiki_link">find-namespaces</a></li><li><a href="fnmap-api.html" class="wiki_link">fnmap</a></li><li><a href="gen-html-docs-api.html" class="wiki_link">gen-html-docs</a></li><li><a href="generic.arithmetic-api.html" class="wiki_link">generic.arithmetic</a></li><li><a href="generic.collection-api.html" class="wiki_link">generic.collection</a></li><li><a href="generic.comparison-api.html" class="wiki_link">generic.comparison</a></li><li><a href="generic.functor-api.html" class="wiki_link">generic.functor</a></li><li><a href="generic.math-functions-api.html" class="wiki_link">generic.math-functions</a></li><li><a href="graph-api.html" class="wiki_link">graph</a></li><li><a href="greatest-least-api.html" class="wiki_link">greatest-least</a></li><li><a href="http.agent-api.html" class="wiki_link">http.agent</a></li><li><a href="http.connection-api.html" class="wiki_link">http.connection</a></li><li><a href="import-static-api.html" class="wiki_link">import-static</a></li><li><a href="io-api.html" class="wiki_link">io</a></li><li><a href="jar-api.html" class="wiki_link">jar</a></li><li><a href="java-utils-api.html" class="wiki_link">java-utils</a></li><li><a href="javadoc.browse-api.html" class="wiki_link">javadoc.browse</a></li><li><a href="jmx-api.html" class="wiki_link">jmx</a></li><li><a href="json-api.html" class="wiki_link">json</a></li><li><a href="lazy-seqs-api.html" class="wiki_link">lazy-seqs</a></li><li><a href="lazy-xml-api.html" class="wiki_link">lazy-xml</a></li><li><a href="logging-api.html" class="wiki_link">logging</a></li><li><a href="macro-utils-api.html" class="wiki_link">macro-utils</a></li><li><a href="macros-api.html" class="wiki_link">macros</a></li><li><a href="map-utils-api.html" class="wiki_link">map-utils</a></li><li><a href="math-api.html" class="wiki_link">math</a></li><li><a href="miglayout-api.html" class="wiki_link">miglayout</a></li><li><a href="mmap-api.html" class="wiki_link">mmap</a></li><li><a href="mock-api.html" class="wiki_link">mock</a></li><li><a href="monadic-io-streams-api.html" class="wiki_link">monadic-io-streams</a></li><li><a href="monads-api.html" class="wiki_link">monads</a></li><li><a href="ns-utils-api.html" class="wiki_link">ns-utils</a></li><li><a href="pprint-api.html" class="wiki_link">pprint</a></li><li><a href="priority-map-api.html" class="wiki_link">priority-map</a></li><li><a href="probabilities.finite-distributions-api.html" class="wiki_link">probabilities.finite-distributions</a></li><li><a href="probabilities.monte-carlo-api.html" class="wiki_link">probabilities.monte-carlo</a></li><li><a href="probabilities.random-numbers-api.html" class="wiki_link">probabilities.random-numbers</a></li><li><a href="profile-api.html" class="wiki_link">profile</a></li><li><a href="properties-api.html" class="wiki_link">properties</a></li><li><a href="prxml-api.html" class="wiki_link">prxml</a></li><li><a href="reflect-api.html" class="wiki_link">reflect</a></li><li><a href="repl-ln-api.html" class="wiki_link">repl-ln</a></li><li><a href="repl-utils-api.html" class="wiki_link">repl-utils</a></li><li><a href="seq-api.html" class="wiki_link">seq</a></li><li><a href="seq-utils-api.html" class="wiki_link">seq-utils</a></li><li><a href="server-socket-api.html" class="wiki_link">server-socket</a></li><li><a href="set-api.html" class="wiki_link">set</a></li><li><a href="shell-api.html" class="wiki_link">shell</a></li><li><a href="shell-out-api.html" class="wiki_link">shell-out</a></li><li><a href="singleton-api.html" class="wiki_link">singleton</a></li><li><a href="sql-api.html" class="wiki_link">sql</a></li><li><a href="str-utils-api.html" class="wiki_link">str-utils</a></li><li><a href="str-utils2-api.html" class="wiki_link">str-utils2</a></li><li><a href="stream-utils-api.html" class="wiki_link">stream-utils</a></li><li><a href="string-api.html" class="wiki_link">string</a></li><li><a href="strint-api.html" class="wiki_link">strint</a></li><li><a href="swing-utils-api.html" class="wiki_link">swing-utils</a></li><li><a href="test-is-api.html" class="wiki_link">test-is</a></li><li><a href="trace-api.html" class="wiki_link">trace</a></li><li><a href="types-api.html" class="wiki_link">types</a></li><li><a href="with-ns-api.html" class="wiki_link">with-ns</a></li><li><a href="zip-filter-api.html" class="wiki_link">zip-filter</a></li> - </ul> - <div class="BranchTOC"> - <span class="toc-header">Other Versions</span> - <ul id="left-sidebar-branch-list"> - <li><a href="../index.html" class="wiki_link">v1.2 (beta 1)</a></li><li><a href="../branch-1.1.x/index.html" class="wiki_link">v1.1 (stable)</a></li> - </ul> - </div> - <a href="http://clojure.org" class="wiki_link">Clojure Home</a> - </div> -</div> -</div> - <div id="rightcolumn"> - <div id="Content"> - <div class="contentBox"><div class="innerContentBox"> - <div id="content_view" class="wiki wikiPage"> - <div id="right-sidebar"><div id="toc"> - <h1 class="nopad">Table of Contents</h1> - <div style="margin-left: 1em;" class="toc-section"> - <a href="#toc0">Overview</a> - <div style="margin-left: 1em;" class="toc-entry"> - <a href="#clojure.contrib.shell-out/sh">sh</a> - </div> - <br /> - </div> -</div> -</div> - <div id="content-tag"><h1 id="overview">API for <span id="namespace-name">shell-out</span> - - <span id="header-project">clojure-contrib</span> <span id="header-version">next</span> (<span id="header-status">in development</span>) - </h1> -<span id="author-line">by <span id="author-name">Chris Houser</span><br /></span> -<br />Usage: -<pre> -(ns your-namespace - (:require <span id="long-name">clojure.contrib.shell-out</span>)) -</pre><pre> -</pre><h2>Overview</h2> -<pre id="namespace-docstr">Conveniently launch a sub-process providing to its stdin and -collecting its stdout</pre> - -<span class="ns-deprecated"><span id="content">Deprecated since clojure-contrib version 1.2</span><br /></span> -<br /> -<h2>Public Variables and Functions</h2> -<div id="var-entry"> - <br /> - <hr /> - <h2 id="clojure.contrib.shell-out/sh">sh</h2> - <span id="var-type">function</span><br /> - <pre id="var-usage">Usage: (sh & args) -</pre> - <pre id="var-docstr">Passes the given strings to Runtime.exec() to launch a sub-process. - -Options are - -:in may be given followed by a String specifying text to be fed to the - sub-process's stdin. -:out option may be given followed by :bytes or a String. If a String - is given, it will be used as a character encoding name (for - example "UTF-8" or "ISO-8859-1") to convert the - sub-process's stdout to a String which is returned. - If :bytes is given, the sub-process's stdout will be stored in - a byte array and returned. Defaults to UTF-8. -:return-map - when followed by boolean true, sh returns a map of - :exit => sub-process's exit code - :out => sub-process's stdout (as byte[] or String) - :err => sub-process's stderr (as byte[] or String) - when not given or followed by false, sh returns a single - array or String of the sub-process's stdout followed by its - stderr -:env override the process env with a map (or the underlying Java - String[] if you are a masochist). -:dir override the process dir with a String or java.io.File. - -You can bind :env or :dir for multiple operations using with-sh-env -and with-sh-dir.</pre> - - - <a href="http://github.com/richhickey/clojure-contrib/blob/d155128295ec03da586b04a665bc943e176c189c/src/main/clojure/clojure/contrib/shell_out.clj#L86" id="var-source">Source</a> -</div> - - -</div> - </div> - </div> - </div> - </div> - <div id="foot"> - <div style="text-align: center;" id="copyright">Copyright 2007-2009 by Rich Hickey and the various contributors</div> - </div> - </div> - <div id="DesignedBy">Logo & site design by <a title="Visit Tom Hickey's website." href="http://www.tomhickey.com">Tom Hickey</a>.<br /> - Clojure auto-documentation system by Tom Faulhaber.</div> - </div> - <!-- /AllContentContainer --> - </body> - -</html>
\ No newline at end of file diff --git a/branch-master/singleton-api.html b/branch-master/singleton-api.html deleted file mode 100644 index 3c630712..00000000 --- a/branch-master/singleton-api.html +++ /dev/null @@ -1,139 +0,0 @@ -<html> - <head> - <title>singleton - clojure-contrib next API documentation</title> - <link href="../static/favicon.png" rel="icon" /> - <link href="../static/favicon.png" rel="shortcut icon" /> - <link media="all" type="text/css" href="../static/clojure.css" rel="stylesheet" /> - <link media="all" type="text/css" href="../static/wiki.css" rel="stylesheet" /> - <link media="all" type="text/css" href="../static/internal.css" rel="stylesheet" /> - <!-- TODO: are we using these (from clojure.org)? If so, add the files --> - <script src="file/view/code_highlighter.js" type="text/javascript"></script> - <script src="file/view/clojure.js" type="text/javascript"></script> - <style>.menuWrapper{height: 36px;}</style> - <!--[if lte IE 6]> - <link rel="stylesheet" href="http://www.wikispaces.com/_/2009051601/s/internal_ie.css" type="text/css" /> - <![endif]--> - </head> -<!-- -This document was auto-generated from the source by the clojure autodoc system. -To report errors or ask questions about the overall documentation structure, formatting, -etc., contact Tom Faulhaber (google mail name: tomfaulhaber). -For errors in the documentation of a particular namespace, contact the author of that -namespace. ---> - <body> - <div id="AllContentContainer"> - <div id="Header"> - <a id="Logo" href="index.html"><img alt="Clojure" height="100" width="100" src="../static/clojure-icon.gif" /></a> - <h1><a title="page header title" id="page-header" href="index.html">Clojure-contrib API Reference</a></h1> - </div> - <div id="leftcolumn"><div style="text-align: center;"></div> -<div class="menu"> - <div class="WikiCustomNav WikiElement wiki"> - <span class="toc-header"><span id="project-name">clojure-contrib</span> <span id="version">next</span> API</span><br /> - <ul> - <li><a class="wiki_link" href="index.html">Overview</a></li> - <li><a class="wiki_link" href="api-index.html">API Index</a></li> - </ul> - <span class="toc-header">Namespaces</span> - <ul id="left-sidebar-list"> - <li><a href="accumulators-api.html" class="wiki_link">accumulators</a></li><li><a href="agent-utils-api.html" class="wiki_link">agent-utils</a></li><li><a href="apply-macro-api.html" class="wiki_link">apply-macro</a></li><li><a href="base64-api.html" class="wiki_link">base64</a></li><li><a href="classpath-api.html" class="wiki_link">classpath</a></li><li><a href="combinatorics-api.html" class="wiki_link">combinatorics</a></li><li><a href="command-line-api.html" class="wiki_link">command-line</a></li><li><a href="complex-numbers-api.html" class="wiki_link">complex-numbers</a></li><li><a href="cond-api.html" class="wiki_link">cond</a></li><li><a href="condition-api.html" class="wiki_link">condition</a></li><li><a href="core-api.html" class="wiki_link">core</a></li><li><a href="dataflow-api.html" class="wiki_link">dataflow</a></li><li><a href="datalog-api.html" class="wiki_link">datalog</a></li><li><a href="def-api.html" class="wiki_link">def</a></li><li><a href="duck-streams-api.html" class="wiki_link">duck-streams</a></li><li><a href="error-kit-api.html" class="wiki_link">error-kit</a></li><li><a href="except-api.html" class="wiki_link">except</a></li><li><a href="fcase-api.html" class="wiki_link">fcase</a></li><li><a href="find-namespaces-api.html" class="wiki_link">find-namespaces</a></li><li><a href="fnmap-api.html" class="wiki_link">fnmap</a></li><li><a href="gen-html-docs-api.html" class="wiki_link">gen-html-docs</a></li><li><a href="generic.arithmetic-api.html" class="wiki_link">generic.arithmetic</a></li><li><a href="generic.collection-api.html" class="wiki_link">generic.collection</a></li><li><a href="generic.comparison-api.html" class="wiki_link">generic.comparison</a></li><li><a href="generic.functor-api.html" class="wiki_link">generic.functor</a></li><li><a href="generic.math-functions-api.html" class="wiki_link">generic.math-functions</a></li><li><a href="graph-api.html" class="wiki_link">graph</a></li><li><a href="greatest-least-api.html" class="wiki_link">greatest-least</a></li><li><a href="http.agent-api.html" class="wiki_link">http.agent</a></li><li><a href="http.connection-api.html" class="wiki_link">http.connection</a></li><li><a href="import-static-api.html" class="wiki_link">import-static</a></li><li><a href="io-api.html" class="wiki_link">io</a></li><li><a href="jar-api.html" class="wiki_link">jar</a></li><li><a href="java-utils-api.html" class="wiki_link">java-utils</a></li><li><a href="javadoc.browse-api.html" class="wiki_link">javadoc.browse</a></li><li><a href="jmx-api.html" class="wiki_link">jmx</a></li><li><a href="json-api.html" class="wiki_link">json</a></li><li><a href="lazy-seqs-api.html" class="wiki_link">lazy-seqs</a></li><li><a href="lazy-xml-api.html" class="wiki_link">lazy-xml</a></li><li><a href="logging-api.html" class="wiki_link">logging</a></li><li><a href="macro-utils-api.html" class="wiki_link">macro-utils</a></li><li><a href="macros-api.html" class="wiki_link">macros</a></li><li><a href="map-utils-api.html" class="wiki_link">map-utils</a></li><li><a href="math-api.html" class="wiki_link">math</a></li><li><a href="miglayout-api.html" class="wiki_link">miglayout</a></li><li><a href="mmap-api.html" class="wiki_link">mmap</a></li><li><a href="mock-api.html" class="wiki_link">mock</a></li><li><a href="monadic-io-streams-api.html" class="wiki_link">monadic-io-streams</a></li><li><a href="monads-api.html" class="wiki_link">monads</a></li><li><a href="ns-utils-api.html" class="wiki_link">ns-utils</a></li><li><a href="pprint-api.html" class="wiki_link">pprint</a></li><li><a href="priority-map-api.html" class="wiki_link">priority-map</a></li><li><a href="probabilities.finite-distributions-api.html" class="wiki_link">probabilities.finite-distributions</a></li><li><a href="probabilities.monte-carlo-api.html" class="wiki_link">probabilities.monte-carlo</a></li><li><a href="probabilities.random-numbers-api.html" class="wiki_link">probabilities.random-numbers</a></li><li><a href="profile-api.html" class="wiki_link">profile</a></li><li><a href="properties-api.html" class="wiki_link">properties</a></li><li><a href="prxml-api.html" class="wiki_link">prxml</a></li><li><a href="reflect-api.html" class="wiki_link">reflect</a></li><li><a href="repl-ln-api.html" class="wiki_link">repl-ln</a></li><li><a href="repl-utils-api.html" class="wiki_link">repl-utils</a></li><li><a href="seq-api.html" class="wiki_link">seq</a></li><li><a href="seq-utils-api.html" class="wiki_link">seq-utils</a></li><li><a href="server-socket-api.html" class="wiki_link">server-socket</a></li><li><a href="set-api.html" class="wiki_link">set</a></li><li><a href="shell-api.html" class="wiki_link">shell</a></li><li><a href="shell-out-api.html" class="wiki_link">shell-out</a></li><li><a href="singleton-api.html" class="wiki_link">singleton</a></li><li><a href="sql-api.html" class="wiki_link">sql</a></li><li><a href="str-utils-api.html" class="wiki_link">str-utils</a></li><li><a href="str-utils2-api.html" class="wiki_link">str-utils2</a></li><li><a href="stream-utils-api.html" class="wiki_link">stream-utils</a></li><li><a href="string-api.html" class="wiki_link">string</a></li><li><a href="strint-api.html" class="wiki_link">strint</a></li><li><a href="swing-utils-api.html" class="wiki_link">swing-utils</a></li><li><a href="test-is-api.html" class="wiki_link">test-is</a></li><li><a href="trace-api.html" class="wiki_link">trace</a></li><li><a href="types-api.html" class="wiki_link">types</a></li><li><a href="with-ns-api.html" class="wiki_link">with-ns</a></li><li><a href="zip-filter-api.html" class="wiki_link">zip-filter</a></li> - </ul> - <div class="BranchTOC"> - <span class="toc-header">Other Versions</span> - <ul id="left-sidebar-branch-list"> - <li><a href="../index.html" class="wiki_link">v1.2 (beta 1)</a></li><li><a href="../branch-1.1.x/index.html" class="wiki_link">v1.1 (stable)</a></li> - </ul> - </div> - <a href="http://clojure.org" class="wiki_link">Clojure Home</a> - </div> -</div> -</div> - <div id="rightcolumn"> - <div id="Content"> - <div class="contentBox"><div class="innerContentBox"> - <div id="content_view" class="wiki wikiPage"> - <div id="right-sidebar"><div id="toc"> - <h1 class="nopad">Table of Contents</h1> - <div style="margin-left: 1em;" class="toc-section"> - <a href="#toc0">Overview</a> - <div style="margin-left: 1em;" class="toc-entry"> - <a href="#clojure.contrib.singleton/global-singleton">global-singleton</a> - </div><div style="margin-left: 1em;" class="toc-entry"> - <a href="#clojure.contrib.singleton/per-thread-singleton">per-thread-singleton</a> - </div> - <br /> - </div> -</div> -</div> - <div id="content-tag"><h1 id="overview">API for <span id="namespace-name">singleton</span> - - <span id="header-project">clojure-contrib</span> <span id="header-version">next</span> (<span id="header-status">in development</span>) - </h1> -<span id="author-line">by <span id="author-name">Stuart Sierra</span><br /></span> -<br />Usage: -<pre> -(ns your-namespace - (:require <span id="long-name">clojure.contrib.singleton</span>)) -</pre><pre> -</pre><h2>Overview</h2> -<pre id="namespace-docstr">Singleton functions</pre> - - -<br /> -<h2>Public Variables and Functions</h2> -<div id="var-entry"> - <br /> - <hr /> - <h2 id="clojure.contrib.singleton/global-singleton">global-singleton</h2> - <span id="var-type">function</span><br /> - <pre id="var-usage">Usage: (global-singleton f) -</pre> - <pre id="var-docstr">Returns a global singleton function. f is a function of no -arguments that creates and returns some object. The singleton -function will call f just once, the first time it is needed, and -cache the value for all subsequent calls. - -Warning: global singletons are often unsafe in multi-threaded code. -Consider per-thread-singleton instead.</pre> - - - <a href="http://github.com/richhickey/clojure-contrib/blob/7188a51605136f36524e4091fe806859114d6056/src/main/clojure/clojure/contrib/singleton.clj#L28" id="var-source">Source</a> -</div><div id="var-entry"> - <br /> - <hr /> - <h2 id="clojure.contrib.singleton/per-thread-singleton">per-thread-singleton</h2> - <span id="var-type">function</span><br /> - <pre id="var-usage">Usage: (per-thread-singleton f) -</pre> - <pre id="var-docstr">Returns a per-thread singleton function. f is a function of no -arguments that creates and returns some object. The singleton -function will call f only once for each thread, and cache its value -for subsequent calls from the same thread. This allows you to -safely and lazily initialize shared objects on a per-thread basis. - -Warning: due to a bug in JDK 5, it may not be safe to use a -per-thread-singleton in the initialization function for another -per-thread-singleton. See -<a href="http://bugs.sun.com/bugdatabase/view_bug.do?bug_id=5025230">http://bugs.sun.com/bugdatabase/view_bug.do?bug_id=5025230</a></pre> - - - <a href="http://github.com/richhickey/clojure-contrib/blob/7188a51605136f36524e4091fe806859114d6056/src/main/clojure/clojure/contrib/singleton.clj#L41" id="var-source">Source</a> -</div> - - -</div> - </div> - </div> - </div> - </div> - <div id="foot"> - <div style="text-align: center;" id="copyright">Copyright 2007-2009 by Rich Hickey and the various contributors</div> - </div> - </div> - <div id="DesignedBy">Logo & site design by <a title="Visit Tom Hickey's website." href="http://www.tomhickey.com">Tom Hickey</a>.<br /> - Clojure auto-documentation system by Tom Faulhaber.</div> - </div> - <!-- /AllContentContainer --> - </body> - -</html>
\ No newline at end of file diff --git a/branch-master/sql-api.html b/branch-master/sql-api.html deleted file mode 100644 index b16baba0..00000000 --- a/branch-master/sql-api.html +++ /dev/null @@ -1,549 +0,0 @@ -<html> - <head> - <title>sql - clojure-contrib next API documentation</title> - <link href="../static/favicon.png" rel="icon" /> - <link href="../static/favicon.png" rel="shortcut icon" /> - <link media="all" type="text/css" href="../static/clojure.css" rel="stylesheet" /> - <link media="all" type="text/css" href="../static/wiki.css" rel="stylesheet" /> - <link media="all" type="text/css" href="../static/internal.css" rel="stylesheet" /> - <!-- TODO: are we using these (from clojure.org)? If so, add the files --> - <script src="file/view/code_highlighter.js" type="text/javascript"></script> - <script src="file/view/clojure.js" type="text/javascript"></script> - <style>.menuWrapper{height: 36px;}</style> - <!--[if lte IE 6]> - <link rel="stylesheet" href="http://www.wikispaces.com/_/2009051601/s/internal_ie.css" type="text/css" /> - <![endif]--> - </head> -<!-- -This document was auto-generated from the source by the clojure autodoc system. -To report errors or ask questions about the overall documentation structure, formatting, -etc., contact Tom Faulhaber (google mail name: tomfaulhaber). -For errors in the documentation of a particular namespace, contact the author of that -namespace. ---> - <body> - <div id="AllContentContainer"> - <div id="Header"> - <a id="Logo" href="index.html"><img alt="Clojure" height="100" width="100" src="../static/clojure-icon.gif" /></a> - <h1><a title="page header title" id="page-header" href="index.html">Clojure-contrib API Reference</a></h1> - </div> - <div id="leftcolumn"><div style="text-align: center;"></div> -<div class="menu"> - <div class="WikiCustomNav WikiElement wiki"> - <span class="toc-header"><span id="project-name">clojure-contrib</span> <span id="version">next</span> API</span><br /> - <ul> - <li><a class="wiki_link" href="index.html">Overview</a></li> - <li><a class="wiki_link" href="api-index.html">API Index</a></li> - </ul> - <span class="toc-header">Namespaces</span> - <ul id="left-sidebar-list"> - <li><a href="accumulators-api.html" class="wiki_link">accumulators</a></li><li><a href="agent-utils-api.html" class="wiki_link">agent-utils</a></li><li><a href="apply-macro-api.html" class="wiki_link">apply-macro</a></li><li><a href="base64-api.html" class="wiki_link">base64</a></li><li><a href="classpath-api.html" class="wiki_link">classpath</a></li><li><a href="combinatorics-api.html" class="wiki_link">combinatorics</a></li><li><a href="command-line-api.html" class="wiki_link">command-line</a></li><li><a href="complex-numbers-api.html" class="wiki_link">complex-numbers</a></li><li><a href="cond-api.html" class="wiki_link">cond</a></li><li><a href="condition-api.html" class="wiki_link">condition</a></li><li><a href="core-api.html" class="wiki_link">core</a></li><li><a href="dataflow-api.html" class="wiki_link">dataflow</a></li><li><a href="datalog-api.html" class="wiki_link">datalog</a></li><li><a href="def-api.html" class="wiki_link">def</a></li><li><a href="duck-streams-api.html" class="wiki_link">duck-streams</a></li><li><a href="error-kit-api.html" class="wiki_link">error-kit</a></li><li><a href="except-api.html" class="wiki_link">except</a></li><li><a href="fcase-api.html" class="wiki_link">fcase</a></li><li><a href="find-namespaces-api.html" class="wiki_link">find-namespaces</a></li><li><a href="fnmap-api.html" class="wiki_link">fnmap</a></li><li><a href="gen-html-docs-api.html" class="wiki_link">gen-html-docs</a></li><li><a href="generic.arithmetic-api.html" class="wiki_link">generic.arithmetic</a></li><li><a href="generic.collection-api.html" class="wiki_link">generic.collection</a></li><li><a href="generic.comparison-api.html" class="wiki_link">generic.comparison</a></li><li><a href="generic.functor-api.html" class="wiki_link">generic.functor</a></li><li><a href="generic.math-functions-api.html" class="wiki_link">generic.math-functions</a></li><li><a href="graph-api.html" class="wiki_link">graph</a></li><li><a href="greatest-least-api.html" class="wiki_link">greatest-least</a></li><li><a href="http.agent-api.html" class="wiki_link">http.agent</a></li><li><a href="http.connection-api.html" class="wiki_link">http.connection</a></li><li><a href="import-static-api.html" class="wiki_link">import-static</a></li><li><a href="io-api.html" class="wiki_link">io</a></li><li><a href="jar-api.html" class="wiki_link">jar</a></li><li><a href="java-utils-api.html" class="wiki_link">java-utils</a></li><li><a href="javadoc.browse-api.html" class="wiki_link">javadoc.browse</a></li><li><a href="jmx-api.html" class="wiki_link">jmx</a></li><li><a href="json-api.html" class="wiki_link">json</a></li><li><a href="lazy-seqs-api.html" class="wiki_link">lazy-seqs</a></li><li><a href="lazy-xml-api.html" class="wiki_link">lazy-xml</a></li><li><a href="logging-api.html" class="wiki_link">logging</a></li><li><a href="macro-utils-api.html" class="wiki_link">macro-utils</a></li><li><a href="macros-api.html" class="wiki_link">macros</a></li><li><a href="map-utils-api.html" class="wiki_link">map-utils</a></li><li><a href="math-api.html" class="wiki_link">math</a></li><li><a href="miglayout-api.html" class="wiki_link">miglayout</a></li><li><a href="mmap-api.html" class="wiki_link">mmap</a></li><li><a href="mock-api.html" class="wiki_link">mock</a></li><li><a href="monadic-io-streams-api.html" class="wiki_link">monadic-io-streams</a></li><li><a href="monads-api.html" class="wiki_link">monads</a></li><li><a href="ns-utils-api.html" class="wiki_link">ns-utils</a></li><li><a href="pprint-api.html" class="wiki_link">pprint</a></li><li><a href="priority-map-api.html" class="wiki_link">priority-map</a></li><li><a href="probabilities.finite-distributions-api.html" class="wiki_link">probabilities.finite-distributions</a></li><li><a href="probabilities.monte-carlo-api.html" class="wiki_link">probabilities.monte-carlo</a></li><li><a href="probabilities.random-numbers-api.html" class="wiki_link">probabilities.random-numbers</a></li><li><a href="profile-api.html" class="wiki_link">profile</a></li><li><a href="properties-api.html" class="wiki_link">properties</a></li><li><a href="prxml-api.html" class="wiki_link">prxml</a></li><li><a href="reflect-api.html" class="wiki_link">reflect</a></li><li><a href="repl-ln-api.html" class="wiki_link">repl-ln</a></li><li><a href="repl-utils-api.html" class="wiki_link">repl-utils</a></li><li><a href="seq-api.html" class="wiki_link">seq</a></li><li><a href="seq-utils-api.html" class="wiki_link">seq-utils</a></li><li><a href="server-socket-api.html" class="wiki_link">server-socket</a></li><li><a href="set-api.html" class="wiki_link">set</a></li><li><a href="shell-api.html" class="wiki_link">shell</a></li><li><a href="shell-out-api.html" class="wiki_link">shell-out</a></li><li><a href="singleton-api.html" class="wiki_link">singleton</a></li><li><a href="sql-api.html" class="wiki_link">sql</a></li><li><a href="str-utils-api.html" class="wiki_link">str-utils</a></li><li><a href="str-utils2-api.html" class="wiki_link">str-utils2</a></li><li><a href="stream-utils-api.html" class="wiki_link">stream-utils</a></li><li><a href="string-api.html" class="wiki_link">string</a></li><li><a href="strint-api.html" class="wiki_link">strint</a></li><li><a href="swing-utils-api.html" class="wiki_link">swing-utils</a></li><li><a href="test-is-api.html" class="wiki_link">test-is</a></li><li><a href="trace-api.html" class="wiki_link">trace</a></li><li><a href="types-api.html" class="wiki_link">types</a></li><li><a href="with-ns-api.html" class="wiki_link">with-ns</a></li><li><a href="zip-filter-api.html" class="wiki_link">zip-filter</a></li> - </ul> - <div class="BranchTOC"> - <span class="toc-header">Other Versions</span> - <ul id="left-sidebar-branch-list"> - <li><a href="../index.html" class="wiki_link">v1.2 (beta 1)</a></li><li><a href="../branch-1.1.x/index.html" class="wiki_link">v1.1 (stable)</a></li> - </ul> - </div> - <a href="http://clojure.org" class="wiki_link">Clojure Home</a> - </div> -</div> -</div> - <div id="rightcolumn"> - <div id="Content"> - <div class="contentBox"><div class="innerContentBox"> - <div id="content_view" class="wiki wikiPage"> - <div id="right-sidebar"><div id="toc"> - <h1 class="nopad">Table of Contents</h1> - <div style="margin-left: 1em;" class="toc-section"> - <a href="#toc0">Overview</a> - <div style="margin-left: 1em;" class="toc-entry"> - <a href="#clojure.contrib.sql/connection">connection</a> - </div><div style="margin-left: 1em;" class="toc-entry"> - <a href="#clojure.contrib.sql/create-table">create-table</a> - </div><div style="margin-left: 1em;" class="toc-entry"> - <a href="#clojure.contrib.sql/delete-rows">delete-rows</a> - </div><div style="margin-left: 1em;" class="toc-entry"> - <a href="#clojure.contrib.sql/do-commands">do-commands</a> - </div><div style="margin-left: 1em;" class="toc-entry"> - <a href="#clojure.contrib.sql/do-prepared">do-prepared</a> - </div><div style="margin-left: 1em;" class="toc-entry"> - <a href="#clojure.contrib.sql/drop-table">drop-table</a> - </div><div style="margin-left: 1em;" class="toc-entry"> - <a href="#clojure.contrib.sql/find-connection">find-connection</a> - </div><div style="margin-left: 1em;" class="toc-entry"> - <a href="#clojure.contrib.sql/insert-records">insert-records</a> - </div><div style="margin-left: 1em;" class="toc-entry"> - <a href="#clojure.contrib.sql/insert-rows">insert-rows</a> - </div><div style="margin-left: 1em;" class="toc-entry"> - <a href="#clojure.contrib.sql/insert-values">insert-values</a> - </div><div style="margin-left: 1em;" class="toc-entry"> - <a href="#clojure.contrib.sql/is-rollback-only">is-rollback-only</a> - </div><div style="margin-left: 1em;" class="toc-entry"> - <a href="#clojure.contrib.sql/set-rollback-only">set-rollback-only</a> - </div><div style="margin-left: 1em;" class="toc-entry"> - <a href="#clojure.contrib.sql/transaction">transaction</a> - </div><div style="margin-left: 1em;" class="toc-entry"> - <a href="#clojure.contrib.sql/update-or-insert-values">update-or-insert-values</a> - </div><div style="margin-left: 1em;" class="toc-entry"> - <a href="#clojure.contrib.sql/update-values">update-values</a> - </div><div style="margin-left: 1em;" class="toc-entry"> - <a href="#clojure.contrib.sql/with-connection">with-connection</a> - </div><div style="margin-left: 1em;" class="toc-entry"> - <a href="#clojure.contrib.sql/with-query-results">with-query-results</a> - </div> - <br /> - </div><div style="margin-left: 1em;" class="toc-section"> - <a href="#sql.internal">sql.internal</a> - <div style="margin-left: 1em;" class="toc-entry"> - <a href="#clojure.contrib.sql.internal/connection*">connection*</a> - </div><div style="margin-left: 1em;" class="toc-entry"> - <a href="#clojure.contrib.sql.internal/find-connection*">find-connection*</a> - </div><div style="margin-left: 1em;" class="toc-entry"> - <a href="#clojure.contrib.sql.internal/get-connection">get-connection</a> - </div><div style="margin-left: 1em;" class="toc-entry"> - <a href="#clojure.contrib.sql.internal/print-sql-exception">print-sql-exception</a> - </div><div style="margin-left: 1em;" class="toc-entry"> - <a href="#clojure.contrib.sql.internal/print-sql-exception-chain">print-sql-exception-chain</a> - </div><div style="margin-left: 1em;" class="toc-entry"> - <a href="#clojure.contrib.sql.internal/print-update-counts">print-update-counts</a> - </div><div style="margin-left: 1em;" class="toc-entry"> - <a href="#clojure.contrib.sql.internal/rollback">rollback</a> - </div><div style="margin-left: 1em;" class="toc-entry"> - <a href="#clojure.contrib.sql.internal/throw-rollback">throw-rollback</a> - </div><div style="margin-left: 1em;" class="toc-entry"> - <a href="#clojure.contrib.sql.internal/transaction*">transaction*</a> - </div><div style="margin-left: 1em;" class="toc-entry"> - <a href="#clojure.contrib.sql.internal/with-connection*">with-connection*</a> - </div><div style="margin-left: 1em;" class="toc-entry"> - <a href="#clojure.contrib.sql.internal/with-query-results*">with-query-results*</a> - </div> - <br /> - </div> -</div> -</div> - <div id="content-tag"><h1 id="overview">API for <span id="namespace-name">sql</span> - - <span id="header-project">clojure-contrib</span> <span id="header-version">next</span> (<span id="header-status">in development</span>) - </h1> -<span id="author-line">by <span id="author-name">Stephen C. Gilardi</span><br /></span> -<br />Usage: -<pre> -(ns your-namespace - (:require <span id="long-name">clojure.contrib.sql</span>)) -</pre><pre> -</pre><h2>Overview</h2> -<pre id="namespace-docstr">A Clojure interface to sql databases via jdbc.</pre> - - -<span id="see-also">See also: - <span id="see-also-link"> - <a href="http://github.com/richhickey/clojure-contrib/blob/master/src/test/clojure/clojure/contrib/test_sql.clj">Example code</a> - </span><br /> -</span><br /> -<h2>Public Variables and Functions</h2> -<div id="var-entry"> - <br /> - <hr /> - <h2 id="clojure.contrib.sql/connection">connection</h2> - <span id="var-type">function</span><br /> - <pre id="var-usage">Usage: (connection) -</pre> - <pre id="var-docstr">Returns the current database connection (or throws if there is none)</pre> - - - <a href="http://github.com/richhickey/clojure-contrib/blob/7188a51605136f36524e4091fe806859114d6056/src/main/clojure/clojure/contrib/sql.clj#L30" id="var-source">Source</a> -</div><div id="var-entry"> - <br /> - <hr /> - <h2 id="clojure.contrib.sql/create-table">create-table</h2> - <span id="var-type">function</span><br /> - <pre id="var-usage">Usage: (create-table name & specs) -</pre> - <pre id="var-docstr">Creates a table on the open database connection given a table name and -specs. Each spec is either a column spec: a vector containing a column -name and optionally a type and other constraints, or a table-level -constraint: a vector containing words that express the constraint. All -words used to describe the table may be supplied as strings or keywords.</pre> - - - <a href="http://github.com/richhickey/clojure-contrib/blob/7188a51605136f36524e4091fe806859114d6056/src/main/clojure/clojure/contrib/sql.clj#L103" id="var-source">Source</a> -</div><div id="var-entry"> - <br /> - <hr /> - <h2 id="clojure.contrib.sql/delete-rows">delete-rows</h2> - <span id="var-type">function</span><br /> - <pre id="var-usage">Usage: (delete-rows table where-params) -</pre> - <pre id="var-docstr">Deletes rows from a table. where-params is a vector containing a string -providing the (optionally parameterized) selection criteria followed by -values for any parameters.</pre> - - - <a href="http://github.com/richhickey/clojure-contrib/blob/7188a51605136f36524e4091fe806859114d6056/src/main/clojure/clojure/contrib/sql.clj#L157" id="var-source">Source</a> -</div><div id="var-entry"> - <br /> - <hr /> - <h2 id="clojure.contrib.sql/do-commands">do-commands</h2> - <span id="var-type">function</span><br /> - <pre id="var-usage">Usage: (do-commands & commands) -</pre> - <pre id="var-docstr">Executes SQL commands on the open database connection.</pre> - - - <a href="http://github.com/richhickey/clojure-contrib/blob/7188a51605136f36524e4091fe806859114d6056/src/main/clojure/clojure/contrib/sql.clj#L81" id="var-source">Source</a> -</div><div id="var-entry"> - <br /> - <hr /> - <h2 id="clojure.contrib.sql/do-prepared">do-prepared</h2> - <span id="var-type">function</span><br /> - <pre id="var-usage">Usage: (do-prepared sql & param-groups) -</pre> - <pre id="var-docstr">Executes an (optionally parameterized) SQL prepared statement on the -open database connection. Each param-group is a seq of values for all of -the parameters.</pre> - - - <a href="http://github.com/richhickey/clojure-contrib/blob/7188a51605136f36524e4091fe806859114d6056/src/main/clojure/clojure/contrib/sql.clj#L90" id="var-source">Source</a> -</div><div id="var-entry"> - <br /> - <hr /> - <h2 id="clojure.contrib.sql/drop-table">drop-table</h2> - <span id="var-type">function</span><br /> - <pre id="var-usage">Usage: (drop-table name) -</pre> - <pre id="var-docstr">Drops a table on the open database connection given its name, a string -or keyword</pre> - - - <a href="http://github.com/richhickey/clojure-contrib/blob/7188a51605136f36524e4091fe806859114d6056/src/main/clojure/clojure/contrib/sql.clj#L119" id="var-source">Source</a> -</div><div id="var-entry"> - <br /> - <hr /> - <h2 id="clojure.contrib.sql/find-connection">find-connection</h2> - <span id="var-type">function</span><br /> - <pre id="var-usage">Usage: (find-connection) -</pre> - <pre id="var-docstr">Returns the current database connection (or nil if there is none)</pre> - - - <a href="http://github.com/richhickey/clojure-contrib/blob/7188a51605136f36524e4091fe806859114d6056/src/main/clojure/clojure/contrib/sql.clj#L29" id="var-source">Source</a> -</div><div id="var-entry"> - <br /> - <hr /> - <h2 id="clojure.contrib.sql/insert-records">insert-records</h2> - <span id="var-type">function</span><br /> - <pre id="var-usage">Usage: (insert-records table & records) -</pre> - <pre id="var-docstr">Inserts records into a table. records are maps from strings or -keywords (identifying columns) to values.</pre> - - - <a href="http://github.com/richhickey/clojure-contrib/blob/7188a51605136f36524e4091fe806859114d6056/src/main/clojure/clojure/contrib/sql.clj#L150" id="var-source">Source</a> -</div><div id="var-entry"> - <br /> - <hr /> - <h2 id="clojure.contrib.sql/insert-rows">insert-rows</h2> - <span id="var-type">function</span><br /> - <pre id="var-usage">Usage: (insert-rows table & rows) -</pre> - <pre id="var-docstr">Inserts complete rows into a table. Each row is a vector of values for -each of the table's columns in order.</pre> - - - <a href="http://github.com/richhickey/clojure-contrib/blob/7188a51605136f36524e4091fe806859114d6056/src/main/clojure/clojure/contrib/sql.clj#L144" id="var-source">Source</a> -</div><div id="var-entry"> - <br /> - <hr /> - <h2 id="clojure.contrib.sql/insert-values">insert-values</h2> - <span id="var-type">function</span><br /> - <pre id="var-usage">Usage: (insert-values table column-names & value-groups) -</pre> - <pre id="var-docstr">Inserts rows into a table with values for specified columns only. -column-names is a vector of strings or keywords identifying columns. Each -value-group is a vector containing a values for each column in -order. When inserting complete rows (all columns), consider using -insert-rows instead.</pre> - - - <a href="http://github.com/richhickey/clojure-contrib/blob/7188a51605136f36524e4091fe806859114d6056/src/main/clojure/clojure/contrib/sql.clj#L126" id="var-source">Source</a> -</div><div id="var-entry"> - <br /> - <hr /> - <h2 id="clojure.contrib.sql/is-rollback-only">is-rollback-only</h2> - <span id="var-type">function</span><br /> - <pre id="var-usage">Usage: (is-rollback-only) -</pre> - <pre id="var-docstr">Returns true if the outermost transaction will rollback rather than -commit when complete</pre> - - - <a href="http://github.com/richhickey/clojure-contrib/blob/7188a51605136f36524e4091fe806859114d6056/src/main/clojure/clojure/contrib/sql.clj#L75" id="var-source">Source</a> -</div><div id="var-entry"> - <br /> - <hr /> - <h2 id="clojure.contrib.sql/set-rollback-only">set-rollback-only</h2> - <span id="var-type">function</span><br /> - <pre id="var-usage">Usage: (set-rollback-only) -</pre> - <pre id="var-docstr">Marks the outermost transaction such that it will rollback rather than -commit when complete</pre> - - - <a href="http://github.com/richhickey/clojure-contrib/blob/7188a51605136f36524e4091fe806859114d6056/src/main/clojure/clojure/contrib/sql.clj#L69" id="var-source">Source</a> -</div><div id="var-entry"> - <br /> - <hr /> - <h2 id="clojure.contrib.sql/transaction">transaction</h2> - <span id="var-type">macro</span><br /> - <pre id="var-usage">Usage: (transaction & body) -</pre> - <pre id="var-docstr">Evaluates body as a transaction on the open database connection. Any -nested transactions are absorbed into the outermost transaction. By -default, all database updates are committed together as a group after -evaluating the outermost body, or rolled back on any uncaught -exception. If set-rollback-only is called within scope of the outermost -transaction, the entire transaction will be rolled back rather than -committed when complete.</pre> - - - <a href="http://github.com/richhickey/clojure-contrib/blob/7188a51605136f36524e4091fe806859114d6056/src/main/clojure/clojure/contrib/sql.clj#L58" id="var-source">Source</a> -</div><div id="var-entry"> - <br /> - <hr /> - <h2 id="clojure.contrib.sql/update-or-insert-values">update-or-insert-values</h2> - <span id="var-type">function</span><br /> - <pre id="var-usage">Usage: (update-or-insert-values table where-params record) -</pre> - <pre id="var-docstr">Updates values on selected rows in a table, or inserts a new row when no -existing row matches the selection criteria. where-params is a vector -containing a string providing the (optionally parameterized) selection -criteria followed by values for any parameters. record is a map from -strings or keywords (identifying columns) to updated values.</pre> - - - <a href="http://github.com/richhickey/clojure-contrib/blob/7188a51605136f36524e4091fe806859114d6056/src/main/clojure/clojure/contrib/sql.clj#L182" id="var-source">Source</a> -</div><div id="var-entry"> - <br /> - <hr /> - <h2 id="clojure.contrib.sql/update-values">update-values</h2> - <span id="var-type">function</span><br /> - <pre id="var-usage">Usage: (update-values table where-params record) -</pre> - <pre id="var-docstr">Updates values on selected rows in a table. where-params is a vector -containing a string providing the (optionally parameterized) selection -criteria followed by values for any parameters. record is a map from -strings or keywords (identifying columns) to updated values.</pre> - - - <a href="http://github.com/richhickey/clojure-contrib/blob/7188a51605136f36524e4091fe806859114d6056/src/main/clojure/clojure/contrib/sql.clj#L168" id="var-source">Source</a> -</div><div id="var-entry"> - <br /> - <hr /> - <h2 id="clojure.contrib.sql/with-connection">with-connection</h2> - <span id="var-type">macro</span><br /> - <pre id="var-usage">Usage: (with-connection db-spec & body) -</pre> - <pre id="var-docstr">Evaluates body in the context of a new connection to a database then -closes the connection. db-spec is a map containing values for one of the -following parameter sets: - -Factory: - :factory (required) a function of one argument, a map of params - (others) (optional) passed to the factory function in a map - -DriverManager: - :classname (required) a String, the jdbc driver class name - :subprotocol (required) a String, the jdbc subprotocol - :subname (required) a String, the jdbc subname - (others) (optional) passed to the driver as properties. - -DataSource: - :datasource (required) a javax.sql.DataSource - :username (optional) a String - :password (optional) a String, required if :username is supplied - -JNDI: - :name (required) a String or javax.naming.Name - :environment (optional) a java.util.Map</pre> - - - <a href="http://github.com/richhickey/clojure-contrib/blob/7188a51605136f36524e4091fe806859114d6056/src/main/clojure/clojure/contrib/sql.clj#L32" id="var-source">Source</a> -</div><div id="var-entry"> - <br /> - <hr /> - <h2 id="clojure.contrib.sql/with-query-results">with-query-results</h2> - <span id="var-type">macro</span><br /> - <pre id="var-usage">Usage: (with-query-results results sql-params & body) -</pre> - <pre id="var-docstr">Executes a query, then evaluates body with results bound to a seq of the -results. sql-params is a vector containing a string providing -the (optionally parameterized) SQL query followed by values for any -parameters.</pre> - - - <a href="http://github.com/richhickey/clojure-contrib/blob/7188a51605136f36524e4091fe806859114d6056/src/main/clojure/clojure/contrib/sql.clj#L195" id="var-source">Source</a> -</div> -<h2 id="namespace-name">sql.internal</h2> -<pre id="namespace-docstr"></pre> - - -<br /> -<div id="var-entry"> - <hr /> - <h2 id="clojure.contrib.sql.internal/connection*">connection*</h2> - <span id="var-type">function</span><br /> - <pre id="var-usage">Usage: (connection*) -</pre> - <pre id="var-docstr">Returns the current database connection (or throws if there is none)</pre> - - - <a href="http://github.com/richhickey/clojure-contrib/blob/6a0483d9e216ca00fc648a4b3673996b76a2785a/src/main/clojure/clojure/contrib/sql/internal.clj#L38" id="var-source">Source</a> -</div><div id="var-entry"> - <hr /> - <h2 id="clojure.contrib.sql.internal/find-connection*">find-connection*</h2> - <span id="var-type">function</span><br /> - <pre id="var-usage">Usage: (find-connection*) -</pre> - <pre id="var-docstr">Returns the current database connection (or nil if there is none)</pre> - - - <a href="http://github.com/richhickey/clojure-contrib/blob/6a0483d9e216ca00fc648a4b3673996b76a2785a/src/main/clojure/clojure/contrib/sql/internal.clj#L33" id="var-source">Source</a> -</div><div id="var-entry"> - <hr /> - <h2 id="clojure.contrib.sql.internal/get-connection">get-connection</h2> - <span id="var-type">function</span><br /> - <pre id="var-usage">Usage: (get-connection {:keys [factory classname subprotocol subname datasource username password name environment], :as db-spec}) -</pre> - <pre id="var-docstr">Creates a connection to a database. db-spec is a map containing values -for one of the following parameter sets: - -Factory: - :factory (required) a function of one argument, a map of params - (others) (optional) passed to the factory function in a map - -DriverManager: - :classname (required) a String, the jdbc driver class name - :subprotocol (required) a String, the jdbc subprotocol - :subname (required) a String, the jdbc subname - (others) (optional) passed to the driver as properties. - -DataSource: - :datasource (required) a javax.sql.DataSource - :username (optional) a String - :password (optional) a String, required if :username is supplied - -JNDI: - :name (required) a String or javax.naming.Name - :environment (optional) a java.util.Map</pre> - - - <a href="http://github.com/richhickey/clojure-contrib/blob/6a0483d9e216ca00fc648a4b3673996b76a2785a/src/main/clojure/clojure/contrib/sql/internal.clj#L51" id="var-source">Source</a> -</div><div id="var-entry"> - <hr /> - <h2 id="clojure.contrib.sql.internal/print-sql-exception">print-sql-exception</h2> - <span id="var-type">function</span><br /> - <pre id="var-usage">Usage: (print-sql-exception stream exception) -</pre> - <pre id="var-docstr">Prints the contents of an SQLException to stream</pre> - - - <a href="http://github.com/richhickey/clojure-contrib/blob/6a0483d9e216ca00fc648a4b3673996b76a2785a/src/main/clojure/clojure/contrib/sql/internal.clj#L107" id="var-source">Source</a> -</div><div id="var-entry"> - <hr /> - <h2 id="clojure.contrib.sql.internal/print-sql-exception-chain">print-sql-exception-chain</h2> - <span id="var-type">function</span><br /> - <pre id="var-usage">Usage: (print-sql-exception-chain stream exception) -</pre> - <pre id="var-docstr">Prints a chain of SQLExceptions to stream</pre> - - - <a href="http://github.com/richhickey/clojure-contrib/blob/6a0483d9e216ca00fc648a4b3673996b76a2785a/src/main/clojure/clojure/contrib/sql/internal.clj#L121" id="var-source">Source</a> -</div><div id="var-entry"> - <hr /> - <h2 id="clojure.contrib.sql.internal/print-update-counts">print-update-counts</h2> - <span id="var-type">function</span><br /> - <pre id="var-usage">Usage: (print-update-counts stream exception) -</pre> - <pre id="var-docstr">Prints the update counts from a BatchUpdateException to stream</pre> - - - <a href="http://github.com/richhickey/clojure-contrib/blob/6a0483d9e216ca00fc648a4b3673996b76a2785a/src/main/clojure/clojure/contrib/sql/internal.clj#L129" id="var-source">Source</a> -</div><div id="var-entry"> - <hr /> - <h2 id="clojure.contrib.sql.internal/rollback">rollback</h2> - <span id="var-type">function</span><br /> - <pre id="var-usage">Usage: (rollback) - (rollback val) -</pre> - <pre id="var-docstr">Accessor for the rollback flag on the current connection</pre> - - - <a href="http://github.com/richhickey/clojure-contrib/blob/6a0483d9e216ca00fc648a4b3673996b76a2785a/src/main/clojure/clojure/contrib/sql/internal.clj#L44" id="var-source">Source</a> -</div><div id="var-entry"> - <hr /> - <h2 id="clojure.contrib.sql.internal/throw-rollback">throw-rollback</h2> - <span id="var-type">function</span><br /> - <pre id="var-usage">Usage: (throw-rollback e) -</pre> - <pre id="var-docstr">Sets rollback and throws a wrapped exception</pre> - - - <a href="http://github.com/richhickey/clojure-contrib/blob/6a0483d9e216ca00fc648a4b3673996b76a2785a/src/main/clojure/clojure/contrib/sql/internal.clj#L138" id="var-source">Source</a> -</div><div id="var-entry"> - <hr /> - <h2 id="clojure.contrib.sql.internal/transaction*">transaction*</h2> - <span id="var-type">function</span><br /> - <pre id="var-usage">Usage: (transaction* func) -</pre> - <pre id="var-docstr">Evaluates func as a transaction on the open database connection. Any -nested transactions are absorbed into the outermost transaction. By -default, all database updates are committed together as a group after -evaluating the outermost body, or rolled back on any uncaught -exception. If rollback is set within scope of the outermost transaction, -the entire transaction will be rolled back rather than committed when -complete.</pre> - - - <a href="http://github.com/richhickey/clojure-contrib/blob/6a0483d9e216ca00fc648a4b3673996b76a2785a/src/main/clojure/clojure/contrib/sql/internal.clj#L144" id="var-source">Source</a> -</div><div id="var-entry"> - <hr /> - <h2 id="clojure.contrib.sql.internal/with-connection*">with-connection*</h2> - <span id="var-type">function</span><br /> - <pre id="var-usage">Usage: (with-connection* db-spec func) -</pre> - <pre id="var-docstr">Evaluates func in the context of a new connection to a database then -closes the connection.</pre> - - - <a href="http://github.com/richhickey/clojure-contrib/blob/6a0483d9e216ca00fc648a4b3673996b76a2785a/src/main/clojure/clojure/contrib/sql/internal.clj#L98" id="var-source">Source</a> -</div><div id="var-entry"> - <hr /> - <h2 id="clojure.contrib.sql.internal/with-query-results*">with-query-results*</h2> - <span id="var-type">function</span><br /> - <pre id="var-usage">Usage: (with-query-results* [sql & params :as sql-params] func) -</pre> - <pre id="var-docstr">Executes a query, then evaluates func passing in a seq of the results as -an argument. The first argument is a vector containing the (optionally -parameterized) sql query string followed by values for any parameters.</pre> - - - <a href="http://github.com/richhickey/clojure-contrib/blob/6a0483d9e216ca00fc648a4b3673996b76a2785a/src/main/clojure/clojure/contrib/sql/internal.clj#L178" id="var-source">Source</a> -</div> - - -</div> - </div> - </div> - </div> - </div> - <div id="foot"> - <div style="text-align: center;" id="copyright">Copyright 2007-2009 by Rich Hickey and the various contributors</div> - </div> - </div> - <div id="DesignedBy">Logo & site design by <a title="Visit Tom Hickey's website." href="http://www.tomhickey.com">Tom Hickey</a>.<br /> - Clojure auto-documentation system by Tom Faulhaber.</div> - </div> - <!-- /AllContentContainer --> - </body> - -</html>
\ No newline at end of file diff --git a/branch-master/str-utils-api.html b/branch-master/str-utils-api.html deleted file mode 100644 index f02b75d5..00000000 --- a/branch-master/str-utils-api.html +++ /dev/null @@ -1,212 +0,0 @@ -<html> - <head> - <title>str-utils - clojure-contrib next API documentation</title> - <link href="../static/favicon.png" rel="icon" /> - <link href="../static/favicon.png" rel="shortcut icon" /> - <link media="all" type="text/css" href="../static/clojure.css" rel="stylesheet" /> - <link media="all" type="text/css" href="../static/wiki.css" rel="stylesheet" /> - <link media="all" type="text/css" href="../static/internal.css" rel="stylesheet" /> - <!-- TODO: are we using these (from clojure.org)? If so, add the files --> - <script src="file/view/code_highlighter.js" type="text/javascript"></script> - <script src="file/view/clojure.js" type="text/javascript"></script> - <style>.menuWrapper{height: 36px;}</style> - <!--[if lte IE 6]> - <link rel="stylesheet" href="http://www.wikispaces.com/_/2009051601/s/internal_ie.css" type="text/css" /> - <![endif]--> - </head> -<!-- -This document was auto-generated from the source by the clojure autodoc system. -To report errors or ask questions about the overall documentation structure, formatting, -etc., contact Tom Faulhaber (google mail name: tomfaulhaber). -For errors in the documentation of a particular namespace, contact the author of that -namespace. ---> - <body> - <div id="AllContentContainer"> - <div id="Header"> - <a id="Logo" href="index.html"><img alt="Clojure" height="100" width="100" src="../static/clojure-icon.gif" /></a> - <h1><a title="page header title" id="page-header" href="index.html">Clojure-contrib API Reference</a></h1> - </div> - <div id="leftcolumn"><div style="text-align: center;"></div> -<div class="menu"> - <div class="WikiCustomNav WikiElement wiki"> - <span class="toc-header"><span id="project-name">clojure-contrib</span> <span id="version">next</span> API</span><br /> - <ul> - <li><a class="wiki_link" href="index.html">Overview</a></li> - <li><a class="wiki_link" href="api-index.html">API Index</a></li> - </ul> - <span class="toc-header">Namespaces</span> - <ul id="left-sidebar-list"> - <li><a href="accumulators-api.html" class="wiki_link">accumulators</a></li><li><a href="agent-utils-api.html" class="wiki_link">agent-utils</a></li><li><a href="apply-macro-api.html" class="wiki_link">apply-macro</a></li><li><a href="base64-api.html" class="wiki_link">base64</a></li><li><a href="classpath-api.html" class="wiki_link">classpath</a></li><li><a href="combinatorics-api.html" class="wiki_link">combinatorics</a></li><li><a href="command-line-api.html" class="wiki_link">command-line</a></li><li><a href="complex-numbers-api.html" class="wiki_link">complex-numbers</a></li><li><a href="cond-api.html" class="wiki_link">cond</a></li><li><a href="condition-api.html" class="wiki_link">condition</a></li><li><a href="core-api.html" class="wiki_link">core</a></li><li><a href="dataflow-api.html" class="wiki_link">dataflow</a></li><li><a href="datalog-api.html" class="wiki_link">datalog</a></li><li><a href="def-api.html" class="wiki_link">def</a></li><li><a href="duck-streams-api.html" class="wiki_link">duck-streams</a></li><li><a href="error-kit-api.html" class="wiki_link">error-kit</a></li><li><a href="except-api.html" class="wiki_link">except</a></li><li><a href="fcase-api.html" class="wiki_link">fcase</a></li><li><a href="find-namespaces-api.html" class="wiki_link">find-namespaces</a></li><li><a href="fnmap-api.html" class="wiki_link">fnmap</a></li><li><a href="gen-html-docs-api.html" class="wiki_link">gen-html-docs</a></li><li><a href="generic.arithmetic-api.html" class="wiki_link">generic.arithmetic</a></li><li><a href="generic.collection-api.html" class="wiki_link">generic.collection</a></li><li><a href="generic.comparison-api.html" class="wiki_link">generic.comparison</a></li><li><a href="generic.functor-api.html" class="wiki_link">generic.functor</a></li><li><a href="generic.math-functions-api.html" class="wiki_link">generic.math-functions</a></li><li><a href="graph-api.html" class="wiki_link">graph</a></li><li><a href="greatest-least-api.html" class="wiki_link">greatest-least</a></li><li><a href="http.agent-api.html" class="wiki_link">http.agent</a></li><li><a href="http.connection-api.html" class="wiki_link">http.connection</a></li><li><a href="import-static-api.html" class="wiki_link">import-static</a></li><li><a href="io-api.html" class="wiki_link">io</a></li><li><a href="jar-api.html" class="wiki_link">jar</a></li><li><a href="java-utils-api.html" class="wiki_link">java-utils</a></li><li><a href="javadoc.browse-api.html" class="wiki_link">javadoc.browse</a></li><li><a href="jmx-api.html" class="wiki_link">jmx</a></li><li><a href="json-api.html" class="wiki_link">json</a></li><li><a href="lazy-seqs-api.html" class="wiki_link">lazy-seqs</a></li><li><a href="lazy-xml-api.html" class="wiki_link">lazy-xml</a></li><li><a href="logging-api.html" class="wiki_link">logging</a></li><li><a href="macro-utils-api.html" class="wiki_link">macro-utils</a></li><li><a href="macros-api.html" class="wiki_link">macros</a></li><li><a href="map-utils-api.html" class="wiki_link">map-utils</a></li><li><a href="math-api.html" class="wiki_link">math</a></li><li><a href="miglayout-api.html" class="wiki_link">miglayout</a></li><li><a href="mmap-api.html" class="wiki_link">mmap</a></li><li><a href="mock-api.html" class="wiki_link">mock</a></li><li><a href="monadic-io-streams-api.html" class="wiki_link">monadic-io-streams</a></li><li><a href="monads-api.html" class="wiki_link">monads</a></li><li><a href="ns-utils-api.html" class="wiki_link">ns-utils</a></li><li><a href="pprint-api.html" class="wiki_link">pprint</a></li><li><a href="priority-map-api.html" class="wiki_link">priority-map</a></li><li><a href="probabilities.finite-distributions-api.html" class="wiki_link">probabilities.finite-distributions</a></li><li><a href="probabilities.monte-carlo-api.html" class="wiki_link">probabilities.monte-carlo</a></li><li><a href="probabilities.random-numbers-api.html" class="wiki_link">probabilities.random-numbers</a></li><li><a href="profile-api.html" class="wiki_link">profile</a></li><li><a href="properties-api.html" class="wiki_link">properties</a></li><li><a href="prxml-api.html" class="wiki_link">prxml</a></li><li><a href="reflect-api.html" class="wiki_link">reflect</a></li><li><a href="repl-ln-api.html" class="wiki_link">repl-ln</a></li><li><a href="repl-utils-api.html" class="wiki_link">repl-utils</a></li><li><a href="seq-api.html" class="wiki_link">seq</a></li><li><a href="seq-utils-api.html" class="wiki_link">seq-utils</a></li><li><a href="server-socket-api.html" class="wiki_link">server-socket</a></li><li><a href="set-api.html" class="wiki_link">set</a></li><li><a href="shell-api.html" class="wiki_link">shell</a></li><li><a href="shell-out-api.html" class="wiki_link">shell-out</a></li><li><a href="singleton-api.html" class="wiki_link">singleton</a></li><li><a href="sql-api.html" class="wiki_link">sql</a></li><li><a href="str-utils-api.html" class="wiki_link">str-utils</a></li><li><a href="str-utils2-api.html" class="wiki_link">str-utils2</a></li><li><a href="stream-utils-api.html" class="wiki_link">stream-utils</a></li><li><a href="string-api.html" class="wiki_link">string</a></li><li><a href="strint-api.html" class="wiki_link">strint</a></li><li><a href="swing-utils-api.html" class="wiki_link">swing-utils</a></li><li><a href="test-is-api.html" class="wiki_link">test-is</a></li><li><a href="trace-api.html" class="wiki_link">trace</a></li><li><a href="types-api.html" class="wiki_link">types</a></li><li><a href="with-ns-api.html" class="wiki_link">with-ns</a></li><li><a href="zip-filter-api.html" class="wiki_link">zip-filter</a></li> - </ul> - <div class="BranchTOC"> - <span class="toc-header">Other Versions</span> - <ul id="left-sidebar-branch-list"> - <li><a href="../index.html" class="wiki_link">v1.2 (beta 1)</a></li><li><a href="../branch-1.1.x/index.html" class="wiki_link">v1.1 (stable)</a></li> - </ul> - </div> - <a href="http://clojure.org" class="wiki_link">Clojure Home</a> - </div> -</div> -</div> - <div id="rightcolumn"> - <div id="Content"> - <div class="contentBox"><div class="innerContentBox"> - <div id="content_view" class="wiki wikiPage"> - <div id="right-sidebar"><div id="toc"> - <h1 class="nopad">Table of Contents</h1> - <div style="margin-left: 1em;" class="toc-section"> - <a href="#toc0">Overview</a> - <div style="margin-left: 1em;" class="toc-entry"> - <a href="#clojure.contrib.str-utils/chomp">chomp</a> - </div><div style="margin-left: 1em;" class="toc-entry"> - <a href="#clojure.contrib.str-utils/chop">chop</a> - </div><div style="margin-left: 1em;" class="toc-entry"> - <a href="#clojure.contrib.str-utils/re-gsub">re-gsub</a> - </div><div style="margin-left: 1em;" class="toc-entry"> - <a href="#clojure.contrib.str-utils/re-partition">re-partition</a> - </div><div style="margin-left: 1em;" class="toc-entry"> - <a href="#clojure.contrib.str-utils/re-split">re-split</a> - </div><div style="margin-left: 1em;" class="toc-entry"> - <a href="#clojure.contrib.str-utils/re-sub">re-sub</a> - </div><div style="margin-left: 1em;" class="toc-entry"> - <a href="#clojure.contrib.str-utils/str-join">str-join</a> - </div> - <br /> - </div> -</div> -</div> - <div id="content-tag"><h1 id="overview">API for <span id="namespace-name">str-utils</span> - - <span id="header-project">clojure-contrib</span> <span id="header-version">next</span> (<span id="header-status">in development</span>) - </h1> -<span id="author-line">by <span id="author-name">Stuart Sierra</span><br /></span> -<br />Usage: -<pre> -(ns your-namespace - (:require <span id="long-name">clojure.contrib.str-utils</span>)) -</pre><pre> -</pre><h2>Overview</h2> -<pre id="namespace-docstr">String utilities for Clojure</pre> - -<span class="ns-deprecated"><span id="content">Deprecated since clojure-contrib version 1.2</span><br /></span> -<br /> -<h2>Public Variables and Functions</h2> -<div id="var-entry"> - <br /> - <hr /> - <h2 id="clojure.contrib.str-utils/chomp">chomp</h2> - <span id="var-type">function</span><br /> - <pre id="var-usage">Usage: (chomp s) -</pre> - <pre id="var-docstr">Removes all trailing newline \n or return \r characters from -string. Note: String.trim() is similar and faster.</pre> - - - <a href="http://github.com/richhickey/clojure-contrib/blob/4715ee32c79bc4521a0979c7b1a741ccff4594e2/src/main/clojure/clojure/contrib/str_utils.clj#L99" id="var-source">Source</a> -</div><div id="var-entry"> - <br /> - <hr /> - <h2 id="clojure.contrib.str-utils/chop">chop</h2> - <span id="var-type">function</span><br /> - <pre id="var-usage">Usage: (chop s) -</pre> - <pre id="var-docstr">Removes the last character of string.</pre> - - - <a href="http://github.com/richhickey/clojure-contrib/blob/4715ee32c79bc4521a0979c7b1a741ccff4594e2/src/main/clojure/clojure/contrib/str_utils.clj#L94" id="var-source">Source</a> -</div><div id="var-entry"> - <br /> - <hr /> - <h2 id="clojure.contrib.str-utils/re-gsub">re-gsub</h2> - <span id="var-type">function</span><br /> - <pre id="var-usage">Usage: (re-gsub regex replacement string) -</pre> - <pre id="var-docstr">Replaces all instances of 'pattern' in 'string' with -'replacement'. Like Ruby's 'String#gsub'. - -If (ifn? replacment) is true, the replacement is called with the -match. -</pre> - - - <a href="http://github.com/richhickey/clojure-contrib/blob/4715ee32c79bc4521a0979c7b1a741ccff4594e2/src/main/clojure/clojure/contrib/str_utils.clj#L53" id="var-source">Source</a> -</div><div id="var-entry"> - <br /> - <hr /> - <h2 id="clojure.contrib.str-utils/re-partition">re-partition</h2> - <span id="var-type">function</span><br /> - <pre id="var-usage">Usage: (re-partition re string) -</pre> - <pre id="var-docstr">Splits the string into a lazy sequence of substrings, alternating -between substrings that match the patthern and the substrings -between the matches. The sequence always starts with the substring -before the first match, or an empty string if the beginning of the -string matches. - -For example: (re-partition #"[a-z]+" "abc123def") - -Returns: ("" "abc" "123" "def")</pre> - - - <a href="http://github.com/richhickey/clojure-contrib/blob/4715ee32c79bc4521a0979c7b1a741ccff4594e2/src/main/clojure/clojure/contrib/str_utils.clj#L31" id="var-source">Source</a> -</div><div id="var-entry"> - <br /> - <hr /> - <h2 id="clojure.contrib.str-utils/re-split">re-split</h2> - <span id="var-type">function</span><br /> - <pre id="var-usage">Usage: (re-split pattern string) - (re-split pattern string limit) -</pre> - <pre id="var-docstr">Splits the string on instances of 'pattern'. Returns a sequence of -strings. Optional 'limit' argument is the maximum number of -splits. Like Perl's 'split'.</pre> - - - <a href="http://github.com/richhickey/clojure-contrib/blob/4715ee32c79bc4521a0979c7b1a741ccff4594e2/src/main/clojure/clojure/contrib/str_utils.clj#L24" id="var-source">Source</a> -</div><div id="var-entry"> - <br /> - <hr /> - <h2 id="clojure.contrib.str-utils/re-sub">re-sub</h2> - <span id="var-type">function</span><br /> - <pre id="var-usage">Usage: (re-sub regex replacement string) -</pre> - <pre id="var-docstr">Replaces the first instance of 'pattern' in 'string' with -'replacement'. Like Ruby's 'String#sub'. - -If (ifn? replacement) is true, the replacement is called with -the match. -</pre> - - - <a href="http://github.com/richhickey/clojure-contrib/blob/4715ee32c79bc4521a0979c7b1a741ccff4594e2/src/main/clojure/clojure/contrib/str_utils.clj#L69" id="var-source">Source</a> -</div><div id="var-entry"> - <br /> - <hr /> - <h2 id="clojure.contrib.str-utils/str-join">str-join</h2> - <span id="var-type">function</span><br /> - <pre id="var-usage">Usage: (str-join separator sequence) -</pre> - <pre id="var-docstr">Returns a string of all elements in 'sequence', separated by -'separator'. Like Perl's 'join'.</pre> - - - <a href="http://github.com/richhickey/clojure-contrib/blob/4715ee32c79bc4521a0979c7b1a741ccff4594e2/src/main/clojure/clojure/contrib/str_utils.clj#L87" id="var-source">Source</a> -</div> - - -</div> - </div> - </div> - </div> - </div> - <div id="foot"> - <div style="text-align: center;" id="copyright">Copyright 2007-2009 by Rich Hickey and the various contributors</div> - </div> - </div> - <div id="DesignedBy">Logo & site design by <a title="Visit Tom Hickey's website." href="http://www.tomhickey.com">Tom Hickey</a>.<br /> - Clojure auto-documentation system by Tom Faulhaber.</div> - </div> - <!-- /AllContentContainer --> - </body> - -</html>
\ No newline at end of file diff --git a/branch-master/str-utils2-api.html b/branch-master/str-utils2-api.html deleted file mode 100644 index c3233d4d..00000000 --- a/branch-master/str-utils2-api.html +++ /dev/null @@ -1,578 +0,0 @@ -<html> - <head> - <title>str-utils2 - clojure-contrib next API documentation</title> - <link href="../static/favicon.png" rel="icon" /> - <link href="../static/favicon.png" rel="shortcut icon" /> - <link media="all" type="text/css" href="../static/clojure.css" rel="stylesheet" /> - <link media="all" type="text/css" href="../static/wiki.css" rel="stylesheet" /> - <link media="all" type="text/css" href="../static/internal.css" rel="stylesheet" /> - <!-- TODO: are we using these (from clojure.org)? If so, add the files --> - <script src="file/view/code_highlighter.js" type="text/javascript"></script> - <script src="file/view/clojure.js" type="text/javascript"></script> - <style>.menuWrapper{height: 36px;}</style> - <!--[if lte IE 6]> - <link rel="stylesheet" href="http://www.wikispaces.com/_/2009051601/s/internal_ie.css" type="text/css" /> - <![endif]--> - </head> -<!-- -This document was auto-generated from the source by the clojure autodoc system. -To report errors or ask questions about the overall documentation structure, formatting, -etc., contact Tom Faulhaber (google mail name: tomfaulhaber). -For errors in the documentation of a particular namespace, contact the author of that -namespace. ---> - <body> - <div id="AllContentContainer"> - <div id="Header"> - <a id="Logo" href="index.html"><img alt="Clojure" height="100" width="100" src="../static/clojure-icon.gif" /></a> - <h1><a title="page header title" id="page-header" href="index.html">Clojure-contrib API Reference</a></h1> - </div> - <div id="leftcolumn"><div style="text-align: center;"></div> -<div class="menu"> - <div class="WikiCustomNav WikiElement wiki"> - <span class="toc-header"><span id="project-name">clojure-contrib</span> <span id="version">next</span> API</span><br /> - <ul> - <li><a class="wiki_link" href="index.html">Overview</a></li> - <li><a class="wiki_link" href="api-index.html">API Index</a></li> - </ul> - <span class="toc-header">Namespaces</span> - <ul id="left-sidebar-list"> - <li><a href="accumulators-api.html" class="wiki_link">accumulators</a></li><li><a href="agent-utils-api.html" class="wiki_link">agent-utils</a></li><li><a href="apply-macro-api.html" class="wiki_link">apply-macro</a></li><li><a href="base64-api.html" class="wiki_link">base64</a></li><li><a href="classpath-api.html" class="wiki_link">classpath</a></li><li><a href="combinatorics-api.html" class="wiki_link">combinatorics</a></li><li><a href="command-line-api.html" class="wiki_link">command-line</a></li><li><a href="complex-numbers-api.html" class="wiki_link">complex-numbers</a></li><li><a href="cond-api.html" class="wiki_link">cond</a></li><li><a href="condition-api.html" class="wiki_link">condition</a></li><li><a href="core-api.html" class="wiki_link">core</a></li><li><a href="dataflow-api.html" class="wiki_link">dataflow</a></li><li><a href="datalog-api.html" class="wiki_link">datalog</a></li><li><a href="def-api.html" class="wiki_link">def</a></li><li><a href="duck-streams-api.html" class="wiki_link">duck-streams</a></li><li><a href="error-kit-api.html" class="wiki_link">error-kit</a></li><li><a href="except-api.html" class="wiki_link">except</a></li><li><a href="fcase-api.html" class="wiki_link">fcase</a></li><li><a href="find-namespaces-api.html" class="wiki_link">find-namespaces</a></li><li><a href="fnmap-api.html" class="wiki_link">fnmap</a></li><li><a href="gen-html-docs-api.html" class="wiki_link">gen-html-docs</a></li><li><a href="generic.arithmetic-api.html" class="wiki_link">generic.arithmetic</a></li><li><a href="generic.collection-api.html" class="wiki_link">generic.collection</a></li><li><a href="generic.comparison-api.html" class="wiki_link">generic.comparison</a></li><li><a href="generic.functor-api.html" class="wiki_link">generic.functor</a></li><li><a href="generic.math-functions-api.html" class="wiki_link">generic.math-functions</a></li><li><a href="graph-api.html" class="wiki_link">graph</a></li><li><a href="greatest-least-api.html" class="wiki_link">greatest-least</a></li><li><a href="http.agent-api.html" class="wiki_link">http.agent</a></li><li><a href="http.connection-api.html" class="wiki_link">http.connection</a></li><li><a href="import-static-api.html" class="wiki_link">import-static</a></li><li><a href="io-api.html" class="wiki_link">io</a></li><li><a href="jar-api.html" class="wiki_link">jar</a></li><li><a href="java-utils-api.html" class="wiki_link">java-utils</a></li><li><a href="javadoc.browse-api.html" class="wiki_link">javadoc.browse</a></li><li><a href="jmx-api.html" class="wiki_link">jmx</a></li><li><a href="json-api.html" class="wiki_link">json</a></li><li><a href="lazy-seqs-api.html" class="wiki_link">lazy-seqs</a></li><li><a href="lazy-xml-api.html" class="wiki_link">lazy-xml</a></li><li><a href="logging-api.html" class="wiki_link">logging</a></li><li><a href="macro-utils-api.html" class="wiki_link">macro-utils</a></li><li><a href="macros-api.html" class="wiki_link">macros</a></li><li><a href="map-utils-api.html" class="wiki_link">map-utils</a></li><li><a href="math-api.html" class="wiki_link">math</a></li><li><a href="miglayout-api.html" class="wiki_link">miglayout</a></li><li><a href="mmap-api.html" class="wiki_link">mmap</a></li><li><a href="mock-api.html" class="wiki_link">mock</a></li><li><a href="monadic-io-streams-api.html" class="wiki_link">monadic-io-streams</a></li><li><a href="monads-api.html" class="wiki_link">monads</a></li><li><a href="ns-utils-api.html" class="wiki_link">ns-utils</a></li><li><a href="pprint-api.html" class="wiki_link">pprint</a></li><li><a href="priority-map-api.html" class="wiki_link">priority-map</a></li><li><a href="probabilities.finite-distributions-api.html" class="wiki_link">probabilities.finite-distributions</a></li><li><a href="probabilities.monte-carlo-api.html" class="wiki_link">probabilities.monte-carlo</a></li><li><a href="probabilities.random-numbers-api.html" class="wiki_link">probabilities.random-numbers</a></li><li><a href="profile-api.html" class="wiki_link">profile</a></li><li><a href="properties-api.html" class="wiki_link">properties</a></li><li><a href="prxml-api.html" class="wiki_link">prxml</a></li><li><a href="reflect-api.html" class="wiki_link">reflect</a></li><li><a href="repl-ln-api.html" class="wiki_link">repl-ln</a></li><li><a href="repl-utils-api.html" class="wiki_link">repl-utils</a></li><li><a href="seq-api.html" class="wiki_link">seq</a></li><li><a href="seq-utils-api.html" class="wiki_link">seq-utils</a></li><li><a href="server-socket-api.html" class="wiki_link">server-socket</a></li><li><a href="set-api.html" class="wiki_link">set</a></li><li><a href="shell-api.html" class="wiki_link">shell</a></li><li><a href="shell-out-api.html" class="wiki_link">shell-out</a></li><li><a href="singleton-api.html" class="wiki_link">singleton</a></li><li><a href="sql-api.html" class="wiki_link">sql</a></li><li><a href="str-utils-api.html" class="wiki_link">str-utils</a></li><li><a href="str-utils2-api.html" class="wiki_link">str-utils2</a></li><li><a href="stream-utils-api.html" class="wiki_link">stream-utils</a></li><li><a href="string-api.html" class="wiki_link">string</a></li><li><a href="strint-api.html" class="wiki_link">strint</a></li><li><a href="swing-utils-api.html" class="wiki_link">swing-utils</a></li><li><a href="test-is-api.html" class="wiki_link">test-is</a></li><li><a href="trace-api.html" class="wiki_link">trace</a></li><li><a href="types-api.html" class="wiki_link">types</a></li><li><a href="with-ns-api.html" class="wiki_link">with-ns</a></li><li><a href="zip-filter-api.html" class="wiki_link">zip-filter</a></li> - </ul> - <div class="BranchTOC"> - <span class="toc-header">Other Versions</span> - <ul id="left-sidebar-branch-list"> - <li><a href="../index.html" class="wiki_link">v1.2 (beta 1)</a></li><li><a href="../branch-1.1.x/index.html" class="wiki_link">v1.1 (stable)</a></li> - </ul> - </div> - <a href="http://clojure.org" class="wiki_link">Clojure Home</a> - </div> -</div> -</div> - <div id="rightcolumn"> - <div id="Content"> - <div class="contentBox"><div class="innerContentBox"> - <div id="content_view" class="wiki wikiPage"> - <div id="right-sidebar"><div id="toc"> - <h1 class="nopad">Table of Contents</h1> - <div style="margin-left: 1em;" class="toc-section"> - <a href="#toc0">Overview</a> - <div style="margin-left: 1em;" class="toc-entry"> - <a href="#clojure.contrib.str-utils2/blank?">blank?</a> - </div><div style="margin-left: 1em;" class="toc-entry"> - <a href="#clojure.contrib.str-utils2/butlast">butlast</a> - </div><div style="margin-left: 1em;" class="toc-entry"> - <a href="#clojure.contrib.str-utils2/capitalize">capitalize</a> - </div><div style="margin-left: 1em;" class="toc-entry"> - <a href="#clojure.contrib.str-utils2/chomp">chomp</a> - </div><div style="margin-left: 1em;" class="toc-entry"> - <a href="#clojure.contrib.str-utils2/chop">chop</a> - </div><div style="margin-left: 1em;" class="toc-entry"> - <a href="#clojure.contrib.str-utils2/codepoints">codepoints</a> - </div><div style="margin-left: 1em;" class="toc-entry"> - <a href="#clojure.contrib.str-utils2/contains?">contains?</a> - </div><div style="margin-left: 1em;" class="toc-entry"> - <a href="#clojure.contrib.str-utils2/dochars">dochars</a> - </div><div style="margin-left: 1em;" class="toc-entry"> - <a href="#clojure.contrib.str-utils2/docodepoints">docodepoints</a> - </div><div style="margin-left: 1em;" class="toc-entry"> - <a href="#clojure.contrib.str-utils2/drop">drop</a> - </div><div style="margin-left: 1em;" class="toc-entry"> - <a href="#clojure.contrib.str-utils2/escape">escape</a> - </div><div style="margin-left: 1em;" class="toc-entry"> - <a href="#clojure.contrib.str-utils2/get">get</a> - </div><div style="margin-left: 1em;" class="toc-entry"> - <a href="#clojure.contrib.str-utils2/grep">grep</a> - </div><div style="margin-left: 1em;" class="toc-entry"> - <a href="#clojure.contrib.str-utils2/join">join</a> - </div><div style="margin-left: 1em;" class="toc-entry"> - <a href="#clojure.contrib.str-utils2/lower-case">lower-case</a> - </div><div style="margin-left: 1em;" class="toc-entry"> - <a href="#clojure.contrib.str-utils2/ltrim">ltrim</a> - </div><div style="margin-left: 1em;" class="toc-entry"> - <a href="#clojure.contrib.str-utils2/map-str">map-str</a> - </div><div style="margin-left: 1em;" class="toc-entry"> - <a href="#clojure.contrib.str-utils2/partial">partial</a> - </div><div style="margin-left: 1em;" class="toc-entry"> - <a href="#clojure.contrib.str-utils2/partition">partition</a> - </div><div style="margin-left: 1em;" class="toc-entry"> - <a href="#clojure.contrib.str-utils2/repeat">repeat</a> - </div><div style="margin-left: 1em;" class="toc-entry"> - <a href="#clojure.contrib.str-utils2/replace">replace</a> - </div><div style="margin-left: 1em;" class="toc-entry"> - <a href="#clojure.contrib.str-utils2/replace-first">replace-first</a> - </div><div style="margin-left: 1em;" class="toc-entry"> - <a href="#clojure.contrib.str-utils2/reverse">reverse</a> - </div><div style="margin-left: 1em;" class="toc-entry"> - <a href="#clojure.contrib.str-utils2/rtrim">rtrim</a> - </div><div style="margin-left: 1em;" class="toc-entry"> - <a href="#clojure.contrib.str-utils2/split">split</a> - </div><div style="margin-left: 1em;" class="toc-entry"> - <a href="#clojure.contrib.str-utils2/split-lines">split-lines</a> - </div><div style="margin-left: 1em;" class="toc-entry"> - <a href="#clojure.contrib.str-utils2/swap-case">swap-case</a> - </div><div style="margin-left: 1em;" class="toc-entry"> - <a href="#clojure.contrib.str-utils2/tail">tail</a> - </div><div style="margin-left: 1em;" class="toc-entry"> - <a href="#clojure.contrib.str-utils2/take">take</a> - </div><div style="margin-left: 1em;" class="toc-entry"> - <a href="#clojure.contrib.str-utils2/trim">trim</a> - </div><div style="margin-left: 1em;" class="toc-entry"> - <a href="#clojure.contrib.str-utils2/upper-case">upper-case</a> - </div> - <br /> - </div> -</div> -</div> - <div id="content-tag"><h1 id="overview">API for <span id="namespace-name">str-utils2</span> - - <span id="header-project">clojure-contrib</span> <span id="header-version">next</span> (<span id="header-status">in development</span>) - </h1> -<span id="author-line">by <span id="author-name">Stuart Sierra</span><br /></span> -<br />Usage: -<pre> -(ns your-namespace - (:require <span id="long-name">clojure.contrib.str-utils2</span>)) -</pre><pre> -</pre><h2>Overview</h2> -<pre id="namespace-docstr">This is a library of string manipulation functions. It -is intented as a replacement for clojure.contrib.str-utils. - -You cannot (use 'clojure.contrib.str-utils2) because it defines -functions with the same names as functions in clojure.core. -Instead, do (require '[clojure.contrib.str-utils2 :as s]) -or something similar. - -Goals: - 1. Be functional - 2. String argument first, to work with -> - 3. Performance linear in string length - -Some ideas are borrowed from -<a href="http://github.com/francoisdevlin/devlinsf-clojure-utils/">http://github.com/francoisdevlin/devlinsf-clojure-utils/</a></pre> - -<span class="ns-deprecated"><span id="content">Deprecated since clojure-contrib version 1.2</span><br /></span> -<br /> -<h2>Public Variables and Functions</h2> -<div id="var-entry"> - <br /> - <hr /> - <h2 id="clojure.contrib.str-utils2/blank?">blank?</h2> - <span id="var-type">function</span><br /> - <pre id="var-usage">Usage: (blank? s) -</pre> - <pre id="var-docstr">True if s is nil, empty, or contains only whitespace.</pre> - - - <a href="http://github.com/richhickey/clojure-contrib/blob/4715ee32c79bc4521a0979c7b1a741ccff4594e2/src/main/clojure/clojure/contrib/str_utils2.clj#L105" id="var-source">Source</a> -</div><div id="var-entry"> - <br /> - <hr /> - <h2 id="clojure.contrib.str-utils2/butlast">butlast</h2> - <span id="var-type">function</span><br /> - <pre id="var-usage">Usage: (butlast s n) -</pre> - <pre id="var-docstr">Returns s without the last n characters. Returns an empty string -if n is greater than the length of s. - -Note the argument order is the opposite of clojure.core/butlast; -this is to keep the string as the first argument for use with -></pre> - - - <a href="http://github.com/richhickey/clojure-contrib/blob/4715ee32c79bc4521a0979c7b1a741ccff4594e2/src/main/clojure/clojure/contrib/str_utils2.clj#L131" id="var-source">Source</a> -</div><div id="var-entry"> - <br /> - <hr /> - <h2 id="clojure.contrib.str-utils2/capitalize">capitalize</h2> - <span id="var-type">function</span><br /> - <pre id="var-usage">Usage: (capitalize s) -</pre> - <pre id="var-docstr">Converts first character of the string to upper-case, all other -characters to lower-case.</pre> - - - <a href="http://github.com/richhickey/clojure-contrib/blob/4715ee32c79bc4521a0979c7b1a741ccff4594e2/src/main/clojure/clojure/contrib/str_utils2.clj#L288" id="var-source">Source</a> -</div><div id="var-entry"> - <br /> - <hr /> - <h2 id="clojure.contrib.str-utils2/chomp">chomp</h2> - <span id="var-type">function</span><br /> - <pre id="var-usage">Usage: (chomp s) -</pre> - <pre id="var-docstr">Removes all trailing newline \n or return \r characters from -string. Note: String.trim() is similar and faster.</pre> - - - <a href="http://github.com/richhickey/clojure-contrib/blob/4715ee32c79bc4521a0979c7b1a741ccff4594e2/src/main/clojure/clojure/contrib/str_utils2.clj#L261" id="var-source">Source</a> -</div><div id="var-entry"> - <br /> - <hr /> - <h2 id="clojure.contrib.str-utils2/chop">chop</h2> - <span id="var-type">function</span><br /> - <pre id="var-usage">Usage: (chop s) -</pre> - <pre id="var-docstr">Removes the last character of string, does nothing on a zero-length -string.</pre> - - - <a href="http://github.com/richhickey/clojure-contrib/blob/4715ee32c79bc4521a0979c7b1a741ccff4594e2/src/main/clojure/clojure/contrib/str_utils2.clj#L252" id="var-source">Source</a> -</div><div id="var-entry"> - <br /> - <hr /> - <h2 id="clojure.contrib.str-utils2/codepoints">codepoints</h2> - <span id="var-type">function</span><br /> - <pre id="var-usage">Usage: (codepoints s) -</pre> - <pre id="var-docstr">Returns a sequence of integer Unicode code points in s. Handles -Unicode supplementary characters (above U+FFFF) correctly.</pre> - - - <a href="http://github.com/richhickey/clojure-contrib/blob/4715ee32c79bc4521a0979c7b1a741ccff4594e2/src/main/clojure/clojure/contrib/str_utils2.clj#L80" id="var-source">Source</a> -</div><div id="var-entry"> - <br /> - <hr /> - <h2 id="clojure.contrib.str-utils2/contains?">contains?</h2> - <span id="var-type">function</span><br /> - <pre id="var-usage">Usage: (contains? s substring) -</pre> - <pre id="var-docstr">True if s contains the substring.</pre> - - - <a href="http://github.com/richhickey/clojure-contrib/blob/4715ee32c79bc4521a0979c7b1a741ccff4594e2/src/main/clojure/clojure/contrib/str_utils2.clj#L367" id="var-source">Source</a> -</div><div id="var-entry"> - <br /> - <hr /> - <h2 id="clojure.contrib.str-utils2/dochars">dochars</h2> - <span id="var-type">macro</span><br /> - <pre id="var-usage">Usage: (dochars bindings & body) -</pre> - <pre id="var-docstr">bindings => [name string] - -Repeatedly executes body, with name bound to each character in -string. Does NOT handle Unicode supplementary characters (above -U+FFFF).</pre> - - - <a href="http://github.com/richhickey/clojure-contrib/blob/4715ee32c79bc4521a0979c7b1a741ccff4594e2/src/main/clojure/clojure/contrib/str_utils2.clj#L40" id="var-source">Source</a> -</div><div id="var-entry"> - <br /> - <hr /> - <h2 id="clojure.contrib.str-utils2/docodepoints">docodepoints</h2> - <span id="var-type">macro</span><br /> - <pre id="var-usage">Usage: (docodepoints bindings & body) -</pre> - <pre id="var-docstr">bindings => [name string] - -Repeatedly executes body, with name bound to the integer code point -of each Unicode character in the string. Handles Unicode -supplementary characters (above U+FFFF) correctly.</pre> - - - <a href="http://github.com/richhickey/clojure-contrib/blob/4715ee32c79bc4521a0979c7b1a741ccff4594e2/src/main/clojure/clojure/contrib/str_utils2.clj#L56" id="var-source">Source</a> -</div><div id="var-entry"> - <br /> - <hr /> - <h2 id="clojure.contrib.str-utils2/drop">drop</h2> - <span id="var-type">function</span><br /> - <pre id="var-usage">Usage: (drop s n) -</pre> - <pre id="var-docstr">Drops first n characters from s. Returns an empty string if n is -greater than the length of s. - -Note the argument order is the opposite of clojure.core/drop; this -is to keep the string as the first argument for use with -></pre> - - - <a href="http://github.com/richhickey/clojure-contrib/blob/4715ee32c79bc4521a0979c7b1a741ccff4594e2/src/main/clojure/clojure/contrib/str_utils2.clj#L120" id="var-source">Source</a> -</div><div id="var-entry"> - <br /> - <hr /> - <h2 id="clojure.contrib.str-utils2/escape">escape</h2> - <span id="var-type">function</span><br /> - <pre id="var-usage">Usage: (escape s cmap) -</pre> - <pre id="var-docstr">Returns a new String by applying cmap (a function or a map) to each -character in s. If cmap returns nil, the original character is -added to the output unchanged.</pre> - - - <a href="http://github.com/richhickey/clojure-contrib/blob/4715ee32c79bc4521a0979c7b1a741ccff4594e2/src/main/clojure/clojure/contrib/str_utils2.clj#L93" id="var-source">Source</a> -</div><div id="var-entry"> - <br /> - <hr /> - <h2 id="clojure.contrib.str-utils2/get">get</h2> - <span id="var-type">function</span><br /> - <pre id="var-usage">Usage: (get s i) -</pre> - <pre id="var-docstr">Gets the i'th character in string.</pre> - - - <a href="http://github.com/richhickey/clojure-contrib/blob/4715ee32c79bc4521a0979c7b1a741ccff4594e2/src/main/clojure/clojure/contrib/str_utils2.clj#L372" id="var-source">Source</a> -</div><div id="var-entry"> - <br /> - <hr /> - <h2 id="clojure.contrib.str-utils2/grep">grep</h2> - <span id="var-type">function</span><br /> - <pre id="var-usage">Usage: (grep re coll) -</pre> - <pre id="var-docstr">Filters elements of coll by a regular expression. The String -representation (with str) of each element is tested with re-find.</pre> - - - <a href="http://github.com/richhickey/clojure-contrib/blob/4715ee32c79bc4521a0979c7b1a741ccff4594e2/src/main/clojure/clojure/contrib/str_utils2.clj#L320" id="var-source">Source</a> -</div><div id="var-entry"> - <br /> - <hr /> - <h2 id="clojure.contrib.str-utils2/join">join</h2> - <span id="var-type">function</span><br /> - <pre id="var-usage">Usage: (join separator coll) -</pre> - <pre id="var-docstr">Returns a string of all elements in coll, separated by -separator. Like Perl's join.</pre> - - - <a href="http://github.com/richhickey/clojure-contrib/blob/4715ee32c79bc4521a0979c7b1a741ccff4594e2/src/main/clojure/clojure/contrib/str_utils2.clj#L246" id="var-source">Source</a> -</div><div id="var-entry"> - <br /> - <hr /> - <h2 id="clojure.contrib.str-utils2/lower-case">lower-case</h2> - <span id="var-type">function</span><br /> - <pre id="var-usage">Usage: (lower-case s) -</pre> - <pre id="var-docstr">Converts string to all lower-case.</pre> - - - <a href="http://github.com/richhickey/clojure-contrib/blob/4715ee32c79bc4521a0979c7b1a741ccff4594e2/src/main/clojure/clojure/contrib/str_utils2.clj#L351" id="var-source">Source</a> -</div><div id="var-entry"> - <br /> - <hr /> - <h2 id="clojure.contrib.str-utils2/ltrim">ltrim</h2> - <span id="var-type">function</span><br /> - <pre id="var-usage">Usage: (ltrim s) -</pre> - <pre id="var-docstr">Removes whitespace from the left side of string.</pre> - - - <a href="http://github.com/richhickey/clojure-contrib/blob/4715ee32c79bc4521a0979c7b1a741ccff4594e2/src/main/clojure/clojure/contrib/str_utils2.clj#L297" id="var-source">Source</a> -</div><div id="var-entry"> - <br /> - <hr /> - <h2 id="clojure.contrib.str-utils2/map-str">map-str</h2> - <span id="var-type">function</span><br /> - <pre id="var-usage">Usage: (map-str f coll) -</pre> - <pre id="var-docstr">Apply f to each element of coll, concatenate all results into a -String.</pre> - - - <a href="http://github.com/richhickey/clojure-contrib/blob/4715ee32c79bc4521a0979c7b1a741ccff4594e2/src/main/clojure/clojure/contrib/str_utils2.clj#L313" id="var-source">Source</a> -</div><div id="var-entry"> - <br /> - <hr /> - <h2 id="clojure.contrib.str-utils2/partial">partial</h2> - <span id="var-type">function</span><br /> - <pre id="var-usage">Usage: (partial f & args) -</pre> - <pre id="var-docstr">Like clojure.core/partial for functions that take their primary -argument first. - -Takes a function f and its arguments, NOT INCLUDING the first -argument. Returns a new function whose first argument will be the -first argument to f. - -Example: (str-utils2/partial str-utils2/take 2) - ;;=> (fn [s] (str-utils2/take s 2))</pre> - - - <a href="http://github.com/richhickey/clojure-contrib/blob/4715ee32c79bc4521a0979c7b1a741ccff4594e2/src/main/clojure/clojure/contrib/str_utils2.clj#L326" id="var-source">Source</a> -</div><div id="var-entry"> - <br /> - <hr /> - <h2 id="clojure.contrib.str-utils2/partition">partition</h2> - <span id="var-type">function</span><br /> - <pre id="var-usage">Usage: (partition s re) -</pre> - <pre id="var-docstr">Splits the string into a lazy sequence of substrings, alternating -between substrings that match the patthern and the substrings -between the matches. The sequence always starts with the substring -before the first match, or an empty string if the beginning of the -string matches. - -For example: (partition "abc123def" #"[a-z]+") -returns: ("" "abc" "123" "def")</pre> - - - <a href="http://github.com/richhickey/clojure-contrib/blob/4715ee32c79bc4521a0979c7b1a741ccff4594e2/src/main/clojure/clojure/contrib/str_utils2.clj#L225" id="var-source">Source</a> -</div><div id="var-entry"> - <br /> - <hr /> - <h2 id="clojure.contrib.str-utils2/repeat">repeat</h2> - <span id="var-type">function</span><br /> - <pre id="var-usage">Usage: (repeat s n) -</pre> - <pre id="var-docstr">Returns a new String containing s repeated n times.</pre> - - - <a href="http://github.com/richhickey/clojure-contrib/blob/4715ee32c79bc4521a0979c7b1a741ccff4594e2/src/main/clojure/clojure/contrib/str_utils2.clj#L149" id="var-source">Source</a> -</div><div id="var-entry"> - <br /> - <hr /> - <h2 id="clojure.contrib.str-utils2/replace">replace</h2> - <span id="var-type">multimethod</span><br /> - <pre id="var-usage">Usage: (replace string pattern replacement) -</pre> - <pre id="var-docstr">Replaces all instances of pattern in string with replacement. - -Allowed argument types for pattern and replacement are: - 1. String and String - 2. Character and Character - 3. regex Pattern and String - (Uses java.util.regex.Matcher.replaceAll) - 4. regex Pattern and function - (Calls function with re-groups of each match, uses return - value as replacement.)</pre> - - - <a href="http://github.com/richhickey/clojure-contrib/blob/4715ee32c79bc4521a0979c7b1a741ccff4594e2/src/main/clojure/clojure/contrib/str_utils2.clj#L159" id="var-source">Source</a> -</div><div id="var-entry"> - <br /> - <hr /> - <h2 id="clojure.contrib.str-utils2/replace-first">replace-first</h2> - <span id="var-type">multimethod</span><br /> - <pre id="var-usage">Usage: (replace-first s pattern replacement) -</pre> - <pre id="var-docstr">Replaces the first instance of pattern in s with replacement. - -Allowed argument types for pattern and replacement are: - 1. String and String - 2. regex Pattern and String - (Uses java.util.regex.Matcher.replaceAll) - 3. regex Pattern and function</pre> - - - <a href="http://github.com/richhickey/clojure-contrib/blob/4715ee32c79bc4521a0979c7b1a741ccff4594e2/src/main/clojure/clojure/contrib/str_utils2.clj#L195" id="var-source">Source</a> -</div><div id="var-entry"> - <br /> - <hr /> - <h2 id="clojure.contrib.str-utils2/reverse">reverse</h2> - <span id="var-type">function</span><br /> - <pre id="var-usage">Usage: (reverse s) -</pre> - <pre id="var-docstr">Returns s with its characters reversed.</pre> - - - <a href="http://github.com/richhickey/clojure-contrib/blob/4715ee32c79bc4521a0979c7b1a741ccff4594e2/src/main/clojure/clojure/contrib/str_utils2.clj#L154" id="var-source">Source</a> -</div><div id="var-entry"> - <br /> - <hr /> - <h2 id="clojure.contrib.str-utils2/rtrim">rtrim</h2> - <span id="var-type">function</span><br /> - <pre id="var-usage">Usage: (rtrim s) -</pre> - <pre id="var-docstr">Removes whitespace from the right side of string.</pre> - - - <a href="http://github.com/richhickey/clojure-contrib/blob/4715ee32c79bc4521a0979c7b1a741ccff4594e2/src/main/clojure/clojure/contrib/str_utils2.clj#L302" id="var-source">Source</a> -</div><div id="var-entry"> - <br /> - <hr /> - <h2 id="clojure.contrib.str-utils2/split">split</h2> - <span id="var-type">function</span><br /> - <pre id="var-usage">Usage: (split s re) - (split s re limit) -</pre> - <pre id="var-docstr">Splits string on a regular expression. Optional argument limit is -the maximum number of splits.</pre> - - - <a href="http://github.com/richhickey/clojure-contrib/blob/4715ee32c79bc4521a0979c7b1a741ccff4594e2/src/main/clojure/clojure/contrib/str_utils2.clj#L356" id="var-source">Source</a> -</div><div id="var-entry"> - <br /> - <hr /> - <h2 id="clojure.contrib.str-utils2/split-lines">split-lines</h2> - <span id="var-type">function</span><br /> - <pre id="var-usage">Usage: (split-lines s) -</pre> - <pre id="var-docstr">Splits s on \n or \r\n.</pre> - - - <a href="http://github.com/richhickey/clojure-contrib/blob/4715ee32c79bc4521a0979c7b1a741ccff4594e2/src/main/clojure/clojure/contrib/str_utils2.clj#L307" id="var-source">Source</a> -</div><div id="var-entry"> - <br /> - <hr /> - <h2 id="clojure.contrib.str-utils2/swap-case">swap-case</h2> - <span id="var-type">function</span><br /> - <pre id="var-usage">Usage: (swap-case s) -</pre> - <pre id="var-docstr">Changes upper case characters to lower case and vice-versa. -Handles Unicode supplementary characters correctly. Uses the -locale-sensitive String.toUpperCase() and String.toLowerCase() -methods.</pre> - - - <a href="http://github.com/richhickey/clojure-contrib/blob/4715ee32c79bc4521a0979c7b1a741ccff4594e2/src/main/clojure/clojure/contrib/str_utils2.clj#L270" id="var-source">Source</a> -</div><div id="var-entry"> - <br /> - <hr /> - <h2 id="clojure.contrib.str-utils2/tail">tail</h2> - <span id="var-type">function</span><br /> - <pre id="var-usage">Usage: (tail s n) -</pre> - <pre id="var-docstr">Returns the last n characters of s.</pre> - - - <a href="http://github.com/richhickey/clojure-contrib/blob/4715ee32c79bc4521a0979c7b1a741ccff4594e2/src/main/clojure/clojure/contrib/str_utils2.clj#L142" id="var-source">Source</a> -</div><div id="var-entry"> - <br /> - <hr /> - <h2 id="clojure.contrib.str-utils2/take">take</h2> - <span id="var-type">function</span><br /> - <pre id="var-usage">Usage: (take s n) -</pre> - <pre id="var-docstr">Take first n characters from s, up to the length of s. - -Note the argument order is the opposite of clojure.core/take; this -is to keep the string as the first argument for use with -></pre> - - - <a href="http://github.com/richhickey/clojure-contrib/blob/4715ee32c79bc4521a0979c7b1a741ccff4594e2/src/main/clojure/clojure/contrib/str_utils2.clj#L110" id="var-source">Source</a> -</div><div id="var-entry"> - <br /> - <hr /> - <h2 id="clojure.contrib.str-utils2/trim">trim</h2> - <span id="var-type">function</span><br /> - <pre id="var-usage">Usage: (trim s) -</pre> - <pre id="var-docstr">Removes whitespace from both ends of string.</pre> - - - <a href="http://github.com/richhickey/clojure-contrib/blob/4715ee32c79bc4521a0979c7b1a741ccff4594e2/src/main/clojure/clojure/contrib/str_utils2.clj#L362" id="var-source">Source</a> -</div><div id="var-entry"> - <br /> - <hr /> - <h2 id="clojure.contrib.str-utils2/upper-case">upper-case</h2> - <span id="var-type">function</span><br /> - <pre id="var-usage">Usage: (upper-case s) -</pre> - <pre id="var-docstr">Converts string to all upper-case.</pre> - - - <a href="http://github.com/richhickey/clojure-contrib/blob/4715ee32c79bc4521a0979c7b1a741ccff4594e2/src/main/clojure/clojure/contrib/str_utils2.clj#L346" id="var-source">Source</a> -</div> - - -</div> - </div> - </div> - </div> - </div> - <div id="foot"> - <div style="text-align: center;" id="copyright">Copyright 2007-2009 by Rich Hickey and the various contributors</div> - </div> - </div> - <div id="DesignedBy">Logo & site design by <a title="Visit Tom Hickey's website." href="http://www.tomhickey.com">Tom Hickey</a>.<br /> - Clojure auto-documentation system by Tom Faulhaber.</div> - </div> - <!-- /AllContentContainer --> - </body> - -</html>
\ No newline at end of file diff --git a/branch-master/stream-utils-api.html b/branch-master/stream-utils-api.html deleted file mode 100644 index 9f3cf70a..00000000 --- a/branch-master/stream-utils-api.html +++ /dev/null @@ -1,310 +0,0 @@ -<html> - <head> - <title>stream-utils - clojure-contrib next API documentation</title> - <link href="../static/favicon.png" rel="icon" /> - <link href="../static/favicon.png" rel="shortcut icon" /> - <link media="all" type="text/css" href="../static/clojure.css" rel="stylesheet" /> - <link media="all" type="text/css" href="../static/wiki.css" rel="stylesheet" /> - <link media="all" type="text/css" href="../static/internal.css" rel="stylesheet" /> - <!-- TODO: are we using these (from clojure.org)? If so, add the files --> - <script src="file/view/code_highlighter.js" type="text/javascript"></script> - <script src="file/view/clojure.js" type="text/javascript"></script> - <style>.menuWrapper{height: 36px;}</style> - <!--[if lte IE 6]> - <link rel="stylesheet" href="http://www.wikispaces.com/_/2009051601/s/internal_ie.css" type="text/css" /> - <![endif]--> - </head> -<!-- -This document was auto-generated from the source by the clojure autodoc system. -To report errors or ask questions about the overall documentation structure, formatting, -etc., contact Tom Faulhaber (google mail name: tomfaulhaber). -For errors in the documentation of a particular namespace, contact the author of that -namespace. ---> - <body> - <div id="AllContentContainer"> - <div id="Header"> - <a id="Logo" href="index.html"><img alt="Clojure" height="100" width="100" src="../static/clojure-icon.gif" /></a> - <h1><a title="page header title" id="page-header" href="index.html">Clojure-contrib API Reference</a></h1> - </div> - <div id="leftcolumn"><div style="text-align: center;"></div> -<div class="menu"> - <div class="WikiCustomNav WikiElement wiki"> - <span class="toc-header"><span id="project-name">clojure-contrib</span> <span id="version">next</span> API</span><br /> - <ul> - <li><a class="wiki_link" href="index.html">Overview</a></li> - <li><a class="wiki_link" href="api-index.html">API Index</a></li> - </ul> - <span class="toc-header">Namespaces</span> - <ul id="left-sidebar-list"> - <li><a href="accumulators-api.html" class="wiki_link">accumulators</a></li><li><a href="agent-utils-api.html" class="wiki_link">agent-utils</a></li><li><a href="apply-macro-api.html" class="wiki_link">apply-macro</a></li><li><a href="base64-api.html" class="wiki_link">base64</a></li><li><a href="classpath-api.html" class="wiki_link">classpath</a></li><li><a href="combinatorics-api.html" class="wiki_link">combinatorics</a></li><li><a href="command-line-api.html" class="wiki_link">command-line</a></li><li><a href="complex-numbers-api.html" class="wiki_link">complex-numbers</a></li><li><a href="cond-api.html" class="wiki_link">cond</a></li><li><a href="condition-api.html" class="wiki_link">condition</a></li><li><a href="core-api.html" class="wiki_link">core</a></li><li><a href="dataflow-api.html" class="wiki_link">dataflow</a></li><li><a href="datalog-api.html" class="wiki_link">datalog</a></li><li><a href="def-api.html" class="wiki_link">def</a></li><li><a href="duck-streams-api.html" class="wiki_link">duck-streams</a></li><li><a href="error-kit-api.html" class="wiki_link">error-kit</a></li><li><a href="except-api.html" class="wiki_link">except</a></li><li><a href="fcase-api.html" class="wiki_link">fcase</a></li><li><a href="find-namespaces-api.html" class="wiki_link">find-namespaces</a></li><li><a href="fnmap-api.html" class="wiki_link">fnmap</a></li><li><a href="gen-html-docs-api.html" class="wiki_link">gen-html-docs</a></li><li><a href="generic.arithmetic-api.html" class="wiki_link">generic.arithmetic</a></li><li><a href="generic.collection-api.html" class="wiki_link">generic.collection</a></li><li><a href="generic.comparison-api.html" class="wiki_link">generic.comparison</a></li><li><a href="generic.functor-api.html" class="wiki_link">generic.functor</a></li><li><a href="generic.math-functions-api.html" class="wiki_link">generic.math-functions</a></li><li><a href="graph-api.html" class="wiki_link">graph</a></li><li><a href="greatest-least-api.html" class="wiki_link">greatest-least</a></li><li><a href="http.agent-api.html" class="wiki_link">http.agent</a></li><li><a href="http.connection-api.html" class="wiki_link">http.connection</a></li><li><a href="import-static-api.html" class="wiki_link">import-static</a></li><li><a href="io-api.html" class="wiki_link">io</a></li><li><a href="jar-api.html" class="wiki_link">jar</a></li><li><a href="java-utils-api.html" class="wiki_link">java-utils</a></li><li><a href="javadoc.browse-api.html" class="wiki_link">javadoc.browse</a></li><li><a href="jmx-api.html" class="wiki_link">jmx</a></li><li><a href="json-api.html" class="wiki_link">json</a></li><li><a href="lazy-seqs-api.html" class="wiki_link">lazy-seqs</a></li><li><a href="lazy-xml-api.html" class="wiki_link">lazy-xml</a></li><li><a href="logging-api.html" class="wiki_link">logging</a></li><li><a href="macro-utils-api.html" class="wiki_link">macro-utils</a></li><li><a href="macros-api.html" class="wiki_link">macros</a></li><li><a href="map-utils-api.html" class="wiki_link">map-utils</a></li><li><a href="math-api.html" class="wiki_link">math</a></li><li><a href="miglayout-api.html" class="wiki_link">miglayout</a></li><li><a href="mmap-api.html" class="wiki_link">mmap</a></li><li><a href="mock-api.html" class="wiki_link">mock</a></li><li><a href="monadic-io-streams-api.html" class="wiki_link">monadic-io-streams</a></li><li><a href="monads-api.html" class="wiki_link">monads</a></li><li><a href="ns-utils-api.html" class="wiki_link">ns-utils</a></li><li><a href="pprint-api.html" class="wiki_link">pprint</a></li><li><a href="priority-map-api.html" class="wiki_link">priority-map</a></li><li><a href="probabilities.finite-distributions-api.html" class="wiki_link">probabilities.finite-distributions</a></li><li><a href="probabilities.monte-carlo-api.html" class="wiki_link">probabilities.monte-carlo</a></li><li><a href="probabilities.random-numbers-api.html" class="wiki_link">probabilities.random-numbers</a></li><li><a href="profile-api.html" class="wiki_link">profile</a></li><li><a href="properties-api.html" class="wiki_link">properties</a></li><li><a href="prxml-api.html" class="wiki_link">prxml</a></li><li><a href="reflect-api.html" class="wiki_link">reflect</a></li><li><a href="repl-ln-api.html" class="wiki_link">repl-ln</a></li><li><a href="repl-utils-api.html" class="wiki_link">repl-utils</a></li><li><a href="seq-api.html" class="wiki_link">seq</a></li><li><a href="seq-utils-api.html" class="wiki_link">seq-utils</a></li><li><a href="server-socket-api.html" class="wiki_link">server-socket</a></li><li><a href="set-api.html" class="wiki_link">set</a></li><li><a href="shell-api.html" class="wiki_link">shell</a></li><li><a href="shell-out-api.html" class="wiki_link">shell-out</a></li><li><a href="singleton-api.html" class="wiki_link">singleton</a></li><li><a href="sql-api.html" class="wiki_link">sql</a></li><li><a href="str-utils-api.html" class="wiki_link">str-utils</a></li><li><a href="str-utils2-api.html" class="wiki_link">str-utils2</a></li><li><a href="stream-utils-api.html" class="wiki_link">stream-utils</a></li><li><a href="string-api.html" class="wiki_link">string</a></li><li><a href="strint-api.html" class="wiki_link">strint</a></li><li><a href="swing-utils-api.html" class="wiki_link">swing-utils</a></li><li><a href="test-is-api.html" class="wiki_link">test-is</a></li><li><a href="trace-api.html" class="wiki_link">trace</a></li><li><a href="types-api.html" class="wiki_link">types</a></li><li><a href="with-ns-api.html" class="wiki_link">with-ns</a></li><li><a href="zip-filter-api.html" class="wiki_link">zip-filter</a></li> - </ul> - <div class="BranchTOC"> - <span class="toc-header">Other Versions</span> - <ul id="left-sidebar-branch-list"> - <li><a href="../index.html" class="wiki_link">v1.2 (beta 1)</a></li><li><a href="../branch-1.1.x/index.html" class="wiki_link">v1.1 (stable)</a></li> - </ul> - </div> - <a href="http://clojure.org" class="wiki_link">Clojure Home</a> - </div> -</div> -</div> - <div id="rightcolumn"> - <div id="Content"> - <div class="contentBox"><div class="innerContentBox"> - <div id="content_view" class="wiki wikiPage"> - <div id="right-sidebar"><div id="toc"> - <h1 class="nopad">Table of Contents</h1> - <div style="margin-left: 1em;" class="toc-section"> - <a href="#toc0">Overview</a> - <div style="margin-left: 1em;" class="toc-entry"> - <a href="#clojure.contrib.stream-utils/defst">defst</a> - </div><div style="margin-left: 1em;" class="toc-entry"> - <a href="#clojure.contrib.stream-utils/defstream">defstream</a> - </div><div style="margin-left: 1em;" class="toc-entry"> - <a href="#clojure.contrib.stream-utils/pick">pick</a> - </div><div style="margin-left: 1em;" class="toc-entry"> - <a href="#clojure.contrib.stream-utils/pick-all">pick-all</a> - </div><div style="margin-left: 1em;" class="toc-entry"> - <a href="#clojure.contrib.stream-utils/stream-drop">stream-drop</a> - </div><div style="margin-left: 1em;" class="toc-entry"> - <a href="#clojure.contrib.stream-utils/stream-filter">stream-filter</a> - </div><div style="margin-left: 1em;" class="toc-entry"> - <a href="#clojure.contrib.stream-utils/stream-flatten">stream-flatten</a> - </div><div style="margin-left: 1em;" class="toc-entry"> - <a href="#clojure.contrib.stream-utils/stream-m">stream-m</a> - </div><div style="margin-left: 1em;" class="toc-entry"> - <a href="#clojure.contrib.stream-utils/stream-map">stream-map</a> - </div><div style="margin-left: 1em;" class="toc-entry"> - <a href="#clojure.contrib.stream-utils/stream-next">stream-next</a> - </div><div style="margin-left: 1em;" class="toc-entry"> - <a href="#clojure.contrib.stream-utils/stream-seq">stream-seq</a> - </div><div style="margin-left: 1em;" class="toc-entry"> - <a href="#clojure.contrib.stream-utils/stream-type">stream-type</a> - </div> - <br /> - </div> -</div> -</div> - <div id="content-tag"><h1 id="overview">API for <span id="namespace-name">stream-utils</span> - - <span id="header-project">clojure-contrib</span> <span id="header-version">next</span> (<span id="header-status">in development</span>) - </h1> -<span id="author-line">by <span id="author-name">Konrad Hinsen</span><br /></span> -<br />Usage: -<pre> -(ns your-namespace - (:require <span id="long-name">clojure.contrib.stream-utils</span>)) -</pre><pre> -</pre><h2>Overview</h2> -<pre id="namespace-docstr">Functions for setting up computational pipelines via data streams. - -NOTE: This library is experimental. It may change significantly - with future release. - -This library defines: -- an abstract stream type, whose interface consists of the - multimethod stream-next -- a macro for implementing streams -- implementations of stream for - 1) Clojure sequences, and vectors - 2) nil, representing an empty stream -- tools for writing stream transformers, including the - monad stream-m -- various utility functions for working with streams - -Streams are building blocks in the construction of computational -pipelines. A stream is represented by its current state plus -a function that takes a stream state and obtains the next item -in the stream as well as the new stream state. The state is -implemented as a Java class or a Clojure type (as defined by the -function clojure.core/type), and the function is provided as an -implementation of the multimethod stream-next for this class or type. - -While setting up pipelines using this mechanism is somewhat more -cumbersome than using Clojure's lazy seq mechanisms, there are a -few advantages: -- The state of a stream can be stored in any Clojure data structure, - and the stream can be re-generated from it any number of times. - Any number of states can be stored this way. -- The elements of the stream are never cached, so keeping a reference - to a stream state does not incur an uncontrollable memory penalty. - -Note that the stream mechanism is thread-safe as long as the -concrete stream implementations do not use any mutable state. - -Stream transformers take any number of input streams and produce one -output stream. They are typically written using the stream-m -monad. In the definition of a stream transformer, (pick s) returns -the next value of stream argument s, whereas pick-all returns the -next value of all stream arguments in the form of a vector.</pre> - - -<br /> -<h2>Public Variables and Functions</h2> -<div id="var-entry"> - <br /> - <hr /> - <h2 id="clojure.contrib.stream-utils/defst">defst</h2> - <span id="var-type">macro</span><br /> - <pre id="var-usage">Usage: (defst name args streams & body) -</pre> - <pre id="var-docstr">Define the stream transformer name by body. -The non-stream arguments args and the stream arguments streams -are given separately, with args being possibly empty.</pre> - - - <a href="http://github.com/richhickey/clojure-contrib/blob/7188a51605136f36524e4091fe806859114d6056/src/main/clojure/clojure/contrib/stream_utils.clj#L183" id="var-source">Source</a> -</div><div id="var-entry"> - <br /> - <hr /> - <h2 id="clojure.contrib.stream-utils/defstream">defstream</h2> - <span id="var-type">macro</span><br /> - <pre id="var-usage">Usage: (defstream type-tag args & body) -</pre> - <pre id="var-docstr">Define object of the given type as a stream whose implementation -of stream-next is defined by args and body. This macro adds -a type-specific method for stream-next and derives type -from stream-type.</pre> - - - <a href="http://github.com/richhickey/clojure-contrib/blob/7188a51605136f36524e4091fe806859114d6056/src/main/clojure/clojure/contrib/stream_utils.clj#L73" id="var-source">Source</a> -</div><div id="var-entry"> - <br /> - <hr /> - <h2 id="clojure.contrib.stream-utils/pick">pick</h2> - <span id="var-type">function</span><br /> - <pre id="var-usage">Usage: (pick n) -</pre> - <pre id="var-docstr">Return the next value of stream argument n inside a stream -transformer. When used inside of defst, the name of the stream -argument can be used instead of its index n.</pre> - - - <a href="http://github.com/richhickey/clojure-contrib/blob/7188a51605136f36524e4091fe806859114d6056/src/main/clojure/clojure/contrib/stream_utils.clj#L149" id="var-source">Source</a> -</div><div id="var-entry"> - <br /> - <hr /> - <h2 id="clojure.contrib.stream-utils/pick-all">pick-all</h2> - <span id="var-type">function</span><br /> - <pre id="var-usage">Usage: (pick-all streams) -</pre> - <pre id="var-docstr">Return a vector containing the next value of each stream argument -inside a stream transformer.</pre> - - - <a href="http://github.com/richhickey/clojure-contrib/blob/7188a51605136f36524e4091fe806859114d6056/src/main/clojure/clojure/contrib/stream_utils.clj#L160" id="var-source">Source</a> -</div><div id="var-entry"> - <br /> - <hr /> - <h2 id="clojure.contrib.stream-utils/stream-drop">stream-drop</h2> - <span id="var-type">function</span><br /> - <pre id="var-usage">Usage: (stream-drop n stream) -</pre> - <pre id="var-docstr">Return a stream containing all but the first n elements of stream.</pre> - - - <a href="http://github.com/richhickey/clojure-contrib/blob/7188a51605136f36524e4091fe806859114d6056/src/main/clojure/clojure/contrib/stream_utils.clj#L201" id="var-source">Source</a> -</div><div id="var-entry"> - <br /> - <hr /> - <h2 id="clojure.contrib.stream-utils/stream-filter">stream-filter</h2> - <span id="var-type">multimethod</span><br /> - <pre id="var-usage">Usage: (stream-filter p stream) -</pre> - <pre id="var-docstr">Return a new stream that contrains the elements of stream -that satisfy the predicate p.</pre> - - - <a href="http://github.com/richhickey/clojure-contrib/blob/7188a51605136f36524e4091fe806859114d6056/src/main/clojure/clojure/contrib/stream_utils.clj#L243" id="var-source">Source</a> -</div><div id="var-entry"> - <br /> - <hr /> - <h2 id="clojure.contrib.stream-utils/stream-flatten">stream-flatten</h2> - <span id="var-type">function</span><br /> - <pre id="var-usage">Usage: (stream-flatten s) -</pre> - <pre id="var-docstr">Converts a stream of sequences into a stream of the elements of the -sequences. Flattening is not recursive, only one level of nesting -will be removed.</pre> - - - <a href="http://github.com/richhickey/clojure-contrib/blob/7188a51605136f36524e4091fe806859114d6056/src/main/clojure/clojure/contrib/stream_utils.clj#L271" id="var-source">Source</a> -</div><div id="var-entry"> - <br /> - <hr /> - <h2 id="clojure.contrib.stream-utils/stream-m">stream-m</h2> - <span id="var-type">var</span><br /> - <pre id="var-usage"></pre> - <pre id="var-docstr">Monad describing stream computations. The monadic values can be -of any type handled by stream-next.</pre> - - - <a href="http://github.com/richhickey/clojure-contrib/blob/7188a51605136f36524e4091fe806859114d6056/src/main/clojure/clojure/contrib/stream_utils.clj#L135" id="var-source">Source</a> -</div><div id="var-entry"> - <br /> - <hr /> - <h2 id="clojure.contrib.stream-utils/stream-map">stream-map</h2> - <span id="var-type">multimethod</span><br /> - <pre id="var-usage">Usage: (stream-map f stream) -</pre> - <pre id="var-docstr">Return a new stream by mapping the function f on the given stream.</pre> - - - <a href="http://github.com/richhickey/clojure-contrib/blob/7188a51605136f36524e4091fe806859114d6056/src/main/clojure/clojure/contrib/stream_utils.clj#L219" id="var-source">Source</a> -</div><div id="var-entry"> - <br /> - <hr /> - <h2 id="clojure.contrib.stream-utils/stream-next">stream-next</h2> - <span id="var-type">multimethod</span><br /> - <pre id="var-usage">Usage: (stream-next stream-state) -</pre> - <pre id="var-docstr">Returns a vector [next-value new-state] where next-value is the next -item in the data stream defined by stream-state and new-state -is the new state of the stream. At the end of the stream, -next-value and new-state are nil.</pre> - - - <a href="http://github.com/richhickey/clojure-contrib/blob/7188a51605136f36524e4091fe806859114d6056/src/main/clojure/clojure/contrib/stream_utils.clj#L91" id="var-source">Source</a> -</div><div id="var-entry"> - <br /> - <hr /> - <h2 id="clojure.contrib.stream-utils/stream-seq">stream-seq</h2> - <span id="var-type">function</span><br /> - <pre id="var-usage">Usage: (stream-seq s) -</pre> - <pre id="var-docstr">Return a lazy seq on the stream. Also accessible via -clojure.contrib.seq/seq-on and -clojure.contrib.generic.collection/seq for streams.</pre> - - - <a href="http://github.com/richhickey/clojure-contrib/blob/7188a51605136f36524e4091fe806859114d6056/src/main/clojure/clojure/contrib/stream_utils.clj#L113" id="var-source">Source</a> -</div><div id="var-entry"> - <br /> - <hr /> - <h2 id="clojure.contrib.stream-utils/stream-type">stream-type</h2> - <span id="var-type">var</span><br /> - <pre id="var-usage"></pre> - <pre id="var-docstr">The root type for the stream hierarchy. For each stream type, -add a derivation from this type.</pre> - - - <a href="http://github.com/richhickey/clojure-contrib/blob/7188a51605136f36524e4091fe806859114d6056/src/main/clojure/clojure/contrib/stream_utils.clj#L69" id="var-source">Source</a> -</div> - - -</div> - </div> - </div> - </div> - </div> - <div id="foot"> - <div style="text-align: center;" id="copyright">Copyright 2007-2009 by Rich Hickey and the various contributors</div> - </div> - </div> - <div id="DesignedBy">Logo & site design by <a title="Visit Tom Hickey's website." href="http://www.tomhickey.com">Tom Hickey</a>.<br /> - Clojure auto-documentation system by Tom Faulhaber.</div> - </div> - <!-- /AllContentContainer --> - </body> - -</html>
\ No newline at end of file diff --git a/branch-master/string-api.html b/branch-master/string-api.html deleted file mode 100644 index 5f1d6ff5..00000000 --- a/branch-master/string-api.html +++ /dev/null @@ -1,616 +0,0 @@ -<html> - <head> - <title>string - clojure-contrib next API documentation</title> - <link href="../static/favicon.png" rel="icon" /> - <link href="../static/favicon.png" rel="shortcut icon" /> - <link media="all" type="text/css" href="../static/clojure.css" rel="stylesheet" /> - <link media="all" type="text/css" href="../static/wiki.css" rel="stylesheet" /> - <link media="all" type="text/css" href="../static/internal.css" rel="stylesheet" /> - <!-- TODO: are we using these (from clojure.org)? If so, add the files --> - <script src="file/view/code_highlighter.js" type="text/javascript"></script> - <script src="file/view/clojure.js" type="text/javascript"></script> - <style>.menuWrapper{height: 36px;}</style> - <!--[if lte IE 6]> - <link rel="stylesheet" href="http://www.wikispaces.com/_/2009051601/s/internal_ie.css" type="text/css" /> - <![endif]--> - </head> -<!-- -This document was auto-generated from the source by the clojure autodoc system. -To report errors or ask questions about the overall documentation structure, formatting, -etc., contact Tom Faulhaber (google mail name: tomfaulhaber). -For errors in the documentation of a particular namespace, contact the author of that -namespace. ---> - <body> - <div id="AllContentContainer"> - <div id="Header"> - <a id="Logo" href="index.html"><img alt="Clojure" height="100" width="100" src="../static/clojure-icon.gif" /></a> - <h1><a title="page header title" id="page-header" href="index.html">Clojure-contrib API Reference</a></h1> - </div> - <div id="leftcolumn"><div style="text-align: center;"></div> -<div class="menu"> - <div class="WikiCustomNav WikiElement wiki"> - <span class="toc-header"><span id="project-name">clojure-contrib</span> <span id="version">next</span> API</span><br /> - <ul> - <li><a class="wiki_link" href="index.html">Overview</a></li> - <li><a class="wiki_link" href="api-index.html">API Index</a></li> - </ul> - <span class="toc-header">Namespaces</span> - <ul id="left-sidebar-list"> - <li><a href="accumulators-api.html" class="wiki_link">accumulators</a></li><li><a href="agent-utils-api.html" class="wiki_link">agent-utils</a></li><li><a href="apply-macro-api.html" class="wiki_link">apply-macro</a></li><li><a href="base64-api.html" class="wiki_link">base64</a></li><li><a href="classpath-api.html" class="wiki_link">classpath</a></li><li><a href="combinatorics-api.html" class="wiki_link">combinatorics</a></li><li><a href="command-line-api.html" class="wiki_link">command-line</a></li><li><a href="complex-numbers-api.html" class="wiki_link">complex-numbers</a></li><li><a href="cond-api.html" class="wiki_link">cond</a></li><li><a href="condition-api.html" class="wiki_link">condition</a></li><li><a href="core-api.html" class="wiki_link">core</a></li><li><a href="dataflow-api.html" class="wiki_link">dataflow</a></li><li><a href="datalog-api.html" class="wiki_link">datalog</a></li><li><a href="def-api.html" class="wiki_link">def</a></li><li><a href="duck-streams-api.html" class="wiki_link">duck-streams</a></li><li><a href="error-kit-api.html" class="wiki_link">error-kit</a></li><li><a href="except-api.html" class="wiki_link">except</a></li><li><a href="fcase-api.html" class="wiki_link">fcase</a></li><li><a href="find-namespaces-api.html" class="wiki_link">find-namespaces</a></li><li><a href="fnmap-api.html" class="wiki_link">fnmap</a></li><li><a href="gen-html-docs-api.html" class="wiki_link">gen-html-docs</a></li><li><a href="generic.arithmetic-api.html" class="wiki_link">generic.arithmetic</a></li><li><a href="generic.collection-api.html" class="wiki_link">generic.collection</a></li><li><a href="generic.comparison-api.html" class="wiki_link">generic.comparison</a></li><li><a href="generic.functor-api.html" class="wiki_link">generic.functor</a></li><li><a href="generic.math-functions-api.html" class="wiki_link">generic.math-functions</a></li><li><a href="graph-api.html" class="wiki_link">graph</a></li><li><a href="greatest-least-api.html" class="wiki_link">greatest-least</a></li><li><a href="http.agent-api.html" class="wiki_link">http.agent</a></li><li><a href="http.connection-api.html" class="wiki_link">http.connection</a></li><li><a href="import-static-api.html" class="wiki_link">import-static</a></li><li><a href="io-api.html" class="wiki_link">io</a></li><li><a href="jar-api.html" class="wiki_link">jar</a></li><li><a href="java-utils-api.html" class="wiki_link">java-utils</a></li><li><a href="javadoc.browse-api.html" class="wiki_link">javadoc.browse</a></li><li><a href="jmx-api.html" class="wiki_link">jmx</a></li><li><a href="json-api.html" class="wiki_link">json</a></li><li><a href="lazy-seqs-api.html" class="wiki_link">lazy-seqs</a></li><li><a href="lazy-xml-api.html" class="wiki_link">lazy-xml</a></li><li><a href="logging-api.html" class="wiki_link">logging</a></li><li><a href="macro-utils-api.html" class="wiki_link">macro-utils</a></li><li><a href="macros-api.html" class="wiki_link">macros</a></li><li><a href="map-utils-api.html" class="wiki_link">map-utils</a></li><li><a href="math-api.html" class="wiki_link">math</a></li><li><a href="miglayout-api.html" class="wiki_link">miglayout</a></li><li><a href="mmap-api.html" class="wiki_link">mmap</a></li><li><a href="mock-api.html" class="wiki_link">mock</a></li><li><a href="monadic-io-streams-api.html" class="wiki_link">monadic-io-streams</a></li><li><a href="monads-api.html" class="wiki_link">monads</a></li><li><a href="ns-utils-api.html" class="wiki_link">ns-utils</a></li><li><a href="pprint-api.html" class="wiki_link">pprint</a></li><li><a href="priority-map-api.html" class="wiki_link">priority-map</a></li><li><a href="probabilities.finite-distributions-api.html" class="wiki_link">probabilities.finite-distributions</a></li><li><a href="probabilities.monte-carlo-api.html" class="wiki_link">probabilities.monte-carlo</a></li><li><a href="probabilities.random-numbers-api.html" class="wiki_link">probabilities.random-numbers</a></li><li><a href="profile-api.html" class="wiki_link">profile</a></li><li><a href="properties-api.html" class="wiki_link">properties</a></li><li><a href="prxml-api.html" class="wiki_link">prxml</a></li><li><a href="reflect-api.html" class="wiki_link">reflect</a></li><li><a href="repl-ln-api.html" class="wiki_link">repl-ln</a></li><li><a href="repl-utils-api.html" class="wiki_link">repl-utils</a></li><li><a href="seq-api.html" class="wiki_link">seq</a></li><li><a href="seq-utils-api.html" class="wiki_link">seq-utils</a></li><li><a href="server-socket-api.html" class="wiki_link">server-socket</a></li><li><a href="set-api.html" class="wiki_link">set</a></li><li><a href="shell-api.html" class="wiki_link">shell</a></li><li><a href="shell-out-api.html" class="wiki_link">shell-out</a></li><li><a href="singleton-api.html" class="wiki_link">singleton</a></li><li><a href="sql-api.html" class="wiki_link">sql</a></li><li><a href="str-utils-api.html" class="wiki_link">str-utils</a></li><li><a href="str-utils2-api.html" class="wiki_link">str-utils2</a></li><li><a href="stream-utils-api.html" class="wiki_link">stream-utils</a></li><li><a href="string-api.html" class="wiki_link">string</a></li><li><a href="strint-api.html" class="wiki_link">strint</a></li><li><a href="swing-utils-api.html" class="wiki_link">swing-utils</a></li><li><a href="test-is-api.html" class="wiki_link">test-is</a></li><li><a href="trace-api.html" class="wiki_link">trace</a></li><li><a href="types-api.html" class="wiki_link">types</a></li><li><a href="with-ns-api.html" class="wiki_link">with-ns</a></li><li><a href="zip-filter-api.html" class="wiki_link">zip-filter</a></li> - </ul> - <div class="BranchTOC"> - <span class="toc-header">Other Versions</span> - <ul id="left-sidebar-branch-list"> - <li><a href="../index.html" class="wiki_link">v1.2 (beta 1)</a></li><li><a href="../branch-1.1.x/index.html" class="wiki_link">v1.1 (stable)</a></li> - </ul> - </div> - <a href="http://clojure.org" class="wiki_link">Clojure Home</a> - </div> -</div> -</div> - <div id="rightcolumn"> - <div id="Content"> - <div class="contentBox"><div class="innerContentBox"> - <div id="content_view" class="wiki wikiPage"> - <div id="right-sidebar"><div id="toc"> - <h1 class="nopad">Table of Contents</h1> - <div style="margin-left: 1em;" class="toc-section"> - <a href="#toc0">Overview</a> - <div style="margin-left: 1em;" class="toc-entry"> - <a href="#clojure.contrib.string/as-str">as-str</a> - </div><div style="margin-left: 1em;" class="toc-entry"> - <a href="#clojure.contrib.string/blank?">blank?</a> - </div><div style="margin-left: 1em;" class="toc-entry"> - <a href="#clojure.contrib.string/butlast">butlast</a> - </div><div style="margin-left: 1em;" class="toc-entry"> - <a href="#clojure.contrib.string/capitalize">capitalize</a> - </div><div style="margin-left: 1em;" class="toc-entry"> - <a href="#clojure.contrib.string/chomp">chomp</a> - </div><div style="margin-left: 1em;" class="toc-entry"> - <a href="#clojure.contrib.string/chop">chop</a> - </div><div style="margin-left: 1em;" class="toc-entry"> - <a href="#clojure.contrib.string/codepoints">codepoints</a> - </div><div style="margin-left: 1em;" class="toc-entry"> - <a href="#clojure.contrib.string/dochars">dochars</a> - </div><div style="margin-left: 1em;" class="toc-entry"> - <a href="#clojure.contrib.string/docodepoints">docodepoints</a> - </div><div style="margin-left: 1em;" class="toc-entry"> - <a href="#clojure.contrib.string/drop">drop</a> - </div><div style="margin-left: 1em;" class="toc-entry"> - <a href="#clojure.contrib.string/escape">escape</a> - </div><div style="margin-left: 1em;" class="toc-entry"> - <a href="#clojure.contrib.string/get">get</a> - </div><div style="margin-left: 1em;" class="toc-entry"> - <a href="#clojure.contrib.string/grep">grep</a> - </div><div style="margin-left: 1em;" class="toc-entry"> - <a href="#clojure.contrib.string/join">join</a> - </div><div style="margin-left: 1em;" class="toc-entry"> - <a href="#clojure.contrib.string/lower-case">lower-case</a> - </div><div style="margin-left: 1em;" class="toc-entry"> - <a href="#clojure.contrib.string/ltrim">ltrim</a> - </div><div style="margin-left: 1em;" class="toc-entry"> - <a href="#clojure.contrib.string/map-str">map-str</a> - </div><div style="margin-left: 1em;" class="toc-entry"> - <a href="#clojure.contrib.string/partition">partition</a> - </div><div style="margin-left: 1em;" class="toc-entry"> - <a href="#clojure.contrib.string/repeat">repeat</a> - </div><div style="margin-left: 1em;" class="toc-entry"> - <a href="#clojure.contrib.string/replace-by">replace-by</a> - </div><div style="margin-left: 1em;" class="toc-entry"> - <a href="#clojure.contrib.string/replace-char">replace-char</a> - </div><div style="margin-left: 1em;" class="toc-entry"> - <a href="#clojure.contrib.string/replace-first-by">replace-first-by</a> - </div><div style="margin-left: 1em;" class="toc-entry"> - <a href="#clojure.contrib.string/replace-first-re">replace-first-re</a> - </div><div style="margin-left: 1em;" class="toc-entry"> - <a href="#clojure.contrib.string/replace-first-str">replace-first-str</a> - </div><div style="margin-left: 1em;" class="toc-entry"> - <a href="#clojure.contrib.string/replace-re">replace-re</a> - </div><div style="margin-left: 1em;" class="toc-entry"> - <a href="#clojure.contrib.string/replace-str">replace-str</a> - </div><div style="margin-left: 1em;" class="toc-entry"> - <a href="#clojure.contrib.string/reverse">reverse</a> - </div><div style="margin-left: 1em;" class="toc-entry"> - <a href="#clojure.contrib.string/rtrim">rtrim</a> - </div><div style="margin-left: 1em;" class="toc-entry"> - <a href="#clojure.contrib.string/split">split</a> - </div><div style="margin-left: 1em;" class="toc-entry"> - <a href="#clojure.contrib.string/split-lines">split-lines</a> - </div><div style="margin-left: 1em;" class="toc-entry"> - <a href="#clojure.contrib.string/substring?">substring?</a> - </div><div style="margin-left: 1em;" class="toc-entry"> - <a href="#clojure.contrib.string/swap-case">swap-case</a> - </div><div style="margin-left: 1em;" class="toc-entry"> - <a href="#clojure.contrib.string/tail">tail</a> - </div><div style="margin-left: 1em;" class="toc-entry"> - <a href="#clojure.contrib.string/take">take</a> - </div><div style="margin-left: 1em;" class="toc-entry"> - <a href="#clojure.contrib.string/trim">trim</a> - </div><div style="margin-left: 1em;" class="toc-entry"> - <a href="#clojure.contrib.string/upper-case">upper-case</a> - </div> - <br /> - </div> -</div> -</div> - <div id="content-tag"><h1 id="overview">API for <span id="namespace-name">string</span> - - <span id="header-project">clojure-contrib</span> <span id="header-version">next</span> (<span id="header-status">in development</span>) - </h1> - -<br />Usage: -<pre> -(ns your-namespace - (:require <span id="long-name">clojure.contrib.string</span>)) -</pre><pre> -</pre><h2>Overview</h2> -<pre id="namespace-docstr"></pre> - - -<br /> -<h2>Public Variables and Functions</h2> -<div id="var-entry"> - <br /> - <hr /> - <h2 id="clojure.contrib.string/as-str">as-str</h2> - <span id="var-type">function</span><br /> - <pre id="var-usage">Usage: (as-str) - (as-str x) - (as-str x & ys) -</pre> - <pre id="var-docstr">Like clojure.core/str, but if an argument is a keyword or symbol, -its name will be used instead of its literal representation. - -Example: - (str :foo :bar) ;;=> ":foo:bar" - (as-str :foo :bar) ;;=> "foobar" - -Note that this does not apply to keywords or symbols nested within -data structures; they will be rendered as with str. - -Example: - (str {:foo :bar}) ;;=> "{:foo :bar}" - (as-str {:foo :bar}) ;;=> "{:foo :bar}" </pre> - - - <a href="http://github.com/richhickey/clojure-contrib/blob/4715ee32c79bc4521a0979c7b1a741ccff4594e2/src/main/clojure/clojure/contrib/string.clj#L315" id="var-source">Source</a> -</div><div id="var-entry"> - <br /> - <hr /> - <h2 id="clojure.contrib.string/blank?">blank?</h2> - <span id="var-type">function</span><br /> - <pre id="var-usage">Usage: (blank? s) -</pre> - <pre id="var-docstr">True if s is nil, empty, or contains only whitespace.</pre> - - <span class="var-deprecated"><span id="content">Deprecated since clojure-contrib version 1.2</span><br /></span> - <a href="http://github.com/richhickey/clojure-contrib/blob/4715ee32c79bc4521a0979c7b1a741ccff4594e2/src/main/clojure/clojure/contrib/string.clj#L104" id="var-source">Source</a> -</div><div id="var-entry"> - <br /> - <hr /> - <h2 id="clojure.contrib.string/butlast">butlast</h2> - <span id="var-type">function</span><br /> - <pre id="var-usage">Usage: (butlast n s) -</pre> - <pre id="var-docstr">Returns s without the last n characters. Returns an empty string -if n is greater than the length of s.</pre> - - - <a href="http://github.com/richhickey/clojure-contrib/blob/4715ee32c79bc4521a0979c7b1a741ccff4594e2/src/main/clojure/clojure/contrib/string.clj#L125" id="var-source">Source</a> -</div><div id="var-entry"> - <br /> - <hr /> - <h2 id="clojure.contrib.string/capitalize">capitalize</h2> - <span id="var-type">function</span><br /> - <pre id="var-usage">Usage: (capitalize s) -</pre> - <pre id="var-docstr">Converts first character of the string to upper-case, all other -characters to lower-case.</pre> - - <span class="var-deprecated"><span id="content">Deprecated since clojure-contrib version 1.2</span><br /></span> - <a href="http://github.com/richhickey/clojure-contrib/blob/4715ee32c79bc4521a0979c7b1a741ccff4594e2/src/main/clojure/clojure/contrib/string.clj#L271" id="var-source">Source</a> -</div><div id="var-entry"> - <br /> - <hr /> - <h2 id="clojure.contrib.string/chomp">chomp</h2> - <span id="var-type">function</span><br /> - <pre id="var-usage">Usage: (chomp s) -</pre> - <pre id="var-docstr">Removes all trailing newline \n or return \r characters from -string. Note: String.trim() is similar and faster. -Deprecated in 1.2. Use clojure.string/trim-newline</pre> - - <span class="var-deprecated"><span id="content">Deprecated since clojure-contrib version 1.2</span><br /></span> - <a href="http://github.com/richhickey/clojure-contrib/blob/4715ee32c79bc4521a0979c7b1a741ccff4594e2/src/main/clojure/clojure/contrib/string.clj#L245" id="var-source">Source</a> -</div><div id="var-entry"> - <br /> - <hr /> - <h2 id="clojure.contrib.string/chop">chop</h2> - <span id="var-type">function</span><br /> - <pre id="var-usage">Usage: (chop s) -</pre> - <pre id="var-docstr">Removes the last character of string, does nothing on a zero-length -string.</pre> - - - <a href="http://github.com/richhickey/clojure-contrib/blob/4715ee32c79bc4521a0979c7b1a741ccff4594e2/src/main/clojure/clojure/contrib/string.clj#L236" id="var-source">Source</a> -</div><div id="var-entry"> - <br /> - <hr /> - <h2 id="clojure.contrib.string/codepoints">codepoints</h2> - <span id="var-type">function</span><br /> - <pre id="var-usage">Usage: (codepoints s) -</pre> - <pre id="var-docstr">Returns a sequence of integer Unicode code points in s. Handles -Unicode supplementary characters (above U+FFFF) correctly.</pre> - - - <a href="http://github.com/richhickey/clojure-contrib/blob/4715ee32c79bc4521a0979c7b1a741ccff4594e2/src/main/clojure/clojure/contrib/string.clj#L78" id="var-source">Source</a> -</div><div id="var-entry"> - <br /> - <hr /> - <h2 id="clojure.contrib.string/dochars">dochars</h2> - <span id="var-type">macro</span><br /> - <pre id="var-usage">Usage: (dochars bindings & body) -</pre> - <pre id="var-docstr">bindings => [name string] - -Repeatedly executes body, with name bound to each character in -string. Does NOT handle Unicode supplementary characters (above -U+FFFF).</pre> - - - <a href="http://github.com/richhickey/clojure-contrib/blob/4715ee32c79bc4521a0979c7b1a741ccff4594e2/src/main/clojure/clojure/contrib/string.clj#L38" id="var-source">Source</a> -</div><div id="var-entry"> - <br /> - <hr /> - <h2 id="clojure.contrib.string/docodepoints">docodepoints</h2> - <span id="var-type">macro</span><br /> - <pre id="var-usage">Usage: (docodepoints bindings & body) -</pre> - <pre id="var-docstr">bindings => [name string] - -Repeatedly executes body, with name bound to the integer code point -of each Unicode character in the string. Handles Unicode -supplementary characters (above U+FFFF) correctly.</pre> - - - <a href="http://github.com/richhickey/clojure-contrib/blob/4715ee32c79bc4521a0979c7b1a741ccff4594e2/src/main/clojure/clojure/contrib/string.clj#L54" id="var-source">Source</a> -</div><div id="var-entry"> - <br /> - <hr /> - <h2 id="clojure.contrib.string/drop">drop</h2> - <span id="var-type">function</span><br /> - <pre id="var-usage">Usage: (drop n s) -</pre> - <pre id="var-docstr">Drops first n characters from s. Returns an empty string if n is -greater than the length of s.</pre> - - - <a href="http://github.com/richhickey/clojure-contrib/blob/4715ee32c79bc4521a0979c7b1a741ccff4594e2/src/main/clojure/clojure/contrib/string.clj#L117" id="var-source">Source</a> -</div><div id="var-entry"> - <br /> - <hr /> - <h2 id="clojure.contrib.string/escape">escape</h2> - <span id="var-type">function</span><br /> - <pre id="var-usage">Usage: (escape cmap s) -</pre> - <pre id="var-docstr">Returns a new String by applying cmap (a function or a map) to each -character in s. If cmap returns nil, the original character is -added to the output unchanged.</pre> - - <span class="var-deprecated"><span id="content">Deprecated since clojure-contrib version 1.2</span><br /></span> - <a href="http://github.com/richhickey/clojure-contrib/blob/4715ee32c79bc4521a0979c7b1a741ccff4594e2/src/main/clojure/clojure/contrib/string.clj#L91" id="var-source">Source</a> -</div><div id="var-entry"> - <br /> - <hr /> - <h2 id="clojure.contrib.string/get">get</h2> - <span id="var-type">function</span><br /> - <pre id="var-usage">Usage: (get s i) -</pre> - <pre id="var-docstr">Gets the i'th character in string.</pre> - - <span class="var-deprecated"><span id="content">Deprecated since clojure-contrib version 1.2</span><br /></span> - <a href="http://github.com/richhickey/clojure-contrib/blob/4715ee32c79bc4521a0979c7b1a741ccff4594e2/src/main/clojure/clojure/contrib/string.clj#L377" id="var-source">Source</a> -</div><div id="var-entry"> - <br /> - <hr /> - <h2 id="clojure.contrib.string/grep">grep</h2> - <span id="var-type">function</span><br /> - <pre id="var-usage">Usage: (grep re coll) -</pre> - <pre id="var-docstr">Filters elements of coll by a regular expression. The String -representation (with str) of each element is tested with re-find.</pre> - - - <a href="http://github.com/richhickey/clojure-contrib/blob/4715ee32c79bc4521a0979c7b1a741ccff4594e2/src/main/clojure/clojure/contrib/string.clj#L309" id="var-source">Source</a> -</div><div id="var-entry"> - <br /> - <hr /> - <h2 id="clojure.contrib.string/join">join</h2> - <span id="var-type">function</span><br /> - <pre id="var-usage">Usage: (join separator coll) -</pre> - <pre id="var-docstr">Returns a string of all elements in coll, separated by -separator. Like Perl's join.</pre> - - <span class="var-deprecated"><span id="content">Deprecated since clojure-contrib version 1.2</span><br /></span> - <a href="http://github.com/richhickey/clojure-contrib/blob/4715ee32c79bc4521a0979c7b1a741ccff4594e2/src/main/clojure/clojure/contrib/string.clj#L229" id="var-source">Source</a> -</div><div id="var-entry"> - <br /> - <hr /> - <h2 id="clojure.contrib.string/lower-case">lower-case</h2> - <span id="var-type">function</span><br /> - <pre id="var-usage">Usage: (lower-case s) -</pre> - <pre id="var-docstr">Converts string to all lower-case.</pre> - - <span class="var-deprecated"><span id="content">Deprecated since clojure-contrib version 1.2</span><br /></span> - <a href="http://github.com/richhickey/clojure-contrib/blob/4715ee32c79bc4521a0979c7b1a741ccff4594e2/src/main/clojure/clojure/contrib/string.clj#L353" id="var-source">Source</a> -</div><div id="var-entry"> - <br /> - <hr /> - <h2 id="clojure.contrib.string/ltrim">ltrim</h2> - <span id="var-type">function</span><br /> - <pre id="var-usage">Usage: (ltrim s) -</pre> - <pre id="var-docstr">Removes whitespace from the left side of string. -Deprecated in 1.2. Use clojure.string/triml.</pre> - - <span class="var-deprecated"><span id="content">Deprecated since clojure-contrib version 1.2</span><br /></span> - <a href="http://github.com/richhickey/clojure-contrib/blob/4715ee32c79bc4521a0979c7b1a741ccff4594e2/src/main/clojure/clojure/contrib/string.clj#L281" id="var-source">Source</a> -</div><div id="var-entry"> - <br /> - <hr /> - <h2 id="clojure.contrib.string/map-str">map-str</h2> - <span id="var-type">function</span><br /> - <pre id="var-usage">Usage: (map-str f coll) -</pre> - <pre id="var-docstr">Apply f to each element of coll, concatenate all results into a -String.</pre> - - - <a href="http://github.com/richhickey/clojure-contrib/blob/4715ee32c79bc4521a0979c7b1a741ccff4594e2/src/main/clojure/clojure/contrib/string.clj#L302" id="var-source">Source</a> -</div><div id="var-entry"> - <br /> - <hr /> - <h2 id="clojure.contrib.string/partition">partition</h2> - <span id="var-type">function</span><br /> - <pre id="var-usage">Usage: (partition re s) -</pre> - <pre id="var-docstr">Splits the string into a lazy sequence of substrings, alternating -between substrings that match the patthern and the substrings -between the matches. The sequence always starts with the substring -before the first match, or an empty string if the beginning of the -string matches. - -For example: (partition #"[a-z]+" "abc123def") -returns: ("" "abc" "123" "def")</pre> - - - <a href="http://github.com/richhickey/clojure-contrib/blob/4715ee32c79bc4521a0979c7b1a741ccff4594e2/src/main/clojure/clojure/contrib/string.clj#L208" id="var-source">Source</a> -</div><div id="var-entry"> - <br /> - <hr /> - <h2 id="clojure.contrib.string/repeat">repeat</h2> - <span id="var-type">function</span><br /> - <pre id="var-usage">Usage: (repeat n s) -</pre> - <pre id="var-docstr">Returns a new String containing s repeated n times.</pre> - - - <a href="http://github.com/richhickey/clojure-contrib/blob/4715ee32c79bc4521a0979c7b1a741ccff4594e2/src/main/clojure/clojure/contrib/string.clj#L140" id="var-source">Source</a> -</div><div id="var-entry"> - <br /> - <hr /> - <h2 id="clojure.contrib.string/replace-by">replace-by</h2> - <span id="var-type">function</span><br /> - <pre id="var-usage">Usage: (replace-by re f s) -</pre> - <pre id="var-docstr">Replaces all matches of re in s with the result of -(f (re-groups the-match)).</pre> - - <span class="var-deprecated"><span id="content">Deprecated since clojure-contrib version 1.2</span><br /></span> - <a href="http://github.com/richhickey/clojure-contrib/blob/4715ee32c79bc4521a0979c7b1a741ccff4594e2/src/main/clojure/clojure/contrib/string.clj#L169" id="var-source">Source</a> -</div><div id="var-entry"> - <br /> - <hr /> - <h2 id="clojure.contrib.string/replace-char">replace-char</h2> - <span id="var-type">function</span><br /> - <pre id="var-usage">Usage: (replace-char a b s) -</pre> - <pre id="var-docstr">Replaces all instances of character a with character b in s.</pre> - - <span class="var-deprecated"><span id="content">Deprecated since clojure-contrib version 1.2</span><br /></span> - <a href="http://github.com/richhickey/clojure-contrib/blob/4715ee32c79bc4521a0979c7b1a741ccff4594e2/src/main/clojure/clojure/contrib/string.clj#L157" id="var-source">Source</a> -</div><div id="var-entry"> - <br /> - <hr /> - <h2 id="clojure.contrib.string/replace-first-by">replace-first-by</h2> - <span id="var-type">function</span><br /> - <pre id="var-usage">Usage: (replace-first-by re f s) -</pre> - <pre id="var-docstr">Replace first match of re in s with the result of -(f (re-groups the-match)).</pre> - - <span class="var-deprecated"><span id="content">Deprecated since clojure-contrib version 1.2</span><br /></span> - <a href="http://github.com/richhickey/clojure-contrib/blob/4715ee32c79bc4521a0979c7b1a741ccff4594e2/src/main/clojure/clojure/contrib/string.clj#L195" id="var-source">Source</a> -</div><div id="var-entry"> - <br /> - <hr /> - <h2 id="clojure.contrib.string/replace-first-re">replace-first-re</h2> - <span id="var-type">function</span><br /> - <pre id="var-usage">Usage: (replace-first-re re replacement s) -</pre> - <pre id="var-docstr">Replace first match of re in s.</pre> - - <span class="var-deprecated"><span id="content">Deprecated since clojure-contrib version 1.2</span><br /></span> - <a href="http://github.com/richhickey/clojure-contrib/blob/4715ee32c79bc4521a0979c7b1a741ccff4594e2/src/main/clojure/clojure/contrib/string.clj#L189" id="var-source">Source</a> -</div><div id="var-entry"> - <br /> - <hr /> - <h2 id="clojure.contrib.string/replace-first-str">replace-first-str</h2> - <span id="var-type">function</span><br /> - <pre id="var-usage">Usage: (replace-first-str a b s) -</pre> - <pre id="var-docstr">Replace first occurance of substring a with b in s.</pre> - - <span class="var-deprecated"><span id="content">Deprecated since clojure-contrib version 1.2</span><br /></span> - <a href="http://github.com/richhickey/clojure-contrib/blob/4715ee32c79bc4521a0979c7b1a741ccff4594e2/src/main/clojure/clojure/contrib/string.clj#L183" id="var-source">Source</a> -</div><div id="var-entry"> - <br /> - <hr /> - <h2 id="clojure.contrib.string/replace-re">replace-re</h2> - <span id="var-type">function</span><br /> - <pre id="var-usage">Usage: (replace-re re replacement s) -</pre> - <pre id="var-docstr">Replaces all matches of re with replacement in s.</pre> - - <span class="var-deprecated"><span id="content">Deprecated since clojure-contrib version 1.2</span><br /></span> - <a href="http://github.com/richhickey/clojure-contrib/blob/4715ee32c79bc4521a0979c7b1a741ccff4594e2/src/main/clojure/clojure/contrib/string.clj#L163" id="var-source">Source</a> -</div><div id="var-entry"> - <br /> - <hr /> - <h2 id="clojure.contrib.string/replace-str">replace-str</h2> - <span id="var-type">function</span><br /> - <pre id="var-usage">Usage: (replace-str a b s) -</pre> - <pre id="var-docstr">Replaces all instances of substring a with b in s.</pre> - - <span class="var-deprecated"><span id="content">Deprecated since clojure-contrib version 1.2</span><br /></span> - <a href="http://github.com/richhickey/clojure-contrib/blob/4715ee32c79bc4521a0979c7b1a741ccff4594e2/src/main/clojure/clojure/contrib/string.clj#L151" id="var-source">Source</a> -</div><div id="var-entry"> - <br /> - <hr /> - <h2 id="clojure.contrib.string/reverse">reverse</h2> - <span id="var-type">function</span><br /> - <pre id="var-usage">Usage: (reverse s) -</pre> - <pre id="var-docstr">Returns s with its characters reversed.</pre> - - <span class="var-deprecated"><span id="content">Deprecated since clojure-contrib version 1.2</span><br /></span> - <a href="http://github.com/richhickey/clojure-contrib/blob/4715ee32c79bc4521a0979c7b1a741ccff4594e2/src/main/clojure/clojure/contrib/string.clj#L145" id="var-source">Source</a> -</div><div id="var-entry"> - <br /> - <hr /> - <h2 id="clojure.contrib.string/rtrim">rtrim</h2> - <span id="var-type">function</span><br /> - <pre id="var-usage">Usage: (rtrim s) -</pre> - <pre id="var-docstr">Removes whitespace from the right side of string. -Deprecated in 1.2. Use clojure.string/trimr.</pre> - - <span class="var-deprecated"><span id="content">Deprecated since clojure-contrib version 1.2</span><br /></span> - <a href="http://github.com/richhickey/clojure-contrib/blob/4715ee32c79bc4521a0979c7b1a741ccff4594e2/src/main/clojure/clojure/contrib/string.clj#L288" id="var-source">Source</a> -</div><div id="var-entry"> - <br /> - <hr /> - <h2 id="clojure.contrib.string/split">split</h2> - <span id="var-type">function</span><br /> - <pre id="var-usage">Usage: (split re s) - (split re limit s) -</pre> - <pre id="var-docstr">Splits string on a regular expression. Optional argument limit is -the maximum number of splits.</pre> - - <span class="var-deprecated"><span id="content">Deprecated since clojure-contrib version 1.2</span><br /></span> - <a href="http://github.com/richhickey/clojure-contrib/blob/4715ee32c79bc4521a0979c7b1a741ccff4594e2/src/main/clojure/clojure/contrib/string.clj#L359" id="var-source">Source</a> -</div><div id="var-entry"> - <br /> - <hr /> - <h2 id="clojure.contrib.string/split-lines">split-lines</h2> - <span id="var-type">function</span><br /> - <pre id="var-usage">Usage: (split-lines s) -</pre> - <pre id="var-docstr">Splits s on \n or \r\n.</pre> - - <span class="var-deprecated"><span id="content">Deprecated since clojure-contrib version 1.2</span><br /></span> - <a href="http://github.com/richhickey/clojure-contrib/blob/4715ee32c79bc4521a0979c7b1a741ccff4594e2/src/main/clojure/clojure/contrib/string.clj#L295" id="var-source">Source</a> -</div><div id="var-entry"> - <br /> - <hr /> - <h2 id="clojure.contrib.string/substring?">substring?</h2> - <span id="var-type">function</span><br /> - <pre id="var-usage">Usage: (substring? substring s) -</pre> - <pre id="var-docstr">True if s contains the substring.</pre> - - - <a href="http://github.com/richhickey/clojure-contrib/blob/4715ee32c79bc4521a0979c7b1a741ccff4594e2/src/main/clojure/clojure/contrib/string.clj#L372" id="var-source">Source</a> -</div><div id="var-entry"> - <br /> - <hr /> - <h2 id="clojure.contrib.string/swap-case">swap-case</h2> - <span id="var-type">function</span><br /> - <pre id="var-usage">Usage: (swap-case s) -</pre> - <pre id="var-docstr">Changes upper case characters to lower case and vice-versa. -Handles Unicode supplementary characters correctly. Uses the -locale-sensitive String.toUpperCase() and String.toLowerCase() -methods.</pre> - - - <a href="http://github.com/richhickey/clojure-contrib/blob/4715ee32c79bc4521a0979c7b1a741ccff4594e2/src/main/clojure/clojure/contrib/string.clj#L253" id="var-source">Source</a> -</div><div id="var-entry"> - <br /> - <hr /> - <h2 id="clojure.contrib.string/tail">tail</h2> - <span id="var-type">function</span><br /> - <pre id="var-usage">Usage: (tail n s) -</pre> - <pre id="var-docstr">Returns the last n characters of s.</pre> - - - <a href="http://github.com/richhickey/clojure-contrib/blob/4715ee32c79bc4521a0979c7b1a741ccff4594e2/src/main/clojure/clojure/contrib/string.clj#L133" id="var-source">Source</a> -</div><div id="var-entry"> - <br /> - <hr /> - <h2 id="clojure.contrib.string/take">take</h2> - <span id="var-type">function</span><br /> - <pre id="var-usage">Usage: (take n s) -</pre> - <pre id="var-docstr">Take first n characters from s, up to the length of s.</pre> - - - <a href="http://github.com/richhickey/clojure-contrib/blob/4715ee32c79bc4521a0979c7b1a741ccff4594e2/src/main/clojure/clojure/contrib/string.clj#L110" id="var-source">Source</a> -</div><div id="var-entry"> - <br /> - <hr /> - <h2 id="clojure.contrib.string/trim">trim</h2> - <span id="var-type">function</span><br /> - <pre id="var-usage">Usage: (trim s) -</pre> - <pre id="var-docstr">Removes whitespace from both ends of string.</pre> - - <span class="var-deprecated"><span id="content">Deprecated since clojure-contrib version 1.2</span><br /></span> - <a href="http://github.com/richhickey/clojure-contrib/blob/4715ee32c79bc4521a0979c7b1a741ccff4594e2/src/main/clojure/clojure/contrib/string.clj#L366" id="var-source">Source</a> -</div><div id="var-entry"> - <br /> - <hr /> - <h2 id="clojure.contrib.string/upper-case">upper-case</h2> - <span id="var-type">function</span><br /> - <pre id="var-usage">Usage: (upper-case s) -</pre> - <pre id="var-docstr">Converts string to all upper-case.</pre> - - <span class="var-deprecated"><span id="content">Deprecated since clojure-contrib version 1.2</span><br /></span> - <a href="http://github.com/richhickey/clojure-contrib/blob/4715ee32c79bc4521a0979c7b1a741ccff4594e2/src/main/clojure/clojure/contrib/string.clj#L347" id="var-source">Source</a> -</div> - - -</div> - </div> - </div> - </div> - </div> - <div id="foot"> - <div style="text-align: center;" id="copyright">Copyright 2007-2009 by Rich Hickey and the various contributors</div> - </div> - </div> - <div id="DesignedBy">Logo & site design by <a title="Visit Tom Hickey's website." href="http://www.tomhickey.com">Tom Hickey</a>.<br /> - Clojure auto-documentation system by Tom Faulhaber.</div> - </div> - <!-- /AllContentContainer --> - </body> - -</html>
\ No newline at end of file diff --git a/branch-master/strint-api.html b/branch-master/strint-api.html deleted file mode 100644 index 1ad442e2..00000000 --- a/branch-master/strint-api.html +++ /dev/null @@ -1,130 +0,0 @@ -<html> - <head> - <title>strint - clojure-contrib next API documentation</title> - <link href="../static/favicon.png" rel="icon" /> - <link href="../static/favicon.png" rel="shortcut icon" /> - <link media="all" type="text/css" href="../static/clojure.css" rel="stylesheet" /> - <link media="all" type="text/css" href="../static/wiki.css" rel="stylesheet" /> - <link media="all" type="text/css" href="../static/internal.css" rel="stylesheet" /> - <!-- TODO: are we using these (from clojure.org)? If so, add the files --> - <script src="file/view/code_highlighter.js" type="text/javascript"></script> - <script src="file/view/clojure.js" type="text/javascript"></script> - <style>.menuWrapper{height: 36px;}</style> - <!--[if lte IE 6]> - <link rel="stylesheet" href="http://www.wikispaces.com/_/2009051601/s/internal_ie.css" type="text/css" /> - <![endif]--> - </head> -<!-- -This document was auto-generated from the source by the clojure autodoc system. -To report errors or ask questions about the overall documentation structure, formatting, -etc., contact Tom Faulhaber (google mail name: tomfaulhaber). -For errors in the documentation of a particular namespace, contact the author of that -namespace. ---> - <body> - <div id="AllContentContainer"> - <div id="Header"> - <a id="Logo" href="index.html"><img alt="Clojure" height="100" width="100" src="../static/clojure-icon.gif" /></a> - <h1><a title="page header title" id="page-header" href="index.html">Clojure-contrib API Reference</a></h1> - </div> - <div id="leftcolumn"><div style="text-align: center;"></div> -<div class="menu"> - <div class="WikiCustomNav WikiElement wiki"> - <span class="toc-header"><span id="project-name">clojure-contrib</span> <span id="version">next</span> API</span><br /> - <ul> - <li><a class="wiki_link" href="index.html">Overview</a></li> - <li><a class="wiki_link" href="api-index.html">API Index</a></li> - </ul> - <span class="toc-header">Namespaces</span> - <ul id="left-sidebar-list"> - <li><a href="accumulators-api.html" class="wiki_link">accumulators</a></li><li><a href="agent-utils-api.html" class="wiki_link">agent-utils</a></li><li><a href="apply-macro-api.html" class="wiki_link">apply-macro</a></li><li><a href="base64-api.html" class="wiki_link">base64</a></li><li><a href="classpath-api.html" class="wiki_link">classpath</a></li><li><a href="combinatorics-api.html" class="wiki_link">combinatorics</a></li><li><a href="command-line-api.html" class="wiki_link">command-line</a></li><li><a href="complex-numbers-api.html" class="wiki_link">complex-numbers</a></li><li><a href="cond-api.html" class="wiki_link">cond</a></li><li><a href="condition-api.html" class="wiki_link">condition</a></li><li><a href="core-api.html" class="wiki_link">core</a></li><li><a href="dataflow-api.html" class="wiki_link">dataflow</a></li><li><a href="datalog-api.html" class="wiki_link">datalog</a></li><li><a href="def-api.html" class="wiki_link">def</a></li><li><a href="duck-streams-api.html" class="wiki_link">duck-streams</a></li><li><a href="error-kit-api.html" class="wiki_link">error-kit</a></li><li><a href="except-api.html" class="wiki_link">except</a></li><li><a href="fcase-api.html" class="wiki_link">fcase</a></li><li><a href="find-namespaces-api.html" class="wiki_link">find-namespaces</a></li><li><a href="fnmap-api.html" class="wiki_link">fnmap</a></li><li><a href="gen-html-docs-api.html" class="wiki_link">gen-html-docs</a></li><li><a href="generic.arithmetic-api.html" class="wiki_link">generic.arithmetic</a></li><li><a href="generic.collection-api.html" class="wiki_link">generic.collection</a></li><li><a href="generic.comparison-api.html" class="wiki_link">generic.comparison</a></li><li><a href="generic.functor-api.html" class="wiki_link">generic.functor</a></li><li><a href="generic.math-functions-api.html" class="wiki_link">generic.math-functions</a></li><li><a href="graph-api.html" class="wiki_link">graph</a></li><li><a href="greatest-least-api.html" class="wiki_link">greatest-least</a></li><li><a href="http.agent-api.html" class="wiki_link">http.agent</a></li><li><a href="http.connection-api.html" class="wiki_link">http.connection</a></li><li><a href="import-static-api.html" class="wiki_link">import-static</a></li><li><a href="io-api.html" class="wiki_link">io</a></li><li><a href="jar-api.html" class="wiki_link">jar</a></li><li><a href="java-utils-api.html" class="wiki_link">java-utils</a></li><li><a href="javadoc.browse-api.html" class="wiki_link">javadoc.browse</a></li><li><a href="jmx-api.html" class="wiki_link">jmx</a></li><li><a href="json-api.html" class="wiki_link">json</a></li><li><a href="lazy-seqs-api.html" class="wiki_link">lazy-seqs</a></li><li><a href="lazy-xml-api.html" class="wiki_link">lazy-xml</a></li><li><a href="logging-api.html" class="wiki_link">logging</a></li><li><a href="macro-utils-api.html" class="wiki_link">macro-utils</a></li><li><a href="macros-api.html" class="wiki_link">macros</a></li><li><a href="map-utils-api.html" class="wiki_link">map-utils</a></li><li><a href="math-api.html" class="wiki_link">math</a></li><li><a href="miglayout-api.html" class="wiki_link">miglayout</a></li><li><a href="mmap-api.html" class="wiki_link">mmap</a></li><li><a href="mock-api.html" class="wiki_link">mock</a></li><li><a href="monadic-io-streams-api.html" class="wiki_link">monadic-io-streams</a></li><li><a href="monads-api.html" class="wiki_link">monads</a></li><li><a href="ns-utils-api.html" class="wiki_link">ns-utils</a></li><li><a href="pprint-api.html" class="wiki_link">pprint</a></li><li><a href="priority-map-api.html" class="wiki_link">priority-map</a></li><li><a href="probabilities.finite-distributions-api.html" class="wiki_link">probabilities.finite-distributions</a></li><li><a href="probabilities.monte-carlo-api.html" class="wiki_link">probabilities.monte-carlo</a></li><li><a href="probabilities.random-numbers-api.html" class="wiki_link">probabilities.random-numbers</a></li><li><a href="profile-api.html" class="wiki_link">profile</a></li><li><a href="properties-api.html" class="wiki_link">properties</a></li><li><a href="prxml-api.html" class="wiki_link">prxml</a></li><li><a href="reflect-api.html" class="wiki_link">reflect</a></li><li><a href="repl-ln-api.html" class="wiki_link">repl-ln</a></li><li><a href="repl-utils-api.html" class="wiki_link">repl-utils</a></li><li><a href="seq-api.html" class="wiki_link">seq</a></li><li><a href="seq-utils-api.html" class="wiki_link">seq-utils</a></li><li><a href="server-socket-api.html" class="wiki_link">server-socket</a></li><li><a href="set-api.html" class="wiki_link">set</a></li><li><a href="shell-api.html" class="wiki_link">shell</a></li><li><a href="shell-out-api.html" class="wiki_link">shell-out</a></li><li><a href="singleton-api.html" class="wiki_link">singleton</a></li><li><a href="sql-api.html" class="wiki_link">sql</a></li><li><a href="str-utils-api.html" class="wiki_link">str-utils</a></li><li><a href="str-utils2-api.html" class="wiki_link">str-utils2</a></li><li><a href="stream-utils-api.html" class="wiki_link">stream-utils</a></li><li><a href="string-api.html" class="wiki_link">string</a></li><li><a href="strint-api.html" class="wiki_link">strint</a></li><li><a href="swing-utils-api.html" class="wiki_link">swing-utils</a></li><li><a href="test-is-api.html" class="wiki_link">test-is</a></li><li><a href="trace-api.html" class="wiki_link">trace</a></li><li><a href="types-api.html" class="wiki_link">types</a></li><li><a href="with-ns-api.html" class="wiki_link">with-ns</a></li><li><a href="zip-filter-api.html" class="wiki_link">zip-filter</a></li> - </ul> - <div class="BranchTOC"> - <span class="toc-header">Other Versions</span> - <ul id="left-sidebar-branch-list"> - <li><a href="../index.html" class="wiki_link">v1.2 (beta 1)</a></li><li><a href="../branch-1.1.x/index.html" class="wiki_link">v1.1 (stable)</a></li> - </ul> - </div> - <a href="http://clojure.org" class="wiki_link">Clojure Home</a> - </div> -</div> -</div> - <div id="rightcolumn"> - <div id="Content"> - <div class="contentBox"><div class="innerContentBox"> - <div id="content_view" class="wiki wikiPage"> - <div id="right-sidebar"><div id="toc"> - <h1 class="nopad">Table of Contents</h1> - <div style="margin-left: 1em;" class="toc-section"> - <a href="#toc0">Overview</a> - <div style="margin-left: 1em;" class="toc-entry"> - <a href="#clojure.contrib.strint/<<"><<</a> - </div> - <br /> - </div> -</div> -</div> - <div id="content-tag"><h1 id="overview">API for <span id="namespace-name">strint</span> - - <span id="header-project">clojure-contrib</span> <span id="header-version">next</span> (<span id="header-status">in development</span>) - </h1> -<span id="author-line">by <span id="author-name">Chas Emerick</span><br /></span> -<br />Usage: -<pre> -(ns your-namespace - (:require <span id="long-name">clojure.contrib.strint</span>)) -</pre><pre> -</pre><h2>Overview</h2> -<pre id="namespace-docstr">String interpolation for Clojure.</pre> - - -<br /> -<h2>Public Variables and Functions</h2> -<div id="var-entry"> - <br /> - <hr /> - <h2 id="clojure.contrib.strint/<<"><<</h2> - <span id="var-type">macro</span><br /> - <pre id="var-usage">Usage: (<< string) -</pre> - <pre id="var-docstr">Takes a single string argument and emits a str invocation that concatenates -the string data and evaluated expressions contained within that argument. -Evaluation is controlled using ~{} and ~() forms. The former is used for -simple value replacement using clojure.core/str; the latter can be used to -embed the results of arbitrary function invocation into the produced string. - -Examples: -user=> (def v 30.5) -#'user/v -user=> (<< "This trial required ~{v}ml of solution.") -"This trial required 30.5ml of solution." -user=> (<< "There are ~(int v) days in November.") -"There are 30 days in November." -user=> (def m {:a [1 2 3]}) -#'user/m -user=> (<< "The total for your order is $~(->> m :a (apply +)).") -"The total for your order is $6." - -Note that quotes surrounding string literals within ~() forms must be -escaped.</pre> - - - <a href="http://github.com/richhickey/clojure-contrib/blob/c2645e31c941cf5c5b6f9fb9d4624e8ba8301af8/src/main/clojure/clojure/contrib/strint.clj#L49" id="var-source">Source</a> -</div> - - -</div> - </div> - </div> - </div> - </div> - <div id="foot"> - <div style="text-align: center;" id="copyright">Copyright 2007-2009 by Rich Hickey and the various contributors</div> - </div> - </div> - <div id="DesignedBy">Logo & site design by <a title="Visit Tom Hickey's website." href="http://www.tomhickey.com">Tom Hickey</a>.<br /> - Clojure auto-documentation system by Tom Faulhaber.</div> - </div> - <!-- /AllContentContainer --> - </body> - -</html>
\ No newline at end of file diff --git a/branch-master/swing-utils-api.html b/branch-master/swing-utils-api.html deleted file mode 100644 index 6b664c10..00000000 --- a/branch-master/swing-utils-api.html +++ /dev/null @@ -1,249 +0,0 @@ -<html> - <head> - <title>swing-utils - clojure-contrib next API documentation</title> - <link href="../static/favicon.png" rel="icon" /> - <link href="../static/favicon.png" rel="shortcut icon" /> - <link media="all" type="text/css" href="../static/clojure.css" rel="stylesheet" /> - <link media="all" type="text/css" href="../static/wiki.css" rel="stylesheet" /> - <link media="all" type="text/css" href="../static/internal.css" rel="stylesheet" /> - <!-- TODO: are we using these (from clojure.org)? If so, add the files --> - <script src="file/view/code_highlighter.js" type="text/javascript"></script> - <script src="file/view/clojure.js" type="text/javascript"></script> - <style>.menuWrapper{height: 36px;}</style> - <!--[if lte IE 6]> - <link rel="stylesheet" href="http://www.wikispaces.com/_/2009051601/s/internal_ie.css" type="text/css" /> - <![endif]--> - </head> -<!-- -This document was auto-generated from the source by the clojure autodoc system. -To report errors or ask questions about the overall documentation structure, formatting, -etc., contact Tom Faulhaber (google mail name: tomfaulhaber). -For errors in the documentation of a particular namespace, contact the author of that -namespace. ---> - <body> - <div id="AllContentContainer"> - <div id="Header"> - <a id="Logo" href="index.html"><img alt="Clojure" height="100" width="100" src="../static/clojure-icon.gif" /></a> - <h1><a title="page header title" id="page-header" href="index.html">Clojure-contrib API Reference</a></h1> - </div> - <div id="leftcolumn"><div style="text-align: center;"></div> -<div class="menu"> - <div class="WikiCustomNav WikiElement wiki"> - <span class="toc-header"><span id="project-name">clojure-contrib</span> <span id="version">next</span> API</span><br /> - <ul> - <li><a class="wiki_link" href="index.html">Overview</a></li> - <li><a class="wiki_link" href="api-index.html">API Index</a></li> - </ul> - <span class="toc-header">Namespaces</span> - <ul id="left-sidebar-list"> - <li><a href="accumulators-api.html" class="wiki_link">accumulators</a></li><li><a href="agent-utils-api.html" class="wiki_link">agent-utils</a></li><li><a href="apply-macro-api.html" class="wiki_link">apply-macro</a></li><li><a href="base64-api.html" class="wiki_link">base64</a></li><li><a href="classpath-api.html" class="wiki_link">classpath</a></li><li><a href="combinatorics-api.html" class="wiki_link">combinatorics</a></li><li><a href="command-line-api.html" class="wiki_link">command-line</a></li><li><a href="complex-numbers-api.html" class="wiki_link">complex-numbers</a></li><li><a href="cond-api.html" class="wiki_link">cond</a></li><li><a href="condition-api.html" class="wiki_link">condition</a></li><li><a href="core-api.html" class="wiki_link">core</a></li><li><a href="dataflow-api.html" class="wiki_link">dataflow</a></li><li><a href="datalog-api.html" class="wiki_link">datalog</a></li><li><a href="def-api.html" class="wiki_link">def</a></li><li><a href="duck-streams-api.html" class="wiki_link">duck-streams</a></li><li><a href="error-kit-api.html" class="wiki_link">error-kit</a></li><li><a href="except-api.html" class="wiki_link">except</a></li><li><a href="fcase-api.html" class="wiki_link">fcase</a></li><li><a href="find-namespaces-api.html" class="wiki_link">find-namespaces</a></li><li><a href="fnmap-api.html" class="wiki_link">fnmap</a></li><li><a href="gen-html-docs-api.html" class="wiki_link">gen-html-docs</a></li><li><a href="generic.arithmetic-api.html" class="wiki_link">generic.arithmetic</a></li><li><a href="generic.collection-api.html" class="wiki_link">generic.collection</a></li><li><a href="generic.comparison-api.html" class="wiki_link">generic.comparison</a></li><li><a href="generic.functor-api.html" class="wiki_link">generic.functor</a></li><li><a href="generic.math-functions-api.html" class="wiki_link">generic.math-functions</a></li><li><a href="graph-api.html" class="wiki_link">graph</a></li><li><a href="greatest-least-api.html" class="wiki_link">greatest-least</a></li><li><a href="http.agent-api.html" class="wiki_link">http.agent</a></li><li><a href="http.connection-api.html" class="wiki_link">http.connection</a></li><li><a href="import-static-api.html" class="wiki_link">import-static</a></li><li><a href="io-api.html" class="wiki_link">io</a></li><li><a href="jar-api.html" class="wiki_link">jar</a></li><li><a href="java-utils-api.html" class="wiki_link">java-utils</a></li><li><a href="javadoc.browse-api.html" class="wiki_link">javadoc.browse</a></li><li><a href="jmx-api.html" class="wiki_link">jmx</a></li><li><a href="json-api.html" class="wiki_link">json</a></li><li><a href="lazy-seqs-api.html" class="wiki_link">lazy-seqs</a></li><li><a href="lazy-xml-api.html" class="wiki_link">lazy-xml</a></li><li><a href="logging-api.html" class="wiki_link">logging</a></li><li><a href="macro-utils-api.html" class="wiki_link">macro-utils</a></li><li><a href="macros-api.html" class="wiki_link">macros</a></li><li><a href="map-utils-api.html" class="wiki_link">map-utils</a></li><li><a href="math-api.html" class="wiki_link">math</a></li><li><a href="miglayout-api.html" class="wiki_link">miglayout</a></li><li><a href="mmap-api.html" class="wiki_link">mmap</a></li><li><a href="mock-api.html" class="wiki_link">mock</a></li><li><a href="monadic-io-streams-api.html" class="wiki_link">monadic-io-streams</a></li><li><a href="monads-api.html" class="wiki_link">monads</a></li><li><a href="ns-utils-api.html" class="wiki_link">ns-utils</a></li><li><a href="pprint-api.html" class="wiki_link">pprint</a></li><li><a href="priority-map-api.html" class="wiki_link">priority-map</a></li><li><a href="probabilities.finite-distributions-api.html" class="wiki_link">probabilities.finite-distributions</a></li><li><a href="probabilities.monte-carlo-api.html" class="wiki_link">probabilities.monte-carlo</a></li><li><a href="probabilities.random-numbers-api.html" class="wiki_link">probabilities.random-numbers</a></li><li><a href="profile-api.html" class="wiki_link">profile</a></li><li><a href="properties-api.html" class="wiki_link">properties</a></li><li><a href="prxml-api.html" class="wiki_link">prxml</a></li><li><a href="reflect-api.html" class="wiki_link">reflect</a></li><li><a href="repl-ln-api.html" class="wiki_link">repl-ln</a></li><li><a href="repl-utils-api.html" class="wiki_link">repl-utils</a></li><li><a href="seq-api.html" class="wiki_link">seq</a></li><li><a href="seq-utils-api.html" class="wiki_link">seq-utils</a></li><li><a href="server-socket-api.html" class="wiki_link">server-socket</a></li><li><a href="set-api.html" class="wiki_link">set</a></li><li><a href="shell-api.html" class="wiki_link">shell</a></li><li><a href="shell-out-api.html" class="wiki_link">shell-out</a></li><li><a href="singleton-api.html" class="wiki_link">singleton</a></li><li><a href="sql-api.html" class="wiki_link">sql</a></li><li><a href="str-utils-api.html" class="wiki_link">str-utils</a></li><li><a href="str-utils2-api.html" class="wiki_link">str-utils2</a></li><li><a href="stream-utils-api.html" class="wiki_link">stream-utils</a></li><li><a href="string-api.html" class="wiki_link">string</a></li><li><a href="strint-api.html" class="wiki_link">strint</a></li><li><a href="swing-utils-api.html" class="wiki_link">swing-utils</a></li><li><a href="test-is-api.html" class="wiki_link">test-is</a></li><li><a href="trace-api.html" class="wiki_link">trace</a></li><li><a href="types-api.html" class="wiki_link">types</a></li><li><a href="with-ns-api.html" class="wiki_link">with-ns</a></li><li><a href="zip-filter-api.html" class="wiki_link">zip-filter</a></li> - </ul> - <div class="BranchTOC"> - <span class="toc-header">Other Versions</span> - <ul id="left-sidebar-branch-list"> - <li><a href="../index.html" class="wiki_link">v1.2 (beta 1)</a></li><li><a href="../branch-1.1.x/index.html" class="wiki_link">v1.1 (stable)</a></li> - </ul> - </div> - <a href="http://clojure.org" class="wiki_link">Clojure Home</a> - </div> -</div> -</div> - <div id="rightcolumn"> - <div id="Content"> - <div class="contentBox"><div class="innerContentBox"> - <div id="content_view" class="wiki wikiPage"> - <div id="right-sidebar"><div id="toc"> - <h1 class="nopad">Table of Contents</h1> - <div style="margin-left: 1em;" class="toc-section"> - <a href="#toc0">Overview</a> - <div style="margin-left: 1em;" class="toc-entry"> - <a href="#clojure.contrib.swing-utils/action-translation-table">action-translation-table</a> - </div><div style="margin-left: 1em;" class="toc-entry"> - <a href="#clojure.contrib.swing-utils/add-action-listener">add-action-listener</a> - </div><div style="margin-left: 1em;" class="toc-entry"> - <a href="#clojure.contrib.swing-utils/add-key-typed-listener">add-key-typed-listener</a> - </div><div style="margin-left: 1em;" class="toc-entry"> - <a href="#clojure.contrib.swing-utils/add-menu-item">add-menu-item</a> - </div><div style="margin-left: 1em;" class="toc-entry"> - <a href="#clojure.contrib.swing-utils/do-swing">do-swing</a> - </div><div style="margin-left: 1em;" class="toc-entry"> - <a href="#clojure.contrib.swing-utils/do-swing*">do-swing*</a> - </div><div style="margin-left: 1em;" class="toc-entry"> - <a href="#clojure.contrib.swing-utils/do-swing-and-wait">do-swing-and-wait</a> - </div><div style="margin-left: 1em;" class="toc-entry"> - <a href="#clojure.contrib.swing-utils/make-action">make-action</a> - </div><div style="margin-left: 1em;" class="toc-entry"> - <a href="#clojure.contrib.swing-utils/make-menubar">make-menubar</a> - </div><div style="margin-left: 1em;" class="toc-entry"> - <a href="#clojure.contrib.swing-utils/menu-constructor-dispatch">menu-constructor-dispatch</a> - </div> - <br /> - </div> -</div> -</div> - <div id="content-tag"><h1 id="overview">API for <span id="namespace-name">swing-utils</span> - - <span id="header-project">clojure-contrib</span> <span id="header-version">next</span> (<span id="header-status">in development</span>) - </h1> - -<br />Usage: -<pre> -(ns your-namespace - (:require <span id="long-name">clojure.contrib.swing-utils</span>)) -</pre><pre> -</pre><h2>Overview</h2> -<pre id="namespace-docstr"></pre> - - -<br /> -<h2>Public Variables and Functions</h2> -<div id="var-entry"> - <br /> - <hr /> - <h2 id="clojure.contrib.swing-utils/action-translation-table">action-translation-table</h2> - <span id="var-type">var</span><br /> - <pre id="var-usage"></pre> - <pre id="var-docstr">Translation table for the make-action constructor.</pre> - - - <a href="http://github.com/richhickey/clojure-contrib/blob/2ede388a9267d175bfaa7781ee9d57532eb4f20f/src/main/clojure/clojure/contrib/swing_utils.clj#L70" id="var-source">Source</a> -</div><div id="var-entry"> - <br /> - <hr /> - <h2 id="clojure.contrib.swing-utils/add-action-listener">add-action-listener</h2> - <span id="var-type">function</span><br /> - <pre id="var-usage">Usage: (add-action-listener component f & args) -</pre> - <pre id="var-docstr">Adds an ActionLister to component. When the action fires, f will be -invoked with the event as its first argument followed by args. -Returns the listener.</pre> - - - <a href="http://github.com/richhickey/clojure-contrib/blob/2ede388a9267d175bfaa7781ee9d57532eb4f20f/src/main/clojure/clojure/contrib/swing_utils.clj#L23" id="var-source">Source</a> -</div><div id="var-entry"> - <br /> - <hr /> - <h2 id="clojure.contrib.swing-utils/add-key-typed-listener">add-key-typed-listener</h2> - <span id="var-type">function</span><br /> - <pre id="var-usage">Usage: (add-key-typed-listener component f & args) -</pre> - <pre id="var-docstr">Adds a KeyListener to component that only responds to KeyTyped events. -When a key is typed, f is invoked with the KeyEvent as its first argument -followed by args. Returns the listener.</pre> - - - <a href="http://github.com/richhickey/clojure-contrib/blob/2ede388a9267d175bfaa7781ee9d57532eb4f20f/src/main/clojure/clojure/contrib/swing_utils.clj#L33" id="var-source">Source</a> -</div><div id="var-entry"> - <br /> - <hr /> - <h2 id="clojure.contrib.swing-utils/add-menu-item">add-menu-item</h2> - <span id="var-type">multimethod</span><br /> - <pre id="var-usage">Usage: (add-menu-item parent item) -</pre> - <pre id="var-docstr">Adds a menu item to the parent according to the item description. - The item description is a map of the following structure. - -Either: - - one single :action specifying a javax.swing.Action to be associated - with the item. - - a specification suitable for make-action - - a set of :name, :mnemonic and :items keys, specifying a submenu with - the given sequence of item entries. - - an empty map specifying a separator.</pre> - - - <a href="http://github.com/richhickey/clojure-contrib/blob/2ede388a9267d175bfaa7781ee9d57532eb4f20f/src/main/clojure/clojure/contrib/swing_utils.clj#L101" id="var-source">Source</a> -</div><div id="var-entry"> - <br /> - <hr /> - <h2 id="clojure.contrib.swing-utils/do-swing">do-swing</h2> - <span id="var-type">macro</span><br /> - <pre id="var-usage">Usage: (do-swing & body) -</pre> - <pre id="var-docstr">Executes body in the Swing event thread asynchronously. Returns -immediately after scheduling the execution.</pre> - - - <a href="http://github.com/richhickey/clojure-contrib/blob/2ede388a9267d175bfaa7781ee9d57532eb4f20f/src/main/clojure/clojure/contrib/swing_utils.clj#L58" id="var-source">Source</a> -</div><div id="var-entry"> - <br /> - <hr /> - <h2 id="clojure.contrib.swing-utils/do-swing*">do-swing*</h2> - <span id="var-type">function</span><br /> - <pre id="var-usage">Usage: (do-swing* schedule thunk) -</pre> - <pre id="var-docstr">Runs thunk in the Swing event thread according to schedule: -- :later => schedule the execution and return immediately -- :now => wait until the execution completes.</pre> - - - <a href="http://github.com/richhickey/clojure-contrib/blob/2ede388a9267d175bfaa7781ee9d57532eb4f20f/src/main/clojure/clojure/contrib/swing_utils.clj#L46" id="var-source">Source</a> -</div><div id="var-entry"> - <br /> - <hr /> - <h2 id="clojure.contrib.swing-utils/do-swing-and-wait">do-swing-and-wait</h2> - <span id="var-type">macro</span><br /> - <pre id="var-usage">Usage: (do-swing-and-wait & body) -</pre> - <pre id="var-docstr">Executes body in the Swing event thread synchronously. Returns -after the execution is complete.</pre> - - - <a href="http://github.com/richhickey/clojure-contrib/blob/2ede388a9267d175bfaa7781ee9d57532eb4f20f/src/main/clojure/clojure/contrib/swing_utils.clj#L64" id="var-source">Source</a> -</div><div id="var-entry"> - <br /> - <hr /> - <h2 id="clojure.contrib.swing-utils/make-action">make-action</h2> - <span id="var-type">function</span><br /> - <pre id="var-usage">Usage: (make-action spec) -</pre> - <pre id="var-docstr">Create an Action proxy from the given action spec. The standard keys -recognised are: :name, :accelerator, :command-key, :long-desc, -:short-desc, :mnemonic and :icon - corresponding to the similar named -Action properties. The :handler value is used in the actionPerformed -method of the proxy to pass on the event.</pre> - - - <a href="http://github.com/richhickey/clojure-contrib/blob/2ede388a9267d175bfaa7781ee9d57532eb4f20f/src/main/clojure/clojure/contrib/swing_utils.clj#L80" id="var-source">Source</a> -</div><div id="var-entry"> - <br /> - <hr /> - <h2 id="clojure.contrib.swing-utils/make-menubar">make-menubar</h2> - <span id="var-type">function</span><br /> - <pre id="var-usage">Usage: (make-menubar menubar-items) -</pre> - <pre id="var-docstr">Create a menubar containing the given sequence of menu items. The menu -items are described by a map as is detailed in the docstring of the -add-menu-item function.</pre> - - - <a href="http://github.com/richhickey/clojure-contrib/blob/2ede388a9267d175bfaa7781ee9d57532eb4f20f/src/main/clojure/clojure/contrib/swing_utils.clj#L142" id="var-source">Source</a> -</div><div id="var-entry"> - <br /> - <hr /> - <h2 id="clojure.contrib.swing-utils/menu-constructor-dispatch">menu-constructor-dispatch</h2> - <span id="var-type">var</span><br /> - <pre id="var-usage"></pre> - <pre id="var-docstr">An atom containing the dispatch set for the add-menu-item method.</pre> - - - <a href="http://github.com/richhickey/clojure-contrib/blob/2ede388a9267d175bfaa7781ee9d57532eb4f20f/src/main/clojure/clojure/contrib/swing_utils.clj#L97" id="var-source">Source</a> -</div> - - -</div> - </div> - </div> - </div> - </div> - <div id="foot"> - <div style="text-align: center;" id="copyright">Copyright 2007-2009 by Rich Hickey and the various contributors</div> - </div> - </div> - <div id="DesignedBy">Logo & site design by <a title="Visit Tom Hickey's website." href="http://www.tomhickey.com">Tom Hickey</a>.<br /> - Clojure auto-documentation system by Tom Faulhaber.</div> - </div> - <!-- /AllContentContainer --> - </body> - -</html>
\ No newline at end of file diff --git a/branch-master/test-is-api.html b/branch-master/test-is-api.html deleted file mode 100644 index e9d33228..00000000 --- a/branch-master/test-is-api.html +++ /dev/null @@ -1,663 +0,0 @@ -<html> - <head> - <title>test-is - clojure-contrib next API documentation</title> - <link href="../static/favicon.png" rel="icon" /> - <link href="../static/favicon.png" rel="shortcut icon" /> - <link media="all" type="text/css" href="../static/clojure.css" rel="stylesheet" /> - <link media="all" type="text/css" href="../static/wiki.css" rel="stylesheet" /> - <link media="all" type="text/css" href="../static/internal.css" rel="stylesheet" /> - <!-- TODO: are we using these (from clojure.org)? If so, add the files --> - <script src="file/view/code_highlighter.js" type="text/javascript"></script> - <script src="file/view/clojure.js" type="text/javascript"></script> - <style>.menuWrapper{height: 36px;}</style> - <!--[if lte IE 6]> - <link rel="stylesheet" href="http://www.wikispaces.com/_/2009051601/s/internal_ie.css" type="text/css" /> - <![endif]--> - </head> -<!-- -This document was auto-generated from the source by the clojure autodoc system. -To report errors or ask questions about the overall documentation structure, formatting, -etc., contact Tom Faulhaber (google mail name: tomfaulhaber). -For errors in the documentation of a particular namespace, contact the author of that -namespace. ---> - <body> - <div id="AllContentContainer"> - <div id="Header"> - <a id="Logo" href="index.html"><img alt="Clojure" height="100" width="100" src="../static/clojure-icon.gif" /></a> - <h1><a title="page header title" id="page-header" href="index.html">Clojure-contrib API Reference</a></h1> - </div> - <div id="leftcolumn"><div style="text-align: center;"></div> -<div class="menu"> - <div class="WikiCustomNav WikiElement wiki"> - <span class="toc-header"><span id="project-name">clojure-contrib</span> <span id="version">next</span> API</span><br /> - <ul> - <li><a class="wiki_link" href="index.html">Overview</a></li> - <li><a class="wiki_link" href="api-index.html">API Index</a></li> - </ul> - <span class="toc-header">Namespaces</span> - <ul id="left-sidebar-list"> - <li><a href="accumulators-api.html" class="wiki_link">accumulators</a></li><li><a href="agent-utils-api.html" class="wiki_link">agent-utils</a></li><li><a href="apply-macro-api.html" class="wiki_link">apply-macro</a></li><li><a href="base64-api.html" class="wiki_link">base64</a></li><li><a href="classpath-api.html" class="wiki_link">classpath</a></li><li><a href="combinatorics-api.html" class="wiki_link">combinatorics</a></li><li><a href="command-line-api.html" class="wiki_link">command-line</a></li><li><a href="complex-numbers-api.html" class="wiki_link">complex-numbers</a></li><li><a href="cond-api.html" class="wiki_link">cond</a></li><li><a href="condition-api.html" class="wiki_link">condition</a></li><li><a href="core-api.html" class="wiki_link">core</a></li><li><a href="dataflow-api.html" class="wiki_link">dataflow</a></li><li><a href="datalog-api.html" class="wiki_link">datalog</a></li><li><a href="def-api.html" class="wiki_link">def</a></li><li><a href="duck-streams-api.html" class="wiki_link">duck-streams</a></li><li><a href="error-kit-api.html" class="wiki_link">error-kit</a></li><li><a href="except-api.html" class="wiki_link">except</a></li><li><a href="fcase-api.html" class="wiki_link">fcase</a></li><li><a href="find-namespaces-api.html" class="wiki_link">find-namespaces</a></li><li><a href="fnmap-api.html" class="wiki_link">fnmap</a></li><li><a href="gen-html-docs-api.html" class="wiki_link">gen-html-docs</a></li><li><a href="generic.arithmetic-api.html" class="wiki_link">generic.arithmetic</a></li><li><a href="generic.collection-api.html" class="wiki_link">generic.collection</a></li><li><a href="generic.comparison-api.html" class="wiki_link">generic.comparison</a></li><li><a href="generic.functor-api.html" class="wiki_link">generic.functor</a></li><li><a href="generic.math-functions-api.html" class="wiki_link">generic.math-functions</a></li><li><a href="graph-api.html" class="wiki_link">graph</a></li><li><a href="greatest-least-api.html" class="wiki_link">greatest-least</a></li><li><a href="http.agent-api.html" class="wiki_link">http.agent</a></li><li><a href="http.connection-api.html" class="wiki_link">http.connection</a></li><li><a href="import-static-api.html" class="wiki_link">import-static</a></li><li><a href="io-api.html" class="wiki_link">io</a></li><li><a href="jar-api.html" class="wiki_link">jar</a></li><li><a href="java-utils-api.html" class="wiki_link">java-utils</a></li><li><a href="javadoc.browse-api.html" class="wiki_link">javadoc.browse</a></li><li><a href="jmx-api.html" class="wiki_link">jmx</a></li><li><a href="json-api.html" class="wiki_link">json</a></li><li><a href="lazy-seqs-api.html" class="wiki_link">lazy-seqs</a></li><li><a href="lazy-xml-api.html" class="wiki_link">lazy-xml</a></li><li><a href="logging-api.html" class="wiki_link">logging</a></li><li><a href="macro-utils-api.html" class="wiki_link">macro-utils</a></li><li><a href="macros-api.html" class="wiki_link">macros</a></li><li><a href="map-utils-api.html" class="wiki_link">map-utils</a></li><li><a href="math-api.html" class="wiki_link">math</a></li><li><a href="miglayout-api.html" class="wiki_link">miglayout</a></li><li><a href="mmap-api.html" class="wiki_link">mmap</a></li><li><a href="mock-api.html" class="wiki_link">mock</a></li><li><a href="monadic-io-streams-api.html" class="wiki_link">monadic-io-streams</a></li><li><a href="monads-api.html" class="wiki_link">monads</a></li><li><a href="ns-utils-api.html" class="wiki_link">ns-utils</a></li><li><a href="pprint-api.html" class="wiki_link">pprint</a></li><li><a href="priority-map-api.html" class="wiki_link">priority-map</a></li><li><a href="probabilities.finite-distributions-api.html" class="wiki_link">probabilities.finite-distributions</a></li><li><a href="probabilities.monte-carlo-api.html" class="wiki_link">probabilities.monte-carlo</a></li><li><a href="probabilities.random-numbers-api.html" class="wiki_link">probabilities.random-numbers</a></li><li><a href="profile-api.html" class="wiki_link">profile</a></li><li><a href="properties-api.html" class="wiki_link">properties</a></li><li><a href="prxml-api.html" class="wiki_link">prxml</a></li><li><a href="reflect-api.html" class="wiki_link">reflect</a></li><li><a href="repl-ln-api.html" class="wiki_link">repl-ln</a></li><li><a href="repl-utils-api.html" class="wiki_link">repl-utils</a></li><li><a href="seq-api.html" class="wiki_link">seq</a></li><li><a href="seq-utils-api.html" class="wiki_link">seq-utils</a></li><li><a href="server-socket-api.html" class="wiki_link">server-socket</a></li><li><a href="set-api.html" class="wiki_link">set</a></li><li><a href="shell-api.html" class="wiki_link">shell</a></li><li><a href="shell-out-api.html" class="wiki_link">shell-out</a></li><li><a href="singleton-api.html" class="wiki_link">singleton</a></li><li><a href="sql-api.html" class="wiki_link">sql</a></li><li><a href="str-utils-api.html" class="wiki_link">str-utils</a></li><li><a href="str-utils2-api.html" class="wiki_link">str-utils2</a></li><li><a href="stream-utils-api.html" class="wiki_link">stream-utils</a></li><li><a href="string-api.html" class="wiki_link">string</a></li><li><a href="strint-api.html" class="wiki_link">strint</a></li><li><a href="swing-utils-api.html" class="wiki_link">swing-utils</a></li><li><a href="test-is-api.html" class="wiki_link">test-is</a></li><li><a href="trace-api.html" class="wiki_link">trace</a></li><li><a href="types-api.html" class="wiki_link">types</a></li><li><a href="with-ns-api.html" class="wiki_link">with-ns</a></li><li><a href="zip-filter-api.html" class="wiki_link">zip-filter</a></li> - </ul> - <div class="BranchTOC"> - <span class="toc-header">Other Versions</span> - <ul id="left-sidebar-branch-list"> - <li><a href="../index.html" class="wiki_link">v1.2 (beta 1)</a></li><li><a href="../branch-1.1.x/index.html" class="wiki_link">v1.1 (stable)</a></li> - </ul> - </div> - <a href="http://clojure.org" class="wiki_link">Clojure Home</a> - </div> -</div> -</div> - <div id="rightcolumn"> - <div id="Content"> - <div class="contentBox"><div class="innerContentBox"> - <div id="content_view" class="wiki wikiPage"> - <div id="right-sidebar"><div id="toc"> - <h1 class="nopad">Table of Contents</h1> - <div style="margin-left: 1em;" class="toc-section"> - <a href="#toc0">Overview</a> - <div style="margin-left: 1em;" class="toc-entry"> - <a href="#clojure.contrib.test-is/*load-tests*">*load-tests*</a> - </div><div style="margin-left: 1em;" class="toc-entry"> - <a href="#clojure.contrib.test-is/*stack-trace-depth*">*stack-trace-depth*</a> - </div><div style="margin-left: 1em;" class="toc-entry"> - <a href="#clojure.contrib.test-is/apply-template">apply-template</a> - </div><div style="margin-left: 1em;" class="toc-entry"> - <a href="#clojure.contrib.test-is/are">are</a> - </div><div style="margin-left: 1em;" class="toc-entry"> - <a href="#clojure.contrib.test-is/assert-any">assert-any</a> - </div><div style="margin-left: 1em;" class="toc-entry"> - <a href="#clojure.contrib.test-is/assert-predicate">assert-predicate</a> - </div><div style="margin-left: 1em;" class="toc-entry"> - <a href="#clojure.contrib.test-is/compose-fixtures">compose-fixtures</a> - </div><div style="margin-left: 1em;" class="toc-entry"> - <a href="#clojure.contrib.test-is/deftest">deftest</a> - </div><div style="margin-left: 1em;" class="toc-entry"> - <a href="#clojure.contrib.test-is/deftest-">deftest-</a> - </div><div style="margin-left: 1em;" class="toc-entry"> - <a href="#clojure.contrib.test-is/do-template">do-template</a> - </div><div style="margin-left: 1em;" class="toc-entry"> - <a href="#clojure.contrib.test-is/file-position">file-position</a> - </div><div style="margin-left: 1em;" class="toc-entry"> - <a href="#clojure.contrib.test-is/find-holes">find-holes</a> - </div><div style="margin-left: 1em;" class="toc-entry"> - <a href="#clojure.contrib.test-is/find-pure-exprs">find-pure-exprs</a> - </div><div style="margin-left: 1em;" class="toc-entry"> - <a href="#clojure.contrib.test-is/find-symbols">find-symbols</a> - </div><div style="margin-left: 1em;" class="toc-entry"> - <a href="#clojure.contrib.test-is/flatten-map">flatten-map</a> - </div><div style="margin-left: 1em;" class="toc-entry"> - <a href="#clojure.contrib.test-is/function?">function?</a> - </div><div style="margin-left: 1em;" class="toc-entry"> - <a href="#clojure.contrib.test-is/get-possibly-unbound-var">get-possibly-unbound-var</a> - </div><div style="margin-left: 1em;" class="toc-entry"> - <a href="#clojure.contrib.test-is/inc-report-counter">inc-report-counter</a> - </div><div style="margin-left: 1em;" class="toc-entry"> - <a href="#clojure.contrib.test-is/is">is</a> - </div><div style="margin-left: 1em;" class="toc-entry"> - <a href="#clojure.contrib.test-is/join-fixtures">join-fixtures</a> - </div><div style="margin-left: 1em;" class="toc-entry"> - <a href="#clojure.contrib.test-is/report">report</a> - </div><div style="margin-left: 1em;" class="toc-entry"> - <a href="#clojure.contrib.test-is/run-all-tests">run-all-tests</a> - </div><div style="margin-left: 1em;" class="toc-entry"> - <a href="#clojure.contrib.test-is/run-tests">run-tests</a> - </div><div style="margin-left: 1em;" class="toc-entry"> - <a href="#clojure.contrib.test-is/set-test">set-test</a> - </div><div style="margin-left: 1em;" class="toc-entry"> - <a href="#clojure.contrib.test-is/successful?">successful?</a> - </div><div style="margin-left: 1em;" class="toc-entry"> - <a href="#clojure.contrib.test-is/template?">template?</a> - </div><div style="margin-left: 1em;" class="toc-entry"> - <a href="#clojure.contrib.test-is/test-all-vars">test-all-vars</a> - </div><div style="margin-left: 1em;" class="toc-entry"> - <a href="#clojure.contrib.test-is/test-ns">test-ns</a> - </div><div style="margin-left: 1em;" class="toc-entry"> - <a href="#clojure.contrib.test-is/test-var">test-var</a> - </div><div style="margin-left: 1em;" class="toc-entry"> - <a href="#clojure.contrib.test-is/testing">testing</a> - </div><div style="margin-left: 1em;" class="toc-entry"> - <a href="#clojure.contrib.test-is/testing-contexts-str">testing-contexts-str</a> - </div><div style="margin-left: 1em;" class="toc-entry"> - <a href="#clojure.contrib.test-is/testing-vars-str">testing-vars-str</a> - </div><div style="margin-left: 1em;" class="toc-entry"> - <a href="#clojure.contrib.test-is/try-expr">try-expr</a> - </div><div style="margin-left: 1em;" class="toc-entry"> - <a href="#clojure.contrib.test-is/use-fixtures">use-fixtures</a> - </div><div style="margin-left: 1em;" class="toc-entry"> - <a href="#clojure.contrib.test-is/with-test">with-test</a> - </div><div style="margin-left: 1em;" class="toc-entry"> - <a href="#clojure.contrib.test-is/with-test-out">with-test-out</a> - </div> - <br /> - </div> -</div> -</div> - <div id="content-tag"><h1 id="overview">API for <span id="namespace-name">test-is</span> - - <span id="header-project">clojure-contrib</span> <span id="header-version">next</span> (<span id="header-status">in development</span>) - </h1> -<span id="author-line">by <span id="author-name">Stuart Sierra</span><br /></span> -<br />Usage: -<pre> -(ns your-namespace - (:require <span id="long-name">clojure.contrib.test-is</span>)) -</pre><pre> -</pre><h2>Overview</h2> -<pre id="namespace-docstr">Backwards-compatibility for clojure.contrib.test-is - -The clojure.contrib.test-is library moved from Contrib into the -Clojure distribution as clojure.test. - -This happened on or around clojure-contrib Git commit -82cf0409d0fcb71be477ebfc4da18ee2128a2ad1 on June 25, 2009. - -This file makes the clojure.test interface available under the old -namespace clojure.contrib.test-is. - -This includes support for the old syntax of the 'are' macro. - -This was suggested by Howard Lewis Ship in ticket #26, -<a href="http://www.assembla.com/spaces/clojure-contrib/tickets/26">http://www.assembla.com/spaces/clojure-contrib/tickets/26</a></pre> - -<span class="ns-deprecated"><span id="content">Deprecated since clojure-contrib version 1.2</span><br /></span> -<br /> -<h2>Public Variables and Functions</h2> -<div id="var-entry"> - <br /> - <hr /> - <h2 id="clojure.contrib.test-is/*load-tests*">*load-tests*</h2> - <span id="var-type">var</span><br /> - <pre id="var-usage"></pre> - <pre id="var-docstr">True by default. If set to false, no test functions will -be created by deftest, set-test, or with-test. Use this to omit -tests when compiling or loading production code.</pre> - <span class="var-added"><span id="content">Added in clojure-contrib version 1.1</span><br /></span> - - -</div><div id="var-entry"> - <br /> - <hr /> - <h2 id="clojure.contrib.test-is/*stack-trace-depth*">*stack-trace-depth*</h2> - <span id="var-type">var</span><br /> - <pre id="var-usage"></pre> - <pre id="var-docstr">The maximum depth of stack traces to print when an Exception -is thrown during a test. Defaults to nil, which means print the -complete stack trace.</pre> - <span class="var-added"><span id="content">Added in clojure-contrib version 1.1</span><br /></span> - - -</div><div id="var-entry"> - <br /> - <hr /> - <h2 id="clojure.contrib.test-is/apply-template">apply-template</h2> - <span id="var-type">function</span><br /> - <pre id="var-usage">Usage: (apply-template expr values) -</pre> - <pre id="var-docstr">Replaces _1, _2, _3, etc. in expr with corresponding elements of -values. Returns the modified expression. For use in macros.</pre> - - - <a href="http://github.com/richhickey/clojure-contrib/blob/e7930c85290f77815cdb00a60604feedfa2d0194/src/main/clojure/clojure/contrib/test_is.clj#L77" id="var-source">Source</a> -</div><div id="var-entry"> - <br /> - <hr /> - <h2 id="clojure.contrib.test-is/are">are</h2> - <span id="var-type">macro</span><br /> - <pre id="var-usage">Usage: (are expr & args) -</pre> - <pre id="var-docstr">Checks multiple assertions with a template expression. -See clojure.contrib.template/do-template for an explanation of -templates. - -Example: (are (= _1 _2) - 2 (+ 1 1) - 4 (* 2 2)) -Expands to: - (do (is (= 2 (+ 1 1))) - (is (= 4 (* 2 2)))) - -Note: This breaks some reporting features, such as line numbers.</pre> - - - <a href="http://github.com/richhickey/clojure-contrib/blob/e7930c85290f77815cdb00a60604feedfa2d0194/src/main/clojure/clojure/contrib/test_is.clj#L105" id="var-source">Source</a> -</div><div id="var-entry"> - <br /> - <hr /> - <h2 id="clojure.contrib.test-is/assert-any">assert-any</h2> - <span id="var-type">function</span><br /> - <pre id="var-usage">Usage: (assert-any msg form) -</pre> - <pre id="var-docstr">Returns generic assertion code for any test, including macros, Java -method calls, or isolated symbols.</pre> - <span class="var-added"><span id="content">Added in clojure-contrib version 1.1</span><br /></span> - - -</div><div id="var-entry"> - <br /> - <hr /> - <h2 id="clojure.contrib.test-is/assert-predicate">assert-predicate</h2> - <span id="var-type">function</span><br /> - <pre id="var-usage">Usage: (assert-predicate msg form) -</pre> - <pre id="var-docstr">Returns generic assertion code for any functional predicate. The -'expected' argument to 'report' will contains the original form, the -'actual' argument will contain the form with all its sub-forms -evaluated. If the predicate returns false, the 'actual' form will -be wrapped in (not...).</pre> - <span class="var-added"><span id="content">Added in clojure-contrib version 1.1</span><br /></span> - - -</div><div id="var-entry"> - <br /> - <hr /> - <h2 id="clojure.contrib.test-is/compose-fixtures">compose-fixtures</h2> - <span id="var-type">function</span><br /> - <pre id="var-usage">Usage: (compose-fixtures f1 f2) -</pre> - <pre id="var-docstr">Composes two fixture functions, creating a new fixture function -that combines their behavior.</pre> - <span class="var-added"><span id="content">Added in clojure-contrib version 1.1</span><br /></span> - - -</div><div id="var-entry"> - <br /> - <hr /> - <h2 id="clojure.contrib.test-is/deftest">deftest</h2> - <span id="var-type">macro</span><br /> - <pre id="var-usage">Usage: (deftest name & body) -</pre> - <pre id="var-docstr">Defines a test function with no arguments. Test functions may call -other tests, so tests may be composed. If you compose tests, you -should also define a function named test-ns-hook; run-tests will -call test-ns-hook instead of testing all vars. - -Note: Actually, the test body goes in the :test metadata on the var, -and the real function (the value of the var) calls test-var on -itself. - -When *load-tests* is false, deftest is ignored.</pre> - <span class="var-added"><span id="content">Added in clojure-contrib version 1.1</span><br /></span> - - -</div><div id="var-entry"> - <br /> - <hr /> - <h2 id="clojure.contrib.test-is/deftest-">deftest-</h2> - <span id="var-type">macro</span><br /> - <pre id="var-usage">Usage: (deftest- name & body) -</pre> - <pre id="var-docstr">Like deftest but creates a private var.</pre> - <span class="var-added"><span id="content">Added in clojure-contrib version 1.1</span><br /></span> - - -</div><div id="var-entry"> - <br /> - <hr /> - <h2 id="clojure.contrib.test-is/do-template">do-template</h2> - <span id="var-type">macro</span><br /> - <pre id="var-usage">Usage: (do-template expr & args) -</pre> - <pre id="var-docstr">Repeatedly evaluates template expr (in a do block) using values in -args. args are grouped by the number of holes in the template. -Example: (do-template (check _1 _2) :a :b :c :d) -expands to (do (check :a :b) (check :c :d))</pre> - - - <a href="http://github.com/richhickey/clojure-contrib/blob/e7930c85290f77815cdb00a60604feedfa2d0194/src/main/clojure/clojure/contrib/test_is.clj#L88" id="var-source">Source</a> -</div><div id="var-entry"> - <br /> - <hr /> - <h2 id="clojure.contrib.test-is/file-position">file-position</h2> - <span id="var-type">function</span><br /> - <pre id="var-usage">Usage: (file-position n) -</pre> - <pre id="var-docstr">Returns a vector [filename line-number] for the nth call up the -stack.</pre> - <span class="var-added"><span id="content">Added in clojure-contrib version 1.1</span><br /></span> - - -</div><div id="var-entry"> - <br /> - <hr /> - <h2 id="clojure.contrib.test-is/find-holes">find-holes</h2> - <span id="var-type">function</span><br /> - <pre id="var-usage">Usage: (find-holes form) -</pre> - <pre id="var-docstr">Recursively finds all symbols starting with _ in form.</pre> - - - <a href="http://github.com/richhickey/clojure-contrib/blob/e7930c85290f77815cdb00a60604feedfa2d0194/src/main/clojure/clojure/contrib/test_is.clj#L52" id="var-source">Source</a> -</div><div id="var-entry"> - <br /> - <hr /> - <h2 id="clojure.contrib.test-is/find-pure-exprs">find-pure-exprs</h2> - <span id="var-type">function</span><br /> - <pre id="var-usage">Usage: (find-pure-exprs form) -</pre> - <pre id="var-docstr">Recursively finds all sub-expressions in form that do not contain -any symbols starting with _</pre> - - - <a href="http://github.com/richhickey/clojure-contrib/blob/e7930c85290f77815cdb00a60604feedfa2d0194/src/main/clojure/clojure/contrib/test_is.clj#L58" id="var-source">Source</a> -</div><div id="var-entry"> - <br /> - <hr /> - <h2 id="clojure.contrib.test-is/find-symbols">find-symbols</h2> - <span id="var-type">function</span><br /> - <pre id="var-usage">Usage: (find-symbols form) -</pre> - <pre id="var-docstr">Recursively finds all symbols in form.</pre> - - - <a href="http://github.com/richhickey/clojure-contrib/blob/e7930c85290f77815cdb00a60604feedfa2d0194/src/main/clojure/clojure/contrib/test_is.clj#L47" id="var-source">Source</a> -</div><div id="var-entry"> - <br /> - <hr /> - <h2 id="clojure.contrib.test-is/flatten-map">flatten-map</h2> - <span id="var-type">function</span><br /> - <pre id="var-usage">Usage: (flatten-map m) -</pre> - <pre id="var-docstr">Transforms a map into a vector like [key value key value].</pre> - - - <a href="http://github.com/richhickey/clojure-contrib/blob/e7930c85290f77815cdb00a60604feedfa2d0194/src/main/clojure/clojure/contrib/test_is.clj#L66" id="var-source">Source</a> -</div><div id="var-entry"> - <br /> - <hr /> - <h2 id="clojure.contrib.test-is/function?">function?</h2> - <span id="var-type">function</span><br /> - <pre id="var-usage">Usage: (function? x) -</pre> - <pre id="var-docstr">Returns true if argument is a function or a symbol that resolves to -a function (not a macro).</pre> - <span class="var-added"><span id="content">Added in clojure-contrib version 1.1</span><br /></span> - - -</div><div id="var-entry"> - <br /> - <hr /> - <h2 id="clojure.contrib.test-is/get-possibly-unbound-var">get-possibly-unbound-var</h2> - <span id="var-type">function</span><br /> - <pre id="var-usage">Usage: (get-possibly-unbound-var v) -</pre> - <pre id="var-docstr">Like var-get but returns nil if the var is unbound.</pre> - <span class="var-added"><span id="content">Added in clojure-contrib version 1.1</span><br /></span> - - -</div><div id="var-entry"> - <br /> - <hr /> - <h2 id="clojure.contrib.test-is/inc-report-counter">inc-report-counter</h2> - <span id="var-type">function</span><br /> - <pre id="var-usage">Usage: (inc-report-counter name) -</pre> - <pre id="var-docstr">Increments the named counter in *report-counters*, a ref to a map. -Does nothing if *report-counters* is nil.</pre> - <span class="var-added"><span id="content">Added in clojure-contrib version 1.1</span><br /></span> - - -</div><div id="var-entry"> - <br /> - <hr /> - <h2 id="clojure.contrib.test-is/is">is</h2> - <span id="var-type">macro</span><br /> - <pre id="var-usage">Usage: (is form) - (is form msg) -</pre> - <pre id="var-docstr">Generic assertion macro. 'form' is any predicate test. -'msg' is an optional message to attach to the assertion. - -Example: (is (= 4 (+ 2 2)) "Two plus two should be 4") - -Special forms: - -(is (thrown? c body)) checks that an instance of c is thrown from -body, fails if not; then returns the thing thrown. - -(is (thrown-with-msg? c re body)) checks that an instance of c is -thrown AND that the message on the exception matches (with -re-find) the regular expression re.</pre> - <span class="var-added"><span id="content">Added in clojure-contrib version 1.1</span><br /></span> - - -</div><div id="var-entry"> - <br /> - <hr /> - <h2 id="clojure.contrib.test-is/join-fixtures">join-fixtures</h2> - <span id="var-type">function</span><br /> - <pre id="var-usage">Usage: (join-fixtures fixtures) -</pre> - <pre id="var-docstr">Composes a collection of fixtures, in order. Always returns a valid -fixture function, even if the collection is empty.</pre> - <span class="var-added"><span id="content">Added in clojure-contrib version 1.1</span><br /></span> - - -</div><div id="var-entry"> - <br /> - <hr /> - <h2 id="clojure.contrib.test-is/report">report</h2> - <span id="var-type">multimethod</span><br /> - <pre id="var-usage">No usage documentation available</pre> - <pre id="var-docstr">Generic reporting function, may be overridden to plug in -different report formats (e.g., TAP, JUnit). Assertions such as -'is' call 'report' to indicate results. The argument given to -'report' will be a map with a :type key. See the documentation at -the top of test_is.clj for more information on the types of -arguments for 'report'.</pre> - <span class="var-added"><span id="content">Added in clojure-contrib version 1.1</span><br /></span> - - -</div><div id="var-entry"> - <br /> - <hr /> - <h2 id="clojure.contrib.test-is/run-all-tests">run-all-tests</h2> - <span id="var-type">function</span><br /> - <pre id="var-usage">Usage: (run-all-tests) - (run-all-tests re) -</pre> - <pre id="var-docstr">Runs all tests in all namespaces; prints results. -Optional argument is a regular expression; only namespaces with -names matching the regular expression (with re-matches) will be -tested.</pre> - <span class="var-added"><span id="content">Added in clojure-contrib version 1.1</span><br /></span> - - -</div><div id="var-entry"> - <br /> - <hr /> - <h2 id="clojure.contrib.test-is/run-tests">run-tests</h2> - <span id="var-type">function</span><br /> - <pre id="var-usage">Usage: (run-tests) - (run-tests & namespaces) -</pre> - <pre id="var-docstr">Runs all tests in the given namespaces; prints results. -Defaults to current namespace if none given. Returns a map -summarizing test results.</pre> - <span class="var-added"><span id="content">Added in clojure-contrib version 1.1</span><br /></span> - - -</div><div id="var-entry"> - <br /> - <hr /> - <h2 id="clojure.contrib.test-is/set-test">set-test</h2> - <span id="var-type">macro</span><br /> - <pre id="var-usage">Usage: (set-test name & body) -</pre> - <pre id="var-docstr">Experimental. -Sets :test metadata of the named var to a fn with the given body. -The var must already exist. Does not modify the value of the var. - -When *load-tests* is false, set-test is ignored.</pre> - <span class="var-added"><span id="content">Added in clojure-contrib version 1.1</span><br /></span> - - -</div><div id="var-entry"> - <br /> - <hr /> - <h2 id="clojure.contrib.test-is/successful?">successful?</h2> - <span id="var-type">function</span><br /> - <pre id="var-usage">Usage: (successful? summary) -</pre> - <pre id="var-docstr">Returns true if the given test summary indicates all tests -were successful, false otherwise.</pre> - <span class="var-added"><span id="content">Added in clojure-contrib version 1.1</span><br /></span> - - -</div><div id="var-entry"> - <br /> - <hr /> - <h2 id="clojure.contrib.test-is/template?">template?</h2> - <span id="var-type">function</span><br /> - <pre id="var-usage">Usage: (template? form) -</pre> - <pre id="var-docstr">Returns true if form is a valid template expression.</pre> - - - <a href="http://github.com/richhickey/clojure-contrib/blob/e7930c85290f77815cdb00a60604feedfa2d0194/src/main/clojure/clojure/contrib/test_is.clj#L72" id="var-source">Source</a> -</div><div id="var-entry"> - <br /> - <hr /> - <h2 id="clojure.contrib.test-is/test-all-vars">test-all-vars</h2> - <span id="var-type">function</span><br /> - <pre id="var-usage">Usage: (test-all-vars ns) -</pre> - <pre id="var-docstr">Calls test-var on every var interned in the namespace, with fixtures.</pre> - <span class="var-added"><span id="content">Added in clojure-contrib version 1.1</span><br /></span> - - -</div><div id="var-entry"> - <br /> - <hr /> - <h2 id="clojure.contrib.test-is/test-ns">test-ns</h2> - <span id="var-type">function</span><br /> - <pre id="var-usage">Usage: (test-ns ns) -</pre> - <pre id="var-docstr">If the namespace defines a function named test-ns-hook, calls that. -Otherwise, calls test-all-vars on the namespace. 'ns' is a -namespace object or a symbol. - -Internally binds *report-counters* to a ref initialized to -*inital-report-counters*. Returns the final, dereferenced state of -*report-counters*.</pre> - <span class="var-added"><span id="content">Added in clojure-contrib version 1.1</span><br /></span> - - -</div><div id="var-entry"> - <br /> - <hr /> - <h2 id="clojure.contrib.test-is/test-var">test-var</h2> - <span id="var-type">function</span><br /> - <pre id="var-usage">Usage: (test-var v) -</pre> - <pre id="var-docstr">If v has a function in its :test metadata, calls that function, -with *testing-vars* bound to (conj *testing-vars* v).</pre> - <span class="var-added"><span id="content">Added in clojure-contrib version 1.1</span><br /></span> - - -</div><div id="var-entry"> - <br /> - <hr /> - <h2 id="clojure.contrib.test-is/testing">testing</h2> - <span id="var-type">macro</span><br /> - <pre id="var-usage">Usage: (testing string & body) -</pre> - <pre id="var-docstr">Adds a new string to the list of testing contexts. May be nested, -but must occur inside a test function (deftest).</pre> - <span class="var-added"><span id="content">Added in clojure-contrib version 1.1</span><br /></span> - - -</div><div id="var-entry"> - <br /> - <hr /> - <h2 id="clojure.contrib.test-is/testing-contexts-str">testing-contexts-str</h2> - <span id="var-type">function</span><br /> - <pre id="var-usage">Usage: (testing-contexts-str) -</pre> - <pre id="var-docstr">Returns a string representation of the current test context. Joins -strings in *testing-contexts* with spaces.</pre> - <span class="var-added"><span id="content">Added in clojure-contrib version 1.1</span><br /></span> - - -</div><div id="var-entry"> - <br /> - <hr /> - <h2 id="clojure.contrib.test-is/testing-vars-str">testing-vars-str</h2> - <span id="var-type">function</span><br /> - <pre id="var-usage">Usage: (testing-vars-str) -</pre> - <pre id="var-docstr">Returns a string representation of the current test. Renders names -in *testing-vars* as a list, then the source file and line of -current assertion.</pre> - <span class="var-added"><span id="content">Added in clojure-contrib version 1.1</span><br /></span> - - -</div><div id="var-entry"> - <br /> - <hr /> - <h2 id="clojure.contrib.test-is/try-expr">try-expr</h2> - <span id="var-type">macro</span><br /> - <pre id="var-usage">Usage: (try-expr msg form) -</pre> - <pre id="var-docstr">Used by the 'is' macro to catch unexpected exceptions. -You don't call this.</pre> - <span class="var-added"><span id="content">Added in clojure-contrib version 1.1</span><br /></span> - - -</div><div id="var-entry"> - <br /> - <hr /> - <h2 id="clojure.contrib.test-is/use-fixtures">use-fixtures</h2> - <span id="var-type">multimethod</span><br /> - <pre id="var-usage">No usage documentation available</pre> - <pre id="var-docstr">Wrap test runs in a fixture function to perform setup and -teardown. Using a fixture-type of :each wraps every test -individually, while:once wraps the whole run in a single function.</pre> - <span class="var-added"><span id="content">Added in clojure-contrib version 1.1</span><br /></span> - - -</div><div id="var-entry"> - <br /> - <hr /> - <h2 id="clojure.contrib.test-is/with-test">with-test</h2> - <span id="var-type">macro</span><br /> - <pre id="var-usage">Usage: (with-test definition & body) -</pre> - <pre id="var-docstr">Takes any definition form (that returns a Var) as the first argument. -Remaining body goes in the :test metadata function for that Var. - -When *load-tests* is false, only evaluates the definition, ignoring -the tests.</pre> - <span class="var-added"><span id="content">Added in clojure-contrib version 1.1</span><br /></span> - - -</div><div id="var-entry"> - <br /> - <hr /> - <h2 id="clojure.contrib.test-is/with-test-out">with-test-out</h2> - <span id="var-type">macro</span><br /> - <pre id="var-usage">Usage: (with-test-out & body) -</pre> - <pre id="var-docstr">Runs body with *out* bound to the value of *test-out*.</pre> - <span class="var-added"><span id="content">Added in clojure-contrib version 1.1</span><br /></span> - - -</div> - - -</div> - </div> - </div> - </div> - </div> - <div id="foot"> - <div style="text-align: center;" id="copyright">Copyright 2007-2009 by Rich Hickey and the various contributors</div> - </div> - </div> - <div id="DesignedBy">Logo & site design by <a title="Visit Tom Hickey's website." href="http://www.tomhickey.com">Tom Hickey</a>.<br /> - Clojure auto-documentation system by Tom Faulhaber.</div> - </div> - <!-- /AllContentContainer --> - </body> - -</html>
\ No newline at end of file diff --git a/branch-master/trace-api.html b/branch-master/trace-api.html deleted file mode 100644 index e7cce268..00000000 --- a/branch-master/trace-api.html +++ /dev/null @@ -1,199 +0,0 @@ -<html> - <head> - <title>trace - clojure-contrib next API documentation</title> - <link href="../static/favicon.png" rel="icon" /> - <link href="../static/favicon.png" rel="shortcut icon" /> - <link media="all" type="text/css" href="../static/clojure.css" rel="stylesheet" /> - <link media="all" type="text/css" href="../static/wiki.css" rel="stylesheet" /> - <link media="all" type="text/css" href="../static/internal.css" rel="stylesheet" /> - <!-- TODO: are we using these (from clojure.org)? If so, add the files --> - <script src="file/view/code_highlighter.js" type="text/javascript"></script> - <script src="file/view/clojure.js" type="text/javascript"></script> - <style>.menuWrapper{height: 36px;}</style> - <!--[if lte IE 6]> - <link rel="stylesheet" href="http://www.wikispaces.com/_/2009051601/s/internal_ie.css" type="text/css" /> - <![endif]--> - </head> -<!-- -This document was auto-generated from the source by the clojure autodoc system. -To report errors or ask questions about the overall documentation structure, formatting, -etc., contact Tom Faulhaber (google mail name: tomfaulhaber). -For errors in the documentation of a particular namespace, contact the author of that -namespace. ---> - <body> - <div id="AllContentContainer"> - <div id="Header"> - <a id="Logo" href="index.html"><img alt="Clojure" height="100" width="100" src="../static/clojure-icon.gif" /></a> - <h1><a title="page header title" id="page-header" href="index.html">Clojure-contrib API Reference</a></h1> - </div> - <div id="leftcolumn"><div style="text-align: center;"></div> -<div class="menu"> - <div class="WikiCustomNav WikiElement wiki"> - <span class="toc-header"><span id="project-name">clojure-contrib</span> <span id="version">next</span> API</span><br /> - <ul> - <li><a class="wiki_link" href="index.html">Overview</a></li> - <li><a class="wiki_link" href="api-index.html">API Index</a></li> - </ul> - <span class="toc-header">Namespaces</span> - <ul id="left-sidebar-list"> - <li><a href="accumulators-api.html" class="wiki_link">accumulators</a></li><li><a href="agent-utils-api.html" class="wiki_link">agent-utils</a></li><li><a href="apply-macro-api.html" class="wiki_link">apply-macro</a></li><li><a href="base64-api.html" class="wiki_link">base64</a></li><li><a href="classpath-api.html" class="wiki_link">classpath</a></li><li><a href="combinatorics-api.html" class="wiki_link">combinatorics</a></li><li><a href="command-line-api.html" class="wiki_link">command-line</a></li><li><a href="complex-numbers-api.html" class="wiki_link">complex-numbers</a></li><li><a href="cond-api.html" class="wiki_link">cond</a></li><li><a href="condition-api.html" class="wiki_link">condition</a></li><li><a href="core-api.html" class="wiki_link">core</a></li><li><a href="dataflow-api.html" class="wiki_link">dataflow</a></li><li><a href="datalog-api.html" class="wiki_link">datalog</a></li><li><a href="def-api.html" class="wiki_link">def</a></li><li><a href="duck-streams-api.html" class="wiki_link">duck-streams</a></li><li><a href="error-kit-api.html" class="wiki_link">error-kit</a></li><li><a href="except-api.html" class="wiki_link">except</a></li><li><a href="fcase-api.html" class="wiki_link">fcase</a></li><li><a href="find-namespaces-api.html" class="wiki_link">find-namespaces</a></li><li><a href="fnmap-api.html" class="wiki_link">fnmap</a></li><li><a href="gen-html-docs-api.html" class="wiki_link">gen-html-docs</a></li><li><a href="generic.arithmetic-api.html" class="wiki_link">generic.arithmetic</a></li><li><a href="generic.collection-api.html" class="wiki_link">generic.collection</a></li><li><a href="generic.comparison-api.html" class="wiki_link">generic.comparison</a></li><li><a href="generic.functor-api.html" class="wiki_link">generic.functor</a></li><li><a href="generic.math-functions-api.html" class="wiki_link">generic.math-functions</a></li><li><a href="graph-api.html" class="wiki_link">graph</a></li><li><a href="greatest-least-api.html" class="wiki_link">greatest-least</a></li><li><a href="http.agent-api.html" class="wiki_link">http.agent</a></li><li><a href="http.connection-api.html" class="wiki_link">http.connection</a></li><li><a href="import-static-api.html" class="wiki_link">import-static</a></li><li><a href="io-api.html" class="wiki_link">io</a></li><li><a href="jar-api.html" class="wiki_link">jar</a></li><li><a href="java-utils-api.html" class="wiki_link">java-utils</a></li><li><a href="javadoc.browse-api.html" class="wiki_link">javadoc.browse</a></li><li><a href="jmx-api.html" class="wiki_link">jmx</a></li><li><a href="json-api.html" class="wiki_link">json</a></li><li><a href="lazy-seqs-api.html" class="wiki_link">lazy-seqs</a></li><li><a href="lazy-xml-api.html" class="wiki_link">lazy-xml</a></li><li><a href="logging-api.html" class="wiki_link">logging</a></li><li><a href="macro-utils-api.html" class="wiki_link">macro-utils</a></li><li><a href="macros-api.html" class="wiki_link">macros</a></li><li><a href="map-utils-api.html" class="wiki_link">map-utils</a></li><li><a href="math-api.html" class="wiki_link">math</a></li><li><a href="miglayout-api.html" class="wiki_link">miglayout</a></li><li><a href="mmap-api.html" class="wiki_link">mmap</a></li><li><a href="mock-api.html" class="wiki_link">mock</a></li><li><a href="monadic-io-streams-api.html" class="wiki_link">monadic-io-streams</a></li><li><a href="monads-api.html" class="wiki_link">monads</a></li><li><a href="ns-utils-api.html" class="wiki_link">ns-utils</a></li><li><a href="pprint-api.html" class="wiki_link">pprint</a></li><li><a href="priority-map-api.html" class="wiki_link">priority-map</a></li><li><a href="probabilities.finite-distributions-api.html" class="wiki_link">probabilities.finite-distributions</a></li><li><a href="probabilities.monte-carlo-api.html" class="wiki_link">probabilities.monte-carlo</a></li><li><a href="probabilities.random-numbers-api.html" class="wiki_link">probabilities.random-numbers</a></li><li><a href="profile-api.html" class="wiki_link">profile</a></li><li><a href="properties-api.html" class="wiki_link">properties</a></li><li><a href="prxml-api.html" class="wiki_link">prxml</a></li><li><a href="reflect-api.html" class="wiki_link">reflect</a></li><li><a href="repl-ln-api.html" class="wiki_link">repl-ln</a></li><li><a href="repl-utils-api.html" class="wiki_link">repl-utils</a></li><li><a href="seq-api.html" class="wiki_link">seq</a></li><li><a href="seq-utils-api.html" class="wiki_link">seq-utils</a></li><li><a href="server-socket-api.html" class="wiki_link">server-socket</a></li><li><a href="set-api.html" class="wiki_link">set</a></li><li><a href="shell-api.html" class="wiki_link">shell</a></li><li><a href="shell-out-api.html" class="wiki_link">shell-out</a></li><li><a href="singleton-api.html" class="wiki_link">singleton</a></li><li><a href="sql-api.html" class="wiki_link">sql</a></li><li><a href="str-utils-api.html" class="wiki_link">str-utils</a></li><li><a href="str-utils2-api.html" class="wiki_link">str-utils2</a></li><li><a href="stream-utils-api.html" class="wiki_link">stream-utils</a></li><li><a href="string-api.html" class="wiki_link">string</a></li><li><a href="strint-api.html" class="wiki_link">strint</a></li><li><a href="swing-utils-api.html" class="wiki_link">swing-utils</a></li><li><a href="test-is-api.html" class="wiki_link">test-is</a></li><li><a href="trace-api.html" class="wiki_link">trace</a></li><li><a href="types-api.html" class="wiki_link">types</a></li><li><a href="with-ns-api.html" class="wiki_link">with-ns</a></li><li><a href="zip-filter-api.html" class="wiki_link">zip-filter</a></li> - </ul> - <div class="BranchTOC"> - <span class="toc-header">Other Versions</span> - <ul id="left-sidebar-branch-list"> - <li><a href="../index.html" class="wiki_link">v1.2 (beta 1)</a></li><li><a href="../branch-1.1.x/index.html" class="wiki_link">v1.1 (stable)</a></li> - </ul> - </div> - <a href="http://clojure.org" class="wiki_link">Clojure Home</a> - </div> -</div> -</div> - <div id="rightcolumn"> - <div id="Content"> - <div class="contentBox"><div class="innerContentBox"> - <div id="content_view" class="wiki wikiPage"> - <div id="right-sidebar"><div id="toc"> - <h1 class="nopad">Table of Contents</h1> - <div style="margin-left: 1em;" class="toc-section"> - <a href="#toc0">Overview</a> - <div style="margin-left: 1em;" class="toc-entry"> - <a href="#clojure.contrib.trace/*trace-depth*">*trace-depth*</a> - </div><div style="margin-left: 1em;" class="toc-entry"> - <a href="#clojure.contrib.trace/deftrace">deftrace</a> - </div><div style="margin-left: 1em;" class="toc-entry"> - <a href="#clojure.contrib.trace/dotrace">dotrace</a> - </div><div style="margin-left: 1em;" class="toc-entry"> - <a href="#clojure.contrib.trace/trace">trace</a> - </div><div style="margin-left: 1em;" class="toc-entry"> - <a href="#clojure.contrib.trace/trace-fn-call">trace-fn-call</a> - </div><div style="margin-left: 1em;" class="toc-entry"> - <a href="#clojure.contrib.trace/trace-indent">trace-indent</a> - </div><div style="margin-left: 1em;" class="toc-entry"> - <a href="#clojure.contrib.trace/tracer">tracer</a> - </div> - <br /> - </div> -</div> -</div> - <div id="content-tag"><h1 id="overview">API for <span id="namespace-name">trace</span> - - <span id="header-project">clojure-contrib</span> <span id="header-version">next</span> (<span id="header-status">in development</span>) - </h1> -<span id="author-line">by <span id="author-name">Stuart Sierra, Michel Salim</span><br /></span> -<br />Usage: -<pre> -(ns your-namespace - (:require <span id="long-name">clojure.contrib.trace</span>)) -</pre><pre> -</pre><h2>Overview</h2> -<pre id="namespace-docstr">This file defines simple "tracing" macros to help you see what your -code is doing.</pre> - - -<br /> -<h2>Public Variables and Functions</h2> -<div id="var-entry"> - <br /> - <hr /> - <h2 id="clojure.contrib.trace/*trace-depth*">*trace-depth*</h2> - <span id="var-type">var</span><br /> - <pre id="var-usage"></pre> - <pre id="var-docstr">Current stack depth of traced function calls.</pre> - - - <a href="http://github.com/richhickey/clojure-contrib/blob/7188a51605136f36524e4091fe806859114d6056/src/main/clojure/clojure/contrib/trace.clj#L40" id="var-source">Source</a> -</div><div id="var-entry"> - <br /> - <hr /> - <h2 id="clojure.contrib.trace/deftrace">deftrace</h2> - <span id="var-type">macro</span><br /> - <pre id="var-usage">Usage: (deftrace name & definition) -</pre> - <pre id="var-docstr">Use in place of defn; traces each call/return of this fn, including -arguments. Nested calls to deftrace'd functions will print a -tree-like structure.</pre> - - - <a href="http://github.com/richhickey/clojure-contrib/blob/7188a51605136f36524e4091fe806859114d6056/src/main/clojure/clojure/contrib/trace.clj#L75" id="var-source">Source</a> -</div><div id="var-entry"> - <br /> - <hr /> - <h2 id="clojure.contrib.trace/dotrace">dotrace</h2> - <span id="var-type">macro</span><br /> - <pre id="var-usage">Usage: (dotrace fnames & exprs) -</pre> - <pre id="var-docstr">Given a sequence of function identifiers, evaluate the body -expressions in an environment in which the identifiers are bound to -the traced functions. Does not work on inlined functions, -such as clojure.core/+</pre> - - - <a href="http://github.com/richhickey/clojure-contrib/blob/7188a51605136f36524e4091fe806859114d6056/src/main/clojure/clojure/contrib/trace.clj#L86" id="var-source">Source</a> -</div><div id="var-entry"> - <br /> - <hr /> - <h2 id="clojure.contrib.trace/trace">trace</h2> - <span id="var-type">function</span><br /> - <pre id="var-usage">Usage: (trace value) - (trace name value) -</pre> - <pre id="var-docstr">Sends name (optional) and value to the tracer function, then -returns value. May be wrapped around any expression without -affecting the result.</pre> - - - <a href="http://github.com/richhickey/clojure-contrib/blob/7188a51605136f36524e4091fe806859114d6056/src/main/clojure/clojure/contrib/trace.clj#L50" id="var-source">Source</a> -</div><div id="var-entry"> - <br /> - <hr /> - <h2 id="clojure.contrib.trace/trace-fn-call">trace-fn-call</h2> - <span id="var-type">function</span><br /> - <pre id="var-usage">Usage: (trace-fn-call name f args) -</pre> - <pre id="var-docstr">Traces a single call to a function f with args. 'name' is the -symbol name of the function.</pre> - - - <a href="http://github.com/richhickey/clojure-contrib/blob/7188a51605136f36524e4091fe806859114d6056/src/main/clojure/clojure/contrib/trace.clj#L64" id="var-source">Source</a> -</div><div id="var-entry"> - <br /> - <hr /> - <h2 id="clojure.contrib.trace/trace-indent">trace-indent</h2> - <span id="var-type">function</span><br /> - <pre id="var-usage">Usage: (trace-indent) -</pre> - <pre id="var-docstr">Returns an indentation string based on *trace-depth*</pre> - - - <a href="http://github.com/richhickey/clojure-contrib/blob/7188a51605136f36524e4091fe806859114d6056/src/main/clojure/clojure/contrib/trace.clj#L59" id="var-source">Source</a> -</div><div id="var-entry"> - <br /> - <hr /> - <h2 id="clojure.contrib.trace/tracer">tracer</h2> - <span id="var-type">function</span><br /> - <pre id="var-usage">Usage: (tracer name value) -</pre> - <pre id="var-docstr">This function is called by trace. Prints to standard output, but -may be rebound to do anything you like. 'name' is optional.</pre> - - - <a href="http://github.com/richhickey/clojure-contrib/blob/7188a51605136f36524e4091fe806859114d6056/src/main/clojure/clojure/contrib/trace.clj#L44" id="var-source">Source</a> -</div> - - -</div> - </div> - </div> - </div> - </div> - <div id="foot"> - <div style="text-align: center;" id="copyright">Copyright 2007-2009 by Rich Hickey and the various contributors</div> - </div> - </div> - <div id="DesignedBy">Logo & site design by <a title="Visit Tom Hickey's website." href="http://www.tomhickey.com">Tom Hickey</a>.<br /> - Clojure auto-documentation system by Tom Faulhaber.</div> - </div> - <!-- /AllContentContainer --> - </body> - -</html>
\ No newline at end of file diff --git a/branch-master/types-api.html b/branch-master/types-api.html deleted file mode 100644 index 8ebab67d..00000000 --- a/branch-master/types-api.html +++ /dev/null @@ -1,178 +0,0 @@ -<html> - <head> - <title>types - clojure-contrib next API documentation</title> - <link href="../static/favicon.png" rel="icon" /> - <link href="../static/favicon.png" rel="shortcut icon" /> - <link media="all" type="text/css" href="../static/clojure.css" rel="stylesheet" /> - <link media="all" type="text/css" href="../static/wiki.css" rel="stylesheet" /> - <link media="all" type="text/css" href="../static/internal.css" rel="stylesheet" /> - <!-- TODO: are we using these (from clojure.org)? If so, add the files --> - <script src="file/view/code_highlighter.js" type="text/javascript"></script> - <script src="file/view/clojure.js" type="text/javascript"></script> - <style>.menuWrapper{height: 36px;}</style> - <!--[if lte IE 6]> - <link rel="stylesheet" href="http://www.wikispaces.com/_/2009051601/s/internal_ie.css" type="text/css" /> - <![endif]--> - </head> -<!-- -This document was auto-generated from the source by the clojure autodoc system. -To report errors or ask questions about the overall documentation structure, formatting, -etc., contact Tom Faulhaber (google mail name: tomfaulhaber). -For errors in the documentation of a particular namespace, contact the author of that -namespace. ---> - <body> - <div id="AllContentContainer"> - <div id="Header"> - <a id="Logo" href="index.html"><img alt="Clojure" height="100" width="100" src="../static/clojure-icon.gif" /></a> - <h1><a title="page header title" id="page-header" href="index.html">Clojure-contrib API Reference</a></h1> - </div> - <div id="leftcolumn"><div style="text-align: center;"></div> -<div class="menu"> - <div class="WikiCustomNav WikiElement wiki"> - <span class="toc-header"><span id="project-name">clojure-contrib</span> <span id="version">next</span> API</span><br /> - <ul> - <li><a class="wiki_link" href="index.html">Overview</a></li> - <li><a class="wiki_link" href="api-index.html">API Index</a></li> - </ul> - <span class="toc-header">Namespaces</span> - <ul id="left-sidebar-list"> - <li><a href="accumulators-api.html" class="wiki_link">accumulators</a></li><li><a href="agent-utils-api.html" class="wiki_link">agent-utils</a></li><li><a href="apply-macro-api.html" class="wiki_link">apply-macro</a></li><li><a href="base64-api.html" class="wiki_link">base64</a></li><li><a href="classpath-api.html" class="wiki_link">classpath</a></li><li><a href="combinatorics-api.html" class="wiki_link">combinatorics</a></li><li><a href="command-line-api.html" class="wiki_link">command-line</a></li><li><a href="complex-numbers-api.html" class="wiki_link">complex-numbers</a></li><li><a href="cond-api.html" class="wiki_link">cond</a></li><li><a href="condition-api.html" class="wiki_link">condition</a></li><li><a href="core-api.html" class="wiki_link">core</a></li><li><a href="dataflow-api.html" class="wiki_link">dataflow</a></li><li><a href="datalog-api.html" class="wiki_link">datalog</a></li><li><a href="def-api.html" class="wiki_link">def</a></li><li><a href="duck-streams-api.html" class="wiki_link">duck-streams</a></li><li><a href="error-kit-api.html" class="wiki_link">error-kit</a></li><li><a href="except-api.html" class="wiki_link">except</a></li><li><a href="fcase-api.html" class="wiki_link">fcase</a></li><li><a href="find-namespaces-api.html" class="wiki_link">find-namespaces</a></li><li><a href="fnmap-api.html" class="wiki_link">fnmap</a></li><li><a href="gen-html-docs-api.html" class="wiki_link">gen-html-docs</a></li><li><a href="generic.arithmetic-api.html" class="wiki_link">generic.arithmetic</a></li><li><a href="generic.collection-api.html" class="wiki_link">generic.collection</a></li><li><a href="generic.comparison-api.html" class="wiki_link">generic.comparison</a></li><li><a href="generic.functor-api.html" class="wiki_link">generic.functor</a></li><li><a href="generic.math-functions-api.html" class="wiki_link">generic.math-functions</a></li><li><a href="graph-api.html" class="wiki_link">graph</a></li><li><a href="greatest-least-api.html" class="wiki_link">greatest-least</a></li><li><a href="http.agent-api.html" class="wiki_link">http.agent</a></li><li><a href="http.connection-api.html" class="wiki_link">http.connection</a></li><li><a href="import-static-api.html" class="wiki_link">import-static</a></li><li><a href="io-api.html" class="wiki_link">io</a></li><li><a href="jar-api.html" class="wiki_link">jar</a></li><li><a href="java-utils-api.html" class="wiki_link">java-utils</a></li><li><a href="javadoc.browse-api.html" class="wiki_link">javadoc.browse</a></li><li><a href="jmx-api.html" class="wiki_link">jmx</a></li><li><a href="json-api.html" class="wiki_link">json</a></li><li><a href="lazy-seqs-api.html" class="wiki_link">lazy-seqs</a></li><li><a href="lazy-xml-api.html" class="wiki_link">lazy-xml</a></li><li><a href="logging-api.html" class="wiki_link">logging</a></li><li><a href="macro-utils-api.html" class="wiki_link">macro-utils</a></li><li><a href="macros-api.html" class="wiki_link">macros</a></li><li><a href="map-utils-api.html" class="wiki_link">map-utils</a></li><li><a href="math-api.html" class="wiki_link">math</a></li><li><a href="miglayout-api.html" class="wiki_link">miglayout</a></li><li><a href="mmap-api.html" class="wiki_link">mmap</a></li><li><a href="mock-api.html" class="wiki_link">mock</a></li><li><a href="monadic-io-streams-api.html" class="wiki_link">monadic-io-streams</a></li><li><a href="monads-api.html" class="wiki_link">monads</a></li><li><a href="ns-utils-api.html" class="wiki_link">ns-utils</a></li><li><a href="pprint-api.html" class="wiki_link">pprint</a></li><li><a href="priority-map-api.html" class="wiki_link">priority-map</a></li><li><a href="probabilities.finite-distributions-api.html" class="wiki_link">probabilities.finite-distributions</a></li><li><a href="probabilities.monte-carlo-api.html" class="wiki_link">probabilities.monte-carlo</a></li><li><a href="probabilities.random-numbers-api.html" class="wiki_link">probabilities.random-numbers</a></li><li><a href="profile-api.html" class="wiki_link">profile</a></li><li><a href="properties-api.html" class="wiki_link">properties</a></li><li><a href="prxml-api.html" class="wiki_link">prxml</a></li><li><a href="reflect-api.html" class="wiki_link">reflect</a></li><li><a href="repl-ln-api.html" class="wiki_link">repl-ln</a></li><li><a href="repl-utils-api.html" class="wiki_link">repl-utils</a></li><li><a href="seq-api.html" class="wiki_link">seq</a></li><li><a href="seq-utils-api.html" class="wiki_link">seq-utils</a></li><li><a href="server-socket-api.html" class="wiki_link">server-socket</a></li><li><a href="set-api.html" class="wiki_link">set</a></li><li><a href="shell-api.html" class="wiki_link">shell</a></li><li><a href="shell-out-api.html" class="wiki_link">shell-out</a></li><li><a href="singleton-api.html" class="wiki_link">singleton</a></li><li><a href="sql-api.html" class="wiki_link">sql</a></li><li><a href="str-utils-api.html" class="wiki_link">str-utils</a></li><li><a href="str-utils2-api.html" class="wiki_link">str-utils2</a></li><li><a href="stream-utils-api.html" class="wiki_link">stream-utils</a></li><li><a href="string-api.html" class="wiki_link">string</a></li><li><a href="strint-api.html" class="wiki_link">strint</a></li><li><a href="swing-utils-api.html" class="wiki_link">swing-utils</a></li><li><a href="test-is-api.html" class="wiki_link">test-is</a></li><li><a href="trace-api.html" class="wiki_link">trace</a></li><li><a href="types-api.html" class="wiki_link">types</a></li><li><a href="with-ns-api.html" class="wiki_link">with-ns</a></li><li><a href="zip-filter-api.html" class="wiki_link">zip-filter</a></li> - </ul> - <div class="BranchTOC"> - <span class="toc-header">Other Versions</span> - <ul id="left-sidebar-branch-list"> - <li><a href="../index.html" class="wiki_link">v1.2 (beta 1)</a></li><li><a href="../branch-1.1.x/index.html" class="wiki_link">v1.1 (stable)</a></li> - </ul> - </div> - <a href="http://clojure.org" class="wiki_link">Clojure Home</a> - </div> -</div> -</div> - <div id="rightcolumn"> - <div id="Content"> - <div class="contentBox"><div class="innerContentBox"> - <div id="content_view" class="wiki wikiPage"> - <div id="right-sidebar"><div id="toc"> - <h1 class="nopad">Table of Contents</h1> - <div style="margin-left: 1em;" class="toc-section"> - <a href="#toc0">Overview</a> - <div style="margin-left: 1em;" class="toc-entry"> - <a href="#clojure.contrib.types/defadt">defadt</a> - </div><div style="margin-left: 1em;" class="toc-entry"> - <a href="#clojure.contrib.types/deftype">deftype</a> - </div><div style="margin-left: 1em;" class="toc-entry"> - <a href="#clojure.contrib.types/deftype-">deftype-</a> - </div><div style="margin-left: 1em;" class="toc-entry"> - <a href="#clojure.contrib.types/match">match</a> - </div> - <br /> - </div> -</div> -</div> - <div id="content-tag"><h1 id="overview">API for <span id="namespace-name">types</span> - - <span id="header-project">clojure-contrib</span> <span id="header-version">next</span> (<span id="header-status">in development</span>) - </h1> -<span id="author-line">by <span id="author-name">Konrad Hinsen</span><br /></span> -<br />Usage: -<pre> -(ns your-namespace - (:require <span id="long-name">clojure.contrib.types</span>)) -</pre><pre> -</pre><h2>Overview</h2> -<pre id="namespace-docstr">General and algebraic data types</pre> - - -<br /> -<h2>Public Variables and Functions</h2> -<div id="var-entry"> - <br /> - <hr /> - <h2 id="clojure.contrib.types/defadt">defadt</h2> - <span id="var-type">macro</span><br /> - <pre id="var-usage">Usage: (defadt type-tag & constructors) -</pre> - <pre id="var-docstr">Define an algebraic data type name by an exhaustive list of constructors. -Each constructor can be a symbol (argument-free constructor) or a -list consisting of a tag symbol followed by the argument symbols. -The data type tag must be a keyword.</pre> - - - <a href="http://github.com/richhickey/clojure-contrib/blob/7188a51605136f36524e4091fe806859114d6056/src/main/clojure/clojure/contrib/types.clj#L128" id="var-source">Source</a> -</div><div id="var-entry"> - <br /> - <hr /> - <h2 id="clojure.contrib.types/deftype">deftype</h2> - <span id="var-type">macro</span><br /> - <pre id="var-usage">Usage: (deftype type-tag constructor-name docstring? attr-map?) - (deftype type-tag constructor-name docstring? attr-map? constructor) - (deftype type-tag constructor-name docstring? attr-map? constructor deconstructor) -</pre> - <pre id="var-docstr">Define a data type by a type tag (a namespace-qualified keyword) -and a symbol naming the constructor function. Optionally, a -constructor and a deconstructor function can be given as well, -the defaults being clojure.core/identity and clojure.core/list. -The full constructor associated with constructor-name calls the -constructor function and attaches the type tag to its result -as metadata. The deconstructor function must return the arguments -to be passed to the constructor in order to create an equivalent -object. It is used for printing and matching.</pre> - - - <a href="http://github.com/richhickey/clojure-contrib/blob/7188a51605136f36524e4091fe806859114d6056/src/main/clojure/clojure/contrib/types.clj#L54" id="var-source">Source</a> -</div><div id="var-entry"> - <br /> - <hr /> - <h2 id="clojure.contrib.types/deftype-">deftype-</h2> - <span id="var-type">macro</span><br /> - <pre id="var-usage">Usage: (deftype- type-tag constructor-name & optional) -</pre> - <pre id="var-docstr">Same as deftype but the constructor is private.</pre> - - - <a href="http://github.com/richhickey/clojure-contrib/blob/7188a51605136f36524e4091fe806859114d6056/src/main/clojure/clojure/contrib/types.clj#L88" id="var-source">Source</a> -</div><div id="var-entry"> - <br /> - <hr /> - <h2 id="clojure.contrib.types/match">match</h2> - <span id="var-type">macro</span><br /> - <pre id="var-usage">Usage: (match value & clauses) -</pre> - <pre id="var-docstr">Given a value and a list of template-expr clauses, evaluate the first -expr whose template matches the value. There are four kinds of templates: -1) Lists of the form (tag x1 x2 ...) match instances of types - whose constructor has the same form as the list. -2) Quoted lists of the form '(x1 x2 ...) match lists of the same - length. -3) Vectors of the form [x1 x2 ...] match vectors of the same length. -4) Maps of the form {:key1 x1 :key2 x2 ...} match maps that have - the same keys as the template, but which can have additional keys - that are not part of the template. -The values x1, x2, ... can be symbols or non-symbol values. Non-symbols -must be equal to the corresponding values in the object to be matched. -Symbols will be bound to the corresponding value in the object in the -evaluation of expr. If the same symbol occurs more than once in a, -template the corresponding elements of the object must be equal -for the template to match.</pre> - - - <a href="http://github.com/richhickey/clojure-contrib/blob/7188a51605136f36524e4091fe806859114d6056/src/main/clojure/clojure/contrib/types.clj#L241" id="var-source">Source</a> -</div> - - -</div> - </div> - </div> - </div> - </div> - <div id="foot"> - <div style="text-align: center;" id="copyright">Copyright 2007-2009 by Rich Hickey and the various contributors</div> - </div> - </div> - <div id="DesignedBy">Logo & site design by <a title="Visit Tom Hickey's website." href="http://www.tomhickey.com">Tom Hickey</a>.<br /> - Clojure auto-documentation system by Tom Faulhaber.</div> - </div> - <!-- /AllContentContainer --> - </body> - -</html>
\ No newline at end of file diff --git a/branch-master/with-ns-api.html b/branch-master/with-ns-api.html deleted file mode 100644 index 93530ab3..00000000 --- a/branch-master/with-ns-api.html +++ /dev/null @@ -1,127 +0,0 @@ -<html> - <head> - <title>with-ns - clojure-contrib next API documentation</title> - <link href="../static/favicon.png" rel="icon" /> - <link href="../static/favicon.png" rel="shortcut icon" /> - <link media="all" type="text/css" href="../static/clojure.css" rel="stylesheet" /> - <link media="all" type="text/css" href="../static/wiki.css" rel="stylesheet" /> - <link media="all" type="text/css" href="../static/internal.css" rel="stylesheet" /> - <!-- TODO: are we using these (from clojure.org)? If so, add the files --> - <script src="file/view/code_highlighter.js" type="text/javascript"></script> - <script src="file/view/clojure.js" type="text/javascript"></script> - <style>.menuWrapper{height: 36px;}</style> - <!--[if lte IE 6]> - <link rel="stylesheet" href="http://www.wikispaces.com/_/2009051601/s/internal_ie.css" type="text/css" /> - <![endif]--> - </head> -<!-- -This document was auto-generated from the source by the clojure autodoc system. -To report errors or ask questions about the overall documentation structure, formatting, -etc., contact Tom Faulhaber (google mail name: tomfaulhaber). -For errors in the documentation of a particular namespace, contact the author of that -namespace. ---> - <body> - <div id="AllContentContainer"> - <div id="Header"> - <a id="Logo" href="index.html"><img alt="Clojure" height="100" width="100" src="../static/clojure-icon.gif" /></a> - <h1><a title="page header title" id="page-header" href="index.html">Clojure-contrib API Reference</a></h1> - </div> - <div id="leftcolumn"><div style="text-align: center;"></div> -<div class="menu"> - <div class="WikiCustomNav WikiElement wiki"> - <span class="toc-header"><span id="project-name">clojure-contrib</span> <span id="version">next</span> API</span><br /> - <ul> - <li><a class="wiki_link" href="index.html">Overview</a></li> - <li><a class="wiki_link" href="api-index.html">API Index</a></li> - </ul> - <span class="toc-header">Namespaces</span> - <ul id="left-sidebar-list"> - <li><a href="accumulators-api.html" class="wiki_link">accumulators</a></li><li><a href="agent-utils-api.html" class="wiki_link">agent-utils</a></li><li><a href="apply-macro-api.html" class="wiki_link">apply-macro</a></li><li><a href="base64-api.html" class="wiki_link">base64</a></li><li><a href="classpath-api.html" class="wiki_link">classpath</a></li><li><a href="combinatorics-api.html" class="wiki_link">combinatorics</a></li><li><a href="command-line-api.html" class="wiki_link">command-line</a></li><li><a href="complex-numbers-api.html" class="wiki_link">complex-numbers</a></li><li><a href="cond-api.html" class="wiki_link">cond</a></li><li><a href="condition-api.html" class="wiki_link">condition</a></li><li><a href="core-api.html" class="wiki_link">core</a></li><li><a href="dataflow-api.html" class="wiki_link">dataflow</a></li><li><a href="datalog-api.html" class="wiki_link">datalog</a></li><li><a href="def-api.html" class="wiki_link">def</a></li><li><a href="duck-streams-api.html" class="wiki_link">duck-streams</a></li><li><a href="error-kit-api.html" class="wiki_link">error-kit</a></li><li><a href="except-api.html" class="wiki_link">except</a></li><li><a href="fcase-api.html" class="wiki_link">fcase</a></li><li><a href="find-namespaces-api.html" class="wiki_link">find-namespaces</a></li><li><a href="fnmap-api.html" class="wiki_link">fnmap</a></li><li><a href="gen-html-docs-api.html" class="wiki_link">gen-html-docs</a></li><li><a href="generic.arithmetic-api.html" class="wiki_link">generic.arithmetic</a></li><li><a href="generic.collection-api.html" class="wiki_link">generic.collection</a></li><li><a href="generic.comparison-api.html" class="wiki_link">generic.comparison</a></li><li><a href="generic.functor-api.html" class="wiki_link">generic.functor</a></li><li><a href="generic.math-functions-api.html" class="wiki_link">generic.math-functions</a></li><li><a href="graph-api.html" class="wiki_link">graph</a></li><li><a href="greatest-least-api.html" class="wiki_link">greatest-least</a></li><li><a href="http.agent-api.html" class="wiki_link">http.agent</a></li><li><a href="http.connection-api.html" class="wiki_link">http.connection</a></li><li><a href="import-static-api.html" class="wiki_link">import-static</a></li><li><a href="io-api.html" class="wiki_link">io</a></li><li><a href="jar-api.html" class="wiki_link">jar</a></li><li><a href="java-utils-api.html" class="wiki_link">java-utils</a></li><li><a href="javadoc.browse-api.html" class="wiki_link">javadoc.browse</a></li><li><a href="jmx-api.html" class="wiki_link">jmx</a></li><li><a href="json-api.html" class="wiki_link">json</a></li><li><a href="lazy-seqs-api.html" class="wiki_link">lazy-seqs</a></li><li><a href="lazy-xml-api.html" class="wiki_link">lazy-xml</a></li><li><a href="logging-api.html" class="wiki_link">logging</a></li><li><a href="macro-utils-api.html" class="wiki_link">macro-utils</a></li><li><a href="macros-api.html" class="wiki_link">macros</a></li><li><a href="map-utils-api.html" class="wiki_link">map-utils</a></li><li><a href="math-api.html" class="wiki_link">math</a></li><li><a href="miglayout-api.html" class="wiki_link">miglayout</a></li><li><a href="mmap-api.html" class="wiki_link">mmap</a></li><li><a href="mock-api.html" class="wiki_link">mock</a></li><li><a href="monadic-io-streams-api.html" class="wiki_link">monadic-io-streams</a></li><li><a href="monads-api.html" class="wiki_link">monads</a></li><li><a href="ns-utils-api.html" class="wiki_link">ns-utils</a></li><li><a href="pprint-api.html" class="wiki_link">pprint</a></li><li><a href="priority-map-api.html" class="wiki_link">priority-map</a></li><li><a href="probabilities.finite-distributions-api.html" class="wiki_link">probabilities.finite-distributions</a></li><li><a href="probabilities.monte-carlo-api.html" class="wiki_link">probabilities.monte-carlo</a></li><li><a href="probabilities.random-numbers-api.html" class="wiki_link">probabilities.random-numbers</a></li><li><a href="profile-api.html" class="wiki_link">profile</a></li><li><a href="properties-api.html" class="wiki_link">properties</a></li><li><a href="prxml-api.html" class="wiki_link">prxml</a></li><li><a href="reflect-api.html" class="wiki_link">reflect</a></li><li><a href="repl-ln-api.html" class="wiki_link">repl-ln</a></li><li><a href="repl-utils-api.html" class="wiki_link">repl-utils</a></li><li><a href="seq-api.html" class="wiki_link">seq</a></li><li><a href="seq-utils-api.html" class="wiki_link">seq-utils</a></li><li><a href="server-socket-api.html" class="wiki_link">server-socket</a></li><li><a href="set-api.html" class="wiki_link">set</a></li><li><a href="shell-api.html" class="wiki_link">shell</a></li><li><a href="shell-out-api.html" class="wiki_link">shell-out</a></li><li><a href="singleton-api.html" class="wiki_link">singleton</a></li><li><a href="sql-api.html" class="wiki_link">sql</a></li><li><a href="str-utils-api.html" class="wiki_link">str-utils</a></li><li><a href="str-utils2-api.html" class="wiki_link">str-utils2</a></li><li><a href="stream-utils-api.html" class="wiki_link">stream-utils</a></li><li><a href="string-api.html" class="wiki_link">string</a></li><li><a href="strint-api.html" class="wiki_link">strint</a></li><li><a href="swing-utils-api.html" class="wiki_link">swing-utils</a></li><li><a href="test-is-api.html" class="wiki_link">test-is</a></li><li><a href="trace-api.html" class="wiki_link">trace</a></li><li><a href="types-api.html" class="wiki_link">types</a></li><li><a href="with-ns-api.html" class="wiki_link">with-ns</a></li><li><a href="zip-filter-api.html" class="wiki_link">zip-filter</a></li> - </ul> - <div class="BranchTOC"> - <span class="toc-header">Other Versions</span> - <ul id="left-sidebar-branch-list"> - <li><a href="../index.html" class="wiki_link">v1.2 (beta 1)</a></li><li><a href="../branch-1.1.x/index.html" class="wiki_link">v1.1 (stable)</a></li> - </ul> - </div> - <a href="http://clojure.org" class="wiki_link">Clojure Home</a> - </div> -</div> -</div> - <div id="rightcolumn"> - <div id="Content"> - <div class="contentBox"><div class="innerContentBox"> - <div id="content_view" class="wiki wikiPage"> - <div id="right-sidebar"><div id="toc"> - <h1 class="nopad">Table of Contents</h1> - <div style="margin-left: 1em;" class="toc-section"> - <a href="#toc0">Overview</a> - <div style="margin-left: 1em;" class="toc-entry"> - <a href="#clojure.contrib.with-ns/with-ns">with-ns</a> - </div><div style="margin-left: 1em;" class="toc-entry"> - <a href="#clojure.contrib.with-ns/with-temp-ns">with-temp-ns</a> - </div> - <br /> - </div> -</div> -</div> - <div id="content-tag"><h1 id="overview">API for <span id="namespace-name">with-ns</span> - - <span id="header-project">clojure-contrib</span> <span id="header-version">next</span> (<span id="header-status">in development</span>) - </h1> -<span id="author-line">by <span id="author-name">Stuart Sierra</span><br /></span> -<br />Usage: -<pre> -(ns your-namespace - (:require <span id="long-name">clojure.contrib.with-ns</span>)) -</pre><pre> -</pre><h2>Overview</h2> -<pre id="namespace-docstr">Temporary namespace macro</pre> - - -<br /> -<h2>Public Variables and Functions</h2> -<div id="var-entry"> - <br /> - <hr /> - <h2 id="clojure.contrib.with-ns/with-ns">with-ns</h2> - <span id="var-type">macro</span><br /> - <pre id="var-usage">Usage: (with-ns ns & body) -</pre> - <pre id="var-docstr">Evaluates body in another namespace. ns is either a namespace -object or a symbol. This makes it possible to define functions in -namespaces other than the current one.</pre> - - - <a href="http://github.com/richhickey/clojure-contrib/blob/7188a51605136f36524e4091fe806859114d6056/src/main/clojure/clojure/contrib/with_ns.clj#L20" id="var-source">Source</a> -</div><div id="var-entry"> - <br /> - <hr /> - <h2 id="clojure.contrib.with-ns/with-temp-ns">with-temp-ns</h2> - <span id="var-type">macro</span><br /> - <pre id="var-usage">Usage: (with-temp-ns & body) -</pre> - <pre id="var-docstr">Evaluates body in an anonymous namespace, which is then immediately -removed. The temporary namespace will 'refer' clojure.core.</pre> - - - <a href="http://github.com/richhickey/clojure-contrib/blob/7188a51605136f36524e4091fe806859114d6056/src/main/clojure/clojure/contrib/with_ns.clj#L28" id="var-source">Source</a> -</div> - - -</div> - </div> - </div> - </div> - </div> - <div id="foot"> - <div style="text-align: center;" id="copyright">Copyright 2007-2009 by Rich Hickey and the various contributors</div> - </div> - </div> - <div id="DesignedBy">Logo & site design by <a title="Visit Tom Hickey's website." href="http://www.tomhickey.com">Tom Hickey</a>.<br /> - Clojure auto-documentation system by Tom Faulhaber.</div> - </div> - <!-- /AllContentContainer --> - </body> - -</html>
\ No newline at end of file diff --git a/branch-master/zip-filter-api.html b/branch-master/zip-filter-api.html deleted file mode 100644 index 9f00c36b..00000000 --- a/branch-master/zip-filter-api.html +++ /dev/null @@ -1,336 +0,0 @@ -<html> - <head> - <title>zip-filter - clojure-contrib next API documentation</title> - <link href="../static/favicon.png" rel="icon" /> - <link href="../static/favicon.png" rel="shortcut icon" /> - <link media="all" type="text/css" href="../static/clojure.css" rel="stylesheet" /> - <link media="all" type="text/css" href="../static/wiki.css" rel="stylesheet" /> - <link media="all" type="text/css" href="../static/internal.css" rel="stylesheet" /> - <!-- TODO: are we using these (from clojure.org)? If so, add the files --> - <script src="file/view/code_highlighter.js" type="text/javascript"></script> - <script src="file/view/clojure.js" type="text/javascript"></script> - <style>.menuWrapper{height: 36px;}</style> - <!--[if lte IE 6]> - <link rel="stylesheet" href="http://www.wikispaces.com/_/2009051601/s/internal_ie.css" type="text/css" /> - <![endif]--> - </head> -<!-- -This document was auto-generated from the source by the clojure autodoc system. -To report errors or ask questions about the overall documentation structure, formatting, -etc., contact Tom Faulhaber (google mail name: tomfaulhaber). -For errors in the documentation of a particular namespace, contact the author of that -namespace. ---> - <body> - <div id="AllContentContainer"> - <div id="Header"> - <a id="Logo" href="index.html"><img alt="Clojure" height="100" width="100" src="../static/clojure-icon.gif" /></a> - <h1><a title="page header title" id="page-header" href="index.html">Clojure-contrib API Reference</a></h1> - </div> - <div id="leftcolumn"><div style="text-align: center;"></div> -<div class="menu"> - <div class="WikiCustomNav WikiElement wiki"> - <span class="toc-header"><span id="project-name">clojure-contrib</span> <span id="version">next</span> API</span><br /> - <ul> - <li><a class="wiki_link" href="index.html">Overview</a></li> - <li><a class="wiki_link" href="api-index.html">API Index</a></li> - </ul> - <span class="toc-header">Namespaces</span> - <ul id="left-sidebar-list"> - <li><a href="accumulators-api.html" class="wiki_link">accumulators</a></li><li><a href="agent-utils-api.html" class="wiki_link">agent-utils</a></li><li><a href="apply-macro-api.html" class="wiki_link">apply-macro</a></li><li><a href="base64-api.html" class="wiki_link">base64</a></li><li><a href="classpath-api.html" class="wiki_link">classpath</a></li><li><a href="combinatorics-api.html" class="wiki_link">combinatorics</a></li><li><a href="command-line-api.html" class="wiki_link">command-line</a></li><li><a href="complex-numbers-api.html" class="wiki_link">complex-numbers</a></li><li><a href="cond-api.html" class="wiki_link">cond</a></li><li><a href="condition-api.html" class="wiki_link">condition</a></li><li><a href="core-api.html" class="wiki_link">core</a></li><li><a href="dataflow-api.html" class="wiki_link">dataflow</a></li><li><a href="datalog-api.html" class="wiki_link">datalog</a></li><li><a href="def-api.html" class="wiki_link">def</a></li><li><a href="duck-streams-api.html" class="wiki_link">duck-streams</a></li><li><a href="error-kit-api.html" class="wiki_link">error-kit</a></li><li><a href="except-api.html" class="wiki_link">except</a></li><li><a href="fcase-api.html" class="wiki_link">fcase</a></li><li><a href="find-namespaces-api.html" class="wiki_link">find-namespaces</a></li><li><a href="fnmap-api.html" class="wiki_link">fnmap</a></li><li><a href="gen-html-docs-api.html" class="wiki_link">gen-html-docs</a></li><li><a href="generic.arithmetic-api.html" class="wiki_link">generic.arithmetic</a></li><li><a href="generic.collection-api.html" class="wiki_link">generic.collection</a></li><li><a href="generic.comparison-api.html" class="wiki_link">generic.comparison</a></li><li><a href="generic.functor-api.html" class="wiki_link">generic.functor</a></li><li><a href="generic.math-functions-api.html" class="wiki_link">generic.math-functions</a></li><li><a href="graph-api.html" class="wiki_link">graph</a></li><li><a href="greatest-least-api.html" class="wiki_link">greatest-least</a></li><li><a href="http.agent-api.html" class="wiki_link">http.agent</a></li><li><a href="http.connection-api.html" class="wiki_link">http.connection</a></li><li><a href="import-static-api.html" class="wiki_link">import-static</a></li><li><a href="io-api.html" class="wiki_link">io</a></li><li><a href="jar-api.html" class="wiki_link">jar</a></li><li><a href="java-utils-api.html" class="wiki_link">java-utils</a></li><li><a href="javadoc.browse-api.html" class="wiki_link">javadoc.browse</a></li><li><a href="jmx-api.html" class="wiki_link">jmx</a></li><li><a href="json-api.html" class="wiki_link">json</a></li><li><a href="lazy-seqs-api.html" class="wiki_link">lazy-seqs</a></li><li><a href="lazy-xml-api.html" class="wiki_link">lazy-xml</a></li><li><a href="logging-api.html" class="wiki_link">logging</a></li><li><a href="macro-utils-api.html" class="wiki_link">macro-utils</a></li><li><a href="macros-api.html" class="wiki_link">macros</a></li><li><a href="map-utils-api.html" class="wiki_link">map-utils</a></li><li><a href="math-api.html" class="wiki_link">math</a></li><li><a href="miglayout-api.html" class="wiki_link">miglayout</a></li><li><a href="mmap-api.html" class="wiki_link">mmap</a></li><li><a href="mock-api.html" class="wiki_link">mock</a></li><li><a href="monadic-io-streams-api.html" class="wiki_link">monadic-io-streams</a></li><li><a href="monads-api.html" class="wiki_link">monads</a></li><li><a href="ns-utils-api.html" class="wiki_link">ns-utils</a></li><li><a href="pprint-api.html" class="wiki_link">pprint</a></li><li><a href="priority-map-api.html" class="wiki_link">priority-map</a></li><li><a href="probabilities.finite-distributions-api.html" class="wiki_link">probabilities.finite-distributions</a></li><li><a href="probabilities.monte-carlo-api.html" class="wiki_link">probabilities.monte-carlo</a></li><li><a href="probabilities.random-numbers-api.html" class="wiki_link">probabilities.random-numbers</a></li><li><a href="profile-api.html" class="wiki_link">profile</a></li><li><a href="properties-api.html" class="wiki_link">properties</a></li><li><a href="prxml-api.html" class="wiki_link">prxml</a></li><li><a href="reflect-api.html" class="wiki_link">reflect</a></li><li><a href="repl-ln-api.html" class="wiki_link">repl-ln</a></li><li><a href="repl-utils-api.html" class="wiki_link">repl-utils</a></li><li><a href="seq-api.html" class="wiki_link">seq</a></li><li><a href="seq-utils-api.html" class="wiki_link">seq-utils</a></li><li><a href="server-socket-api.html" class="wiki_link">server-socket</a></li><li><a href="set-api.html" class="wiki_link">set</a></li><li><a href="shell-api.html" class="wiki_link">shell</a></li><li><a href="shell-out-api.html" class="wiki_link">shell-out</a></li><li><a href="singleton-api.html" class="wiki_link">singleton</a></li><li><a href="sql-api.html" class="wiki_link">sql</a></li><li><a href="str-utils-api.html" class="wiki_link">str-utils</a></li><li><a href="str-utils2-api.html" class="wiki_link">str-utils2</a></li><li><a href="stream-utils-api.html" class="wiki_link">stream-utils</a></li><li><a href="string-api.html" class="wiki_link">string</a></li><li><a href="strint-api.html" class="wiki_link">strint</a></li><li><a href="swing-utils-api.html" class="wiki_link">swing-utils</a></li><li><a href="test-is-api.html" class="wiki_link">test-is</a></li><li><a href="trace-api.html" class="wiki_link">trace</a></li><li><a href="types-api.html" class="wiki_link">types</a></li><li><a href="with-ns-api.html" class="wiki_link">with-ns</a></li><li><a href="zip-filter-api.html" class="wiki_link">zip-filter</a></li> - </ul> - <div class="BranchTOC"> - <span class="toc-header">Other Versions</span> - <ul id="left-sidebar-branch-list"> - <li><a href="../index.html" class="wiki_link">v1.2 (beta 1)</a></li><li><a href="../branch-1.1.x/index.html" class="wiki_link">v1.1 (stable)</a></li> - </ul> - </div> - <a href="http://clojure.org" class="wiki_link">Clojure Home</a> - </div> -</div> -</div> - <div id="rightcolumn"> - <div id="Content"> - <div class="contentBox"><div class="innerContentBox"> - <div id="content_view" class="wiki wikiPage"> - <div id="right-sidebar"><div id="toc"> - <h1 class="nopad">Table of Contents</h1> - <div style="margin-left: 1em;" class="toc-section"> - <a href="#toc0">Overview</a> - <div style="margin-left: 1em;" class="toc-entry"> - <a href="#clojure.contrib.zip-filter/ancestors">ancestors</a> - </div><div style="margin-left: 1em;" class="toc-entry"> - <a href="#clojure.contrib.zip-filter/children">children</a> - </div><div style="margin-left: 1em;" class="toc-entry"> - <a href="#clojure.contrib.zip-filter/children-auto">children-auto</a> - </div><div style="margin-left: 1em;" class="toc-entry"> - <a href="#clojure.contrib.zip-filter/descendants">descendants</a> - </div><div style="margin-left: 1em;" class="toc-entry"> - <a href="#clojure.contrib.zip-filter/left-locs">left-locs</a> - </div><div style="margin-left: 1em;" class="toc-entry"> - <a href="#clojure.contrib.zip-filter/leftmost?">leftmost?</a> - </div><div style="margin-left: 1em;" class="toc-entry"> - <a href="#clojure.contrib.zip-filter/right-locs">right-locs</a> - </div><div style="margin-left: 1em;" class="toc-entry"> - <a href="#clojure.contrib.zip-filter/rightmost?">rightmost?</a> - </div> - <br /> - </div><div style="margin-left: 1em;" class="toc-section"> - <a href="#zip-filter.xml">zip-filter.xml</a> - <div style="margin-left: 1em;" class="toc-entry"> - <a href="#clojure.contrib.zip-filter.xml/attr">attr</a> - </div><div style="margin-left: 1em;" class="toc-entry"> - <a href="#clojure.contrib.zip-filter.xml/attr=">attr=</a> - </div><div style="margin-left: 1em;" class="toc-entry"> - <a href="#clojure.contrib.zip-filter.xml/seq-test">seq-test</a> - </div><div style="margin-left: 1em;" class="toc-entry"> - <a href="#clojure.contrib.zip-filter.xml/tag=">tag=</a> - </div><div style="margin-left: 1em;" class="toc-entry"> - <a href="#clojure.contrib.zip-filter.xml/text">text</a> - </div><div style="margin-left: 1em;" class="toc-entry"> - <a href="#clojure.contrib.zip-filter.xml/text=">text=</a> - </div><div style="margin-left: 1em;" class="toc-entry"> - <a href="#clojure.contrib.zip-filter.xml/xml->">xml-></a> - </div><div style="margin-left: 1em;" class="toc-entry"> - <a href="#clojure.contrib.zip-filter.xml/xml1->">xml1-></a> - </div> - <br /> - </div> -</div> -</div> - <div id="content-tag"><h1 id="overview">API for <span id="namespace-name">zip-filter</span> - - <span id="header-project">clojure-contrib</span> <span id="header-version">next</span> (<span id="header-status">in development</span>) - </h1> -<span id="author-line">by <span id="author-name">Chris Houser</span><br /></span> -<br />Usage: -<pre> -(ns your-namespace - (:require <span id="long-name">clojure.contrib.zip-filter</span>)) -</pre><pre> -</pre><h2>Overview</h2> -<pre id="namespace-docstr">System for filtering trees and nodes generated by zip.clj in -general, and xml trees in particular.</pre> - - -<br /> -<h2>Public Variables and Functions</h2> -<div id="var-entry"> - <br /> - <hr /> - <h2 id="clojure.contrib.zip-filter/ancestors">ancestors</h2> - <span id="var-type">function</span><br /> - <pre id="var-usage">Usage: (ancestors loc) -</pre> - <pre id="var-docstr">Returns a lazy sequence of all ancestors of location loc, starting -with loc and proceeding to loc's parent node and on through to the -root of the tree.</pre> - - - <a href="http://github.com/richhickey/clojure-contrib/blob/7188a51605136f36524e4091fe806859114d6056/src/main/clojure/clojure/contrib/zip_filter.clj#L65" id="var-source">Source</a> -</div><div id="var-entry"> - <br /> - <hr /> - <h2 id="clojure.contrib.zip-filter/children">children</h2> - <span id="var-type">function</span><br /> - <pre id="var-usage">Usage: (children loc) -</pre> - <pre id="var-docstr">Returns a lazy sequence of all immediate children of location loc, -left-to-right.</pre> - - - <a href="http://github.com/richhickey/clojure-contrib/blob/7188a51605136f36524e4091fe806859114d6056/src/main/clojure/clojure/contrib/zip_filter.clj#L45" id="var-source">Source</a> -</div><div id="var-entry"> - <br /> - <hr /> - <h2 id="clojure.contrib.zip-filter/children-auto">children-auto</h2> - <span id="var-type">function</span><br /> - <pre id="var-usage">Usage: (children-auto loc) -</pre> - <pre id="var-docstr">Returns a lazy sequence of all immediate children of location loc, -left-to-right, marked so that a following tag= predicate will auto-descend.</pre> - - - <a href="http://github.com/richhickey/clojure-contrib/blob/7188a51605136f36524e4091fe806859114d6056/src/main/clojure/clojure/contrib/zip_filter.clj#L52" id="var-source">Source</a> -</div><div id="var-entry"> - <br /> - <hr /> - <h2 id="clojure.contrib.zip-filter/descendants">descendants</h2> - <span id="var-type">function</span><br /> - <pre id="var-usage">Usage: (descendants loc) -</pre> - <pre id="var-docstr">Returns a lazy sequence of all descendants of location loc, in -depth-first order, left-to-right, starting with loc.</pre> - - - <a href="http://github.com/richhickey/clojure-contrib/blob/7188a51605136f36524e4091fe806859114d6056/src/main/clojure/clojure/contrib/zip_filter.clj#L60" id="var-source">Source</a> -</div><div id="var-entry"> - <br /> - <hr /> - <h2 id="clojure.contrib.zip-filter/left-locs">left-locs</h2> - <span id="var-type">function</span><br /> - <pre id="var-usage">Usage: (left-locs loc) -</pre> - <pre id="var-docstr">Returns a lazy sequence of locations to the left of loc, starting with loc.</pre> - - - <a href="http://github.com/richhickey/clojure-contrib/blob/7188a51605136f36524e4091fe806859114d6056/src/main/clojure/clojure/contrib/zip_filter.clj#L33" id="var-source">Source</a> -</div><div id="var-entry"> - <br /> - <hr /> - <h2 id="clojure.contrib.zip-filter/leftmost?">leftmost?</h2> - <span id="var-type">function</span><br /> - <pre id="var-usage">Usage: (leftmost? loc) -</pre> - <pre id="var-docstr">Returns true if there are no more nodes to the left of location loc.</pre> - - - <a href="http://github.com/richhickey/clojure-contrib/blob/7188a51605136f36524e4091fe806859114d6056/src/main/clojure/clojure/contrib/zip_filter.clj#L37" id="var-source">Source</a> -</div><div id="var-entry"> - <br /> - <hr /> - <h2 id="clojure.contrib.zip-filter/right-locs">right-locs</h2> - <span id="var-type">function</span><br /> - <pre id="var-usage">Usage: (right-locs loc) -</pre> - <pre id="var-docstr">Returns a lazy sequence of locations to the right of loc, starting with loc.</pre> - - - <a href="http://github.com/richhickey/clojure-contrib/blob/7188a51605136f36524e4091fe806859114d6056/src/main/clojure/clojure/contrib/zip_filter.clj#L29" id="var-source">Source</a> -</div><div id="var-entry"> - <br /> - <hr /> - <h2 id="clojure.contrib.zip-filter/rightmost?">rightmost?</h2> - <span id="var-type">function</span><br /> - <pre id="var-usage">Usage: (rightmost? loc) -</pre> - <pre id="var-docstr">Returns true if there are no more nodes to the right of location loc.</pre> - - - <a href="http://github.com/richhickey/clojure-contrib/blob/7188a51605136f36524e4091fe806859114d6056/src/main/clojure/clojure/contrib/zip_filter.clj#L41" id="var-source">Source</a> -</div> -<h2 id="namespace-name">zip-filter.xml</h2> -<pre id="namespace-docstr"></pre> - - -<br /> -<div id="var-entry"> - <hr /> - <h2 id="clojure.contrib.zip-filter.xml/attr">attr</h2> - <span id="var-type">function</span><br /> - <pre id="var-usage">Usage: (attr attrname) - (attr loc attrname) -</pre> - <pre id="var-docstr">Returns the xml attribute named attrname, of the xml node at location loc.</pre> - - - <a href="http://github.com/richhickey/clojure-contrib/blob/7188a51605136f36524e4091fe806859114d6056/src/main/clojure/clojure/contrib/zip_filter/xml.clj#L18" id="var-source">Source</a> -</div><div id="var-entry"> - <hr /> - <h2 id="clojure.contrib.zip-filter.xml/attr=">attr=</h2> - <span id="var-type">function</span><br /> - <pre id="var-usage">Usage: (attr= attrname attrval) -</pre> - <pre id="var-docstr">Returns a query predicate that matches a node when it has an -attribute named attrname whose value is attrval.</pre> - - - <a href="http://github.com/richhickey/clojure-contrib/blob/7188a51605136f36524e4091fe806859114d6056/src/main/clojure/clojure/contrib/zip_filter/xml.clj#L23" id="var-source">Source</a> -</div><div id="var-entry"> - <hr /> - <h2 id="clojure.contrib.zip-filter.xml/seq-test">seq-test</h2> - <span id="var-type">function</span><br /> - <pre id="var-usage">Usage: (seq-test preds) -</pre> - <pre id="var-docstr">Returns a query predicate that matches a node when its xml content -matches the query expresions given.</pre> - - - <a href="http://github.com/richhickey/clojure-contrib/blob/7188a51605136f36524e4091fe806859114d6056/src/main/clojure/clojure/contrib/zip_filter/xml.clj#L51" id="var-source">Source</a> -</div><div id="var-entry"> - <hr /> - <h2 id="clojure.contrib.zip-filter.xml/tag=">tag=</h2> - <span id="var-type">function</span><br /> - <pre id="var-usage">Usage: (tag= tagname) -</pre> - <pre id="var-docstr">Returns a query predicate that matches a node when its is a tag -named tagname.</pre> - - - <a href="http://github.com/richhickey/clojure-contrib/blob/7188a51605136f36524e4091fe806859114d6056/src/main/clojure/clojure/contrib/zip_filter/xml.clj#L28" id="var-source">Source</a> -</div><div id="var-entry"> - <hr /> - <h2 id="clojure.contrib.zip-filter.xml/text">text</h2> - <span id="var-type">function</span><br /> - <pre id="var-usage">Usage: (text loc) -</pre> - <pre id="var-docstr">Returns the textual contents of the given location, similar to -xpaths's value-of</pre> - - - <a href="http://github.com/richhickey/clojure-contrib/blob/7188a51605136f36524e4091fe806859114d6056/src/main/clojure/clojure/contrib/zip_filter/xml.clj#L38" id="var-source">Source</a> -</div><div id="var-entry"> - <hr /> - <h2 id="clojure.contrib.zip-filter.xml/text=">text=</h2> - <span id="var-type">function</span><br /> - <pre id="var-usage">Usage: (text= s) -</pre> - <pre id="var-docstr">Returns a query predicate that matches a node when its textual -content equals s.</pre> - - - <a href="http://github.com/richhickey/clojure-contrib/blob/7188a51605136f36524e4091fe806859114d6056/src/main/clojure/clojure/contrib/zip_filter/xml.clj#L46" id="var-source">Source</a> -</div><div id="var-entry"> - <hr /> - <h2 id="clojure.contrib.zip-filter.xml/xml->">xml-></h2> - <span id="var-type">function</span><br /> - <pre id="var-usage">Usage: (xml-> loc & preds) -</pre> - <pre id="var-docstr">The loc is passed to the first predicate. If the predicate returns -a collection, each value of the collection is passed to the next -predicate. If it returns a location, the location is passed to the -next predicate. If it returns true, the input location is passed to -the next predicate. If it returns false or nil, the next predicate -is not called. - -This process is repeated, passing the processed results of each -predicate to the next predicate. xml-> returns the final sequence. -The entire chain is evaluated lazily. - -There are also special predicates: keywords are converted to tag=, -strings to text=, and vectors to sub-queries that return true if -they match. - -See the footer of zip-query.clj for examples.</pre> - - - <a href="http://github.com/richhickey/clojure-contrib/blob/7188a51605136f36524e4091fe806859114d6056/src/main/clojure/clojure/contrib/zip_filter/xml.clj#L57" id="var-source">Source</a> -</div><div id="var-entry"> - <hr /> - <h2 id="clojure.contrib.zip-filter.xml/xml1->">xml1-></h2> - <span id="var-type">function</span><br /> - <pre id="var-usage">Usage: (xml1-> loc & preds) -</pre> - <pre id="var-docstr">Returns the first item from loc based on the query predicates -given. See xml-></pre> - - - <a href="http://github.com/richhickey/clojure-contrib/blob/7188a51605136f36524e4091fe806859114d6056/src/main/clojure/clojure/contrib/zip_filter/xml.clj#L80" id="var-source">Source</a> -</div> - - -</div> - </div> - </div> - </div> - </div> - <div id="foot"> - <div style="text-align: center;" id="copyright">Copyright 2007-2009 by Rich Hickey and the various contributors</div> - </div> - </div> - <div id="DesignedBy">Logo & site design by <a title="Visit Tom Hickey's website." href="http://www.tomhickey.com">Tom Hickey</a>.<br /> - Clojure auto-documentation system by Tom Faulhaber.</div> - </div> - <!-- /AllContentContainer --> - </body> - -</html>
\ No newline at end of file |