From b8730f611cb84324b70aeb6ddacb6ad7a6e28072 Mon Sep 17 00:00:00 2001 From: Tom Faulhaber Date: Sun, 5 Sep 2010 18:19:16 -0700 Subject: Autodoc commit for 1.2.x/e4ea06c9, master/328f104a, 1.1.x/d132c5f1 --- branch-master/accumulators-api.html | 2 +- branch-master/agent-utils-api.html | 4 +- branch-master/api-index.html | 259 +------ branch-master/apply-macro-api.html | 119 --- branch-master/base64-api.html | 6 +- branch-master/classpath-api.html | 2 +- branch-master/combinatorics-api.html | 14 +- branch-master/command-line-api.html | 2 +- branch-master/complex-numbers-api.html | 2 +- branch-master/cond-api.html | 4 +- branch-master/condition-api.html | 16 +- branch-master/core-api.html | 2 +- branch-master/dataflow-api.html | 38 +- branch-master/datalog-api.html | 70 +- branch-master/def-api.html | 26 +- branch-master/doc/datalog.html | 2 +- branch-master/doc/pprint/CommonLispFormat.html | 2 +- branch-master/doc/pprint/PrettyPrinting.html | 2 +- branch-master/duck-streams-api.html | 402 ---------- branch-master/error-kit-api.html | 20 +- branch-master/except-api.html | 10 +- branch-master/fcase-api.html | 2 +- branch-master/find-namespaces-api.html | 30 +- branch-master/fnmap-api.html | 4 +- branch-master/gen-html-docs-api.html | 2 +- branch-master/generic.arithmetic-api.html | 6 +- branch-master/generic.collection-api.html | 2 +- branch-master/generic.comparison-api.html | 6 +- branch-master/generic.functor-api.html | 2 +- branch-master/generic.math-functions-api.html | 4 +- branch-master/graph-api.html | 30 +- branch-master/greatest-least-api.html | 18 +- branch-master/http.agent-api.html | 481 ------------ branch-master/http.connection-api.html | 123 --- branch-master/import-static-api.html | 4 +- branch-master/index.html | 851 +-------------------- branch-master/io-api.html | 70 +- branch-master/jar-api.html | 6 +- branch-master/java-utils-api.html | 346 --------- branch-master/javadoc.browse-api.html | 126 --- branch-master/jmx-api.html | 42 +- branch-master/json-api.html | 10 +- branch-master/lazy-seqs-api.html | 8 +- branch-master/lazy-xml-api.html | 6 +- branch-master/logging-api.html | 213 +++--- branch-master/macro-utils-api.html | 2 +- branch-master/macros-api.html | 2 +- branch-master/map-utils-api.html | 10 +- branch-master/math-api.html | 30 +- branch-master/miglayout-api.html | 8 +- branch-master/mmap-api.html | 8 +- branch-master/mock-api.html | 82 +- branch-master/monadic-io-streams-api.html | 24 +- branch-master/monads-api.html | 74 +- branch-master/ns-utils-api.html | 18 +- branch-master/pprint-api.html | 570 -------------- branch-master/priority-map-api.html | 6 +- .../probabilities.finite-distributions-api.html | 24 +- branch-master/probabilities.monte-carlo-api.html | 28 +- .../probabilities.random-numbers-api.html | 6 +- branch-master/profile-api.html | 14 +- branch-master/properties-api.html | 2 +- branch-master/prxml-api.html | 63 +- branch-master/reflect-api.html | 6 +- branch-master/repl-ln-api.html | 16 +- branch-master/repl-utils-api.html | 2 +- branch-master/seq-api.html | 18 +- branch-master/seq-utils-api.html | 367 --------- branch-master/server-socket-api.html | 6 +- branch-master/set-api.html | 6 +- branch-master/shell-api.html | 137 ---- branch-master/shell-out-api.html | 137 ---- branch-master/singleton-api.html | 6 +- branch-master/sql-api.html | 42 +- branch-master/str-utils-api.html | 212 ----- branch-master/str-utils2-api.html | 578 -------------- branch-master/stream-utils-api.html | 20 +- branch-master/string-api.html | 74 +- branch-master/strint-api.html | 4 +- branch-master/swing-utils-api.html | 20 +- branch-master/test-complex-numbers-api.html | 98 --- ...st-contrib.mock-test.test-adapter-test-api.html | 98 --- branch-master/test-core-api.html | 98 --- branch-master/test-dataflow-api.html | 98 --- branch-master/test-def-api.html | 150 ---- branch-master/test-fnmap-api.html | 98 --- branch-master/test-graph-api.html | 98 --- branch-master/test-greatest-least-api.html | 98 --- branch-master/test-io-api.html | 98 --- branch-master/test-is-api.html | 663 ---------------- branch-master/test-jmx-api.html | 98 --- branch-master/test-json-api.html | 98 --- branch-master/test-lazy-seqs-api.html | 98 --- branch-master/test-logging-api.html | 98 --- branch-master/test-macro-utils-api.html | 98 --- branch-master/test-math-api.html | 98 --- branch-master/test-miglayout-api.html | 138 ---- branch-master/test-mock-api.html | 98 --- branch-master/test-monads-api.html | 98 --- branch-master/test-profile-api.html | 98 --- branch-master/test-properties-api.html | 98 --- branch-master/test-prxml-api.html | 98 --- branch-master/test-repl-utils-api.html | 98 --- branch-master/test-seq-api.html | 98 --- branch-master/test-shell-api.html | 98 --- branch-master/test-sql-api.html | 98 --- branch-master/test-string-api.html | 98 --- branch-master/test-strint-api.html | 98 --- branch-master/test-trace-api.html | 98 --- branch-master/test-with-ns-api.html | 98 --- branch-master/trace-api.html | 16 +- branch-master/types-api.html | 10 +- branch-master/with-ns-api.html | 6 +- branch-master/zip-filter-api.html | 34 +- 114 files changed, 718 insertions(+), 8963 deletions(-) delete mode 100644 branch-master/apply-macro-api.html delete mode 100644 branch-master/duck-streams-api.html delete mode 100644 branch-master/http.agent-api.html delete mode 100644 branch-master/http.connection-api.html delete mode 100644 branch-master/java-utils-api.html delete mode 100644 branch-master/javadoc.browse-api.html delete mode 100644 branch-master/pprint-api.html delete mode 100644 branch-master/seq-utils-api.html delete mode 100644 branch-master/shell-api.html delete mode 100644 branch-master/shell-out-api.html delete mode 100644 branch-master/str-utils-api.html delete mode 100644 branch-master/str-utils2-api.html delete mode 100644 branch-master/test-complex-numbers-api.html delete mode 100644 branch-master/test-contrib.mock-test.test-adapter-test-api.html delete mode 100644 branch-master/test-core-api.html delete mode 100644 branch-master/test-dataflow-api.html delete mode 100644 branch-master/test-def-api.html delete mode 100644 branch-master/test-fnmap-api.html delete mode 100644 branch-master/test-graph-api.html delete mode 100644 branch-master/test-greatest-least-api.html delete mode 100644 branch-master/test-io-api.html delete mode 100644 branch-master/test-is-api.html delete mode 100644 branch-master/test-jmx-api.html delete mode 100644 branch-master/test-json-api.html delete mode 100644 branch-master/test-lazy-seqs-api.html delete mode 100644 branch-master/test-logging-api.html delete mode 100644 branch-master/test-macro-utils-api.html delete mode 100644 branch-master/test-math-api.html delete mode 100644 branch-master/test-miglayout-api.html delete mode 100644 branch-master/test-mock-api.html delete mode 100644 branch-master/test-monads-api.html delete mode 100644 branch-master/test-profile-api.html delete mode 100644 branch-master/test-properties-api.html delete mode 100644 branch-master/test-prxml-api.html delete mode 100644 branch-master/test-repl-utils-api.html delete mode 100644 branch-master/test-seq-api.html delete mode 100644 branch-master/test-shell-api.html delete mode 100644 branch-master/test-sql-api.html delete mode 100644 branch-master/test-string-api.html delete mode 100644 branch-master/test-strint-api.html delete mode 100644 branch-master/test-trace-api.html delete mode 100644 branch-master/test-with-ns-api.html diff --git a/branch-master/accumulators-api.html b/branch-master/accumulators-api.html index e0c417ed..2769fc9d 100644 --- a/branch-master/accumulators-api.html +++ b/branch-master/accumulators-api.html @@ -37,7 +37,7 @@ namespace. Namespaces
Other Versions diff --git a/branch-master/agent-utils-api.html b/branch-master/agent-utils-api.html index ee873f5b..c1a0641a 100644 --- a/branch-master/agent-utils-api.html +++ b/branch-master/agent-utils-api.html @@ -37,7 +37,7 @@ namespace. Namespaces
Other Versions @@ -94,7 +94,7 @@ Example: (capture-and-send [*out*] a f b c) - Source + Source
diff --git a/branch-master/api-index.html b/branch-master/api-index.html index 8e0e9699..65a35940 100644 --- a/branch-master/api-index.html +++ b/branch-master/api-index.html @@ -37,7 +37,7 @@ namespace. Namespaces
Other Versions @@ -83,9 +83,7 @@ Shortcuts:

A

- *allow-direct-logging*       var           logging            A boolean indicating whether direct logging (as op...
- *append*                     var           io                 If true, writer, output-stream and spit will open ...
- *append-to-writer*           var           duck-streams       If true, writer and spit will open files in append...
+ *append*                     var           io                 If true, writer, output-stream and spit will open ...
  abs                          multimethod   generic.math-functions Return the abs of x..
  abs                          function      math               (abs n) is the absolute value of n.
  acos                         multimethod   generic.math-functions Return the acos of x..
@@ -98,33 +96,21 @@ Shortcuts:
add-key-typed-listener function swing-utils Adds a KeyListener to component that only responds... add-loops function graph For each node n, add the edge n->n if not already ... add-menu-item multimethod swing-utils Adds a menu item to the parent according to the it... - aliased-fn function test-def sample-fn docstring. - aliased-macro macro test-def sample-macro-docstring. all-greatest function greatest-least Returns all the greatest elements.. all-greatest-by function greatest-least Return all the elements for which f yields the gre... all-least function greatest-least Returns all the least elements.. all-least-by function greatest-least Return all the elements for which f yields the lea... ancestors function zip-filter Returns a lazy sequence of all ancestors of locati... append-output-stream function io Like output-stream but opens file for appending. ... - append-spit function duck-streams Like spit but appends to file.. append-spit function io Like spit but appends to file.. - append-writer function duck-streams Like writer but opens file for appending. Does no... append-writer function io Like writer but opens file for appending. Does no... - apply-macro macro apply-macro This is evil. Don't ever use it. It makes a macr... - apply-template function test-is Replaces _1, _2, _3, etc. in expr with correspondi... approx= function generic.math-functions Return true if the absolute value of the diffe... - are macro test-is Checks multiple assertions with a template express... - as-file multimethod java-utils Interpret a String or a java.io.File as a File. Bu... + as-file multimethod io Interpret a String or a java.io.File as a File. Bu... as-object-name multimethod jmx Interpret an object as a JMX ObjectName.. - as-properties function java-utils Convert any seq of pairs to a java.utils.Propertie... as-properties function properties Convert any seq of pairs to a java.utils.Propertie... - as-str function java-utils Like clojure.core/str, but if an argument is a key... as-str function string Like clojure.core/str, but if an argument is a key... - as-url function io Coerces argument (URL, URI, or String) to a java.n... - as-url multimethod java-utils Coerces argument (URL, URI, or String) to a java.n... + as-url multimethod io Coerces argument (URL, URI, or String) to a java.n... asin multimethod generic.math-functions Return the asin of x.. - assert-any function test-is Returns generic assertion code for any test, inclu... - assert-predicate function test-is Returns generic assertion code for any functional ... assoc multimethod generic.collection Returns a new collection in which the values corre... atan multimethod generic.math-functions Return the atan of x.. atan2 multimethod generic.math-functions Return the atan2 of x and y.. @@ -134,14 +120,10 @@ Shortcuts:

B

- *buffer-size*                var           duck-streams       Size, in bytes or characters, of the buffer used w...
- *buffer-size*                var           io                 Size, in bytes or characters, of the buffer used w...
- *byte-array-type*            var           duck-streams       Type object for a Java primitive byte array..
+ *buffer-size*                var           io                 Size, in bytes or characters, of the buffer used w...
  *byte-array-type*            var           io                 Type object for a Java primitive byte array..
  bind-continue                function      error-kit          Special form to be used inside a 'with-handler'. C...
- blank?                       function      str-utils2         True if s is nil, empty, or contains only whitespa...
  blank?                       function      string             True if s is nil, empty, or contains only whitespa...
- buffer-bytes                 function      http.agent         The default HTTP agent result handler; it collects...
  buffer-stream                function      mmap               Returns an InputStream for a ByteBuffer, such as r...
  build-attribute-info         function      jmx                Construct an MBeanAttributeInfo. Normally called w...
  build-dataflow               function      dataflow           Given a collection of cells, build and return a da...
@@ -149,53 +131,41 @@ Shortcuts:
build-standard-cell function dataflow Builds a standard cell. build-validator-cell function dataflow Builds a validator cell. build-work-plan function datalog Given a list of rules and a query, build a work pl... - butlast function str-utils2 Returns s without the last n characters. Returns ... butlast function string Returns s without the last n characters. Returns ... - bytes function http.agent Returns a Java byte array of the content returned ...

C

  *char-array-type*            var           io                 Type object for a Java primitive char array..
- *code-dispatch*              multimethod   pprint             The pretty print dispatch function for pretty prin...
  *connection*                 var           jmx                The connection to be used for JMX ops. Defaults to...
  call-cc                      function      monads             A computation in the cont monad that calls functio...
  call-method                  function      reflect            Calls a private or protected method.  params is a ...
  calls                        function      mock               Creates or associates to an existing expectation h...
- capitalize                   function      str-utils2         Converts first character of the string to upper-ca...
  capitalize                   function      string             Converts first character of the string to upper-ca...
  capture-and-send             macro         agent-utils        Capture the current value of the specified vars an...
  cartesian-product            function      combinatorics      All the ways to take one item from each sequence.
  case                         macro         fcase              Like cond, but test-value is compared against the ...
  ceil                         multimethod   generic.math-functions Return the ceil of x..
- ceil                         function      math               (ceil n) returns the least integer greater than or...
+ ceil                         multimethod   math               (ceil n) returns the least integer greater than or...
  cell                         macro         dataflow           Build a standard cell, like this:  (cell fred ...
  certainly                    function      probabilities.finite-distributions Returns a distribution in which th...
  children                     function      zip-filter         Returns a lazy sequence of all immediate children ...
  children-auto                function      zip-filter         Returns a lazy sequence of all immediate children ...
- chomp                        function      str-utils          Removes all trailing newline \n or return \r chara...
- chomp                        function      str-utils2         Removes all trailing newline \n or return \r chara...
  chomp                        function      string             Removes all trailing newline \n or return \r chara...
  choose                       function      probabilities.finite-distributions Construct a distribution from an e...
- chop                         function      str-utils          Removes the last character of string..
- chop                         function      str-utils2         Removes the last character of string, does nothing...
  chop                         function      string             Removes the last character of string, does nothing...
- cl-format                    function      pprint             An implementation of a Common Lisp compatible form...
  classpath                    function      classpath          Returns a sequence of File objects of the elements...
  classpath-directories        function      classpath          Returns a sequence of File objects for the directo...
  classpath-jarfiles           function      classpath          Returns a sequence of JarFile objects for the JAR ...
- client-error?                function      http.agent         Returns true if the HTTP response code was in the ...
  clojure-source-file?         function      find-namespaces    Returns true if file is a normal file with a .clj ...
  clojure-sources-in-jar       function      find-namespaces    Returns a sequence of filenames ending in .clj fou...
- codepoints                   function      str-utils2         Returns a sequence of integer Unicode code points ...
  codepoints                   function      string             Returns a sequence of integer Unicode code points ...
  combinations                 function      combinatorics      All the unique ways of taking n different elements...
  combine                      multimethod   accumulators       Combine the values of the accumulators acc1 and ac...
  comment?                     function      find-namespaces    Returns true if form is a (comment ...).
- compile-format               function      pprint             Compiles format-str into a compiled format which c...
+ commons-logging              function      logging            Returns a commons-logging-based implementation of ...
  component-graph              function      graph              Given a graph, perhaps with cycles, return a reduc...
  components                   function      miglayout          Returns a map from id (a keyword) to component for...
- compose-fixtures             function      test-is            Composes two fixture functions, creating a new fix...
  cond-dist-m                  var           probabilities.finite-distributions Variant of the dist monad that can...
  cond-let                     macro         cond               Takes a binding-form and a set of test/expr pairs....
  cond-prob                    function      probabilities.finite-distributions Returns the conditional probabilit...
@@ -204,9 +174,7 @@ Shortcuts:
connection function sql Returns the current database connection (or throws... const macro macros Evaluate the constant expression expr at compile t... cont-m var monads Monad describing computations in continuation-pass... - contains? function str-utils2 True if s contains the substring.. - copy multimethod duck-streams Copies input to output. Returns nil. Input may be... - copy function io Copies input to output. Returns nil. Input may be... + copy multimethod io Copies input to output. Returns nil. Input may be... cos multimethod generic.math-functions Return the cos of x.. create-repl-server function server-socket create a repl on a socket. create-server function server-socket Creates a server socket on port. Upon accept, a ne... @@ -215,9 +183,8 @@ Shortcuts:

D

- *default-encoding*           var           duck-streams       Name of the default encoding to use when reading &...
- *default-encoding*           var           io                 Name of the default encoding to use when reading &...
- debug                        macro         logging            Logs a message at the debug level..
+ *default-encoding*           var           io                 Name of the default encoding to use when reading &...
+ debug                        macro         logging            Debug level logging using print-style args..
  debugf                       macro         logging            Debug level logging using format..
  deep-merge-with              function      map-utils          Like merge-with, but merges maps recursively, appl...
  defadt                       macro         types              Define an algebraic data type name by an exhaustiv...
@@ -236,8 +203,6 @@ Shortcuts:
defstruct- macro def Same as defstruct but yields a private definition. defsymbolmacro macro macro-utils Define a symbol macro. Because symbol macros are n... deftemplate macro macro-utils Define a macro that expands into forms after repla... - deftest macro test-is Defines a test function with no arguments. Test f... - deftest- macro test-is Like deftest but creates a private var.. deftrace macro trace Use in place of defn; traces each call/return of t... deftype macro types Define a data type by a type tag (a namespace-qual... deftype- macro types Same as deftype but the constructor is private.. @@ -246,9 +211,7 @@ Shortcuts:
defvar macro def Defines a var with an optional intializer and doc ... defvar- macro def Same as defvar but yields a private definition. delete-file function io Delete file f. Raise an exception if it fails unle... - delete-file function java-utils Delete file f. Raise an exception if it fails unle... delete-file-recursively function io Delete file f. If it's a directory, recursively de... - delete-file-recursively function java-utils Delete file f. If it's a directory, recursively de... delete-rows function sql Deletes rows from a table. where-params is a vecto... dependency-list function graph Similar to a topological sort, this returns a vect... descendants function zip-filter Returns a lazy sequence of all descendants of loca... @@ -264,16 +227,11 @@ Shortcuts:
do-swing macro swing-utils Executes body in the Swing event thread asynchrono... do-swing* function swing-utils Runs thunk in the Swing event thread according to ... do-swing-and-wait macro swing-utils Executes body in the Swing event thread synchronou... - do-template macro test-is Repeatedly evaluates template expr (in a do block)... - dochars macro str-utils2 bindings => [name string] Repeatedly executes bod... dochars macro string bindings => [name string] Repeatedly executes bod... - docodepoints macro str-utils2 bindings => [name string] Repeatedly executes bod... docodepoints macro string bindings => [name string] Repeatedly executes bod... docs macro ns-utils Prints documentation for the public vars in a name... domonad macro monads Monad comprehension. Takes the name of a monad, a ... - done? function http.agent Returns true if the HTTP request/response has comp... dotrace macro trace Given a sequence of function identifiers, evaluate... - drop function str-utils2 Drops first n characters from s. Returns an empty... drop function string Drops first n characters from s. Returns an empty... drop-table function sql Drops a table on the open database connection give...
@@ -301,73 +259,55 @@ Shortcuts:
encode function base64 Encodes bytes of input, writing Base 64 text on ou... encode-str function base64 Encodes String in base 64; returns a String. If n... error function error-kit Base type for all error-kit errors. - error macro logging Logs a message at the error level.. - error? function http.agent Returns true if the HTTP response code was in the ... + error macro logging Error level logging using print-style args.. errorf macro logging Error level logging using format.. - escape function str-utils2 Returns a new String by applying cmap (a function ... escape function string Returns a new String by applying cmap (a function ... eval-cell multimethod dataflow Evaluate a dataflow cell. Return [changed, old va... exact-integer-sqrt function math (exact-integer-sqrt n) expects a non-negative inte... exp multimethod generic.math-functions Return the exp of x.. expect macro mock Use expect to redirect calls to dependent function... exponential function probabilities.monte-carlo Transform a sequence of uniform random numb... - expt function math (expt base pow) is base to the pow power. Returns ... + expt multimethod math (expt base pow) is base to the pow power. Returns ...

F

  *force*                      var           logging            Overrides the default rules for choosing between l...
  *full-stack-traces*          var           condition          Bind to true to include clojure.{core,lang,main} f...
- fatal                        macro         logging            Logs a message at the fatal level..
+ fatal                        macro         logging            Fatal level logging using print-style args..
  fatalf                       macro         logging            Fatal level logging using format..
  fcase                        macro         fcase              Generic switch/case macro.  'fcase' is short for '...
  fetch-state                  function      monads             Return a state-monad function that returns the cur...
  fetch-val                    function      monads             Return a state-monad function that assumes the sta...
  fibs                         function      lazy-seqs          Returns a lazy sequence of all the Fibonacci numbe...
  file                         function      io                 Returns a java.io.File from string or file args..
- file                         function      java-utils         Returns a java.io.File from string or file args..
- file-position                function      test-is            Returns a vector [filename line-number] for the nt...
- file-str                     function      duck-streams       Concatenates args as strings and returns a java.io...
  file-str                     function      io                 Concatenates args as strings and returns a java.io...
  filenames-in-jar             function      jar                Returns a sequence of Strings naming the non-direc...
  fill-queue                   function      seq                filler-func will be called in another thread with ...
- fill-queue                   function      seq-utils          filler-func will be called in another thread with ...
  find-clojure-sources-in-dir  function      find-namespaces    Searches recursively under dir for Clojure source ...
  find-connection              function      sql                Returns the current database connection (or nil if...
  find-factory                 function      logging            Returns the first LogFactory found that is availab...
  find-first                   function      seq                Returns the first item of coll for which (pred ite...
- find-first                   function      seq-utils          Returns the first item of coll for which (pred ite...
- find-holes                   function      test-is            Recursively finds all symbols starting with _ in f...
  find-namespaces-in-dir       function      find-namespaces    Searches dir recursively for (ns ...) declarations...
  find-namespaces-in-jarfile   function      find-namespaces    Searches the JAR file for Clojure source files con...
  find-namespaces-on-classpath function      find-namespaces    Searches CLASSPATH (both directories and JAR files...
  find-ns-decls-in-dir         function      find-namespaces    Searches dir recursively for (ns ...) declarations...
  find-ns-decls-in-jarfile     function      find-namespaces    Searches the JAR file for Clojure source files con...
  find-ns-decls-on-classpath   function      find-namespaces    Searches CLASSPATH (both directories and JAR files...
- find-pure-exprs              function      test-is            Recursively finds all sub-expressions in form that...
- find-symbols                 function      test-is            Recursively finds all symbols in form..
  fixed-point                  function      graph              Repeatedly apply fun to data until (equal old-data...
  flatten                      function      seq                DEPRECATED. Prefer clojure.core version. Takes any...
- flatten                      function      seq-utils          DEPRECATED. Prefer clojure.core version. Takes any...
- flatten-map                  function      test-is            Transforms a map into a vector like [key value key...
  floor                        multimethod   generic.math-functions Return the floor of x..
- floor                        function      math               (floor n) returns the greatest integer less than o...
+ floor                        multimethod   math               (floor n) returns the greatest integer less than o...
  flush                        function      monadic-io-streams Flush.
  fmap                         multimethod   generic.functor    Applies function f to each item in the data struct...
  fnmap                        function      fnmap              Creates a fnmap, or functional map.  A fnmap behav...
- formatter                    macro         pprint             Makes a function which can directly run format-in....
- formatter-out                macro         pprint             Makes a function which can directly run format-in....
  frequencies                  function      seq                DEPRECATED. Prefer clojure.core version. Returns a...
- frequencies                  function      seq-utils          DEPRECATED. Prefer clojure.core version. Returns a...
- fresh-line                   function      pprint             Make a newline if the Writer is not already at the...
- function?                    function      test-is            Returns true if argument is a function or a symbol...
 

G

  gcd                          function      math               (gcd a b) returns the greatest common divisor of a...
  get                          multimethod   generic.collection Returns the element of coll referred to by key. Ea...
- get                          function      str-utils2         Gets the i'th character in string..
  get                          function      string             Gets the i'th character in string..
  get-cell                     function      dataflow           Get the single cell named by name.
  get-cells                    function      dataflow           Get all the cells named by name.
@@ -375,9 +315,7 @@ Shortcuts:
get-neighbors function graph Get the neighbors of a node.. get-ns function ns-utils Returns the namespace named by ns-sym or throws if... get-old-value function dataflow Looks up an old value. - get-possibly-unbound-var function test-is Like var-get but returns nil if the var is unbound... get-source-cells function dataflow Returns a collection of source cells from the data... - get-system-property function java-utils Get a system property.. get-system-property function properties Get a system property.. get-value function dataflow Gets a value from the df matching the passed symbo... get-value-from-cell function dataflow Given a cell, get its value. @@ -385,43 +323,32 @@ Shortcuts:
global-singleton function singleton Returns a global singleton function. f is a funct... greatest function greatest-least Return the greatest argument.. greatest-by function greatest-least Return the argument for which f yields the greates... - grep function str-utils2 Filters elements of coll by a regular expression. ... grep function string Filters elements of coll by a regular expression. ... group-by function seq DEPRECATED. Prefer clojure.core version. Returns ... - group-by function seq-utils DEPRECATED. Prefer clojure.core version. Returns ... guess-attribute-typename function jmx Guess the attribute typename for MBeanAttributeInf...

H

- *html-compatible*            var           prxml              If true, empty tags will have a space before the c...
- handle                       function      error-kit          Special form to be used inside a 'with-handler'.  ...
+ handle                       function      error-kit          Special form to be used inside a 'with-handler'.  ...
  handler-case                 macro         condition          Executes body in a context where raised conditions...
  has-args                     macro         mock               Creates or associates to an existing expectation h...
  has-matching-signature?      function      mock               Calls no-matching-function-signature if no match i...
- headers                      function      http.agent         Returns a map of HTTP response headers.  Header na...
- headers-seq                  function      http.agent         Returns the HTTP response headers in order as a se...
- http-agent                   function      http.agent         Creates (and immediately returns) an Agent represe...
- http-connection              function      http.connection    Opens an HttpURLConnection at the URL, handled by ...
 

I

- *impl-name*                  var           logging            The name of the logging implementation used..
- identity-m                   var           monads             Monad describing plain computations. This monad do...
+ identity-m                   var           monads             Monad describing plain computations. This monad do...
  immigrate                    function      ns-utils           Create a public var in this namespace for each pub...
- impl-enabled?                var           logging            Implementation-specific check if a particular leve...
- impl-get-log                 var           logging            Returns an implementation-specific log by string n...
+ impl-enabled?                function      logging            Implementation-specific check if a particular leve...
+ impl-get-log                 function      logging            Returns an implementation-specific Log by namespac...
  impl-name                    function      logging            Returns some text identifying the underlying imple...
- impl-write!                  var           logging            Implementation-specific write of a log message. En...
+ impl-write!                  function      logging            Implementation-specific write of a log message. En...
  import-static                macro         import-static      Imports the named static fields and/or static meth...
  in-case                      macro         fcase              Like case, but test expressions are sequences.  Th...
- inc-report-counter           function      test-is            Increments the named counter in *report-counters*,...
  includes?                    function      seq                Returns true if coll contains something equal (wit...
- includes?                    function      seq-utils          Returns true if coll contains something equal (wit...
  indexed                      function      seq                Returns a lazy sequence of [index, item] pairs, wh...
- indexed                      function      seq-utils          Returns a lazy sequence of [index, item] pairs, wh...
- info                         macro         logging            Logs a message at the info level..
+ info                         macro         logging            Info level logging using print-style args..
  infof                        macro         logging            Info level logging using format..
  input-stream                 function      io                 Attempts to coerce its argument into an open java....
  insert-records               function      sql                Inserts records into a table. records are maps fro...
@@ -429,7 +356,6 @@ Shortcuts:
insert-values function sql Inserts rows into a table with values for specifie... instance-case macro fcase Like case, but the test expressions are Java class... into multimethod generic.collection Returns a new coll consisting of to-coll with all ... - is macro test-is Generic assertion macro. 'form' is any predicate ... is-rollback-only function sql Returns true if the outermost transaction will rol...
@@ -439,9 +365,7 @@ Shortcuts:
java-util-logging function logging Returns a java.util.logging-based implementation o... jmx->clj multimethod jmx Coerce JMX data structures into Clojure data. Hand... jmx-url function jmx Build a JMX URL from options.. - join function str-utils2 Returns a string of all elements in coll, separate... join function string Returns a string of all elements in coll, separate... - join-fixtures function test-is Composes a collection of fixtures, in order. Alwa... join-with function probabilities.finite-distributions Returns the distribution of (f x y... json-str function json Converts x to a JSON-formatted string.. @@ -452,10 +376,8 @@ Shortcuts:

L

- *load-tests*                 var           test-is            True by default.  If set to false, no test functio...
- *log-factory*                var           logging            An instance satisfying the LogFactory protocol. Us...
- *logging-agent*              var           logging            The default agent used for performing logging durn...
- label                        function      test-miglayout     Returns a swing label.
+ *log-factory*                var           logging            An instance satisfying the LogFactory protocol. Us...
+ *logging-agent*              var           logging            The default agent used for performing logging when...
  lazy-get                     macro         map-utils          Like get, but doesn't evaluate not-found unless it...
  lazy-walk                    function      graph              Return a lazy sequence of the nodes of a graph sta...
  lcg                          function      probabilities.random-numbers Create a linear congruential generator.
@@ -468,18 +390,17 @@ Shortcuts:
lex-permutations function combinatorics Fast lexicographic permutation generator for a seq... log multimethod generic.math-functions Return the log of x.. Log var logging The protocol through which macros will interact wi... - log macro logging Logs a message, either directly or via an agent. A... + log macro logging Evaluates and logs a message only if the specified... log* function logging Attempts to log a message, either directly or via ... - log-capture! function logging Captures System.out and System.err, redirecting al... - log-stream function logging Creates a PrintStream that will output to the log.... + log-capture! function logging Captures System.out and System.err, piping all wri... + log-stream function logging Creates a PrintStream that will output to the log ... log-uncapture! function logging Restores System.out and System.err to their origin... + log4j-logging function logging Returns a log4j-based implementation of the LogFac... logf macro logging Logs a message using a format string and args. Can... LogFactory var logging The protocol through which macros will obtain an i... lognormal function probabilities.monte-carlo Transform a sequence of uniform random numb... logp macro logging Logs a message using print style args. Can optiona... - lower-case function str-utils2 Converts string to all lower-case.. lower-case function string Converts string to all lower-case.. - ltrim function str-utils2 Removes whitespace from the left side of string.. ltrim function string Removes whitespace from the left side of string. D...
@@ -502,10 +423,8 @@ Shortcuts:
make-distribution function probabilities.finite-distributions Returns the distribution in which ... make-menubar function swing-utils Create a menubar containing the given sequence of ... make-mock function mock creates a vector containing the following informat... - make-parents function duck-streams Creates all parent directories of file.. make-parents function io Creates all parent directories of file.. map->attribute-infos function jmx Construct an MBeanAttributeInfo[] from a Clojure a... - map-str function str-utils2 Apply f to each element of coll, concatenate all r... map-str function string Apply f to each element of coll, concatenate all r... match macro types Given a value and a list of template-expr clauses,... max function generic.comparison Returns the greatest of its arguments. Like clojur... @@ -516,8 +435,6 @@ Shortcuts:
mbean function jmx Like clojure.core/bean, but for JMX beans. Returns... mbean-names function jmx Finds all MBeans matching a name on the current *c... menu-constructor-dispatch var swing-utils An atom containing the dispatch set for the add-me... - message function http.agent Returns the HTTP response message (e.g. 'Not Found... - method function http.agent Returns the HTTP method name used by this HTTP age... mexpand function macro-utils Like clojure.core/macroexpand, but takes into acco... mexpand-1 function macro-utils Like clojure.core/macroexpand-1, but takes into ac... mexpand-all function macro-utils Perform a full recursive macro expansion of a form... @@ -544,8 +461,6 @@ Shortcuts:

O

  op-param-types               function      jmx                The parameter types (as class name strings) for op...
- open-url-in-browser          function      javadoc.browse     Opens url (a string) in the default system web bro...
- open-url-in-swing            function      javadoc.browse     Opens url (a string) in a Swing window..
  operation                    function      jmx                The MBeanOperationInfo for operation op on mbean n...
  operation-names              function      jmx                All operation names available on an MBean..
  operations                   function      jmx                All oeprations available on an MBean..
@@ -554,43 +469,21 @@ Shortcuts:

P

- *print-base*                 var           pprint             The base to use for printing integers and rational...
- *print-circle*               var           pprint             Mark circular structures (N.B. This is not yet use...
- *print-lines*                var           pprint             Maximum number of lines to print in a pretty print...
- *print-miser-width*          var           pprint             The column at which to enter miser style. Dependin...
- *print-pprint-dispatch*      var           pprint             The pretty print dispatch function. Use with-pprin...
- *print-pretty*               var           pprint             Bind to true if you want write to use pretty print...
- *print-radix*                var           pprint             Print a radix specifier in front of integers and r...
- *print-right-margin*         var           pprint             Pretty printing will try to avoid anything going b...
- *print-shared*               var           pprint             Mark repeated structures rather than repeat them (...
- *print-suppress-namespaces*  var           pprint             Don't print namespaces with symbols. This is parti...
- *prxml-indent*               var           prxml              The number of spaces to indent sub-tags.  nil for ...
- parse-seq                    function      lazy-xml           Parses the source s, which can be a File, InputStr...
+ parse-seq                    function      lazy-xml           Parses the source s, which can be a File, InputStr...
  parse-trim                   function      lazy-xml           Parses the source s, which can be a File, InputStr...
- partial                      function      str-utils2         Like clojure.core/partial for functions that take ...
- partition                    function      str-utils2         Splits the string into a lazy sequence of substrin...
  partition                    function      string             Splits the string into a lazy sequence of substrin...
  partition-all                function      seq                DEPRECATED. Prefer clojure.core version. Returns a...
- partition-all                function      seq-utils          DEPRECATED. Prefer clojure.core version. Returns a...
  partition-by                 function      seq                DEPRECATED. Prefer clojure.core version. Applies f...
- partition-by                 function      seq-utils          DEPRECATED. Prefer clojure.core version. Applies f...
  per-thread-singleton         function      singleton          Returns a per-thread singleton function.  f is a f...
  permutations                 function      combinatorics      All the permutations of items, lexicographic by in...
  pick                         function      stream-utils       Return the next value of stream argument n inside ...
  pick-all                     function      stream-utils       Return a vector containing the next value of each ...
  pos?                         multimethod   generic.comparison Return true of x is positive..
  positions                    function      seq                Returns a lazy sequence containing the positions a...
- positions                    function      seq-utils          Returns a lazy sequence containing the positions a...
  post-ordered-nodes           function      graph              Return a sequence of indexes of a post-ordered wal...
  pow                          multimethod   generic.math-functions Return the pow of x and y..
  powers-of-2                  function      lazy-seqs          Returns a lazy sequence of all the powers of 2.
- pp                           macro         pprint             A convenience macro that pretty prints the last th...
- pprint                       function      pprint             Pretty print object to the optional output writer....
- pprint-indent                function      pprint             Create an indent at this point in the pretty print...
  pprint-json                  function      json               Pretty-prints JSON representation of x to *out*.
- pprint-logical-block         macro         pprint             Execute the body as a pretty printing logical bloc...
- pprint-newline               function      pprint             Print a conditional newline to a pretty printing s...
- pprint-tab                   function      pprint             Tab at this point in the pretty printing stream. k...
  primes                       var           lazy-seqs          Lazy sequence of all the prime numbers..
  print                        function      monadic-io-streams Print obj.
  print-dataflow               function      dataflow           Prints a dataflow, one cell per line.
@@ -608,8 +501,6 @@ Shortcuts:
profile macro profile Runs body with profiling enabled, then prints a su... proper-subset? function set Is s1 a proper subset of s2?. proper-superset? function set Is s1 a proper superset of s2?. - prxml function prxml Print XML to *out*. Vectors become XML tags: the ... - pwd function duck-streams Returns current working directory as a String. (L... pwd function io Returns current working directory as a String. (L...
@@ -624,92 +515,62 @@ Shortcuts:
raise macro error-kit Raise an error of the type err-name, constructed w... raise* function error-kit Raise the given error object, best if created by a... rand-elt function seq DEPRECATED. Prefer clojure.core/rand-nth. Return a... - rand-elt function seq-utils DEPRECATED. Prefer clojure.core/rand-nth. Return a... rand-stream var probabilities.random-numbers A random number stream based on clojure.... random-stream function probabilities.monte-carlo Define a random stream by a distribution an... raw-read function jmx Read an mbean property. Returns low-level Java obj... re-case macro fcase Like case, but the test expressions are regular ex... - re-gsub function str-utils Replaces all instances of 'pattern' in 'string' wi... - re-partition function str-utils Splits the string into a lazy sequence of substrin... - re-split function str-utils Splits the string on instances of 'pattern'. Retu... - re-sub function str-utils Replaces the first instance of 'pattern' in 'strin... read var jmx Read an mbean property.. read-char function monadic-io-streams Read a single character. read-file-ns-decl function find-namespaces Attempts to read a (ns ...) declaration from file,... read-json function json Reads one JSON value from input String or Reader. ... read-json-from function json Reads one JSON value from input String or Reader. ... read-line function monadic-io-streams Read a single line. - read-lines function duck-streams Like clojure.core/line-seq but opens f with reader... read-lines function io Like clojure.core/line-seq but opens f with reader... read-lines function monadic-io-streams Read all lines and return them in a vector. read-ns-decl function find-namespaces Attempts to read a (ns ...) declaration from rdr, ... read-ns-decl-from-jarfile-entry function find-namespaces Attempts to read a (ns ...) declaration from the n... - read-properties function java-utils Read properties from file-able.. read-properties function properties Read properties from file-able.. read-supported function jmx Calls read to read an mbean property, *returning* ... readable? function jmx Is attribute readable?. - reader multimethod duck-streams Attempts to coerce its argument into an open java.... reader function io Attempts to coerce its argument into an open java.... rec-cat macro seq Similar to lazy-cat but binds the resulting sequen... - rec-cat macro seq-utils Similar to lazy-cat but binds the resulting sequen... rec-seq macro seq Similar to lazy-seq but binds the resulting seq to... - rec-seq macro seq-utils Similar to lazy-seq but binds the resulting seq to... recursive-component? function graph Is the component (recieved from scc) self recursiv... - redirect? function http.agent Returns true if the HTTP response code was in the ... reductions function seq DEPRECATED. Prefer clojure.core version. Returns a... - reductions function seq-utils DEPRECATED. Prefer clojure.core version. Returns a... reject function probabilities.monte-carlo Return the distribution that results from r... relative-path-string multimethod io Interpret a String or java.io.File as a relative p... - relative-path-string multimethod java-utils Interpret a String or java.io.File as a relative p... remove-cells function dataflow Given a collection of cells, remove them from the ... remove-loops function graph For each node n, remove any edges n->n.. - repeat function str-utils2 Returns a new String containing s repeated n times... repeat function string Returns a new String containing s repeated n times... repl function repl-ln A repl that supports line numbers. For definitions... repl-info function repl-ln Returns a map of info about the current repl. repl-prompt function repl-ln Returns the current repl prompt based on this repl... - replace multimethod str-utils2 Replaces all instances of pattern in string with r... replace-by function string Replaces all matches of re in s with the result of... replace-char function string Replaces all instances of character a with charact... - replace-first multimethod str-utils2 Replaces the first instance of pattern in s with r... replace-first-by function string Replace first match of re in s with the result of ... replace-first-re function string Replace first match of re in s.. replace-first-str function string Replace first occurance of substring a with b in s... replace-re function string Replaces all matches of re with replacement in s.. replace-str function string Replaces all instances of substring a with b in s.. - report multimethod test-is Generic reporting function, may be overridden to p... - request-body function http.agent Returns the HTTP request body given to this HTTP a... - request-headers function http.agent Returns the request headers specified for this HTT... - request-uri function http.agent Returns the URI/URL requested by this HTTP agent, ... - result function http.agent Returns the value returned by the :handler functio... returns function mock Creates or associates to an existing expectation h... - reverse function str-utils2 Returns s with its characters reversed.. reverse function string Returns s with its characters reversed.. reverse-graph function graph Given a directed graph, return another directed gr... right-locs function zip-filter Returns a lazy sequence of locations to the right ... rightmost? function zip-filter Returns true if there are no more nodes to the rig... rint multimethod generic.math-functions Return the rint of x.. rotations function seq Returns a lazy seq of all rotations of a seq. - rotations function seq-utils Returns a lazy seq of all rotations of a seq. round multimethod generic.math-functions Return the round of x.. - round function math (round n) rounds to the nearest integer. round alw... - rtrim function str-utils2 Removes whitespace from the right side of string.. + round multimethod math (round n) rounds to the nearest integer. round alw... rtrim function string Removes whitespace from the right side of string. ... - run-all-tests function test-is Runs all tests in all namespaces; prints results. ... run-cont function monads Execute the computation c in the cont monad and re... - run-tests function test-is Runs all tests in the given namespaces; prints res... run-work-plan function datalog Given a work plan, a database, and some query bind...

S

- *simple-dispatch*            multimethod   pprint             The pretty print dispatch function for simple data...
- *stack-trace-depth*          var           test-is            The maximum depth of stack traces to print when an...
- safe-get                     function      map-utils          Like get, but throws an exception if the key is no...
+ safe-get                     function      map-utils          Like get, but throws an exception if the key is no...
  safe-get-in                  function      map-utils          Like get-in, but throws an exception if any key is...
  sample                       function      probabilities.monte-carlo Return the distribution of samples of lengt...
- sample-fn                    function      test-def           sample-fn docstring.
- sample-macro                 macro         test-def           sample-macro-docstring.
  sample-mean                  function      probabilities.monte-carlo Return the distribution of the mean over n ...
  sample-mean-variance         function      probabilities.monte-carlo Return the distribution of the mean-and-var...
  sample-reduce                function      probabilities.monte-carlo Returns the distribution of the reduction o...
@@ -717,57 +578,39 @@ Shortcuts:
scc function graph Returns, as a sequence of sets, the strongly conne... selections function combinatorics All the ways of taking n (possibly the same) eleme... self-recursive-sets function graph Returns, as a sequence of sets, the components of ... - send-request-entity var http.connection Transmits a request entity body.. - sep function test-miglayout Returns a swing separator. separate function seq Returns a vector: [ (filter f s), (filter (complem... - separate function seq-utils Returns a vector: [ (filter f s), (filter (complem... seq multimethod generic.collection Returns a seq on the object s.. seq-on multimethod seq Returns a seq on the object s. Works like the buil... - seq-on multimethod seq-utils Returns a seq on the object s. Works like the buil... seqable? function core Returns true if (seq x) will succeed, false otherw... sequence-m var monads Monad describing multi-valued computations, i.e. c... sequence-t function monads Monad transformer that transforms a monad m into a... - server-error? function http.agent Returns true if the HTTP response code was in the ... set-m var monads Monad describing multi-valued computations, like s... - set-pprint-dispatch function pprint Set the pretty print dispatch function to a functi... set-repl-name function repl-ln Sets the repl name format to the string name-fmt. ... set-repl-prompt function repl-ln Sets the repl prompt. Include the following codes ... set-rollback-only function sql Marks the outermost transaction such that it will ... set-state function monads Return a state-monad function that replaces the cu... - set-system-properties function java-utils Set some system properties. Nil clears a property.. set-system-properties function properties Set some system properties. Nil clears a property.. - set-test macro test-is Experimental. Sets :test metadata of the named var... set-val function monads Return a state-monad function that assumes the sta... sgn multimethod generic.math-functions Return the sign of x (-1, 0, or 1).. - sh function shell Passes the given strings to Runtime.exec() to laun... - sh function shell-out Passes the given strings to Runtime.exec() to laun... shuffle function seq DEPRECATED. Prefer clojure.core version. Return a ... - shuffle function seq-utils DEPRECATED. Prefer clojure.core version. Return a ... sin multimethod generic.math-functions Return the sin of x.. skip-chars function monadic-io-streams Skip n characters. slf4j-logging function logging Returns a SLF4J-based implementation of the LogFac... slurp function mmap Reads the file named by f and returns it as a stri... - slurp* function duck-streams Like clojure.core/slurp but opens f with reader.. slurp* function io Like clojure.core/slurp but opens f with reader.. source-cell? function dataflow Is this cell a source cell?. - spit function duck-streams Opposite of slurp. Opens f with writer, writes co... spit function io Opposite of slurp. Opens f with writer, writes co... - split function str-utils2 Splits string on a regular expression. Optional a... split function string Splits string on a regular expression. Optional a... - split-lines function str-utils2 Splits s on \n or \r\n.. split-lines function string Splits s on \n or \r\n.. - spy macro logging Evaluates expr and outputs the form and its result... + spy macro logging Evaluates expr and writes the form and its result ... sqr multimethod generic.math-functions Return the square of x.. sqrt multimethod generic.math-functions Return the sqrt of x.. - sqrt function math Square root, but returns exact number if possible.. + sqrt multimethod math Square root, but returns exact number if possible.. stack-trace-info multimethod condition Returns header, stack-trace, and cause info from c... state-m var monads Monad describing stateful computations. The monadi... state-m-until function monads An optimized implementation of m-until for the sta... state-t function monads Monad transformer that transforms a monad m into a... - status function http.agent Returns the HTTP response status code (e.g. 200, 4... - str-join function str-utils Returns a string of all elements in 'sequence', se... stratification-list function graph Similar to dependency-list (see doc), except two g... - stream function http.agent Returns an InputStream of the HTTP response body. ... stream-drop function stream-utils Return a stream containing all but the first n ele... stream-filter multimethod stream-utils Return a new stream that contrains the elements of... stream-flatten function stream-utils Converts a stream of sequences into a stream of th... @@ -777,15 +620,11 @@ Shortcuts:
stream-repl function repl-ln Repl entry point that provides convenient overridi... stream-seq function stream-utils Return a lazy seq on the stream. Also accessible v... stream-type var stream-utils The root type for the stream hierarchy. For each s... - string function http.agent Returns the HTTP response body as a string, using ... subset? function set Is set1 a subset of set2?. subsets function combinatorics All the subsets of items. substring? function string True if s contains the substring.. - success? function http.agent Returns true if the HTTP response code was in the ... - successful? function test-is Returns true if the given test summary indicates a... summarize function profile Takes the raw data returned by with-profile-data a... superset? function set Is set1 a superset of set2?. - swap-case function str-utils2 Changes upper case characters to lower case and vi... swap-case function string Changes upper case characters to lower case and vi... symbol-macrolet macro macro-utils Define local symbol macros that are used in the ex...
@@ -794,28 +633,17 @@ Shortcuts:
  *trace-depth*                var           trace              Current stack depth of traced function calls..
  *tx-agent-levels*            var           logging            The set of levels that will require using an agent...
- tail                         function      str-utils2         Returns the last n characters of s..
  tail                         function      string             Returns the last n characters of s..
- take                         function      str-utils2         Take first n characters from s, up to the length o...
  take                         function      string             Take first n characters from s, up to the length o...
  tan                          multimethod   generic.math-functions Return the tan of x..
- template?                    function      test-is            Returns true if form is a valid template expressio...
- test-all-vars                function      test-is            Calls test-var on every var interned in the namesp...
- test-ns                      function      test-is            If the namespace defines a function named test-ns-...
- test-var                     function      test-is            If v has a function in its :test metadata, calls t...
- testing                      macro         test-is            Adds a new string to the list of testing contexts....
- testing-contexts-str         function      test-is            Returns a string representation of the current tes...
- testing-vars-str             function      test-is            Returns a string representation of the current tes...
- text-field                   function      test-miglayout     Returns a swing text field.
  throw-arg                    function      except             Throws an IllegalArgumentException. All arguments ...
  throw-if                     function      except             Throws an Exception or Error if test is true. args...
  throw-if-not                 function      except             Throws an Exception or Error if test is false. arg...
  throw-msg                    macro         error-kit          Returns a function that throws a Java Exception wi...
  throwf                       function      except             Throws an Exception or Error with an optional mess...
  times                        macro         mock               Creates or associates to an existing expectation h...
- to-byte-array                multimethod   duck-streams       Converts argument into a Java byte array.  Argumen...
- to-byte-array                function      io                 Converts argument into a Java byte array.  Argumen...
- trace                        macro         logging            Logs a message at the trace level..
+ to-byte-array                multimethod   io                 Converts argument into a Java byte array.  Argumen...
+ trace                        macro         logging            Trace level logging using print-style args..
  trace                        function      trace              Sends name (optional) and value to the tracer func...
  trace-fn-call                function      trace              Traces a single call to a function f with args.  '...
  trace-indent                 function      trace              Returns an indentation string based on *trace-dept...
@@ -823,9 +651,7 @@ Shortcuts:
tracer function trace This function is called by trace. Prints to stand... transaction macro sql Evaluates body as a transaction on the open databa... transitive-closure function graph Returns the transitive closure of a graph. The ne... - trim function str-utils2 Removes whitespace from both ends of string.. trim function string Removes whitespace from both ends of string.. - try-expr macro test-is Used by the 'is' macro to catch unexpected excepti...

U

@@ -836,10 +662,7 @@ Shortcuts:
update-val function monads Return a state-monad function that assumes the sta... update-values function dataflow Given a dataflow, and a map of name-value pairs, u... update-values function sql Updates values on selected rows in a table. where-... - upper-case function str-utils2 Converts string to all upper-case.. upper-case function string Converts string to all upper-case.. - use-fixtures multimethod test-is Wrap test runs in a fixture function to perform se... - use-method function pprint Installs a function as a new method of multimethod...

V

@@ -850,45 +673,31 @@ Shortcuts:

W

- wall-hack-field              function      java-utils         Access to private or protected field..
- wall-hack-method             function      java-utils         Calls a private or protected method. params is a v...
- warn                         macro         logging            Logs a message at the warn level..
+ warn                         macro         logging            Warn level logging using print-style args..
  warnf                        macro         logging            Warn level logging using format..
  with-connection              macro         jmx                Execute body with JMX connection specified by opts...
  with-connection              macro         sql                Evaluates body in the context of a new connection ...
  with-direct-linking          macro         macros             EXPERIMENTAL! Compiles the functions in body with ...
  with-handler                 macro         error-kit          This is error-kit's dynamic scope form.  The body ...
- with-in-reader               macro         duck-streams       Opens a PushbackReader on f, binds it to *in*, and...
  with-in-reader               macro         io                 Opens a PushbackReader on f, binds it to *in*, and...
  with-io-streams              function      monadic-io-streams Open one or more streams as specified by io-spec, ...
  with-logs                    macro         logging            Evaluates exprs in a context in which *out* and *e...
  with-monad                   macro         monads             Evaluates an expression after replacing the keywor...
  with-ns                      macro         with-ns            Evaluates body in another namespace.  ns is either...
- with-out-append-writer       macro         duck-streams       Like with-out-writer but appends to file..
  with-out-append-writer       macro         io                 Like with-out-writer but appends to file..
- with-out-writer              macro         duck-streams       Opens a writer on f, binds it to *out*, and evalut...
  with-out-writer              macro         io                 Opens a writer on f, binds it to *out*, and evalut...
- with-pprint-dispatch         macro         pprint             Execute body with the pretty print dispatch functi...
  with-profile-data            macro         profile            Executes body with *profile-data* bound to an atom...
  with-query-results           macro         sql                Executes a query, then evaluates body with results...
  with-reader                  function      monadic-io-streams Create a reader from reader-spec, run the monadic ...
  with-state-field             function      monads             Returns a state-monad function that expects a map ...
  with-symbol-macros           macro         macro-utils        Fully expand exprs, including symbol macros..
- with-system-properties       macro         java-utils         setting => property-name value  Sets the system pr...
  with-system-properties       macro         properties         setting => property-name value  Sets the system pr...
  with-temp-ns                 macro         with-ns            Evaluates body in an anonymous namespace, which is...
- with-test                    macro         test-is            Takes any definition form (that returns a Var) as ...
- with-test-out                macro         test-is            Runs body with *out* bound to the value of *test-o...
  with-writer                  function      monadic-io-streams Create a writer from writer-spec, run the monadic ...
  write                        function      monadic-io-streams Write text (a string).
- write                        function      pprint             Write an object subject to the current bindings of...
  write-json                   function      json               Print object to PrintWriter out as JSON.
- write-lines                  function      duck-streams       Writes lines (a seq) to f, separated by newlines. ...
  write-lines                  function      io                 Writes lines (a seq) to f, separated by newlines. ...
- write-out                    function      pprint             Write an object to *out* subject to the current bi...
- write-properties             function      java-utils         Write properties to file-able..
  write-properties             function      properties         Write properties to file-able..
- writer                       multimethod   duck-streams       Attempts to coerce its argument into an open java....
  writer                       function      io                 Attempts to coerce its argument into an open java....
  writer-m                     function      monads             Monad describing computations that accumulate data...
 
diff --git a/branch-master/apply-macro-api.html b/branch-master/apply-macro-api.html deleted file mode 100644 index e38b2476..00000000 --- a/branch-master/apply-macro-api.html +++ /dev/null @@ -1,119 +0,0 @@ - - - apply-macro - clojure-contrib next API documentation - - - - - - - - - - - - - -
- - -
-
-
-
- -

API for apply-macro - - clojure-contrib next (in development) -

- -
Usage: -
-(ns your-namespace
-  (:require clojure.contrib.apply-macro))
-
-

Overview

-

-
-Deprecated since clojure-contrib version 1.2
-
-

Public Variables and Functions

-
-
-
-

apply-macro

- macro
-
Usage: (apply-macro macro & args)
-
-
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)
- - - Source -
- - -
-
-
-
-
- -
-
Logo & site design by Tom Hickey.
- Clojure auto-documentation system by Tom Faulhaber.
-
- - - - \ No newline at end of file diff --git a/branch-master/base64-api.html b/branch-master/base64-api.html index 15afa399..867f8d8d 100644 --- a/branch-master/base64-api.html +++ b/branch-master/base64-api.html @@ -37,7 +37,7 @@ namespace. Namespaces
Other Versions @@ -97,7 +97,7 @@ encoding; the 65th character is the pad character. line-length is the maximum number of characters per line, nil for no line breaks. - Source + Source


@@ -110,7 +110,7 @@ the maximum number of characters per line, nil for no line breaks. encoding is UTF-8 and line-length is nil. - Source + Source
diff --git a/branch-master/classpath-api.html b/branch-master/classpath-api.html index f0f23418..add06601 100644 --- a/branch-master/classpath-api.html +++ b/branch-master/classpath-api.html @@ -37,7 +37,7 @@ namespace. Namespaces
Other Versions diff --git a/branch-master/combinatorics-api.html b/branch-master/combinatorics-api.html index 42c6f7b6..bc127bec 100644 --- a/branch-master/combinatorics-api.html +++ b/branch-master/combinatorics-api.html @@ -37,7 +37,7 @@ namespace. Namespaces
Other Versions @@ -101,7 +101,7 @@ for a longer description.)
All the ways to take one item from each sequence
- Source + Source


@@ -112,7 +112,7 @@ for a longer description.)
All the unique ways of taking n different elements from items
- Source + Source


@@ -123,7 +123,7 @@ for a longer description.)
Fast lexicographic permutation generator for a sequence of numbers
- Source + Source


@@ -134,7 +134,7 @@ for a longer description.)
All the permutations of items, lexicographic by index
- Source + Source


@@ -145,7 +145,7 @@ for a longer description.)
All the ways of taking n (possibly the same) elements from the sequence of items
- Source + Source


@@ -156,7 +156,7 @@ for a longer description.)
All the subsets of items
- Source + Source
diff --git a/branch-master/command-line-api.html b/branch-master/command-line-api.html index 032430da..e08f9f82 100644 --- a/branch-master/command-line-api.html +++ b/branch-master/command-line-api.html @@ -37,7 +37,7 @@ namespace. Namespaces
Other Versions diff --git a/branch-master/complex-numbers-api.html b/branch-master/complex-numbers-api.html index b16dd473..723490ef 100644 --- a/branch-master/complex-numbers-api.html +++ b/branch-master/complex-numbers-api.html @@ -37,7 +37,7 @@ namespace. Namespaces
Other Versions diff --git a/branch-master/cond-api.html b/branch-master/cond-api.html index ede3040e..1a5b3d65 100644 --- a/branch-master/cond-api.html +++ b/branch-master/cond-api.html @@ -37,7 +37,7 @@ namespace. Namespaces
Other Versions @@ -96,7 +96,7 @@ refer to any parts of binding-form in the expr. (cond-let binding-form) returns nil. - Source + Source
diff --git a/branch-master/condition-api.html b/branch-master/condition-api.html index 6144c671..fefa8f9d 100644 --- a/branch-master/condition-api.html +++ b/branch-master/condition-api.html @@ -37,7 +37,7 @@ namespace. Namespaces
Other Versions @@ -128,7 +128,7 @@ Based on an idea from Chouser: traces - Source + Source


@@ -156,7 +156,7 @@ handled and *selector* is bound to to the value returned by dispatch-fn that matched the handler's key. - Source + Source


@@ -169,7 +169,7 @@ classes in clojure.{core,lang,main} unless the *full-stack-traces* is bound to logical true - Source + Source


@@ -184,7 +184,7 @@ With one argument (a map), raises the argument. With two or more arguments, raises a map with keys and values from the arguments. - Source + Source


@@ -214,7 +214,7 @@ and :cause, if any, so they are also available via .getMessage and .getCause. - Source + Source

-meta

@@ -224,7 +224,7 @@ and :cause, if any, so they are also available via .getMessage and
Returns this object's metadata, the condition
- Source + Source

-post-init

@@ -235,7 +235,7 @@ and :cause, if any, so they are also available via .getMessage and they are always the same: implementation details of Condition and raise. - Source + Source
diff --git a/branch-master/core-api.html b/branch-master/core-api.html index 32ad1045..73e6cfdc 100644 --- a/branch-master/core-api.html +++ b/branch-master/core-api.html @@ -37,7 +37,7 @@ namespace. Namespaces
Other Versions diff --git a/branch-master/dataflow-api.html b/branch-master/dataflow-api.html index 5fafc78e..4f5e8e19 100644 --- a/branch-master/dataflow-api.html +++ b/branch-master/dataflow-api.html @@ -37,7 +37,7 @@ namespace. Namespaces
Other Versions @@ -130,7 +130,7 @@ value. This is implemented using Clojure's add-watch to the underlying ref, and shared its sematics - + Source


@@ -141,7 +141,7 @@ underlying ref, and shared its sematics
Given a collection of cells, add them to the dataflow.
- + Source


@@ -152,7 +152,7 @@ underlying ref, and shared its sematics
Given a collection of cells, build and return a dataflow object
- + Source


@@ -163,7 +163,7 @@ underlying ref, and shared its sematics
Builds a source cell
- + Source


@@ -174,7 +174,7 @@ underlying ref, and shared its sematics
Builds a standard cell
- + Source


@@ -185,7 +185,7 @@ underlying ref, and shared its sematics
Builds a validator cell
- + Source


@@ -221,7 +221,7 @@ Or: Which will perform the validation - + Source


@@ -252,7 +252,7 @@ Which will perform the validation
Get the single cell named by name
- + Source


@@ -263,7 +263,7 @@ Which will perform the validation
Get all the cells named by name
- + Source


@@ -274,7 +274,7 @@ Which will perform the validation
Looks up an old value
- + Source


@@ -285,7 +285,7 @@ Which will perform the validation
Returns a collection of source cells from the dataflow
- + Source


@@ -298,7 +298,7 @@ Signals an error if the name is not present, or if it not a single value. - + Source


@@ -309,7 +309,7 @@ value.
Given a cell, get its value
- + Source


@@ -320,7 +320,7 @@ value.
Gets a collection of values from the df by name
- + Source


@@ -331,7 +331,7 @@ value.
Prints a dataflow, one cell per line
- + Source


@@ -342,7 +342,7 @@ value.
Given a collection of cells, remove them from the dataflow.
- + Source


@@ -353,7 +353,7 @@ value.
Is this cell a source cell?
- + Source


@@ -366,7 +366,7 @@ dataflow by binding the new values. Each name must be of a source cell - + Source
diff --git a/branch-master/datalog-api.html b/branch-master/datalog-api.html index 77b744f6..4afc291f 100644 --- a/branch-master/datalog-api.html +++ b/branch-master/datalog-api.html @@ -37,7 +37,7 @@ namespace. Namespaces
Other Versions @@ -258,7 +258,7 @@ namespace. used to execute the query. - Source + Source


@@ -270,7 +270,7 @@ used to execute the query. work plan and return the results. - Source + Source

datalog.database


@@ -286,7 +286,7 @@ work plan and return the results.
   
Adds an index to an empty relation named name
- Source + Source

add-relation

@@ -296,7 +296,7 @@ work plan and return the results.
Adds a relation to the database
- Source + Source

add-tuple

@@ -312,7 +312,7 @@ the new database. [rel tuple] adds to the relation object. Returns the new relation. - Source + Source

add-tuples

@@ -325,7 +325,7 @@ the new database. [:rel-name :key-1 2 :key-2 3]) - Source + Source

any-match?

@@ -335,7 +335,7 @@ the new database.
Finds if there are any matching records for the partial tuple
- Source + Source

database-counts

@@ -345,7 +345,7 @@ the new database.
Returns a map with the count of elements in each relation.
- Source + Source

database-merge

@@ -355,7 +355,7 @@ the new database.
Merges databases together
- Source + Source

database-merge-parallel

@@ -365,7 +365,7 @@ the new database.
Merges databases together in parallel
- Source + Source

datalog-relation

@@ -375,7 +375,7 @@ the new database.
Creates a relation
- Source + Source

ensure-relation

@@ -385,7 +385,7 @@ the new database.
If the database lacks the named relation, add it
- Source + Source

get-relation

@@ -395,7 +395,7 @@ the new database.
Get a relation object by name
- Source + Source

make-database

@@ -411,7 +411,7 @@ the new database. (index :sally :becky)) - Source + Source

merge-relations

@@ -421,7 +421,7 @@ the new database.
Merges two relations
- Source + Source

remove-tuple

@@ -438,7 +438,7 @@ returns a new database. relation. - Source + Source

replace-relation

@@ -448,7 +448,7 @@ relation.
Add or replace a fully constructed relation object to the database.
- Source + Source

select

@@ -458,7 +458,7 @@ relation.
finds all matching tuples to the partial tuple (pt) in the relation named (rn)
- Source + Source

datalog.literals


@@ -714,7 +714,7 @@ db.
   
Adorn a query
- Source + Source

adorn-rules-set

@@ -725,7 +725,7 @@ db. rules-set, (q) is an adorned query. - Source + Source

build-partial-tuple

@@ -736,7 +736,7 @@ rules-set, (q) is an adorned query. to extract the relation from the database. - Source + Source

magic-transform

@@ -749,7 +749,7 @@ to extract the relation from the database. default to the predicates within the rules-set. - Source + Source

seed-predicate-for-insertion

@@ -759,7 +759,7 @@ default to the predicates within the rules-set.
Given a query, return the predicate to use for database insertion.
- Source + Source

seed-relation

@@ -770,7 +770,7 @@ default to the predicates within the rules-set. relation - Source + Source

seed-rule

@@ -780,7 +780,7 @@ relation
Given an adorned query, give back its seed rule
- Source + Source

datalog.rules


@@ -940,7 +940,7 @@ Each value will be a set of rules.
   
Return a work plan for the given rules-set and query
- Source + Source

get-all-relations

@@ -950,7 +950,7 @@ Each value will be a set of rules.
Return a set of all relation names defined in this workplan
- Source + Source

datalog.util


@@ -966,7 +966,7 @@ Each value will be a set of rules.
   
Is this a query variable: e.g. a symbol prefixed with ??
- Source + Source

is-var?

@@ -976,7 +976,7 @@ Each value will be a set of rules.
Is this a logic variable: e.g. a symbol prefixed with a ?
- Source + Source

keys-to-vals

@@ -986,7 +986,7 @@ Each value will be a set of rules.
Given a map and a collection of keys, return the collection of vals
- Source + Source

map-values

@@ -996,7 +996,7 @@ Each value will be a set of rules.
Like map, but works over the values of a hash map
- Source + Source

preduce

@@ -1010,7 +1010,7 @@ f - a function of 2 arguments. data - a collection of hashes. - Source + Source

reverse-map

@@ -1020,7 +1020,7 @@ data - a collection of hashes.
Reverse the keys/values of a map
- Source + Source

trace-datalog

@@ -1030,7 +1030,7 @@ data - a collection of hashes.
If *test-datalog* is set to true, run the enclosed commands
- Source + Source
diff --git a/branch-master/def-api.html b/branch-master/def-api.html index 3493cc50..66b8536e 100644 --- a/branch-master/def-api.html +++ b/branch-master/def-api.html @@ -37,7 +37,7 @@ namespace. Namespaces
Other Versions @@ -114,7 +114,7 @@ any) and similar metadata. The metadata of the alias is its initial metadata (as provided by def) merged into the metadata of the original. - Source + Source


@@ -127,7 +127,7 @@ init. Be careful about using any form of 'def' or 'binding' to a value of a different type. See http://paste.lisp.org/display/73344 - Source + Source


@@ -138,7 +138,7 @@ value of a different type. See ht
Same as defmacro but yields a private definition
-
Source + Source


@@ -149,7 +149,7 @@ value of a different type. See ht
Just like defn, but memoizes the function using clojure.core/memoize
-
Source + Source


@@ -165,7 +165,7 @@ virtue of the symbol corresponding to the keyword (cf. :keys destructuring). defnk accepts an optional docstring as well as an optional metadata map. - Source + Source


@@ -177,7 +177,7 @@ defnk accepts an optional docstring as well as an optional metadata map.
Same as defonce but yields a private definition
- Source + Source


@@ -188,7 +188,7 @@ defnk accepts an optional docstring as well as an optional metadata map.
Same as defstruct but yields a private definition
- Source + Source


@@ -200,7 +200,7 @@ defnk accepts an optional docstring as well as an optional metadata map.
Defines an unbound var with optional doc string
- Source + Source


@@ -211,7 +211,7 @@ defnk accepts an optional docstring as well as an optional metadata map.
Same as defunbound but yields a private definition
- Source + Source


@@ -224,7 +224,7 @@ defnk accepts an optional docstring as well as an optional metadata map.
Defines a var with an optional intializer and doc string
- Source + Source


@@ -235,7 +235,7 @@ defnk accepts an optional docstring as well as an optional metadata map.
Same as defvar but yields a private definition
- Source + Source


@@ -254,7 +254,7 @@ with its extended metadata map and the list of unprocessed macro arguments. - Source + Source
diff --git a/branch-master/doc/datalog.html b/branch-master/doc/datalog.html index 2e865de2..9d584f8e 100644 --- a/branch-master/doc/datalog.html +++ b/branch-master/doc/datalog.html @@ -37,7 +37,7 @@ namespace. Namespaces
Other Versions diff --git a/branch-master/doc/pprint/CommonLispFormat.html b/branch-master/doc/pprint/CommonLispFormat.html index 4938e3da..654d96ae 100644 --- a/branch-master/doc/pprint/CommonLispFormat.html +++ b/branch-master/doc/pprint/CommonLispFormat.html @@ -37,7 +37,7 @@ namespace. Namespaces
Other Versions diff --git a/branch-master/doc/pprint/PrettyPrinting.html b/branch-master/doc/pprint/PrettyPrinting.html index c49c87b7..df1dca7e 100644 --- a/branch-master/doc/pprint/PrettyPrinting.html +++ b/branch-master/doc/pprint/PrettyPrinting.html @@ -37,7 +37,7 @@ namespace. Namespaces
Other Versions diff --git a/branch-master/duck-streams-api.html b/branch-master/duck-streams-api.html deleted file mode 100644 index a83a3b80..00000000 --- a/branch-master/duck-streams-api.html +++ /dev/null @@ -1,402 +0,0 @@ - - - duck-streams - clojure-contrib next API documentation - - - - - - - - - - - - - -
- - -
-
-
-
- -

API for duck-streams - - clojure-contrib next (in development) -

-by Stuart Sierra
-
Usage: -
-(ns your-namespace
-  (:require clojure.contrib.duck-streams))
-
-

Overview

-
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.
- -Deprecated since clojure-contrib version 1.2
-
-

Public Variables and Functions

-
-
-
-

*append-to-writer*

- var
-

-  
If true, writer and spit will open files in append mode.
-Defaults to false.  Use append-writer or append-spit.
- - - Source -
-
-
-

*buffer-size*

- var
-

-  
Size, in bytes or characters, of the buffer used when
-copying streams.
- - - Source -
-
-
-

*byte-array-type*

- var
-

-  
Type object for a Java primitive byte array.
- - - Source -
-
-
-

*default-encoding*

- var
-

-  
Name of the default encoding to use when reading & writing.
-Default is UTF-8.
- - - Source -
-
-
-

append-spit

- function
-
Usage: (append-spit f content)
-
-
Like spit but appends to file.
- - - Source -
-
-
-

append-writer

- function
-
Usage: (append-writer x)
-
-
Like writer but opens file for appending.  Does not work on streams
-that are already open.
- - - Source -
-
-
-

copy

- multimethod
-
Usage: (copy input output)
-
-
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.
- - - Source -
-
-
-

file-str

- function
-
Usage: (file-str & args)
-
-
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.
- - - Source -
-
-
-

make-parents

- function
-
Usage: (make-parents file)
-
-
Creates all parent directories of file.
- - - Source -
-
-
-

pwd

- function
-
Usage: (pwd)
-
-
Returns current working directory as a String.  (Like UNIX 'pwd'.)
-Note: In Java, you cannot change the current working directory.
- - - Source -
-
-
-

read-lines

- function
-
Usage: (read-lines f)
-
-
Like clojure.core/line-seq but opens f with reader.  Automatically
-closes the reader AFTER YOU CONSUME THE ENTIRE SEQUENCE.
- - - Source -
-
-
-

reader

- multimethod
-
Usage: (reader x)
-
-
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.
- - - Source -
-
-
-

slurp*

- function
-
Usage: (slurp* f)
-
-
Like clojure.core/slurp but opens f with reader.
- - - Source -
-
-
-

spit

- function
-
Usage: (spit f content)
-
-
Opposite of slurp.  Opens f with writer, writes content, then
-closes f.
- - - Source -
-
-
-

to-byte-array

- multimethod
-
Usage: (to-byte-array arg)
-
-
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.
- - - Source -
-
-
-

with-in-reader

- macro
-
Usage: (with-in-reader f & body)
-
-
Opens a PushbackReader on f, binds it to *in*, and evaluates body.
- - - Source -
-
-
-

with-out-append-writer

- macro
-
Usage: (with-out-append-writer f & body)
-
-
Like with-out-writer but appends to file.
- - - Source -
-
-
-

with-out-writer

- macro
-
Usage: (with-out-writer f & body)
-
-
Opens a writer on f, binds it to *out*, and evalutes body.
-Anything printed within body will be written to f.
- - - Source -
-
-
-

write-lines

- function
-
Usage: (write-lines f lines)
-
-
Writes lines (a seq) to f, separated by newlines.  f is opened with
-writer, and automatically closed at the end of the sequence.
- - - Source -
-
-
-

writer

- multimethod
-
Usage: (writer x)
-
-
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.
- - - Source -
- - -
-
-
-
-
- -
-
Logo & site design by Tom Hickey.
- Clojure auto-documentation system by Tom Faulhaber.
-
- - - - \ No newline at end of file diff --git a/branch-master/error-kit-api.html b/branch-master/error-kit-api.html index 5a4f8b38..4ab0f2ed 100644 --- a/branch-master/error-kit-api.html +++ b/branch-master/error-kit-api.html @@ -37,7 +37,7 @@ namespace. Namespaces
Other Versions @@ -111,7 +111,7 @@ in this with-handler's dynamic scope, when this 'continue-name' is given to a 'continue' form. - Source + Source


@@ -123,7 +123,7 @@ given to a 'continue' form.
Define a new error type
- Source + Source


@@ -137,7 +137,7 @@ appropriate 'handle' form. Allows finer-grain control over catching than just the error type. - Source + Source


@@ -148,7 +148,7 @@ than just the error type.
Base type for all error-kit errors
- Source + Source


@@ -167,7 +167,7 @@ the entire 'with-handler' form, or it may use any of the special return forms, 'do-not-handle', 'continue-with', or 'continue'. - Source + Source


@@ -178,7 +178,7 @@ return forms, 'do-not-handle', 'continue-with', or 'continue'.
Raise an error of the type err-name, constructed with the given args
- Source + Source


@@ -190,7 +190,7 @@ return forms, 'do-not-handle', 'continue-with', or 'continue'. constructor defined with deferror. See also 'raise' macro. - Source + Source


@@ -203,7 +203,7 @@ name. Useful to associate a new error-kit error type with a particular Java Exception class, via the :unhandled error key. - Source + Source


@@ -216,7 +216,7 @@ in a dynamic context that includes all of the following 'handle' and 'bind-continue' forms. - Source + Source
diff --git a/branch-master/except-api.html b/branch-master/except-api.html index df83a4a7..dcb0932f 100644 --- a/branch-master/except-api.html +++ b/branch-master/except-api.html @@ -37,7 +37,7 @@ namespace. Namespaces
Other Versions @@ -104,7 +104,7 @@ formatted using clojure.core/format. format. - Source + Source


@@ -116,7 +116,7 @@ formatted using clojure.core/format. for throwf. - Source + Source


@@ -128,7 +128,7 @@ for throwf. for throwf. - Source + Source


@@ -149,7 +149,7 @@ clojure.core/format. All arguments are optional: format. - Source + Source
diff --git a/branch-master/fcase-api.html b/branch-master/fcase-api.html index 9bc69e30..65a3a5be 100644 --- a/branch-master/fcase-api.html +++ b/branch-master/fcase-api.html @@ -37,7 +37,7 @@ namespace. Namespaces
Other Versions diff --git a/branch-master/find-namespaces-api.html b/branch-master/find-namespaces-api.html index 87e838a0..48c81ca1 100644 --- a/branch-master/find-namespaces-api.html +++ b/branch-master/find-namespaces-api.html @@ -37,7 +37,7 @@ namespace. Namespaces
Other Versions @@ -115,7 +115,7 @@ namespace.
Returns true if file is a normal file with a .clj extension.
- Source + Source


@@ -126,7 +126,7 @@ namespace.
Returns a sequence of filenames ending in .clj found in the JAR file.
- Source + Source


@@ -137,7 +137,7 @@ namespace.
Returns true if form is a (comment ...)
- Source + Source


@@ -149,7 +149,7 @@ namespace. Returns a sequence of File objects, in breadth-first sort order. - Source + Source


@@ -161,7 +161,7 @@ Returns a sequence of File objects, in breadth-first sort order. source files; returns the symbol names of the declared namespaces. - Source + Source


@@ -174,7 +174,7 @@ declarations. Returns a sequence of the symbol names of the declared namespaces. - Source + Source


@@ -187,7 +187,7 @@ source files containing (ns ...) declarations. Returns a sequence of the symbol names of the declared namespaces. - Source + Source


@@ -199,7 +199,7 @@ of the symbol names of the declared namespaces. source files; returns the unevaluated ns declarations. - Source + Source


@@ -211,7 +211,7 @@ source files; returns the unevaluated ns declarations. declarations; returns the unevaluated ns declarations. - Source + Source


@@ -224,7 +224,7 @@ source files containing (ns ...) declarations. Returns a sequence of the unevaluated ns declaration forms. - Source + Source


@@ -235,7 +235,7 @@ of the unevaluated ns declaration forms.
Returns true if form is a (ns ...) declaration.
- Source + Source


@@ -248,7 +248,7 @@ unevaluated form. Returns nil if read fails, or if the first form is not a ns declaration. - Source + Source


@@ -262,7 +262,7 @@ cannot be found. The ns declaration must be the first Clojure form in the file, except for (comment ...) forms. - Source + Source


@@ -275,7 +275,7 @@ JAR file, and returns the unevaluated form. Returns nil if the read fails, or if the first form is not a ns declaration. - Source + Source
diff --git a/branch-master/fnmap-api.html b/branch-master/fnmap-api.html index d7f1c04d..0f9fd0b5 100644 --- a/branch-master/fnmap-api.html +++ b/branch-master/fnmap-api.html @@ -37,7 +37,7 @@ namespace. Namespaces
Other Versions @@ -102,7 +102,7 @@ map for m. All other map operations are passed through to the internal map. - + Source
diff --git a/branch-master/gen-html-docs-api.html b/branch-master/gen-html-docs-api.html index 004d44cc..fd312203 100644 --- a/branch-master/gen-html-docs-api.html +++ b/branch-master/gen-html-docs-api.html @@ -37,7 +37,7 @@ namespace. Namespaces
Other Versions diff --git a/branch-master/generic.arithmetic-api.html b/branch-master/generic.arithmetic-api.html index d7c6ec1b..3b0fb5b1 100644 --- a/branch-master/generic.arithmetic-api.html +++ b/branch-master/generic.arithmetic-api.html @@ -37,7 +37,7 @@ namespace. Namespaces
Other Versions @@ -164,7 +164,7 @@ form with dispatch value [::my-type ::my-type]. Required for implementing the division function from another namespace. - Source + Source


@@ -177,7 +177,7 @@ Required to access the division function from another namespace, e.g. as (qsym clojure.contrib.generic.arithmetic /). - Source + Source
diff --git a/branch-master/generic.collection-api.html b/branch-master/generic.collection-api.html index 7b9f772a..9384c67a 100644 --- a/branch-master/generic.collection-api.html +++ b/branch-master/generic.collection-api.html @@ -37,7 +37,7 @@ namespace. Namespaces
Other Versions diff --git a/branch-master/generic.comparison-api.html b/branch-master/generic.comparison-api.html index bc825e76..9332001f 100644 --- a/branch-master/generic.comparison-api.html +++ b/branch-master/generic.comparison-api.html @@ -37,7 +37,7 @@ namespace. Namespaces
Other Versions @@ -190,7 +190,7 @@ is provided in terms of <. is uses generic comparison functions implementable for any data type. - Source + Source


@@ -204,7 +204,7 @@ is uses generic comparison functions implementable for any data type. is uses generic comparison functions implementable for any data type. - Source + Source


diff --git a/branch-master/generic.functor-api.html b/branch-master/generic.functor-api.html index f04f0c9d..3d80781e 100644 --- a/branch-master/generic.functor-api.html +++ b/branch-master/generic.functor-api.html @@ -37,7 +37,7 @@ namespace. Namespaces
Other Versions diff --git a/branch-master/generic.math-functions-api.html b/branch-master/generic.math-functions-api.html index b57d9579..97a9ce66 100644 --- a/branch-master/generic.math-functions-api.html +++ b/branch-master/generic.math-functions-api.html @@ -37,7 +37,7 @@ namespace. Namespaces
Other Versions @@ -153,7 +153,7 @@ defined for any type. is less than eps. - Source + Source


diff --git a/branch-master/graph-api.html b/branch-master/graph-api.html index 11c0e37c..b6396f34 100644 --- a/branch-master/graph-api.html +++ b/branch-master/graph-api.html @@ -37,7 +37,7 @@ namespace. Namespaces
Other Versions @@ -115,7 +115,7 @@ namespace.
For each node n, add the edge n->n if not already present.
- Source + Source


@@ -130,7 +130,7 @@ These sets are the strongly connected components. Each edge will be the union of the corresponding edges of the prior graph. - Source + Source


@@ -145,7 +145,7 @@ a set have no mutual dependencies. Assume the input graph (which much be acyclic) has an edge a->b when a depends on b. - Source + Source


@@ -158,7 +158,7 @@ returns true. If max iterations occur, it will throw an exception. Set max to nil for unlimited iterations. - Source + Source


@@ -169,7 +169,7 @@ exception. Set max to nil for unlimited iterations.
Get the neighbors of a node.
- Source + Source


@@ -183,7 +183,7 @@ provide a set of visited notes (v) and a collection of nodes to visit (ns). - Source + Source


@@ -194,7 +194,7 @@ visit (ns).
Return a sequence of indexes of a post-ordered walk of the graph.
- Source + Source


@@ -205,7 +205,7 @@ visit (ns).
Is the component (recieved from scc) self recursive?
- Source + Source


@@ -216,7 +216,7 @@ visit (ns).
For each node n, remove any edges n->n.
- Source + Source


@@ -228,7 +228,7 @@ visit (ns). order of the edges reversed. - Source + Source


@@ -240,7 +240,7 @@ order of the edges reversed. of g. - Source + Source


@@ -252,7 +252,7 @@ of g. self-recursive. - Source + Source


@@ -267,7 +267,7 @@ depends on node b (meaning an edge a->b exists) in the second graph, node a must be equal or later in the sequence. - Source + Source


@@ -284,7 +284,7 @@ cycles in the graph. If you have code that depends on such behavior, call (-> g transitive-closure add-loops) - Source + Source
diff --git a/branch-master/greatest-least-api.html b/branch-master/greatest-least-api.html index 4e766901..89911b06 100644 --- a/branch-master/greatest-least-api.html +++ b/branch-master/greatest-least-api.html @@ -37,7 +37,7 @@ namespace. Namespaces
Other Versions @@ -103,7 +103,7 @@ namespace.
Returns all the greatest elements.
- + Source


@@ -114,7 +114,7 @@ namespace.
Return all the elements for which f yields the greatest value.
- + Source


@@ -125,7 +125,7 @@ namespace.
Returns all the least elements.
- + Source


@@ -136,7 +136,7 @@ namespace.
Return all the elements for which f yields the least value.
- + Source


@@ -147,7 +147,7 @@ namespace.
Return the greatest argument.
- + Source


@@ -158,7 +158,7 @@ namespace.
Return the argument for which f yields the greatest value.
- + Source


@@ -169,7 +169,7 @@ namespace.
Return the smallest element.
- + Source


@@ -180,7 +180,7 @@ namespace.
Return the argument for which f yields the smallest value.
- + Source
diff --git a/branch-master/http.agent-api.html b/branch-master/http.agent-api.html deleted file mode 100644 index b41c0fc1..00000000 --- a/branch-master/http.agent-api.html +++ /dev/null @@ -1,481 +0,0 @@ - - - http.agent - clojure-contrib next API documentation - - - - - - - - - - - - - -
- - -
-
-
-
- -

API for http.agent - - clojure-contrib next (in development) -

-by Stuart Sierra
-
Usage: -
-(ns your-namespace
-  (:require clojure.contrib.http.agent))
-
-

Overview

-
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 "http://www.stuartsierra.com/"))
-
-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))))
- -Deprecated since clojure-contrib version 1.2
-
-

Public Variables and Functions

-
-
-
-

buffer-bytes

- function
-
Usage: (buffer-bytes http-agnt)
-
-
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.
- - - Source -
-
-
-

bytes

- function
-
Usage: (bytes http-agnt)
-
-
Returns a Java byte array of the content returned by the server;
-nil if the content is not yet available.
- - - Source -
-
-
-

client-error?

- function
-
Usage: (client-error? http-agnt)
-
-
Returns true if the HTTP response code was in the 400-499 range.
- - - Source -
-
-
-

done?

- function
-
Usage: (done? http-agnt)
-
-
Returns true if the HTTP request/response has completed.
- - - Source -
-
-
-

error?

- function
-
Usage: (error? http-agnt)
-
-
Returns true if the HTTP response code was in the 400-499 range OR
-the 500-599 range.
- - - Source -
-
-
-

headers

- function
-
Usage: (headers http-agnt)
-
-
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.
- - - Source -
-
-
-

headers-seq

- function
-
Usage: (headers-seq http-agnt)
-
-
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.
- - - Source -
-
-
-

http-agent

- function
-
Usage: (http-agent uri & options)
-
-
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.
-
- - - Source -
-
-
-

message

- function
-
Usage: (message http-agnt)
-
-
Returns the HTTP response message (e.g. 'Not Found'), for this
-request, or nil if the response has not yet been received.
- - - Source -
-
-
-

method

- function
-
Usage: (method http-agnt)
-
-
Returns the HTTP method name used by this HTTP agent, as a String.
- - - Source -
-
-
-

redirect?

- function
-
Usage: (redirect? http-agnt)
-
-
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.
- - - Source -
-
-
-

request-body

- function
-
Usage: (request-body http-agnt)
-
-
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.
- - - Source -
-
-
-

request-headers

- function
-
Usage: (request-headers http-agnt)
-
-
Returns the request headers specified for this HTTP agent.
- - - Source -
-
-
-

request-uri

- function
-
Usage: (request-uri http-agnt)
-
-
Returns the URI/URL requested by this HTTP agent, as a String.
- - - Source -
-
-
-

result

- function
-
Usage: (result http-agnt)
-
-
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.
- - - Source -
-
-
-

server-error?

- function
-
Usage: (server-error? http-agnt)
-
-
Returns true if the HTTP response code was in the 500-599 range.
- - - Source -
-
-
-

status

- function
-
Usage: (status http-agnt)
-
-
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.
- - - Source -
-
-
-

stream

- function
-
Usage: (stream http-agnt)
-
-
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.
- - - Source -
-
-
-

string

- function
-
Usage: (string http-agnt)
-       (string http-agnt encoding)
-
-
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.
- - - Source -
-
-
-

success?

- function
-
Usage: (success? http-agnt)
-
-
Returns true if the HTTP response code was in the 200-299 range.
- - - Source -
- - -
-
-
-
-
- -
-
Logo & site design by Tom Hickey.
- Clojure auto-documentation system by Tom Faulhaber.
-
- - - - \ 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 480267c0..00000000 --- a/branch-master/http.connection-api.html +++ /dev/null @@ -1,123 +0,0 @@ - - - http.connection - clojure-contrib next API documentation - - - - - - - - - - - - - -
- - -
-
-
-
- -

API for http.connection - - clojure-contrib next (in development) -

- -
Usage: -
-(ns your-namespace
-  (:require clojure.contrib.http.connection))
-
-

Overview

-
Low-level HTTP client API around HttpURLConnection
- -Deprecated since clojure-contrib version 1.2
-
-

Public Variables and Functions

-
-
-
-

http-connection

- function
-
Usage: (http-connection url)
-
-
Opens an HttpURLConnection at the URL, handled by as-url.
- - - Source -
-
-
-

send-request-entity

- var
-

-  
Transmits a request entity body.
- - - Source -
- - -
-
-
-
-
- -
-
Logo & site design by Tom Hickey.
- Clojure auto-documentation system by Tom Faulhaber.
-
- - - - \ No newline at end of file diff --git a/branch-master/import-static-api.html b/branch-master/import-static-api.html index 6c28f818..877bc377 100644 --- a/branch-master/import-static-api.html +++ b/branch-master/import-static-api.html @@ -37,7 +37,7 @@ namespace. Namespaces
Other Versions @@ -102,7 +102,7 @@ been imported. Static methods are defined as MACROS, not first-class fns. - Source + Source
diff --git a/branch-master/index.html b/branch-master/index.html index a3f3bcc1..44131627 100644 --- a/branch-master/index.html +++ b/branch-master/index.html @@ -37,7 +37,7 @@ namespace. Namespaces
Other Versions @@ -62,10 +62,6 @@ namespace.
base64 @@ -110,10 +106,6 @@ namespace.
def -
-
error-kit @@ -166,14 +158,6 @@ namespace.
- http.agent - -
-
import-static @@ -186,14 +170,6 @@ namespace.
jar -
-
- java-utils - -
-
jmx @@ -254,10 +230,6 @@ namespace.
ns-utils -
-
- pprint -
priority-map @@ -302,10 +274,6 @@ namespace.
seq -
-
- seq-utils -
server-socket @@ -314,14 +282,6 @@ namespace.
set -
-
- shell - -
-
- shell-out -
singleton @@ -330,14 +290,6 @@ namespace.
sql -
-
- str-utils - -
-
stream-utils @@ -354,126 +306,6 @@ namespace.
- test-core - -
-
- test-dataflow - -
-
- test-def - -
-
- test-fnmap - -
-
- test-graph - -
-
- test-io - -
-
- test-is - -
-
- test-jmx - -
-
- test-json - -
-
- test-lazy-seqs - -
-
- test-logging - -
-
- test-math - -
-
- test-miglayout - -
-
- test-mock - -
-
- test-monads - -
-
- test-profile - -
-
- test-properties - -
-
- test-prxml - -
-
- test-repl-utils - -
-
- test-seq - -
-
- test-shell - -
-
- test-sql - -
-
- test-string - -
-
- test-strint - -
-
- test-trace - -
-
trace @@ -595,19 +427,6 @@ accumulators. Public variables and functions: capture-and-send
-
-
-
-

apply-macro

- - Detailed API documentation
-

-  
-  Deprecated since clojure-contrib version 1.2
- - Public variables and functions: - apply-macro
-


@@ -952,28 +771,6 @@ Based on an idea from Chouser: Public variables and functions: defalias defhinted defmacro- defn-memo defnk defonce- defstruct- defunbound defunbound- defvar defvar- name-with-attributes
-
-
-
-

duck-streams

- by Stuart Sierra
- Detailed API documentation
-
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.
- - Deprecated since clojure-contrib version 1.2
- - Public variables and functions: - *append-to-writer* *buffer-size* *byte-array-type* *default-encoding* append-spit append-writer copy file-str make-parents pwd read-lines reader slurp* spit to-byte-array with-in-reader with-out-append-writer with-out-writer write-lines writer
-


@@ -1173,77 +970,6 @@ defined for any type. Public variables and functions: all-greatest all-greatest-by all-least all-least-by greatest greatest-by least least-by
-
-
-
-

http.agent

- by Stuart Sierra
- Detailed API documentation
-
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 "http://www.stuartsierra.com/"))
-
-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))))
- - Deprecated since clojure-contrib version 1.2
- - Public variables and functions: - buffer-bytes bytes client-error? done? error? headers headers-seq http-agent message method redirect? request-body request-headers request-uri result server-error? status stream string success?
- -
-
-
-

http.connection

- - Detailed API documentation
-
Low-level HTTP client API around HttpURLConnection
- - Deprecated since clojure-contrib version 1.2
- - Public variables and functions: - http-connection send-request-entity
-


@@ -1274,7 +1000,7 @@ types: URLs or filenames as strings, java.io.File's, Sockets, etc. Public variables and functions: - *append* *buffer-size* *byte-array-type* *char-array-type* *default-encoding* append-output-stream append-spit append-writer as-url copy delete-file delete-file-recursively file file-str input-stream make-parents output-stream pwd read-lines reader relative-path-string slurp* spit to-byte-array with-in-reader with-out-append-writer with-out-writer write-lines writer
+ *append* *buffer-size* *byte-array-type* *char-array-type* *default-encoding* append-output-stream append-spit append-writer as-file as-url copy delete-file delete-file-recursively file file-str input-stream make-parents output-stream pwd read-lines reader relative-path-string slurp* spit to-byte-array with-in-reader with-out-append-writer with-out-writer write-lines writer

@@ -1289,57 +1015,6 @@ types: URLs or filenames as strings, java.io.File's, Sockets, etc. Public variables and functions: filenames-in-jar jar-file?
-
-
-
-

java-utils

- by Stuart Halloway, Stephen C. Gilardi, Shawn Hoover, Perry Trolard, Stuart Sierra
- Detailed API documentation
-
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
- - - - Public variables and functions: - as-file as-properties as-str as-url delete-file delete-file-recursively file get-system-property read-properties relative-path-string set-system-properties wall-hack-field wall-hack-method with-system-properties write-properties
- -
-
-
-

javadoc.browse

- by Christophe Grand
- Detailed API documentation
-
Start a web browser from Clojure
- - Deprecated since clojure-contrib version 1.2
- - Public variables and functions: - open-url-in-browser open-url-in-swing
-


@@ -1527,7 +1202,7 @@ in the user namespace, and :warn or higher in all other namespaces. Public variables and functions: - *allow-direct-logging* *force* *impl-name* *log-factory* *logging-agent* *tx-agent-levels* Log LogFactory debug debugf enabled? error errorf fatal fatalf find-factory impl-enabled? impl-get-log impl-name impl-write! info infof java-util-logging log log* log-capture! log-stream log-uncapture! logf logp slf4j-logging spy trace tracef warn warnf with-logs
+ *force* *log-factory* *logging-agent* *tx-agent-levels* Log LogFactory commons-logging debug debugf enabled? error errorf fatal fatalf find-factory impl-enabled? impl-get-log impl-name impl-write! info infof java-util-logging log log* log-capture! log-stream log-uncapture! log4j-logging logf logp slf4j-logging spy trace tracef warn warnf with-logs

@@ -1805,27 +1480,6 @@ docs prints documentation for the public vars in a Public variables and functions: dir docs get-ns immigrate ns-vars print-dir print-docs vars
-
-
-
-

pprint

- by Tom Faulhaber
- Detailed API documentation
-
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.
- - Deprecated since clojure-contrib version 1.2
- - Public variables and functions: - *code-dispatch* *print-base* *print-circle* *print-lines* *print-miser-width* *print-pprint-dispatch* *print-pretty* *print-radix* *print-right-margin* *print-shared* *print-suppress-namespaces* *simple-dispatch* cl-format compile-format formatter formatter-out fresh-line pp pprint pprint-indent pprint-logical-block pprint-newline pprint-tab set-pprint-dispatch use-method with-pprint-dispatch write write-out
-


@@ -1963,7 +1617,7 @@ for details. Public variables and functions: - *html-compatible* *prxml-indent* prxml
+

@@ -2018,19 +1672,6 @@ input stream. Public variables and functions: fill-queue find-first flatten frequencies group-by includes? indexed partition-all partition-by positions rand-elt rec-cat rec-seq reductions rotations separate seq-on shuffle
-
-
-
-

seq-utils

- by Stuart Sierra (and others)
- Detailed API documentation
-
Sequence utilities for Clojure
- - Deprecated since clojure-contrib version 1.2
- - Public variables and functions: - fill-queue find-first flatten frequencies group-by includes? indexed partition-all partition-by positions rand-elt rec-cat rec-seq reductions rotations separate seq-on shuffle
-


@@ -2057,34 +1698,6 @@ input stream. Public variables and functions: proper-subset? proper-superset? subset? superset?
-
-
-
-

shell

- by Chris Houser
- Detailed API documentation
-
Conveniently launch a sub-process providing to its stdin and
-collecting its stdout
- - Deprecated since clojure-contrib version 1.2
- - Public variables and functions: - sh
- -
-
-
-

shell-out

- by Chris Houser
- Detailed API documentation
-
Conveniently launch a sub-process providing to its stdin and
-collecting its stdout
- - Deprecated since clojure-contrib version 1.2
- - Public variables and functions: - sh
-


@@ -2144,53 +1757,13 @@ collecting its stdout


-

str-utils

- by Stuart Sierra
- Detailed API documentation
-
String utilities for Clojure
- - Deprecated since clojure-contrib version 1.2
- - Public variables and functions: - chomp chop re-gsub re-partition re-split re-sub str-join
- -
-
-
-

str-utils2

- by Stuart Sierra
- Detailed API documentation
-
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.
+  

stream-utils

+ by Konrad Hinsen
+ Detailed API documentation
+
Functions for setting up computational pipelines via data streams.
 
-Goals:
-  1. Be functional
-  2. String argument first, to work with ->
-  3. Performance linear in string length
-
-Some ideas are borrowed from
-http://github.com/francoisdevlin/devlinsf-clojure-utils/
- - Deprecated since clojure-contrib version 1.2
- - Public variables and functions: - blank? butlast capitalize chomp chop codepoints contains? dochars docodepoints drop escape get grep join lower-case ltrim map-str partial partition repeat replace replace-first reverse rtrim split split-lines swap-case tail take trim upper-case
- -
-
-
-

stream-utils

- by Konrad Hinsen
- Detailed API documentation
-
Functions for setting up computational pipelines via data streams.
-
-NOTE: This library is experimental. It may change significantly
-      with future release.
+NOTE: This library is experimental. It may change significantly
+      with future release.
 
 This library defines:
 - an abstract stream type, whose interface consists of the
@@ -2273,410 +1846,6 @@ next value of all stream arguments in the form of a vector.
Public variables and functions: action-translation-table add-action-listener add-key-typed-listener add-menu-item do-swing do-swing* do-swing-and-wait make-action make-menubar menu-constructor-dispatch
-
-
-
-

test-complex-numbers

- - Detailed API documentation
-

-  
-  
-  
-  Public variables and functions:
-  
- -
-
-
-

test-contrib.mock-test.test-adapter-test

- - Detailed API documentation
-

-  
-  
-  
-  Public variables and functions:
-  
- -
-
-
-

test-core

- - Detailed API documentation
-

-  
-  
-  
-  Public variables and functions:
-  
- -
-
-
-

test-dataflow

- - Detailed API documentation
-

-  
-  
-  
-  Public variables and functions:
-  
- -
-
-
-

test-def

- - Detailed API documentation
-

-  
-  
-  
-  Public variables and functions:
-  aliased-fn aliased-macro sample-fn sample-macro 
- -
-
-
-

test-fnmap

- - Detailed API documentation
-

-  
-  
-  
-  Public variables and functions:
-  
- -
-
-
-

test-graph

- - Detailed API documentation
-

-  
-  
-  
-  Public variables and functions:
-  
- -
-
-
-

test-greatest-least

- - Detailed API documentation
-

-  
-  
-  
-  Public variables and functions:
-  
- -
-
-
-

test-io

- - Detailed API documentation
-

-  
-  
-  
-  Public variables and functions:
-  
- -
-
-
-

test-is

- by Stuart Sierra
- Detailed API documentation
-
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, 
-http://www.assembla.com/spaces/clojure-contrib/tickets/26
- - Deprecated since clojure-contrib version 1.2
- - Public variables and functions: - *load-tests* *stack-trace-depth* apply-template are assert-any assert-predicate compose-fixtures deftest deftest- do-template file-position find-holes find-pure-exprs find-symbols flatten-map function? get-possibly-unbound-var inc-report-counter is join-fixtures report run-all-tests run-tests set-test successful? template? test-all-vars test-ns test-var testing testing-contexts-str testing-vars-str try-expr use-fixtures with-test with-test-out
- -
-
-
-

test-jmx

- - Detailed API documentation
-

-  
-  
-  
-  Public variables and functions:
-  
- -
-
-
-

test-json

- - Detailed API documentation
-

-  
-  
-  
-  Public variables and functions:
-  
- -
-
-
-

test-lazy-seqs

- - Detailed API documentation
-

-  
-  
-  
-  Public variables and functions:
-  
- -
-
-
-

test-logging

- - Detailed API documentation
-

-  
-  
-  
-  Public variables and functions:
-  
- -
-
-
-

test-macro-utils

- - Detailed API documentation
-

-  
-  
-  
-  Public variables and functions:
-  
- -
-
-
-

test-math

- - Detailed API documentation
-

-  
-  
-  
-  Public variables and functions:
-  
- -
-
-
-

test-miglayout

- - Detailed API documentation
-

-  
-  
-  
-  Public variables and functions:
-  label sep text-field 
- -
-
-
-

test-mock

- - Detailed API documentation
-

-  
-  
-  
-  Public variables and functions:
-  
- -
-
-
-

test-monads

- - Detailed API documentation
-

-  
-  
-  
-  Public variables and functions:
-  
- -
-
-
-

test-profile

- - Detailed API documentation
-

-  
-  
-  
-  Public variables and functions:
-  
- -
-
-
-

test-properties

- - Detailed API documentation
-

-  
-  
-  
-  Public variables and functions:
-  
- -
-
-
-

test-prxml

- - Detailed API documentation
-

-  
-  
-  
-  Public variables and functions:
-  
- -
-
-
-

test-repl-utils

- - Detailed API documentation
-

-  
-  
-  
-  Public variables and functions:
-  
- -
-
-
-

test-seq

- - Detailed API documentation
-

-  
-  
-  
-  Public variables and functions:
-  
- -
-
-
-

test-shell

- - Detailed API documentation
-

-  
-  
-  
-  Public variables and functions:
-  
- -
-
-
-

test-sql

- - Detailed API documentation
-

-  
-  
-  
-  Public variables and functions:
-  
- -
-
-
-

test-string

- - Detailed API documentation
-

-  
-  
-  
-  Public variables and functions:
-  
- -
-
-
-

test-strint

- - Detailed API documentation
-

-  
-  
-  
-  Public variables and functions:
-  
- -
-
-
-

test-trace

- - Detailed API documentation
-

-  
-  
-  
-  Public variables and functions:
-  
- -
-
-
-

test-with-ns

- - Detailed API documentation
-

-  
-  
-  
-  Public variables and functions:
-  
-


diff --git a/branch-master/io-api.html b/branch-master/io-api.html index 42b5db6f..4244987e 100644 --- a/branch-master/io-api.html +++ b/branch-master/io-api.html @@ -37,7 +37,7 @@ namespace. Namespaces
Other Versions @@ -73,6 +73,8 @@ namespace. append-spit
append-writer +
+ as-file
as-url
@@ -152,7 +154,7 @@ Defaults to false. Instead of binding this var directly, use append-writer, append-output-stream or append-spit. - Source +


@@ -163,7 +165,7 @@ append-output-stream or append-spit. copying streams. - Source +


@@ -173,7 +175,7 @@ copying streams.
Type object for a Java primitive byte array.
- Source +


@@ -183,7 +185,7 @@ copying streams.
Type object for a Java primitive char array.
- Source +


@@ -194,7 +196,7 @@ copying streams. Default is UTF-8. - Source +


@@ -206,7 +208,7 @@ Default is UTF-8. that are already open. Deprecated since clojure-contrib version 1.2
- Source +


@@ -217,7 +219,7 @@ that are already open.
Like spit but appends to file.
Deprecated since clojure-contrib version 1.2
- Source +


@@ -229,23 +231,35 @@ that are already open. that are already open. Deprecated since clojure-contrib version 1.2
- Source + +
+
+
+

as-file

+ multimethod
+
No usage documentation available
+
Interpret a String or a java.io.File as a File. Building block
+for clojure.contrib.java/file, which you should prefer
+in most cases.
+ + Deprecated since clojure-contrib version 1.2
+


as-url

- function
+ multimethod
Usage: (as-url arg)
 
Coerces argument (URL, URI, or String) to a java.net.URL.
Deprecated since clojure-contrib version 1.2
- Source +


copy

- function
+ multimethod
Usage: (copy input output)
 
Copies input to output.  Returns nil.
@@ -258,7 +272,7 @@ Does not close any streams except those it opens itself
 Writing a File fails if the parent directory does not exist.
Deprecated since clojure-contrib version 1.2
- Source +


@@ -269,7 +283,7 @@ Writing a File fails if the parent directory does not exist.
Delete file f. Raise an exception if it fails unless silently is true.
- Source +


@@ -281,7 +295,7 @@ Writing a File fails if the parent directory does not exist. Raise an exception if any deletion fails unless silently is true. - Source +


@@ -294,7 +308,7 @@ Raise an exception if any deletion fails unless silently is true.
Returns a java.io.File from string or file args.
Deprecated since clojure-contrib version 1.2
- Source +


@@ -307,7 +321,7 @@ all / and \ with File/separatorChar. Replaces ~ at the start of the path with the user.home system property. - Source +


@@ -341,7 +355,7 @@ closed.
Creates all parent directories of file.
- Source +


@@ -376,7 +390,7 @@ properly closed. Note: In Java, you cannot change the current working directory. Deprecated since clojure-contrib version 1.2
- Source +


@@ -388,7 +402,7 @@ Note: In Java, you cannot change the current working directory. closes the reader AFTER YOU CONSUME THE ENTIRE SEQUENCE. - Source +


@@ -437,7 +451,7 @@ Building block for clojure.contrib.java/file.
Like clojure.core/slurp but opens f with reader.
Deprecated since clojure-contrib version 1.2
- Source +


@@ -449,12 +463,12 @@ Building block for clojure.contrib.java/file. closes f. Deprecated since clojure-contrib version 1.2
- Source +


to-byte-array

- function
+ multimethod
Usage: (to-byte-array arg)
 
Converts argument into a Java byte array.  Argument may be
@@ -462,7 +476,7 @@ a String, File, InputStream, or Reader.  If the argument is already
 a byte array, returns it.
- Source +


@@ -473,7 +487,7 @@ a byte array, returns it.
Opens a PushbackReader on f, binds it to *in*, and evaluates body.
- Source +


@@ -484,7 +498,7 @@ a byte array, returns it.
Like with-out-writer but appends to file.
Deprecated since clojure-contrib version 1.2
- Source +


@@ -496,7 +510,7 @@ a byte array, returns it. Anything printed within body will be written to f. - Source +


@@ -508,7 +522,7 @@ Anything printed within body will be written to f. writer, and automatically closed at the end of the sequence. - Source +


diff --git a/branch-master/jar-api.html b/branch-master/jar-api.html index 7fd03d6b..db053dbe 100644 --- a/branch-master/jar-api.html +++ b/branch-master/jar-api.html @@ -37,7 +37,7 @@ namespace. Namespaces
Other Versions @@ -92,7 +92,7 @@ namespace. the JAR file. - Source + Source


@@ -103,7 +103,7 @@ the JAR file.
Returns true if file is a normal file with a .jar or .JAR extension.
- Source + Source
diff --git a/branch-master/java-utils-api.html b/branch-master/java-utils-api.html deleted file mode 100644 index 4ac2f943..00000000 --- a/branch-master/java-utils-api.html +++ /dev/null @@ -1,346 +0,0 @@ - - - java-utils - clojure-contrib next API documentation - - - - - - - - - - - - - -
- - -
-
-
-
- -

API for java-utils - - clojure-contrib next (in development) -

-by Stuart Halloway, Stephen C. Gilardi, Shawn Hoover, Perry Trolard, Stuart Sierra
-
Usage: -
-(ns your-namespace
-  (:require clojure.contrib.java-utils))
-
-

Overview

-
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
- - -
-

Public Variables and Functions

-
-
-
-

as-file

- multimethod
-
No usage documentation available
-
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.
- - Deprecated since clojure-contrib version 1.2
- Source -
-
-
-

as-properties

- function
-
Usage: (as-properties m)
-
-
Convert any seq of pairs to a java.utils.Properties instance.
-Uses as-str to convert both keys and values into strings.
- - - Source -
-
-
-

as-str

- function
-
Usage: (as-str)
-       (as-str x)
-       (as-str x & ys)
-
-
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}" 
- - Deprecated since clojure-contrib version 1.2
- Source -
-
-
-

as-url

- multimethod
-
Usage: (as-url arg)
-
-
Coerces argument (URL, URI, or String) to a java.net.URL.
- - Deprecated since clojure-contrib version 1.2
- Source -
-
-
-

delete-file

- function
-
Usage: (delete-file f & [silently])
-
-
Delete file f. Raise an exception if it fails unless silently is true.
- - Deprecated since clojure-contrib version 1.2
- Source -
-
-
-

delete-file-recursively

- function
-
Usage: (delete-file-recursively f & [silently])
-
-
Delete file f. If it's a directory, recursively delete all its contents.
-Raise an exception if any deletion fails unless silently is true.
- - Deprecated since clojure-contrib version 1.2
- Source -
-
-
-

file

- function
-
Usage: (file arg)
-       (file parent child)
-       (file parent child & more)
-
-
Returns a java.io.File from string or file args.
- - Deprecated since clojure-contrib version 1.2
- Source -
-
-
-

get-system-property

- function
-
Usage: (get-system-property stringable)
-       (get-system-property stringable default)
-
-
Get a system property.
- - - Source -
-
-
-

read-properties

- function
-
Usage: (read-properties file-able)
-
-
Read properties from file-able.
- - - Source -
-
-
-

relative-path-string

- multimethod
-
No usage documentation available
-
Interpret a String or java.io.File as a relative path string. 
-Building block for clojure.contrib.java-utils/file.
- - Deprecated since clojure-contrib version 1.2
- Source -
-
-
-

set-system-properties

- function
-
Usage: (set-system-properties settings)
-
-
Set some system properties. Nil clears a property.
- - - Source -
-
-
-

wall-hack-field

- function
-
Usage: (wall-hack-field class-name field-name obj)
-
-
Access to private or protected field.
- - Deprecated since clojure-contrib version 1.2
- Source -
-
-
-

wall-hack-method

- function
-
Usage: (wall-hack-method class-name method-name params obj & args)
-
-
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)
- - Deprecated since clojure-contrib version 1.2
- Source -
-
-
-

with-system-properties

- macro
-
Usage: (with-system-properties settings & body)
-
-
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.
- - - Source -
-
-
-

write-properties

- function
-
Usage: (write-properties m file-able)
-       (write-properties m file-able comments)
-
-
Write properties to file-able.
- - - Source -
- - -
-
-
-
-
- -
-
Logo & site design by Tom Hickey.
- Clojure auto-documentation system by Tom Faulhaber.
-
- - - - \ 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 4f9196e4..00000000 --- a/branch-master/javadoc.browse-api.html +++ /dev/null @@ -1,126 +0,0 @@ - - - javadoc.browse - clojure-contrib next API documentation - - - - - - - - - - - - - -
- - -
-
-
-
- -

API for javadoc.browse - - clojure-contrib next (in development) -

-by Christophe Grand
-
Usage: -
-(ns your-namespace
-  (:require clojure.contrib.javadoc.browse))
-
-

Overview

-
Start a web browser from Clojure
- -Deprecated since clojure-contrib version 1.2
-
-

Public Variables and Functions

-
-
-
-

open-url-in-browser

- function
-
Usage: (open-url-in-browser url)
-
-
Opens url (a string) in the default system web browser.  May not
-work on all platforms.  Returns url on success, nil if not
-supported.
- - - -
-
-
-

open-url-in-swing

- function
-
Usage: (open-url-in-swing url)
-
-
Opens url (a string) in a Swing window.
- - - -
- - -
-
-
-
-
- -
-
Logo & site design by Tom Hickey.
- Clojure auto-documentation system by Tom Faulhaber.
-
- - - - \ No newline at end of file diff --git a/branch-master/jmx-api.html b/branch-master/jmx-api.html index d0ee0449..656a25f7 100644 --- a/branch-master/jmx-api.html +++ b/branch-master/jmx-api.html @@ -37,7 +37,7 @@ namespace. Namespaces
Other Versions @@ -190,7 +190,7 @@ in the ref:
The connection to be used for JMX ops. Defaults to the local process.
- Source + Source


@@ -212,7 +212,7 @@ in the ref:
Get the MBeanAttributeInfo for an attribute.
- Source + Source


@@ -223,7 +223,7 @@ in the ref:
All attribute names available on an MBean.
- Source + Source


@@ -235,7 +235,7 @@ in the ref:
Construct an MBeanAttributeInfo. Normally called with a key/value pair from a Clojure map.
- Source + Source


@@ -246,7 +246,7 @@ in the ref:
Guess the attribute typename for MBeanAttributeInfo based on the attribute value.
- Source + Source


@@ -269,7 +269,7 @@ Handles CompositeData, TabularData, maps, and atoms.
Build a JMX URL from options.
- Source + Source


@@ -280,7 +280,7 @@ Handles CompositeData, TabularData, maps, and atoms.
Construct an MBeanAttributeInfo[] from a Clojure associative.
- Source + Source


@@ -292,7 +292,7 @@ Handles CompositeData, TabularData, maps, and atoms. Used to simplify keys in the tabular data API. - Source + Source


@@ -304,7 +304,7 @@ Used to simplify keys in the tabular data API. simplify keys in the tabular data API. - Source + Source


@@ -317,7 +317,7 @@ a JMX bean's attributes. If an attribute it not supported, value is set to the exception thrown. - Source + Source


@@ -328,7 +328,7 @@ set to the exception thrown.
Finds all MBeans matching a name on the current *connection*.
- Source + Source


@@ -340,7 +340,7 @@ set to the exception thrown. Used for invoke. - Source + Source


@@ -351,7 +351,7 @@ Used for invoke.
The MBeanOperationInfo for operation op on mbean n. Used by invoke.
- Source + Source


@@ -362,7 +362,7 @@ Used for invoke.
All operation names available on an MBean.
- Source + Source


@@ -373,7 +373,7 @@ Used for invoke.
All oeprations available on an MBean.
- Source + Source


@@ -385,7 +385,7 @@ Used for invoke. composites, tabulars, etc. Most callers should use read. - Source + Source


@@ -395,7 +395,7 @@ composites, tabulars, etc. Most callers should use read.
Read an mbean property.
- Source + Source


@@ -409,7 +409,7 @@ from blowing up. Note: There is no good exception that aggregates unsupported operations, hence the overly-general catch block. - Source + Source


@@ -420,7 +420,7 @@ unsupported operations, hence the overly-general catch block.
Is attribute readable?
- Source + Source


@@ -433,7 +433,7 @@ include an optional :environment key which is passed as the environment arg to JMXConnectorFactory/connect. - Source + Source
diff --git a/branch-master/json-api.html b/branch-master/json-api.html index b0aa9535..3d279c07 100644 --- a/branch-master/json-api.html +++ b/branch-master/json-api.html @@ -37,7 +37,7 @@ namespace. Namespaces
Other Versions @@ -102,7 +102,7 @@ To read JSON, use read-json.
Converts x to a JSON-formatted string.
- Source + Source


@@ -113,7 +113,7 @@ To read JSON, use read-json.
Pretty-prints JSON representation of x to *out*
- Source + Source


@@ -124,7 +124,7 @@ To read JSON, use read-json.
Write JSON-formatted output to *out*
- Source + Source


@@ -140,7 +140,7 @@ keywords. If eof-error? is true (default), empty input will throw an EOFException; if false EOF will return eof-value. - Source + Source


diff --git a/branch-master/lazy-seqs-api.html b/branch-master/lazy-seqs-api.html index 20e92e56..2d30cd14 100644 --- a/branch-master/lazy-seqs-api.html +++ b/branch-master/lazy-seqs-api.html @@ -37,7 +37,7 @@ namespace. Namespaces
Other Versions @@ -113,7 +113,7 @@ namespace.
Returns a lazy sequence of all the Fibonacci numbers.
- + Source


@@ -124,7 +124,7 @@ namespace.
Returns a lazy sequence of all the powers of 2
- + Source


@@ -134,7 +134,7 @@ namespace.
Lazy sequence of all the prime numbers.
- + Source
diff --git a/branch-master/lazy-xml-api.html b/branch-master/lazy-xml-api.html index c648a00c..5b60b404 100644 --- a/branch-master/lazy-xml-api.html +++ b/branch-master/lazy-xml-api.html @@ -37,7 +37,7 @@ namespace. Namespaces
Other Versions @@ -101,7 +101,7 @@ is specified and org.xmlpull.v1.XmlPullParser is in the classpath, this superior pull parser will be used. - Source + Source


@@ -125,7 +125,7 @@ org.xmlpull.v1.XmlPullParser is in the classpath, this superior pull parser will be used. - Source + Source
diff --git a/branch-master/logging-api.html b/branch-master/logging-api.html index 33835508..5a575bc0 100644 --- a/branch-master/logging-api.html +++ b/branch-master/logging-api.html @@ -37,7 +37,7 @@ namespace. Namespaces
Other Versions @@ -58,11 +58,7 @@ namespace.
Overview
- *allow-direct-logging* -
*force* -
- *impl-name*
*log-factory*
@@ -73,6 +69,8 @@ namespace. Log
LogFactory +
+ commons-logging
debug
@@ -113,6 +111,8 @@ namespace. log-stream
log-uncapture! +
+ log4j-logging
logf
@@ -193,17 +193,6 @@ in the user namespace, and :warn or higher in all other namespaces.

Public Variables and Functions

-
-
-

*allow-direct-logging*

- var
-

-  
A boolean indicating whether direct logging (as opposed to via an agent) is
-allowed when not operating from within a transaction. Defaults to true.
- - - -


*force*

@@ -213,17 +202,7 @@ allowed when not operating from within a transaction. Defaults to true. agent. Defaults to nil. See log* for details. - Source -
-
-
-

*impl-name*

- var
-

-  
The name of the logging implementation used.
- - - + Source


@@ -236,18 +215,18 @@ returned from find-factory. Can be rebound to provide alternate logging implementations - Source + Source


*logging-agent*

var

-  
The default agent used for performing logging durng a transaction or when
-direct logging is disabled.
- +
The default agent used for performing logging when direct logging is
+disabled. See log* for details.
+ Source


@@ -258,7 +237,7 @@ direct logging is disabled. running transaction. Defaults to #{:info :warn}. See log* for details. - Source + Source


@@ -284,18 +263,30 @@ this library. Source +
+
+
+

commons-logging

+ function
+
Usage: (commons-logging)
+
+
Returns a commons-logging-based implementation of the LogFactory protocol, or
+nil if not available. End-users should not need to call this.
+ + + Source


debug

macro
-
Usage: (debug message)
-       (debug message throwable)
+  
Usage: (debug level message & more)
+       (debug level throwable message & more)
 
-
Logs a message at the debug level.
- +
Debug level logging using print-style args.
+ Source


@@ -307,7 +298,7 @@ this library.
Debug level logging using format.
- Source + Source


@@ -321,19 +312,19 @@ should only be necessary if one needs to execute alternate code paths beyond whether the log should be written to. - + Source


error

macro
-
Usage: (error message)
-       (error message throwable)
+  
Usage: (error level message & more)
+       (error level throwable message & more)
 
-
Logs a message at the error level.
- +
Error level logging using print-style args.
+ Source


@@ -345,19 +336,19 @@ whether the log should be written to.
Error level logging using format.
- Source + Source


fatal

macro
-
Usage: (fatal message)
-       (fatal message throwable)
+  
Usage: (fatal level message & more)
+       (fatal level throwable message & more)
 
-
Logs a message at the fatal level.
- +
Fatal level logging using print-style args.
+ Source


@@ -369,7 +360,7 @@ whether the log should be written to.
Fatal level logging using format.
- Source + Source


@@ -382,13 +373,14 @@ slf4j-logging, log4j-logging, or java-util-logging. End-users should not need to call this. - Source + Source


impl-enabled?

- var
-

+  function
+
Usage: (impl-enabled? log level)
+
Implementation-specific check if a particular level is enabled. End-users
 should not need to call this.
@@ -398,10 +390,11 @@ should not need to call this.

impl-get-log

- var
-

-  
Returns an implementation-specific log by string namespace. End-users should
-not need to call this.
+ function
+
Usage: (impl-get-log factory log-ns)
+
+
Returns an implementation-specific Log by namespace. End-users should not
+need to call this.
@@ -420,10 +413,11 @@ not need to call this.

impl-write!

- var
-

-  
Implementation-specific write of a log message. End-users should not need to
-call this.
+ function
+
Usage: (impl-write! log level throwable message)
+
+
Implementation-specific write of a log message. End-users should not need
+to call this.
@@ -432,13 +426,13 @@ call this.

info

macro
-
Usage: (info message)
-       (info message throwable)
+  
Usage: (info level message & more)
+       (info level throwable message & more)
 
-
Logs a message at the info level.
- +
Info level logging using print-style args.
+ Source


@@ -450,7 +444,7 @@ call this.
Info level logging using format.
- Source + Source


@@ -462,21 +456,22 @@ call this. or nil if not available. End-users should not need to call this. - Source + Source


log

macro
Usage: (log level message)
-       (log level message throwable)
-       (log level message throwable log-ns)
+       (log level throwable message)
+       (log log-ns level throwable message)
+       (log log-factory log-ns level throwable message)
 
-
Logs a message, either directly or via an agent. Also see the level-specific
-convenience macros.
- +
Evaluates and logs a message only if the specified level is enabled. See log*
+for more details.
+ Source


@@ -498,21 +493,27 @@ One can override the above by setting *force* to :direct or :agent; all subsequent writes will be direct or via an agent, respectively. - Source + Source


log-capture!

function
Usage: (log-capture! log-ns)
+       (log-capture! log-ns out-level err-level)
 
-
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.
- +
Captures System.out and System.err, piping all writes of those streams to
+the log. If unspecified, levels default to :info and :error, respectively.
+The specified log-ns value will be used to namespace all log entries.
+
+Note: use with-logs to redirect output of *out* or *err*.
+
+Warning: if the logging implementation is configured to output to System.out
+(as is the default with java.util.logging) then using this function will
+result in StackOverflowException when writing to the log.
+ Source


@@ -520,11 +521,10 @@ output of *out* or *err*; for that, use with-logs. function
Usage: (log-stream level log-ns)
 
-
Creates a PrintStream that will output to the log. End-users should not need
-to invoke this.
- +
Creates a PrintStream that will output to the log at the specified level.
+ Source


@@ -535,7 +535,19 @@ to invoke this.
Restores System.out and System.err to their original values.
+ Source +
+
+
+

log4j-logging

+ function
+
Usage: (log4j-logging)
+
+
Returns a log4j-based implementation of the LogFactory protocol, or nil if
+not available. End-users should not need to call this.
+ + Source


@@ -548,7 +560,7 @@ to invoke this. throwable as its second arg. See level-specific macros, e.g., debugf. - Source + Source


@@ -561,7 +573,7 @@ throwable as its second arg. See level-specific macros, e.g., debugf. second arg. See level-specific macros, e.g., debug. - Source + Source


@@ -573,31 +585,32 @@ second arg. See level-specific macros, e.g., debug. not available. End-users should not need to call this. - Source + Source


spy

macro
Usage: (spy expr)
+       (spy level expr)
 
-
Evaluates expr and outputs the form and its result to the debug log; returns 
-the result of expr.
- +
Evaluates expr and writes the form and its result to the log. Returns the
+result of expr. Defaults to debug log level.
+ Source


trace

macro
-
Usage: (trace message)
-       (trace message throwable)
+  
Usage: (trace level message & more)
+       (trace level throwable message & more)
 
-
Logs a message at the trace level.
- +
Trace level logging using print-style args.
+ Source


@@ -609,19 +622,19 @@ the result of expr.
Trace level logging using format.
- Source + Source


warn

macro
-
Usage: (warn message)
-       (warn message throwable)
+  
Usage: (warn level message & more)
+       (warn level throwable message & more)
 
-
Logs a message at the warn level.
- +
Warn level logging using print-style args.
+ Source


@@ -633,20 +646,22 @@ the result of expr.
Warn level logging using format.
- Source + Source


with-logs

macro
Usage: (with-logs log-ns & body)
+       (with-logs [log-ns out-level err-level] & body)
 
-
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.
- +
Evaluates exprs in a context in which *out* and *err* write to the log. The
+specified log-ns value will be used to namespace all log entries.
+
+By default *out* and *err* write to :info and :error, respectively.
+ Source
diff --git a/branch-master/macro-utils-api.html b/branch-master/macro-utils-api.html index c674c59b..39ca8865 100644 --- a/branch-master/macro-utils-api.html +++ b/branch-master/macro-utils-api.html @@ -37,7 +37,7 @@ namespace. Namespaces
Other Versions diff --git a/branch-master/macros-api.html b/branch-master/macros-api.html index 572a76ce..d255300d 100644 --- a/branch-master/macros-api.html +++ b/branch-master/macros-api.html @@ -37,7 +37,7 @@ namespace. Namespaces
Other Versions diff --git a/branch-master/map-utils-api.html b/branch-master/map-utils-api.html index 1c94dbe5..15abb10c 100644 --- a/branch-master/map-utils-api.html +++ b/branch-master/map-utils-api.html @@ -37,7 +37,7 @@ namespace. Namespaces
Other Versions @@ -100,7 +100,7 @@ only when there's a non-map at a particular level. -> {:a {:b {:z 3, :c 3, :d {:z 9, :x 1, :y 2}}, :e 103}, :f 4} - Source + Source


@@ -111,7 +111,7 @@ only when there's a non-map at a particular level.
Like get, but doesn't evaluate not-found unless it is needed.
- Source + Source


@@ -122,7 +122,7 @@ only when there's a non-map at a particular level.
Like get, but throws an exception if the key is not found.
- Source + Source


@@ -133,7 +133,7 @@ only when there's a non-map at a particular level.
Like get-in, but throws an exception if any key is not found.
- Source + Source
diff --git a/branch-master/math-api.html b/branch-master/math-api.html index a0c55dd1..b0d30611 100644 --- a/branch-master/math-api.html +++ b/branch-master/math-api.html @@ -37,7 +37,7 @@ namespace. Namespaces
Other Versions @@ -145,19 +145,19 @@ exact-integer-sqrt - Implements a math function from the R6RS Scheme
(abs n) is the absolute value of n
- + Source


ceil

- function
+ multimethod
Usage: (ceil n)
 
(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.
- + Source


@@ -169,31 +169,31 @@ If n is an exact number, ceil returns an integer, otherwise a double. For example, (exact-integer-sqrt 15) is [3 6] because 15 = 3^2+6. - + Source


expt

- function
+ multimethod
Usage: (expt base pow)
 
(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.
- + Source


floor

- function
+ multimethod
Usage: (floor n)
 
(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.
- + Source


@@ -204,7 +204,7 @@ If n is an exact number, floor returns an integer, otherwise a double.
(gcd a b) returns the greatest common divisor of a and b
- + Source


@@ -215,30 +215,30 @@ If n is an exact number, floor returns an integer, otherwise a double.
(lcm a b) returns the least common multiple of a and b
- + Source


round

- function
+ multimethod
Usage: (round n)
 
(round n) rounds to the nearest integer.
 round always returns an integer.  Rounds up for values exactly in between two integers.
- + Source


sqrt

- function
+ multimethod
Usage: (sqrt n)
 
Square root, but returns exact number if possible.
- + Source
diff --git a/branch-master/miglayout-api.html b/branch-master/miglayout-api.html index 6617af03..bd27785f 100644 --- a/branch-master/miglayout-api.html +++ b/branch-master/miglayout-api.html @@ -37,7 +37,7 @@ namespace. Namespaces
Other Versions @@ -120,7 +120,7 @@ Example: an id constraint set - + Source


@@ -161,7 +161,7 @@ id to component attached to the container. The map can be retrieved using clojure.contrib.miglayout/components. - + Source

miglayout.internal


@@ -220,7 +220,7 @@ separated by commas. Constraints may be specified in Clojure using
 strings, keywords, vectors, maps, and/or sets.
   
   
-  Source
+  Source
 

format-constraints

diff --git a/branch-master/mmap-api.html b/branch-master/mmap-api.html index b3e377e2..ff49b486 100644 --- a/branch-master/mmap-api.html +++ b/branch-master/mmap-api.html @@ -37,7 +37,7 @@ namespace. Namespaces
Other Versions @@ -94,7 +94,7 @@ mmaped file for "normal" activies -- slurp, load-file, etc.
Returns an InputStream for a ByteBuffer, such as returned by mmap.
- Source + Source


@@ -105,7 +105,7 @@ mmaped file for "normal" activies -- slurp, load-file, etc.
Memory-map the file named f.  Returns a ByteBuffer.
- Source + Source


@@ -116,7 +116,7 @@ mmaped file for "normal" activies -- slurp, load-file, etc.
Reads the file named by f and returns it as a string.
- Source + Source
diff --git a/branch-master/mock-api.html b/branch-master/mock-api.html index 166269ae..03986635 100644 --- a/branch-master/mock-api.html +++ b/branch-master/mock-api.html @@ -37,7 +37,7 @@ namespace. Namespaces
Other Versions @@ -131,13 +131,13 @@ namespace.
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 by the expected function. If both this
-and :returns are specified, the return value of :calls will have precedence.
+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?)
- Source +


@@ -146,22 +146,22 @@ Usage:
Usage: (expect expect-bindings & body)
 
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
+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 of overridden functions can also be specified as needed.
+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))
+ (function-under-test a b c)) + - Source


has-args

macro
Usage: (has-args arg-pred-forms)
-       (has-args arg-pred-forms expectation-hash)
+       (has-args arg-pred-forms expect-hash-form)
 
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
@@ -173,7 +173,7 @@ Usage:
 (has-args [arg-pred-1 arg-pred-2 ... arg-pred-n] expectation-hash?)
- Source +


@@ -186,7 +186,7 @@ function. If no argslist meta data is available for the function, it is not called. - Source +


@@ -201,7 +201,7 @@ designed to be called from the mock function generated in the first argument of the mock info object created by make-mock. - Source +


@@ -214,7 +214,7 @@ the code under test has all been executed. The function returned takes the name of the associated dependency and the invocation count as arguments. - Source +


@@ -223,14 +223,14 @@ name of the associated dependency and the invocation count as arguments.
Usage: (make-mock fn-name expectation-hash)
 
creates a vector containing the following information for the named function:
-1. dependent function replacement - verifies signature, calls arg checker
+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.
- Source +


@@ -246,7 +246,7 @@ Usage: (returns ret-value expectation-hash?) - Source +


@@ -257,17 +257,18 @@ Usage:
Creates or associates to an existing expectation hash the :times key with a
 value corresponding to a predicate function which expects an integer value.
-Also, an integer can be specified, in which case the times will only be an
-exact match. The times check is called at the end of an expect expression to
-validate that an expected dependency function was called the expected
-number of times.
+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)
- Source +


@@ -279,7 +280,7 @@ Usage: count checker for each dependency. - Source +

mock.test-adapter


@@ -295,19 +296,19 @@ count checker for each dependency.
 
   
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 by the expected function. If both this
-and :returns are specified, the return value of :calls will have precedence.
+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?)
- Source +

has-args

macro
Usage: (has-args arg-pred-forms)
-       (has-args arg-pred-forms expectation-hash)
+       (has-args arg-pred-forms expect-hash-form)
 
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
@@ -319,7 +320,7 @@ Usage:
 (has-args [arg-pred-1 arg-pred-2 ... arg-pred-n] expectation-hash?)
- Source +

has-matching-signature?

@@ -331,7 +332,7 @@ function. If no argslist meta data is available for the function, it is not called. - Source +

make-arg-checker

@@ -345,7 +346,7 @@ designed to be called from the mock function generated in the first argument of the mock info object created by make-mock. - Source +

make-count-checker

@@ -357,7 +358,7 @@ the code under test has all been executed. The function returned takes the name of the associated dependency and the invocation count as arguments. - Source +

make-mock

@@ -365,14 +366,14 @@ name of the associated dependency and the invocation count as arguments.
Usage: (make-mock fn-name expectation-hash)
 
creates a vector containing the following information for the named function:
-1. dependent function replacement - verifies signature, calls arg checker
+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.
- Source +

report-problem

@@ -384,7 +385,7 @@ the report-problem function in clojure.contrib.mock. Instead of printing the error to the console, the error is logged via clojure.test. - + Source

returns

@@ -399,7 +400,7 @@ Usage: (returns ret-value expectation-hash?) - Source +

times

@@ -409,17 +410,18 @@ Usage:
Creates or associates to an existing expectation hash the :times key with a
 value corresponding to a predicate function which expects an integer value.
-Also, an integer can be specified, in which case the times will only be an
-exact match. The times check is called at the end of an expect expression to
-validate that an expected dependency function was called the expected
-number of times.
+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)
- Source +

validate-counts

@@ -430,7 +432,7 @@ Usage: count checker for each dependency. - Source +
diff --git a/branch-master/monadic-io-streams-api.html b/branch-master/monadic-io-streams-api.html index 0f9809f9..8f3b2bb2 100644 --- a/branch-master/monadic-io-streams-api.html +++ b/branch-master/monadic-io-streams-api.html @@ -37,7 +37,7 @@ namespace. Namespaces
Other Versions @@ -116,7 +116,7 @@ monadic statement sequence.
Flush
- Source + Source


@@ -127,7 +127,7 @@ monadic statement sequence.
Print obj
- Source + Source


@@ -139,7 +139,7 @@ monadic statement sequence.
Print obj followed by a newline
- Source + Source


@@ -150,7 +150,7 @@ monadic statement sequence.
Read a single character
- Source + Source


@@ -161,7 +161,7 @@ monadic statement sequence.
Read a single line
- Source + Source


@@ -172,7 +172,7 @@ monadic statement sequence.
Read all lines and return them in a vector
- Source + Source


@@ -183,7 +183,7 @@ monadic statement sequence.
Skip n characters
- Source + Source


@@ -203,7 +203,7 @@ streams. Single-stream monadic I/O statements must be wrapped with clojure.contrib.monads/with-state-field. - Source + Source


@@ -216,7 +216,7 @@ on it, and close the reader. reader-spec can be any object accepted by clojure.java.io/reader. - Source + Source


@@ -229,7 +229,7 @@ on it, and close the writer. writer-spec can be any object accepted by clojure.java.io/writer. - Source + Source


@@ -240,7 +240,7 @@ by clojure.java.io/writer.
Write text (a string)
- Source + Source
diff --git a/branch-master/monads-api.html b/branch-master/monads-api.html index 15498fde..9da8f87c 100644 --- a/branch-master/monads-api.html +++ b/branch-master/monads-api.html @@ -37,7 +37,7 @@ namespace. Namespaces
Other Versions @@ -178,7 +178,7 @@ return a continuation (which becomes the return value of call-cc), or call the passed-in current continuation to terminate. - Source + Source


@@ -190,7 +190,7 @@ values are functions that are called with a single argument representing the continuation of the computation, to which they pass their result. - Source + Source


@@ -204,7 +204,7 @@ are written like bindings to the monad operations m-bind and m-result (required) and m-zero and m-plus (optional). - Source + Source


@@ -217,7 +217,7 @@ m-result (required) and m-zero and m-plus (optional). a with-monad block. - Source + Source


@@ -238,7 +238,7 @@ are given as a vector as for the use in let, establishes additional bindings that can be used in the following steps. - Source + Source


@@ -250,7 +250,7 @@ bindings that can be used in the following steps. modify it. - Source + Source


@@ -262,7 +262,7 @@ modify it. returns the value corresponding to the given key. The state is not modified. - Source + Source


@@ -274,7 +274,7 @@ at all. It is useful for testing, for combination with monad transformers, and for code that is parameterized with a monad. - Source + Source


@@ -287,7 +287,7 @@ step as its argument. (m-chain (step1 step2)) is equivalent to (fn [x] (domonad [r1 (step1 x) r2 (step2 r1)] r2)). - Source + Source


@@ -297,7 +297,7 @@ step as its argument. (m-chain (step1 step2)) is equivalent to
Bind the monadic value m to the function returning (f x) for argument x
- Source + Source


@@ -308,7 +308,7 @@ step as its argument. (m-chain (step1 step2)) is equivalent to monadic value. - Source + Source


@@ -320,7 +320,7 @@ monadic value. monadic arguments returning a monadic value. - Source + Source


@@ -331,7 +331,7 @@ monadic arguments returning a monadic value. f onto the values xs. f must return a monadic value. - Source + Source


@@ -342,7 +342,7 @@ f onto the values xs. f must return a monadic value. with initial value (m-result val). - Source + Source


@@ -353,7 +353,7 @@ with initial value (m-result val). basic values contained in them. - Source + Source


@@ -365,7 +365,7 @@ monadic computation (f x). Return (m-result x) for the first x for which (p x) is true. - Source + Source


@@ -377,7 +377,7 @@ x for which (p x) is true. (m-result nil). - Source + Source


@@ -389,7 +389,7 @@ x for which (p x) is true. (m-result nil). - Source + Source


@@ -401,7 +401,7 @@ represented by nil, any other value is considered valid. As soon as a step returns nil, the whole computation will yield nil as well. - Source + Source


@@ -420,7 +420,7 @@ if the base monad m has a definition for m-plus, and :m-plus-from-transformer otherwise. - Source + Source


@@ -433,7 +433,7 @@ are written like bindings to the monad operations m-bind and m-result (required) and m-zero and m-plus (optional). - Source + Source


@@ -446,7 +446,7 @@ monad. The argument which-m-plus chooses if m-zero and m-plus are taken from the base monad or from the transformer. - Source + Source


@@ -457,7 +457,7 @@ from the base monad or from the transformer.
Execute the computation c in the cont monad and return its result.
- Source + Source


@@ -469,7 +469,7 @@ that can yield multiple values. Any object implementing the seq protocol can be used as a monadic value. - Source + Source


@@ -487,7 +487,7 @@ if the base monad m has a definition for m-plus, and :m-plus-from-transformer otherwise. - Source + Source


@@ -498,7 +498,7 @@ if the base monad m has a definition for m-plus, and but returning sets of results instead of sequences of results. - Source + Source


@@ -510,7 +510,7 @@ but returning sets of results instead of sequences of results. returns the previous state. - Source + Source


@@ -522,7 +522,7 @@ returns the previous state. replaces the value associated with key by val. The old value is returned. - Source + Source


@@ -533,7 +533,7 @@ replaces the value associated with key by val. The old value is returned. structure (fn [old-state] [result new-state]). - Source + Source


@@ -545,7 +545,7 @@ structure (fn [old-state] [result new-state]). replaces recursion by a loop. - Source + Source


@@ -557,7 +557,7 @@ replaces recursion by a loop. computations that have the base monad type as their result. - Source + Source


@@ -569,7 +569,7 @@ computations that have the base monad type as their result. result of f applied to the current state and that returns the old state. - Source + Source


@@ -582,7 +582,7 @@ replaces the value associated with the given key by the return value of f applied to the old value. The old value is returned. - Source + Source


@@ -595,7 +595,7 @@ monad operations by the functions associated with these keywords in the monad definition given by name. - Source + Source


@@ -609,7 +609,7 @@ the map entry corresponding to key. The map entry is updated with the new state returned by statement. - Source + Source


@@ -623,7 +623,7 @@ accumulators from clojure.contrib.accumulators can be used for storing the log data. Its empty value is passed as a parameter. - Source + Source
diff --git a/branch-master/ns-utils-api.html b/branch-master/ns-utils-api.html index 7c4a6ee1..020565c9 100644 --- a/branch-master/ns-utils-api.html +++ b/branch-master/ns-utils-api.html @@ -37,7 +37,7 @@ namespace. Namespaces
Other Versions @@ -122,7 +122,7 @@ docs prints documentation for the public vars in a
Prints a sorted directory of public vars in a namespace
- Source + Source


@@ -133,7 +133,7 @@ docs prints documentation for the public vars in a
Prints documentation for the public vars in a namespace
- Source + Source


@@ -145,7 +145,7 @@ docs prints documentation for the public vars in a namespace does not exist - Source + Source


@@ -159,7 +159,7 @@ binding, and metadata as the original except that their :ns metadata value is this namespace. - Source + Source


@@ -171,7 +171,7 @@ value is this namespace. a namespace - Source + Source


@@ -182,7 +182,7 @@ a namespace
Prints a sorted directory of public vars in a namespace
- Source + Source


@@ -193,7 +193,7 @@ a namespace
Prints documentation for the public vars in a namespace
- Source + Source


@@ -205,7 +205,7 @@ a namespace a namespace - Source + Source
diff --git a/branch-master/pprint-api.html b/branch-master/pprint-api.html deleted file mode 100644 index 338cee50..00000000 --- a/branch-master/pprint-api.html +++ /dev/null @@ -1,570 +0,0 @@ - - - pprint - clojure-contrib next API documentation - - - - - - - - - - - - - -
- - -
-
-
-
- -

API for pprint - - clojure-contrib next (in development) -

-by Tom Faulhaber
-
Usage: -
-(ns your-namespace
-  (:require clojure.contrib.pprint))
-
-

Overview

-
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.
- -Deprecated since clojure-contrib version 1.2
-
-Related documentation: - -
A Common Lisp-compatible Format Function -
-
A Pretty Printer for Clojure -

-

Public Variables and Functions

-
-
-
-

*code-dispatch*

- multimethod
-
Usage: (*code-dispatch* object)
-
-
The pretty print dispatch function for pretty printing Clojure code.
- - - -
-
-
-

*print-base*

- var
-

-  
The base to use for printing integers and rationals.
- - - Source -
-
-
-

*print-circle*

- var
-

-  
Mark circular structures (N.B. This is not yet used)
- - - Source -
-
-
-

*print-lines*

- var
-

-  
Maximum number of lines to print in a pretty print instance (N.B. This is not yet used)
- - - Source -
-
-
-

*print-miser-width*

- var
-

-  
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.
- - - Source -
-
-
-

*print-pprint-dispatch*

- var
-

-  
The pretty print dispatch function. Use with-pprint-dispatch or set-pprint-dispatch
-to modify.
- - - Source -
-
-
-

*print-pretty*

- var
-

-  
Bind to true if you want write to use pretty printing
- - - Source -
-
-
-

*print-radix*

- var
-

-  
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* 
- - - Source -
-
-
-

*print-right-margin*

- var
-

-  
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.
- - - Source -
-
-
-

*print-shared*

- var
-

-  
Mark repeated structures rather than repeat them (N.B. This is not yet used)
- - - Source -
-
-
-

*print-suppress-namespaces*

- var
-

-  
Don't print namespaces with symbols. This is particularly useful when 
-pretty printing the results of macro expansions
- - - Source -
-
-
-

*simple-dispatch*

- multimethod
-
Usage: (*simple-dispatch* object)
-
-
The pretty print dispatch function for simple data structure format.
- - - -
-
-
-

cl-format

- function
-
Usage: (cl-format writer format-in & args)
-
-
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:
-http://www.cs.cmu.edu/afs/cs.cmu.edu/project/ai-repository/ai/html/cltl/clm/node200.html#SECTION002633000000000000000) 
-and in the Common Lisp HyperSpec at 
-http://www.lispworks.com/documentation/HyperSpec/Body/22_c.htm
- - - Source -
-
-
-

compile-format

- function
-
Usage: (compile-format format-str)
-
-
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
- - - Source -
-
-
-

formatter

- macro
-
Usage: (formatter format-in)
-
-
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.
- - - Source -
-
-
-

formatter-out

- macro
-
Usage: (formatter-out format-in)
-
-
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.
- - - Source -
-
-
-

fresh-line

- function
-
Usage: (fresh-line)
-
-
Make a newline if the Writer is not already at the beginning of the line.
-N.B. Only works on ColumnWriters right now.
- - - Source -
-
-
-

pp

- macro
-
Usage: (pp)
-
-
A convenience macro that pretty prints the last thing output. This is
-exactly equivalent to (pprint *1).
- - - Source -
-
-
-

pprint

- function
-
Usage: (pprint object)
-       (pprint object writer)
-
-
Pretty print object to the optional output writer. If the writer is not provided, 
-print the object to the currently bound value of *out*.
- - - Source -
-
-
-

pprint-indent

- function
-
Usage: (pprint-indent relative-to n)
-
-
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.
- - - Source -
-
-
-

pprint-logical-block

- macro
-
Usage: (pprint-logical-block options* body)
-
-
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.
- - - Source -
-
-
-

pprint-newline

- function
-
Usage: (pprint-newline kind)
-
-
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.
- - - Source -
-
-
-

pprint-tab

- function
-
Usage: (pprint-tab kind colnum colinc)
-
-
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.
- - - Source -
-
-
-

set-pprint-dispatch

- function
-
Usage: (set-pprint-dispatch function)
-
-
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.
- - - Source -
-
-
-

use-method

- function
-
Usage: (use-method multifn dispatch-val func)
-
-
Installs a function as a new method of multimethod associated with dispatch-value. 
- - - Source -
-
-
-

with-pprint-dispatch

- macro
-
Usage: (with-pprint-dispatch function & body)
-
-
Execute body with the pretty print dispatch function bound to function.
- - - Source -
-
-
-

write

- function
-
Usage: (write object & kw-args)
-
-
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
- - - Source -
-
-
-

write-out

- function
-
Usage: (write-out object)
-
-
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. 
- - - Source -
- - -
-
-
-
-
- -
-
Logo & site design by Tom Hickey.
- Clojure auto-documentation system by Tom Faulhaber.
-
- - - - \ No newline at end of file diff --git a/branch-master/priority-map-api.html b/branch-master/priority-map-api.html index 6f3ceedd..69f90d23 100644 --- a/branch-master/priority-map-api.html +++ b/branch-master/priority-map-api.html @@ -37,7 +37,7 @@ namespace. Namespaces
Other Versions @@ -92,7 +92,7 @@ namespace. Returns a new priority map with supplied mappings - Source + Source


@@ -104,7 +104,7 @@ Returns a new priority map with supplied mappings Returns a new priority map with supplied mappings - Source + Source
diff --git a/branch-master/probabilities.finite-distributions-api.html b/branch-master/probabilities.finite-distributions-api.html index 779403ed..5e938a8c 100644 --- a/branch-master/probabilities.finite-distributions-api.html +++ b/branch-master/probabilities.finite-distributions-api.html @@ -37,7 +37,7 @@ namespace. Namespaces
Other Versions @@ -111,7 +111,7 @@ distributions.
Returns a distribution in which the single value v has probability 1.
- Source + Source


@@ -125,7 +125,7 @@ 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. - Source + Source


@@ -135,7 +135,7 @@ pairs. In the last pair, the probability can be given by the keyword
Variant of the dist monad that can handle undefined values.
- Source + Source


@@ -147,7 +147,7 @@ pairs. In the last pair, the probability can be given by the keyword the predicate pred. - Source + Source


@@ -159,7 +159,7 @@ probability distribution for the possible values. A distribution is represented by a map from values to probabilities. - Source + Source


@@ -170,7 +170,7 @@ represented by a map from values to probabilities.
Returns the distribution of (f x y) with x from dist1 and y from dist2.
- Source + Source


@@ -182,7 +182,7 @@ represented by a map from values to probabilities. has a probability proportional to (f x) - Source + Source


@@ -197,7 +197,7 @@ it is used for normalization. Otherwise, the sum is calculated explicitly. The :total key is removed from the resulting distribution. - Source + Source


@@ -210,7 +210,7 @@ distribution dist, i.e. the sum of the probabilities of the values that satisfy pred. - Source + Source


@@ -222,7 +222,7 @@ that satisfy pred. has the same probability. - Source + Source


@@ -234,7 +234,7 @@ has the same probability. probabilities proportional to 1/k^s. - Source + Source
diff --git a/branch-master/probabilities.monte-carlo-api.html b/branch-master/probabilities.monte-carlo-api.html index c8eb5221..8813ef28 100644 --- a/branch-master/probabilities.monte-carlo-api.html +++ b/branch-master/probabilities.monte-carlo-api.html @@ -37,7 +37,7 @@ namespace. Namespaces
Other Versions @@ -130,7 +130,7 @@ composed using operations defined in clojure.contrib.monads. to probabilities. The sum of probabilities must be one. - Source + Source


@@ -142,7 +142,7 @@ to probabilities. The sum of probabilities must be one. into a sequence of exponential random numbers with parameter lambda. - Source + Source


@@ -155,7 +155,7 @@ into a sequence of lognormal random numbers with mean mu and standard deviation sigma. - Source + Source


@@ -167,7 +167,7 @@ deviation sigma. n-sphere of radius r. - Source + Source


@@ -180,7 +180,7 @@ into a sequence of normal random numbers with mean mu and standard deviation sigma. - Source + Source


@@ -193,7 +193,7 @@ into a sequence of normal random numbers with mean mu and standard deviation sigma. - Source + Source


@@ -205,7 +205,7 @@ deviation sigma. random number stream with uniform distribution in [0, 1). - Source + Source


@@ -217,7 +217,7 @@ random number stream with uniform distribution in [0, 1). dist that do not satisfy predicate p. - Source + Source


@@ -229,7 +229,7 @@ dist that do not satisfy predicate p. distribution dist - Source + Source


@@ -241,7 +241,7 @@ distribution dist distribution dist - Source + Source


@@ -253,7 +253,7 @@ distribution dist the mean and the variance) over n samples from the distribution dist - Source + Source


@@ -266,7 +266,7 @@ the mean and the variance) over n samples from the distribution dist distribution dist. - Source + Source


@@ -278,7 +278,7 @@ distribution dist. distribution dist. - Source + Source
diff --git a/branch-master/probabilities.random-numbers-api.html b/branch-master/probabilities.random-numbers-api.html index 5bd821da..7a41cac6 100644 --- a/branch-master/probabilities.random-numbers-api.html +++ b/branch-master/probabilities.random-numbers-api.html @@ -37,7 +37,7 @@ namespace. Namespaces
Other Versions @@ -100,7 +100,7 @@ linear congruential generator.
Create a linear congruential generator
- Source + Source


@@ -112,7 +112,7 @@ generator uses an internal mutable state. The state is thus not stored in the stream object and cannot be restored. - Source + Source
diff --git a/branch-master/profile-api.html b/branch-master/profile-api.html index 77cbbd24..76527162 100644 --- a/branch-master/profile-api.html +++ b/branch-master/profile-api.html @@ -37,7 +37,7 @@ namespace. Namespaces
Other Versions @@ -119,7 +119,7 @@ under the JVM. See the function documentation for more details. profiling code. - + Source


@@ -130,7 +130,7 @@ profiling code.
Prints a table of the results returned by summarize.
- + Source


@@ -144,7 +144,7 @@ Returns the result of body. Profile timings will be stored in Timings are measured with System/nanoTime. - + Source


@@ -156,7 +156,7 @@ Timings are measured with System/nanoTime. results. Returns nil. - + Source


@@ -176,7 +176,7 @@ section was executed. :sum is the total amount of time spent in the profiled section, in nanoseconds. - + Source


@@ -190,7 +190,7 @@ names (keywords), and values are lists of elapsed time, in nanoseconds. - + Source
diff --git a/branch-master/properties-api.html b/branch-master/properties-api.html index 2a619fdd..a063969f 100644 --- a/branch-master/properties-api.html +++ b/branch-master/properties-api.html @@ -37,7 +37,7 @@ namespace. Namespaces
Other Versions diff --git a/branch-master/prxml-api.html b/branch-master/prxml-api.html index 240f312b..1fd6178f 100644 --- a/branch-master/prxml-api.html +++ b/branch-master/prxml-api.html @@ -37,7 +37,7 @@ namespace. Namespaces
Other Versions @@ -57,13 +57,7 @@ namespace.

Table of Contents

@@ -84,60 +78,7 @@ for details.

Public Variables and Functions

-
-
-
-

*html-compatible*

- var
-

-  
If true, empty tags will have a space before the closing />
- - - -
-
-
-

*prxml-indent*

- var
-

-  
The number of spaces to indent sub-tags.  nil for no indent
-and no extra line-breaks.
- - - -
-
-
-

prxml

- function
-
Usage: (prxml & args)
-
-
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"?>
- - - -
diff --git a/branch-master/reflect-api.html b/branch-master/reflect-api.html index 374e51c3..048437ad 100644 --- a/branch-master/reflect-api.html +++ b/branch-master/reflect-api.html @@ -37,7 +37,7 @@ namespace. Namespaces
Other Versions @@ -98,7 +98,7 @@ obj is nil for static methods, the instance object otherwise. The method-name is given a symbol or a keyword (something Named). - Source + Source


@@ -110,7 +110,7 @@ The method-name is given a symbol or a keyword (something Named). keyword. - Source + Source
diff --git a/branch-master/repl-ln-api.html b/branch-master/repl-ln-api.html index f2d9a208..e729dca9 100644 --- a/branch-master/repl-ln-api.html +++ b/branch-master/repl-ln-api.html @@ -37,7 +37,7 @@ namespace. Namespaces
Other Versions @@ -102,7 +102,7 @@ input stream.
Prints info about the current repl
- Source + Source


@@ -126,7 +126,7 @@ for clojure.main/repl with the following change and additions: default: the prompt-fmt of the parent repl, or "%S:%L %N=> " - Source + Source


@@ -137,7 +137,7 @@ for clojure.main/repl with the following change and additions:
Returns a map of info about the current repl
- Source + Source


@@ -148,7 +148,7 @@ for clojure.main/repl with the following change and additions:
Returns the current repl prompt based on this repl's prompt-fmt
- Source + Source


@@ -167,7 +167,7 @@ codes in the name to make the corresponding dynamic values part of it: With no arguments, resets the repl name to its default: "repl-%S" - Source + Source


@@ -188,7 +188,7 @@ the corresponding dynamic values part of it: With no arguments, resets the repl pompt to its default: "%S:%L %N=> " - Source + Source


@@ -203,7 +203,7 @@ System/out, and System/err using UTF-8 encoding. Also supports all the options provided by clojure.contrib.repl-ln/repl. - Source + Source
diff --git a/branch-master/repl-utils-api.html b/branch-master/repl-utils-api.html index b89974e9..8541352a 100644 --- a/branch-master/repl-utils-api.html +++ b/branch-master/repl-utils-api.html @@ -37,7 +37,7 @@ namespace. Namespaces
Other Versions diff --git a/branch-master/seq-api.html b/branch-master/seq-api.html index 902421d6..2905dbb8 100644 --- a/branch-master/seq-api.html +++ b/branch-master/seq-api.html @@ -37,7 +37,7 @@ namespace. Namespaces
Other Versions @@ -128,7 +128,7 @@ filler-func has pushed onto the queue, blocking if needed until each next element becomes available. filler-func's return value is ignored. - Source + Source


@@ -141,7 +141,7 @@ Consumes sequences up to the first match, will consume the entire sequence and return nil if no match is found. - Source + Source


@@ -209,7 +209,7 @@ from 's' and indexes count up from zero. (indexed '(a b c d)) => ([0 a] [1 b] [2 c] [3 d]) - Source + Source


@@ -248,7 +248,7 @@ a new value. Returns a lazy seq of lazy seqs. is true for items in coll. - Source + Source


@@ -272,7 +272,7 @@ Return a random element of this seq binding-name, allowing for recursive expressions. - Source + Source


@@ -284,7 +284,7 @@ binding-name, allowing for recursive expressions. binding-name, allowing for recursive expressions. - Source + Source


@@ -309,7 +309,7 @@ per reduce) of coll by f, starting with init.
Returns a lazy seq of all rotations of a seq
- Source + Source


@@ -321,7 +321,7 @@ per reduce) of coll by f, starting with init. [ (filter f s), (filter (complement f) s) ] - Source + Source


diff --git a/branch-master/seq-utils-api.html b/branch-master/seq-utils-api.html deleted file mode 100644 index 55d2bca9..00000000 --- a/branch-master/seq-utils-api.html +++ /dev/null @@ -1,367 +0,0 @@ - - - seq-utils - clojure-contrib next API documentation - - - - - - - - - - - - - -
- - -
-
-
-
- -

API for seq-utils - - clojure-contrib next (in development) -

-by Stuart Sierra (and others)
-
Usage: -
-(ns your-namespace
-  (:require clojure.contrib.seq-utils))
-
-

Overview

-
Sequence utilities for Clojure
- -Deprecated since clojure-contrib version 1.2
-
-

Public Variables and Functions

-
-
-
-

fill-queue

- function
-
Usage: (fill-queue filler-func & optseq)
-
-
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.
- - - Source -
-
-
-

find-first

- function
-
Usage: (find-first pred coll)
-
-
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.
- - - Source -
-
-
-

flatten

- function
-
Usage: (flatten x)
-
-
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.
- - Deprecated since clojure-contrib version 1.2
- Source -
-
-
-

frequencies

- function
-
Usage: (frequencies coll)
-
-
DEPRECATED. Prefer clojure.core version.
-Returns a map from distinct items in coll to the number of times
-they appear.
- - Deprecated since clojure-contrib version 1.2
- Source -
-
-
-

group-by

- function
-
Usage: (group-by f coll)
-
-
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.
- - Deprecated since clojure-contrib version 1.2
- Source -
-
-
-

includes?

- function
-
Usage: (includes? coll x)
-
-
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.
- - Deprecated since clojure-contrib version 1.2
- Source -
-
-
-

indexed

- function
-
Usage: (indexed s)
-
-
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])
- - - Source -
-
-
-

partition-all

- function
-
Usage: (partition-all n coll)
-       (partition-all n step coll)
-
-
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.
- - Deprecated since clojure-contrib version 1.2
- Source -
-
-
-

partition-by

- function
-
Usage: (partition-by f coll)
-
-
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.
- - Deprecated since clojure-contrib version 1.2
- Source -
-
-
-

positions

- function
-
Usage: (positions pred coll)
-
-
Returns a lazy sequence containing the positions at which pred
-is true for items in coll.
- - - Source -
-
-
-

rand-elt

- function
-
Usage: (rand-elt s)
-
-
DEPRECATED. Prefer clojure.core/rand-nth.
-Return a random element of this seq
- - Deprecated since clojure-contrib version 1.2
- Source -
-
-
-

rec-cat

- macro
-
Usage: (rec-cat binding-name & exprs)
-
-
Similar to lazy-cat but binds the resulting sequence to the supplied 
-binding-name, allowing for recursive expressions.
- - - Source -
-
-
-

rec-seq

- macro
-
Usage: (rec-seq binding-name & body)
-
-
Similar to lazy-seq but binds the resulting seq to the supplied 
-binding-name, allowing for recursive expressions.
- - - Source -
-
-
-

reductions

- function
-
Usage: (reductions f coll)
-       (reductions f init coll)
-
-
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.
- - Deprecated since clojure-contrib version 1.2
- Source -
-
-
-

rotations

- function
-
Usage: (rotations x)
-
-
Returns a lazy seq of all rotations of a seq
- - - Source -
-
-
-

separate

- function
-
Usage: (separate f s)
-
-
Returns a vector:
-[ (filter f s), (filter (complement f) s) ]
- - - Source -
-
-
-

seq-on

- multimethod
-
Usage: (seq-on s)
-
-
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.
- - - Source -
-
-
-

shuffle

- function
-
Usage: (shuffle coll)
-
-
DEPRECATED. Prefer clojure.core version.
-Return a random permutation of coll
- - Deprecated since clojure-contrib version 1.2
- Source -
- - -
-
-
-
-
- -
-
Logo & site design by Tom Hickey.
- Clojure auto-documentation system by Tom Faulhaber.
-
- - - - \ No newline at end of file diff --git a/branch-master/server-socket-api.html b/branch-master/server-socket-api.html index ac6d7f2a..878d2143 100644 --- a/branch-master/server-socket-api.html +++ b/branch-master/server-socket-api.html @@ -37,7 +37,7 @@ namespace. Namespaces
Other Versions @@ -93,7 +93,7 @@ namespace.
create a repl on a socket
- Source + Source


@@ -112,7 +112,7 @@ Optional arguments support specifying a listen backlog and binding to a specific endpoint. - Source + Source
diff --git a/branch-master/set-api.html b/branch-master/set-api.html index 26990085..5f7b3ed4 100644 --- a/branch-master/set-api.html +++ b/branch-master/set-api.html @@ -37,7 +37,7 @@ namespace. Namespaces
Other Versions @@ -95,7 +95,7 @@ namespace.
Is s1 a proper subset of s2?
- Source + Source


@@ -106,7 +106,7 @@ namespace.
Is s1 a proper superset of s2?
- Source + Source


diff --git a/branch-master/shell-api.html b/branch-master/shell-api.html deleted file mode 100644 index 334a74fb..00000000 --- a/branch-master/shell-api.html +++ /dev/null @@ -1,137 +0,0 @@ - - - shell - clojure-contrib next API documentation - - - - - - - - - - - - - -
- - -
-
-
-
- -

API for shell - - clojure-contrib next (in development) -

-by Chris Houser
-
Usage: -
-(ns your-namespace
-  (:require clojure.contrib.shell))
-
-

Overview

-
Conveniently launch a sub-process providing to its stdin and
-collecting its stdout
- -Deprecated since clojure-contrib version 1.2
-
-

Public Variables and Functions

-
-
-
-

sh

- function
-
Usage: (sh & args)
-
-
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.
- - - Source -
- - -
-
-
-
-
- -
-
Logo & site design by Tom Hickey.
- Clojure auto-documentation system by Tom Faulhaber.
-
- - - - \ 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 d7649892..00000000 --- a/branch-master/shell-out-api.html +++ /dev/null @@ -1,137 +0,0 @@ - - - shell-out - clojure-contrib next API documentation - - - - - - - - - - - - - -
- - -
-
-
-
- -

API for shell-out - - clojure-contrib next (in development) -

-by Chris Houser
-
Usage: -
-(ns your-namespace
-  (:require clojure.contrib.shell-out))
-
-

Overview

-
Conveniently launch a sub-process providing to its stdin and
-collecting its stdout
- -Deprecated since clojure-contrib version 1.2
-
-

Public Variables and Functions

-
-
-
-

sh

- function
-
Usage: (sh & args)
-
-
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.
- - - Source -
- - -
-
-
-
-
- -
-
Logo & site design by Tom Hickey.
- Clojure auto-documentation system by Tom Faulhaber.
-
- - - - \ No newline at end of file diff --git a/branch-master/singleton-api.html b/branch-master/singleton-api.html index 90471aa1..ed98ef42 100644 --- a/branch-master/singleton-api.html +++ b/branch-master/singleton-api.html @@ -37,7 +37,7 @@ namespace. Namespaces
Other Versions @@ -97,7 +97,7 @@ Warning: global singletons are often unsafe in multi-threaded code. Consider per-thread-singleton instead. - Source + Source


@@ -117,7 +117,7 @@ per-thread-singleton. See http://bugs.sun.com/bugdatabase/view_bug.do?bug_id=5025230 - Source + Source
diff --git a/branch-master/sql-api.html b/branch-master/sql-api.html index 4cab275d..1581591f 100644 --- a/branch-master/sql-api.html +++ b/branch-master/sql-api.html @@ -37,7 +37,7 @@ namespace. Namespaces
Other Versions @@ -151,7 +151,7 @@ namespace.
Returns the current database connection (or throws if there is none)
- Source + Source


@@ -166,7 +166,7 @@ constraint: a vector containing words that express the constraint. All words used to describe the table may be supplied as strings or keywords. - Source + Source


@@ -179,7 +179,7 @@ providing the (optionally parameterized) selection criteria followed by values for any parameters. - Source + Source


@@ -190,7 +190,7 @@ values for any parameters.
Executes SQL commands on the open database connection.
- Source + Source


@@ -203,7 +203,7 @@ open database connection. Each param-group is a seq of values for all of the parameters. - Source + Source


@@ -215,7 +215,7 @@ the parameters. or keyword - Source + Source


@@ -226,7 +226,7 @@ or keyword
Returns the current database connection (or nil if there is none)
- Source + Source


@@ -238,7 +238,7 @@ or keyword keywords (identifying columns) to values. - Source + Source


@@ -250,7 +250,7 @@ keywords (identifying columns) to values. each of the table's columns in order. - Source + Source


@@ -265,7 +265,7 @@ order. When inserting complete rows (all columns), consider using insert-rows instead. - Source + Source


@@ -277,7 +277,7 @@ insert-rows instead. commit when complete - Source + Source


@@ -289,7 +289,7 @@ commit when complete commit when complete - Source + Source


@@ -306,7 +306,7 @@ transaction, the entire transaction will be rolled back rather than committed when complete. - Source + Source


@@ -321,7 +321,7 @@ criteria followed by values for any parameters. record is a map from strings or keywords (identifying columns) to updated values. - Source + Source


@@ -335,7 +335,7 @@ criteria followed by values for any parameters. record is a map from strings or keywords (identifying columns) to updated values. - Source + Source


@@ -367,7 +367,7 @@ JNDI: :environment (optional) a java.util.Map - Source + Source


@@ -381,7 +381,7 @@ the (optionally parameterized) SQL query followed by values for any parameters. - Source + Source

sql.internal


@@ -397,7 +397,7 @@ parameters.
   
Returns the current database connection (or throws if there is none)
- Source + Source

find-connection*

@@ -407,7 +407,7 @@ parameters.
Returns the current database connection (or nil if there is none)
- Source + Source

get-connection

@@ -478,7 +478,7 @@ JNDI:
Accessor for the rollback flag on the current connection
- Source + Source

throw-rollback

diff --git a/branch-master/str-utils-api.html b/branch-master/str-utils-api.html deleted file mode 100644 index 53e518d2..00000000 --- a/branch-master/str-utils-api.html +++ /dev/null @@ -1,212 +0,0 @@ - - - str-utils - clojure-contrib next API documentation - - - - - - - - - - - - - -
- - -
-
-
-
- -

API for str-utils - - clojure-contrib next (in development) -

-by Stuart Sierra
-
Usage: -
-(ns your-namespace
-  (:require clojure.contrib.str-utils))
-
-

Overview

-
String utilities for Clojure
- -Deprecated since clojure-contrib version 1.2
-
-

Public Variables and Functions

-
-
-
-

chomp

- function
-
Usage: (chomp s)
-
-
Removes all trailing newline \n or return \r characters from
-string.  Note: String.trim() is similar and faster.
- - - Source -
-
-
-

chop

- function
-
Usage: (chop s)
-
-
Removes the last character of string.
- - - Source -
-
-
-

re-gsub

- function
-
Usage: (re-gsub regex replacement string)
-
-
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.
-
- - - Source -
-
-
-

re-partition

- function
-
Usage: (re-partition re string)
-
-
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")
- - - Source -
-
-
-

re-split

- function
-
Usage: (re-split pattern string)
-       (re-split pattern string limit)
-
-
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'.
- - - Source -
-
-
-

re-sub

- function
-
Usage: (re-sub regex replacement string)
-
-
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.
-
- - - Source -
-
-
-

str-join

- function
-
Usage: (str-join separator sequence)
-
-
Returns a string of all elements in 'sequence', separated by
-'separator'.  Like Perl's 'join'.
- - - Source -
- - -
-
-
-
-
- -
-
Logo & site design by Tom Hickey.
- Clojure auto-documentation system by Tom Faulhaber.
-
- - - - \ 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 da7c17b2..00000000 --- a/branch-master/str-utils2-api.html +++ /dev/null @@ -1,578 +0,0 @@ - - - str-utils2 - clojure-contrib next API documentation - - - - - - - - - - - - - -
- - -
-
-
-
- -

API for str-utils2 - - clojure-contrib next (in development) -

-by Stuart Sierra
-
Usage: -
-(ns your-namespace
-  (:require clojure.contrib.str-utils2))
-
-

Overview

-
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
-http://github.com/francoisdevlin/devlinsf-clojure-utils/
- -Deprecated since clojure-contrib version 1.2
-
-

Public Variables and Functions

-
-
-
-

blank?

- function
-
Usage: (blank? s)
-
-
True if s is nil, empty, or contains only whitespace.
- - - Source -
-
-
-

butlast

- function
-
Usage: (butlast s n)
-
-
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 ->
- - - Source -
-
-
-

capitalize

- function
-
Usage: (capitalize s)
-
-
Converts first character of the string to upper-case, all other
-characters to lower-case.
- - - Source -
-
-
-

chomp

- function
-
Usage: (chomp s)
-
-
Removes all trailing newline \n or return \r characters from
-string.  Note: String.trim() is similar and faster.
- - - Source -
-
-
-

chop

- function
-
Usage: (chop s)
-
-
Removes the last character of string, does nothing on a zero-length
-string.
- - - Source -
-
-
-

codepoints

- function
-
Usage: (codepoints s)
-
-
Returns a sequence of integer Unicode code points in s.  Handles
-Unicode supplementary characters (above U+FFFF) correctly.
- - - Source -
-
-
-

contains?

- function
-
Usage: (contains? s substring)
-
-
True if s contains the substring.
- - - Source -
-
-
-

dochars

- macro
-
Usage: (dochars bindings & body)
-
-
bindings => [name string]
-
-Repeatedly executes body, with name bound to each character in
-string.  Does NOT handle Unicode supplementary characters (above
-U+FFFF).
- - - Source -
-
-
-

docodepoints

- macro
-
Usage: (docodepoints bindings & body)
-
-
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.
- - - Source -
-
-
-

drop

- function
-
Usage: (drop s n)
-
-
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 ->
- - - Source -
-
-
-

escape

- function
-
Usage: (escape s cmap)
-
-
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.
- - - Source -
-
-
-

get

- function
-
Usage: (get s i)
-
-
Gets the i'th character in string.
- - - Source -
-
-
-

grep

- function
-
Usage: (grep re coll)
-
-
Filters elements of coll by a regular expression.  The String
-representation (with str) of each element is tested with re-find.
- - - Source -
-
-
-

join

- function
-
Usage: (join separator coll)
-
-
Returns a string of all elements in coll, separated by
-separator.  Like Perl's join.
- - - Source -
-
-
-

lower-case

- function
-
Usage: (lower-case s)
-
-
Converts string to all lower-case.
- - - Source -
-
-
-

ltrim

- function
-
Usage: (ltrim s)
-
-
Removes whitespace from the left side of string.
- - - Source -
-
-
-

map-str

- function
-
Usage: (map-str f coll)
-
-
Apply f to each element of coll, concatenate all results into a
-String.
- - - Source -
-
-
-

partial

- function
-
Usage: (partial f & args)
-
-
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))
- - - Source -
-
-
-

partition

- function
-
Usage: (partition s re)
-
-
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")
- - - Source -
-
-
-

repeat

- function
-
Usage: (repeat s n)
-
-
Returns a new String containing s repeated n times.
- - - Source -
-
-
-

replace

- multimethod
-
Usage: (replace string pattern replacement)
-
-
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.)
- - - Source -
-
-
-

replace-first

- multimethod
-
Usage: (replace-first s pattern replacement)
-
-
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
- - - Source -
-
-
-

reverse

- function
-
Usage: (reverse s)
-
-
Returns s with its characters reversed.
- - - Source -
-
-
-

rtrim

- function
-
Usage: (rtrim s)
-
-
Removes whitespace from the right side of string.
- - - Source -
-
-
-

split

- function
-
Usage: (split s re)
-       (split s re limit)
-
-
Splits string on a regular expression.  Optional argument limit is
-the maximum number of splits.
- - - Source -
-
-
-

split-lines

- function
-
Usage: (split-lines s)
-
-
Splits s on \n or \r\n.
- - - Source -
-
-
-

swap-case

- function
-
Usage: (swap-case s)
-
-
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.
- - - Source -
-
-
-

tail

- function
-
Usage: (tail s n)
-
-
Returns the last n characters of s.
- - - Source -
-
-
-

take

- function
-
Usage: (take s n)
-
-
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 ->
- - - Source -
-
-
-

trim

- function
-
Usage: (trim s)
-
-
Removes whitespace from both ends of string.
- - - Source -
-
-
-

upper-case

- function
-
Usage: (upper-case s)
-
-
Converts string to all upper-case.
- - - Source -
- - -
-
-
-
-
- -
-
Logo & site design by Tom Hickey.
- Clojure auto-documentation system by Tom Faulhaber.
-
- - - - \ No newline at end of file diff --git a/branch-master/stream-utils-api.html b/branch-master/stream-utils-api.html index 7834b32d..16439d2f 100644 --- a/branch-master/stream-utils-api.html +++ b/branch-master/stream-utils-api.html @@ -37,7 +37,7 @@ namespace. Namespaces
Other Versions @@ -153,7 +153,7 @@ The non-stream arguments args and the stream arguments streams are given separately, with args being possibly empty. - Source + Source


@@ -167,7 +167,7 @@ a type-specific method for stream-next and derives type from stream-type. - Source + Source


@@ -180,7 +180,7 @@ transformer. When used inside of defst, the name of the stream argument can be used instead of its index n. - Source + Source


@@ -192,7 +192,7 @@ argument can be used instead of its index n. inside a stream transformer. - Source + Source


@@ -203,7 +203,7 @@ inside a stream transformer.
Return a stream containing all but the first n elements of stream.
- Source + Source


@@ -228,7 +228,7 @@ sequences. Flattening is not recursive, only one level of nesting will be removed. - Source + Source


@@ -239,7 +239,7 @@ will be removed. of any type handled by stream-next. - Source + Source


@@ -277,7 +277,7 @@ clojure.contrib.seq/seq-on and clojure.contrib.generic.collection/seq for streams. - Source + Source


@@ -288,7 +288,7 @@ clojure.contrib.generic.collection/seq for streams. add a derivation from this type. - Source + Source
diff --git a/branch-master/string-api.html b/branch-master/string-api.html index ef9a9136..e1c03139 100644 --- a/branch-master/string-api.html +++ b/branch-master/string-api.html @@ -37,7 +37,7 @@ namespace. Namespaces
Other Versions @@ -173,7 +173,7 @@ Example: (as-str {:foo :bar}) ;;=> "{:foo :bar}" - Source +


@@ -184,7 +184,7 @@ Example:
True if s is nil, empty, or contains only whitespace.
Deprecated since clojure-contrib version 1.2
- Source +


@@ -196,7 +196,7 @@ Example: if n is greater than the length of s. - Source +


@@ -208,7 +208,7 @@ if n is greater than the length of s. characters to lower-case. Deprecated since clojure-contrib version 1.2
- Source +


@@ -221,7 +221,7 @@ string. Note: String.trim() is similar and faster. Deprecated in 1.2. Use clojure.string/trim-newline Deprecated since clojure-contrib version 1.2
- Source +


@@ -233,7 +233,7 @@ Deprecated in 1.2. Use clojure.string/trim-newline string. - Source +


@@ -245,7 +245,7 @@ string. Unicode supplementary characters (above U+FFFF) correctly. - Source +


@@ -260,7 +260,7 @@ string. Does NOT handle Unicode supplementary characters (above U+FFFF). - Source +


@@ -275,7 +275,7 @@ of each Unicode character in the string. Handles Unicode supplementary characters (above U+FFFF) correctly. - Source +


@@ -287,7 +287,7 @@ supplementary characters (above U+FFFF) correctly. greater than the length of s. - Source +


@@ -300,7 +300,7 @@ character in s. If cmap returns nil, the original character is added to the output unchanged. Deprecated since clojure-contrib version 1.2
- Source +


@@ -311,7 +311,7 @@ added to the output unchanged.
Gets the i'th character in string.
Deprecated since clojure-contrib version 1.2
- Source +


@@ -323,7 +323,7 @@ added to the output unchanged. representation (with str) of each element is tested with re-find. - Source +


@@ -335,7 +335,7 @@ representation (with str) of each element is tested with re-find. separator. Like Perl's join. Deprecated since clojure-contrib version 1.2
- Source +


@@ -346,7 +346,7 @@ separator. Like Perl's join.
Converts string to all lower-case.
Deprecated since clojure-contrib version 1.2
- Source +


@@ -358,7 +358,7 @@ separator. Like Perl's join. Deprecated in 1.2. Use clojure.string/triml. Deprecated since clojure-contrib version 1.2
- Source +


@@ -370,7 +370,7 @@ Deprecated in 1.2. Use clojure.string/triml. String. - Source +


@@ -388,7 +388,7 @@ For example: (partition #"[a-z]+" "abc123def") returns: ("" "abc" "123" "def") - Source +


@@ -399,7 +399,7 @@ returns: ("" "abc" "123" "def")
Returns a new String containing s repeated n times.
- Source +


@@ -411,7 +411,7 @@ returns: ("" "abc" "123" "def") (f (re-groups the-match)). Deprecated since clojure-contrib version 1.2
- Source +


@@ -422,7 +422,7 @@ returns: ("" "abc" "123" "def")
Replaces all instances of character a with character b in s.
Deprecated since clojure-contrib version 1.2
- Source +


@@ -434,7 +434,7 @@ returns: ("" "abc" "123" "def") (f (re-groups the-match)). Deprecated since clojure-contrib version 1.2
- Source +


@@ -445,7 +445,7 @@ returns: ("" "abc" "123" "def")
Replace first match of re in s.
Deprecated since clojure-contrib version 1.2
- Source +


@@ -456,7 +456,7 @@ returns: ("" "abc" "123" "def")
Replace first occurance of substring a with b in s.
Deprecated since clojure-contrib version 1.2
- Source +


@@ -467,7 +467,7 @@ returns: ("" "abc" "123" "def")
Replaces all matches of re with replacement in s.
Deprecated since clojure-contrib version 1.2
- Source +


@@ -478,7 +478,7 @@ returns: ("" "abc" "123" "def")
Replaces all instances of substring a with b in s.
Deprecated since clojure-contrib version 1.2
- Source +


@@ -489,7 +489,7 @@ returns: ("" "abc" "123" "def")
Returns s with its characters reversed.
Deprecated since clojure-contrib version 1.2
- Source +


@@ -501,7 +501,7 @@ returns: ("" "abc" "123" "def") Deprecated in 1.2. Use clojure.string/trimr. Deprecated since clojure-contrib version 1.2
- Source +


@@ -514,7 +514,7 @@ Deprecated in 1.2. Use clojure.string/trimr. the maximum number of splits. Deprecated since clojure-contrib version 1.2
- Source +


@@ -525,7 +525,7 @@ the maximum number of splits.
Splits s on \n or \r\n.
Deprecated since clojure-contrib version 1.2
- Source +


@@ -536,7 +536,7 @@ the maximum number of splits.
True if s contains the substring.
- Source +


@@ -550,7 +550,7 @@ locale-sensitive String.toUpperCase() and String.toLowerCase() methods. - Source +


@@ -561,7 +561,7 @@ methods.
Returns the last n characters of s.
- Source +


@@ -572,7 +572,7 @@ methods.
Take first n characters from s, up to the length of s.
- Source +


@@ -583,7 +583,7 @@ methods.
Removes whitespace from both ends of string.
Deprecated since clojure-contrib version 1.2
- Source +


@@ -594,7 +594,7 @@ methods.
Converts string to all upper-case.
Deprecated since clojure-contrib version 1.2
- Source +
diff --git a/branch-master/strint-api.html b/branch-master/strint-api.html index 10f46777..44232e4a 100644 --- a/branch-master/strint-api.html +++ b/branch-master/strint-api.html @@ -37,7 +37,7 @@ namespace. Namespaces
Other Versions @@ -108,7 +108,7 @@ Note that quotes surrounding string literals within ~() forms must be escaped. - + Source
diff --git a/branch-master/swing-utils-api.html b/branch-master/swing-utils-api.html index 49f277ac..4ef4e511 100644 --- a/branch-master/swing-utils-api.html +++ b/branch-master/swing-utils-api.html @@ -37,7 +37,7 @@ namespace. Namespaces
Other Versions @@ -106,7 +106,7 @@ namespace.
Translation table for the make-action constructor.
- Source + Source


@@ -119,7 +119,7 @@ invoked with the event as its first argument followed by args. Returns the listener. - Source + Source


@@ -132,7 +132,7 @@ When a key is typed, f is invoked with the KeyEvent as its first argument followed by args. Returns the listener. - Source + Source


@@ -164,7 +164,7 @@ Either: immediately after scheduling the execution. - Source + Source


@@ -177,7 +177,7 @@ immediately after scheduling the execution. - :now => wait until the execution completes. - Source + Source


@@ -189,7 +189,7 @@ immediately after scheduling the execution. after the execution is complete. - Source + Source


@@ -204,7 +204,7 @@ Action properties. The :handler value is used in the actionPerformed method of the proxy to pass on the event. - Source + Source


@@ -217,7 +217,7 @@ items are described by a map as is detailed in the docstring of the add-menu-item function. - Source + Source


@@ -227,7 +227,7 @@ add-menu-item function.
An atom containing the dispatch set for the add-menu-item method.
- Source + Source
diff --git a/branch-master/test-complex-numbers-api.html b/branch-master/test-complex-numbers-api.html deleted file mode 100644 index 12adec64..00000000 --- a/branch-master/test-complex-numbers-api.html +++ /dev/null @@ -1,98 +0,0 @@ - - - test-complex-numbers - clojure-contrib next API documentation - - - - - - - - - - - - - -
- - -
-
-
-
- -

API for test-complex-numbers - - clojure-contrib next (in development) -

- -
Usage: -
-(ns your-namespace
-  (:require clojure.contrib.test-complex-numbers))
-
-

Overview

-

-
-
-
-

Public Variables and Functions

- - - -
-
-
-
-
- -
-
Logo & site design by Tom Hickey.
- Clojure auto-documentation system by Tom Faulhaber.
-
- - - - \ No newline at end of file diff --git a/branch-master/test-contrib.mock-test.test-adapter-test-api.html b/branch-master/test-contrib.mock-test.test-adapter-test-api.html deleted file mode 100644 index 93baa3fe..00000000 --- a/branch-master/test-contrib.mock-test.test-adapter-test-api.html +++ /dev/null @@ -1,98 +0,0 @@ - - - test-contrib.mock-test.test-adapter-test - clojure-contrib next API documentation - - - - - - - - - - - - - -
- - -
-
-
-
- -

API for test-contrib.mock-test.test-adapter-test - - clojure-contrib next (in development) -

- -
Usage: -
-(ns your-namespace
-  (:require clojure.contrib.test-contrib.mock-test.test-adapter-test))
-
-

Overview

-

-
-
-
-

Public Variables and Functions

- - - -
-
-
-
-
- -
-
Logo & site design by Tom Hickey.
- Clojure auto-documentation system by Tom Faulhaber.
-
- - - - \ No newline at end of file diff --git a/branch-master/test-core-api.html b/branch-master/test-core-api.html deleted file mode 100644 index 3ee0df08..00000000 --- a/branch-master/test-core-api.html +++ /dev/null @@ -1,98 +0,0 @@ - - - test-core - clojure-contrib next API documentation - - - - - - - - - - - - - -
- - -
-
-
-
- -

API for test-core - - clojure-contrib next (in development) -

- -
Usage: -
-(ns your-namespace
-  (:require clojure.contrib.test-core))
-
-

Overview

-

-
-
-
-

Public Variables and Functions

- - - -
-
-
-
-
- -
-
Logo & site design by Tom Hickey.
- Clojure auto-documentation system by Tom Faulhaber.
-
- - - - \ No newline at end of file diff --git a/branch-master/test-dataflow-api.html b/branch-master/test-dataflow-api.html deleted file mode 100644 index c7e82fd1..00000000 --- a/branch-master/test-dataflow-api.html +++ /dev/null @@ -1,98 +0,0 @@ - - - test-dataflow - clojure-contrib next API documentation - - - - - - - - - - - - - -
- - -
-
-
-
- -

API for test-dataflow - - clojure-contrib next (in development) -

- -
Usage: -
-(ns your-namespace
-  (:require clojure.contrib.test-dataflow))
-
-

Overview

-

-
-
-
-

Public Variables and Functions

- - - -
-
-
-
-
- -
-
Logo & site design by Tom Hickey.
- Clojure auto-documentation system by Tom Faulhaber.
-
- - - - \ No newline at end of file diff --git a/branch-master/test-def-api.html b/branch-master/test-def-api.html deleted file mode 100644 index 1836fc52..00000000 --- a/branch-master/test-def-api.html +++ /dev/null @@ -1,150 +0,0 @@ - - - test-def - clojure-contrib next API documentation - - - - - - - - - - - - - -
- - -
-
-
-
- -

API for test-def - - clojure-contrib next (in development) -

- -
Usage: -
-(ns your-namespace
-  (:require clojure.contrib.test-def))
-
-

Overview

-

-
-
-
-

Public Variables and Functions

-
-
-
-

aliased-fn

- function
-
Usage: (aliased-fn)
-
-
sample-fn docstring
- - - Source -
-
-
-

aliased-macro

- macro
-
Usage: (aliased-macro)
-
-
sample-macro-docstring
- - - Source -
-
-
-

sample-fn

- function
-
Usage: (sample-fn)
-
-
sample-fn docstring
- - - Source -
-
-
-

sample-macro

- macro
-
Usage: (sample-macro)
-
-
sample-macro-docstring
- - - Source -
- - -
-
-
-
-
- -
-
Logo & site design by Tom Hickey.
- Clojure auto-documentation system by Tom Faulhaber.
-
- - - - \ No newline at end of file diff --git a/branch-master/test-fnmap-api.html b/branch-master/test-fnmap-api.html deleted file mode 100644 index d5e5cb52..00000000 --- a/branch-master/test-fnmap-api.html +++ /dev/null @@ -1,98 +0,0 @@ - - - test-fnmap - clojure-contrib next API documentation - - - - - - - - - - - - - -
- - -
-
-
-
- -

API for test-fnmap - - clojure-contrib next (in development) -

- -
Usage: -
-(ns your-namespace
-  (:require clojure.contrib.test-fnmap))
-
-

Overview

-

-
-
-
-

Public Variables and Functions

- - - -
-
-
-
-
- -
-
Logo & site design by Tom Hickey.
- Clojure auto-documentation system by Tom Faulhaber.
-
- - - - \ No newline at end of file diff --git a/branch-master/test-graph-api.html b/branch-master/test-graph-api.html deleted file mode 100644 index ff054fd5..00000000 --- a/branch-master/test-graph-api.html +++ /dev/null @@ -1,98 +0,0 @@ - - - test-graph - clojure-contrib next API documentation - - - - - - - - - - - - - -
- - -
-
-
-
- -

API for test-graph - - clojure-contrib next (in development) -

- -
Usage: -
-(ns your-namespace
-  (:require clojure.contrib.test-graph))
-
-

Overview

-

-
-
-
-

Public Variables and Functions

- - - -
-
-
-
-
- -
-
Logo & site design by Tom Hickey.
- Clojure auto-documentation system by Tom Faulhaber.
-
- - - - \ No newline at end of file diff --git a/branch-master/test-greatest-least-api.html b/branch-master/test-greatest-least-api.html deleted file mode 100644 index 7529795e..00000000 --- a/branch-master/test-greatest-least-api.html +++ /dev/null @@ -1,98 +0,0 @@ - - - test-greatest-least - clojure-contrib next API documentation - - - - - - - - - - - - - -
- - -
-
-
-
- -

API for test-greatest-least - - clojure-contrib next (in development) -

- -
Usage: -
-(ns your-namespace
-  (:require clojure.contrib.test-greatest-least))
-
-

Overview

-

-
-
-
-

Public Variables and Functions

- - - -
-
-
-
-
- -
-
Logo & site design by Tom Hickey.
- Clojure auto-documentation system by Tom Faulhaber.
-
- - - - \ No newline at end of file diff --git a/branch-master/test-io-api.html b/branch-master/test-io-api.html deleted file mode 100644 index ff268106..00000000 --- a/branch-master/test-io-api.html +++ /dev/null @@ -1,98 +0,0 @@ - - - test-io - clojure-contrib next API documentation - - - - - - - - - - - - - -
- - -
-
-
-
- -

API for test-io - - clojure-contrib next (in development) -

- -
Usage: -
-(ns your-namespace
-  (:require clojure.contrib.test-io))
-
-

Overview

-

-
-
-
-

Public Variables and Functions

- - - -
-
-
-
-
- -
-
Logo & site design by Tom Hickey.
- Clojure auto-documentation system by Tom Faulhaber.
-
- - - - \ 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 97b82ee3..00000000 --- a/branch-master/test-is-api.html +++ /dev/null @@ -1,663 +0,0 @@ - - - test-is - clojure-contrib next API documentation - - - - - - - - - - - - - -
- - -
-
-
-
- -

API for test-is - - clojure-contrib next (in development) -

-by Stuart Sierra
-
Usage: -
-(ns your-namespace
-  (:require clojure.contrib.test-is))
-
-

Overview

-
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, 
-http://www.assembla.com/spaces/clojure-contrib/tickets/26
- -Deprecated since clojure-contrib version 1.2
-
-

Public Variables and Functions

-
-
-
-

*load-tests*

- var
-

-  
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.
- Added in clojure-contrib version 1.1
- - -
-
-
-

*stack-trace-depth*

- var
-

-  
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.
- Added in clojure-contrib version 1.1
- - -
-
-
-

apply-template

- function
-
Usage: (apply-template expr values)
-
-
Replaces _1, _2, _3, etc. in expr with corresponding elements of
-values.  Returns the modified expression.  For use in macros.
- - - Source -
-
-
-

are

- macro
-
Usage: (are expr & args)
-
-
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.
- - - Source -
-
-
-

assert-any

- function
-
Usage: (assert-any msg form)
-
-
Returns generic assertion code for any test, including macros, Java
-method calls, or isolated symbols.
- Added in clojure-contrib version 1.1
- - -
-
-
-

assert-predicate

- function
-
Usage: (assert-predicate msg form)
-
-
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...).
- Added in clojure-contrib version 1.1
- - -
-
-
-

compose-fixtures

- function
-
Usage: (compose-fixtures f1 f2)
-
-
Composes two fixture functions, creating a new fixture function
-that combines their behavior.
- Added in clojure-contrib version 1.1
- - -
-
-
-

deftest

- macro
-
Usage: (deftest name & body)
-
-
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.
- Added in clojure-contrib version 1.1
- - -
-
-
-

deftest-

- macro
-
Usage: (deftest- name & body)
-
-
Like deftest but creates a private var.
- Added in clojure-contrib version 1.1
- - -
-
-
-

do-template

- macro
-
Usage: (do-template expr & args)
-
-
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))
- - - Source -
-
-
-

file-position

- function
-
Usage: (file-position n)
-
-
Returns a vector [filename line-number] for the nth call up the
-stack.
- Added in clojure-contrib version 1.1
- - -
-
-
-

find-holes

- function
-
Usage: (find-holes form)
-
-
Recursively finds all symbols starting with _ in form.
- - - Source -
-
-
-

find-pure-exprs

- function
-
Usage: (find-pure-exprs form)
-
-
Recursively finds all sub-expressions in form that do not contain
-any symbols starting with _
- - - Source -
-
-
-

find-symbols

- function
-
Usage: (find-symbols form)
-
-
Recursively finds all symbols in form.
- - - Source -
-
-
-

flatten-map

- function
-
Usage: (flatten-map m)
-
-
Transforms a map into a vector like [key value key value].
- - - Source -
-
-
-

function?

- function
-
Usage: (function? x)
-
-
Returns true if argument is a function or a symbol that resolves to
-a function (not a macro).
- Added in clojure-contrib version 1.1
- - -
-
-
-

get-possibly-unbound-var

- function
-
Usage: (get-possibly-unbound-var v)
-
-
Like var-get but returns nil if the var is unbound.
- Added in clojure-contrib version 1.1
- - -
-
-
-

inc-report-counter

- function
-
Usage: (inc-report-counter name)
-
-
Increments the named counter in *report-counters*, a ref to a map.
-Does nothing if *report-counters* is nil.
- Added in clojure-contrib version 1.1
- - -
-
-
-

is

- macro
-
Usage: (is form)
-       (is form msg)
-
-
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.
- Added in clojure-contrib version 1.1
- - -
-
-
-

join-fixtures

- function
-
Usage: (join-fixtures fixtures)
-
-
Composes a collection of fixtures, in order.  Always returns a valid
-fixture function, even if the collection is empty.
- Added in clojure-contrib version 1.1
- - -
-
-
-

report

- multimethod
-
No usage documentation available
-
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'.
- Added in clojure-contrib version 1.1
- - -
-
-
-

run-all-tests

- function
-
Usage: (run-all-tests)
-       (run-all-tests re)
-
-
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.
- Added in clojure-contrib version 1.1
- - -
-
-
-

run-tests

- function
-
Usage: (run-tests)
-       (run-tests & namespaces)
-
-
Runs all tests in the given namespaces; prints results.
-Defaults to current namespace if none given.  Returns a map
-summarizing test results.
- Added in clojure-contrib version 1.1
- - -
-
-
-

set-test

- macro
-
Usage: (set-test name & body)
-
-
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.
- Added in clojure-contrib version 1.1
- - -
-
-
-

successful?

- function
-
Usage: (successful? summary)
-
-
Returns true if the given test summary indicates all tests
-were successful, false otherwise.
- Added in clojure-contrib version 1.1
- - -
-
-
-

template?

- function
-
Usage: (template? form)
-
-
Returns true if form is a valid template expression.
- - - Source -
-
-
-

test-all-vars

- function
-
Usage: (test-all-vars ns)
-
-
Calls test-var on every var interned in the namespace, with fixtures.
- Added in clojure-contrib version 1.1
- - -
-
-
-

test-ns

- function
-
Usage: (test-ns ns)
-
-
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*.
- Added in clojure-contrib version 1.1
- - -
-
-
-

test-var

- function
-
Usage: (test-var v)
-
-
If v has a function in its :test metadata, calls that function,
-with *testing-vars* bound to (conj *testing-vars* v).
- Added in clojure-contrib version 1.1
- - -
-
-
-

testing

- macro
-
Usage: (testing string & body)
-
-
Adds a new string to the list of testing contexts.  May be nested,
-but must occur inside a test function (deftest).
- Added in clojure-contrib version 1.1
- - -
-
-
-

testing-contexts-str

- function
-
Usage: (testing-contexts-str)
-
-
Returns a string representation of the current test context. Joins
-strings in *testing-contexts* with spaces.
- Added in clojure-contrib version 1.1
- - -
-
-
-

testing-vars-str

- function
-
Usage: (testing-vars-str)
-
-
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.
- Added in clojure-contrib version 1.1
- - -
-
-
-

try-expr

- macro
-
Usage: (try-expr msg form)
-
-
Used by the 'is' macro to catch unexpected exceptions.
-You don't call this.
- Added in clojure-contrib version 1.1
- - -
-
-
-

use-fixtures

- multimethod
-
No usage documentation available
-
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.
- Added in clojure-contrib version 1.1
- - -
-
-
-

with-test

- macro
-
Usage: (with-test definition & body)
-
-
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.
- Added in clojure-contrib version 1.1
- - -
-
-
-

with-test-out

- macro
-
Usage: (with-test-out & body)
-
-
Runs body with *out* bound to the value of *test-out*.
- Added in clojure-contrib version 1.1
- - -
- - -
-
-
-
-
- -
-
Logo & site design by Tom Hickey.
- Clojure auto-documentation system by Tom Faulhaber.
-
- - - - \ No newline at end of file diff --git a/branch-master/test-jmx-api.html b/branch-master/test-jmx-api.html deleted file mode 100644 index d47f945b..00000000 --- a/branch-master/test-jmx-api.html +++ /dev/null @@ -1,98 +0,0 @@ - - - test-jmx - clojure-contrib next API documentation - - - - - - - - - - - - - -
- - -
-
-
-
- -

API for test-jmx - - clojure-contrib next (in development) -

- -
Usage: -
-(ns your-namespace
-  (:require clojure.contrib.test-jmx))
-
-

Overview

-

-
-
-
-

Public Variables and Functions

- - - -
-
-
-
-
- -
-
Logo & site design by Tom Hickey.
- Clojure auto-documentation system by Tom Faulhaber.
-
- - - - \ No newline at end of file diff --git a/branch-master/test-json-api.html b/branch-master/test-json-api.html deleted file mode 100644 index 802a793f..00000000 --- a/branch-master/test-json-api.html +++ /dev/null @@ -1,98 +0,0 @@ - - - test-json - clojure-contrib next API documentation - - - - - - - - - - - - - -
- - -
-
-
-
- -

API for test-json - - clojure-contrib next (in development) -

- -
Usage: -
-(ns your-namespace
-  (:require clojure.contrib.test-json))
-
-

Overview

-

-
-
-
-

Public Variables and Functions

- - - -
-
-
-
-
- -
-
Logo & site design by Tom Hickey.
- Clojure auto-documentation system by Tom Faulhaber.
-
- - - - \ No newline at end of file diff --git a/branch-master/test-lazy-seqs-api.html b/branch-master/test-lazy-seqs-api.html deleted file mode 100644 index 30431d0a..00000000 --- a/branch-master/test-lazy-seqs-api.html +++ /dev/null @@ -1,98 +0,0 @@ - - - test-lazy-seqs - clojure-contrib next API documentation - - - - - - - - - - - - - -
- - -
-
-
-
- -

API for test-lazy-seqs - - clojure-contrib next (in development) -

- -
Usage: -
-(ns your-namespace
-  (:require clojure.contrib.test-lazy-seqs))
-
-

Overview

-

-
-
-
-

Public Variables and Functions

- - - -
-
-
-
-
- -
-
Logo & site design by Tom Hickey.
- Clojure auto-documentation system by Tom Faulhaber.
-
- - - - \ No newline at end of file diff --git a/branch-master/test-logging-api.html b/branch-master/test-logging-api.html deleted file mode 100644 index 7cd2b976..00000000 --- a/branch-master/test-logging-api.html +++ /dev/null @@ -1,98 +0,0 @@ - - - test-logging - clojure-contrib next API documentation - - - - - - - - - - - - - -
- - -
-
-
-
- -

API for test-logging - - clojure-contrib next (in development) -

- -
Usage: -
-(ns your-namespace
-  (:require clojure.contrib.test-logging))
-
-

Overview

-

-
-
-
-

Public Variables and Functions

- - - -
-
-
-
-
- -
-
Logo & site design by Tom Hickey.
- Clojure auto-documentation system by Tom Faulhaber.
-
- - - - \ No newline at end of file diff --git a/branch-master/test-macro-utils-api.html b/branch-master/test-macro-utils-api.html deleted file mode 100644 index 5381c318..00000000 --- a/branch-master/test-macro-utils-api.html +++ /dev/null @@ -1,98 +0,0 @@ - - - test-macro-utils - clojure-contrib next API documentation - - - - - - - - - - - - - -
- - -
-
-
-
- -

API for test-macro-utils - - clojure-contrib next (in development) -

- -
Usage: -
-(ns your-namespace
-  (:require clojure.contrib.test-macro-utils))
-
-

Overview

-

-
-
-
-

Public Variables and Functions

- - - -
-
-
-
-
- -
-
Logo & site design by Tom Hickey.
- Clojure auto-documentation system by Tom Faulhaber.
-
- - - - \ No newline at end of file diff --git a/branch-master/test-math-api.html b/branch-master/test-math-api.html deleted file mode 100644 index e10b3ffa..00000000 --- a/branch-master/test-math-api.html +++ /dev/null @@ -1,98 +0,0 @@ - - - test-math - clojure-contrib next API documentation - - - - - - - - - - - - - -
- - -
-
-
-
- -

API for test-math - - clojure-contrib next (in development) -

- -
Usage: -
-(ns your-namespace
-  (:require clojure.contrib.test-math))
-
-

Overview

-

-
-
-
-

Public Variables and Functions

- - - -
-
-
-
-
- -
-
Logo & site design by Tom Hickey.
- Clojure auto-documentation system by Tom Faulhaber.
-
- - - - \ No newline at end of file diff --git a/branch-master/test-miglayout-api.html b/branch-master/test-miglayout-api.html deleted file mode 100644 index b56deb0e..00000000 --- a/branch-master/test-miglayout-api.html +++ /dev/null @@ -1,138 +0,0 @@ - - - test-miglayout - clojure-contrib next API documentation - - - - - - - - - - - - - -
- - -
-
-
-
- -

API for test-miglayout - - clojure-contrib next (in development) -

- -
Usage: -
-(ns your-namespace
-  (:require clojure.contrib.test-miglayout))
-
-

Overview

-

-
-
-
-

Public Variables and Functions

-
-
-
-

label

- function
-
Usage: (label text)
-
-
Returns a swing label
- - - Source -
-
-
-

sep

- function
-
Usage: (sep)
-
-
Returns a swing separator
- - - Source -
-
-
-

text-field

- function
-
Usage: (text-field)
-       (text-field width)
-
-
Returns a swing text field
- - - Source -
- - -
-
-
-
-
- -
-
Logo & site design by Tom Hickey.
- Clojure auto-documentation system by Tom Faulhaber.
-
- - - - \ No newline at end of file diff --git a/branch-master/test-mock-api.html b/branch-master/test-mock-api.html deleted file mode 100644 index 34f8eddf..00000000 --- a/branch-master/test-mock-api.html +++ /dev/null @@ -1,98 +0,0 @@ - - - test-mock - clojure-contrib next API documentation - - - - - - - - - - - - - -
- - -
-
-
-
- -

API for test-mock - - clojure-contrib next (in development) -

- -
Usage: -
-(ns your-namespace
-  (:require clojure.contrib.test-mock))
-
-

Overview

-

-
-
-
-

Public Variables and Functions

- - - -
-
-
-
-
- -
-
Logo & site design by Tom Hickey.
- Clojure auto-documentation system by Tom Faulhaber.
-
- - - - \ No newline at end of file diff --git a/branch-master/test-monads-api.html b/branch-master/test-monads-api.html deleted file mode 100644 index b9b7a7c5..00000000 --- a/branch-master/test-monads-api.html +++ /dev/null @@ -1,98 +0,0 @@ - - - test-monads - clojure-contrib next API documentation - - - - - - - - - - - - - -
- - -
-
-
-
- -

API for test-monads - - clojure-contrib next (in development) -

- -
Usage: -
-(ns your-namespace
-  (:require clojure.contrib.test-monads))
-
-

Overview

-

-
-
-
-

Public Variables and Functions

- - - -
-
-
-
-
- -
-
Logo & site design by Tom Hickey.
- Clojure auto-documentation system by Tom Faulhaber.
-
- - - - \ No newline at end of file diff --git a/branch-master/test-profile-api.html b/branch-master/test-profile-api.html deleted file mode 100644 index 5e45af27..00000000 --- a/branch-master/test-profile-api.html +++ /dev/null @@ -1,98 +0,0 @@ - - - test-profile - clojure-contrib next API documentation - - - - - - - - - - - - - -
- - -
-
-
-
- -

API for test-profile - - clojure-contrib next (in development) -

- -
Usage: -
-(ns your-namespace
-  (:require clojure.contrib.test-profile))
-
-

Overview

-

-
-
-
-

Public Variables and Functions

- - - -
-
-
-
-
- -
-
Logo & site design by Tom Hickey.
- Clojure auto-documentation system by Tom Faulhaber.
-
- - - - \ No newline at end of file diff --git a/branch-master/test-properties-api.html b/branch-master/test-properties-api.html deleted file mode 100644 index 71e8c10f..00000000 --- a/branch-master/test-properties-api.html +++ /dev/null @@ -1,98 +0,0 @@ - - - test-properties - clojure-contrib next API documentation - - - - - - - - - - - - - -
- - -
-
-
-
- -

API for test-properties - - clojure-contrib next (in development) -

- -
Usage: -
-(ns your-namespace
-  (:require clojure.contrib.test-properties))
-
-

Overview

-

-
-
-
-

Public Variables and Functions

- - - -
-
-
-
-
- -
-
Logo & site design by Tom Hickey.
- Clojure auto-documentation system by Tom Faulhaber.
-
- - - - \ No newline at end of file diff --git a/branch-master/test-prxml-api.html b/branch-master/test-prxml-api.html deleted file mode 100644 index 2f7c9474..00000000 --- a/branch-master/test-prxml-api.html +++ /dev/null @@ -1,98 +0,0 @@ - - - test-prxml - clojure-contrib next API documentation - - - - - - - - - - - - - -
- - -
-
-
-
- -

API for test-prxml - - clojure-contrib next (in development) -

- -
Usage: -
-(ns your-namespace
-  (:require clojure.contrib.test-prxml))
-
-

Overview

-

-
-
-
-

Public Variables and Functions

- - - -
-
-
-
-
- -
-
Logo & site design by Tom Hickey.
- Clojure auto-documentation system by Tom Faulhaber.
-
- - - - \ No newline at end of file diff --git a/branch-master/test-repl-utils-api.html b/branch-master/test-repl-utils-api.html deleted file mode 100644 index 76ae1f9a..00000000 --- a/branch-master/test-repl-utils-api.html +++ /dev/null @@ -1,98 +0,0 @@ - - - test-repl-utils - clojure-contrib next API documentation - - - - - - - - - - - - - -
- - -
-
-
-
- -

API for test-repl-utils - - clojure-contrib next (in development) -

- -
Usage: -
-(ns your-namespace
-  (:require clojure.contrib.test-repl-utils))
-
-

Overview

-

-
-
-
-

Public Variables and Functions

- - - -
-
-
-
-
- -
-
Logo & site design by Tom Hickey.
- Clojure auto-documentation system by Tom Faulhaber.
-
- - - - \ No newline at end of file diff --git a/branch-master/test-seq-api.html b/branch-master/test-seq-api.html deleted file mode 100644 index 54abfaea..00000000 --- a/branch-master/test-seq-api.html +++ /dev/null @@ -1,98 +0,0 @@ - - - test-seq - clojure-contrib next API documentation - - - - - - - - - - - - - -
- - -
-
-
-
- -

API for test-seq - - clojure-contrib next (in development) -

- -
Usage: -
-(ns your-namespace
-  (:require clojure.contrib.test-seq))
-
-

Overview

-

-
-
-
-

Public Variables and Functions

- - - -
-
-
-
-
- -
-
Logo & site design by Tom Hickey.
- Clojure auto-documentation system by Tom Faulhaber.
-
- - - - \ No newline at end of file diff --git a/branch-master/test-shell-api.html b/branch-master/test-shell-api.html deleted file mode 100644 index df43e75e..00000000 --- a/branch-master/test-shell-api.html +++ /dev/null @@ -1,98 +0,0 @@ - - - test-shell - clojure-contrib next API documentation - - - - - - - - - - - - - -
- - -
-
-
-
- -

API for test-shell - - clojure-contrib next (in development) -

- -
Usage: -
-(ns your-namespace
-  (:require clojure.contrib.test-shell))
-
-

Overview

-

-
-
-
-

Public Variables and Functions

- - - -
-
-
-
-
- -
-
Logo & site design by Tom Hickey.
- Clojure auto-documentation system by Tom Faulhaber.
-
- - - - \ No newline at end of file diff --git a/branch-master/test-sql-api.html b/branch-master/test-sql-api.html deleted file mode 100644 index 16f30eca..00000000 --- a/branch-master/test-sql-api.html +++ /dev/null @@ -1,98 +0,0 @@ - - - test-sql - clojure-contrib next API documentation - - - - - - - - - - - - - -
- - -
-
-
-
- -

API for test-sql - - clojure-contrib next (in development) -

- -
Usage: -
-(ns your-namespace
-  (:require clojure.contrib.test-sql))
-
-

Overview

-

-
-
-
-

Public Variables and Functions

- - - -
-
-
-
-
- -
-
Logo & site design by Tom Hickey.
- Clojure auto-documentation system by Tom Faulhaber.
-
- - - - \ No newline at end of file diff --git a/branch-master/test-string-api.html b/branch-master/test-string-api.html deleted file mode 100644 index fd9e106c..00000000 --- a/branch-master/test-string-api.html +++ /dev/null @@ -1,98 +0,0 @@ - - - test-string - clojure-contrib next API documentation - - - - - - - - - - - - - -
- - -
-
-
-
- -

API for test-string - - clojure-contrib next (in development) -

- -
Usage: -
-(ns your-namespace
-  (:require clojure.contrib.test-string))
-
-

Overview

-

-
-
-
-

Public Variables and Functions

- - - -
-
-
-
-
- -
-
Logo & site design by Tom Hickey.
- Clojure auto-documentation system by Tom Faulhaber.
-
- - - - \ No newline at end of file diff --git a/branch-master/test-strint-api.html b/branch-master/test-strint-api.html deleted file mode 100644 index f5c9d24b..00000000 --- a/branch-master/test-strint-api.html +++ /dev/null @@ -1,98 +0,0 @@ - - - test-strint - clojure-contrib next API documentation - - - - - - - - - - - - - -
- - -
-
-
-
- -

API for test-strint - - clojure-contrib next (in development) -

- -
Usage: -
-(ns your-namespace
-  (:require clojure.contrib.test-strint))
-
-

Overview

-

-
-
-
-

Public Variables and Functions

- - - -
-
-
-
-
- -
-
Logo & site design by Tom Hickey.
- Clojure auto-documentation system by Tom Faulhaber.
-
- - - - \ No newline at end of file diff --git a/branch-master/test-trace-api.html b/branch-master/test-trace-api.html deleted file mode 100644 index 3620fd58..00000000 --- a/branch-master/test-trace-api.html +++ /dev/null @@ -1,98 +0,0 @@ - - - test-trace - clojure-contrib next API documentation - - - - - - - - - - - - - -
- - -
-
-
-
- -

API for test-trace - - clojure-contrib next (in development) -

- -
Usage: -
-(ns your-namespace
-  (:require clojure.contrib.test-trace))
-
-

Overview

-

-
-
-
-

Public Variables and Functions

- - - -
-
-
-
-
- -
-
Logo & site design by Tom Hickey.
- Clojure auto-documentation system by Tom Faulhaber.
-
- - - - \ No newline at end of file diff --git a/branch-master/test-with-ns-api.html b/branch-master/test-with-ns-api.html deleted file mode 100644 index 33bb6d45..00000000 --- a/branch-master/test-with-ns-api.html +++ /dev/null @@ -1,98 +0,0 @@ - - - test-with-ns - clojure-contrib next API documentation - - - - - - - - - - - - - -
- - -
-
-
-
- -

API for test-with-ns - - clojure-contrib next (in development) -

- -
Usage: -
-(ns your-namespace
-  (:require clojure.contrib.test-with-ns))
-
-

Overview

-

-
-
-
-

Public Variables and Functions

- - - -
-
-
-
-
- -
-
Logo & site design by Tom Hickey.
- Clojure auto-documentation system by Tom Faulhaber.
-
- - - - \ No newline at end of file diff --git a/branch-master/trace-api.html b/branch-master/trace-api.html index ab4322bf..be22f07c 100644 --- a/branch-master/trace-api.html +++ b/branch-master/trace-api.html @@ -37,7 +37,7 @@ namespace. Namespaces
Other Versions @@ -101,7 +101,7 @@ code is doing.
Current stack depth of traced function calls.
- + Source


@@ -114,7 +114,7 @@ arguments. Nested calls to deftrace'd functions will print a tree-like structure. - + Source


@@ -128,7 +128,7 @@ the traced functions. Does not work on inlined functions, such as clojure.core/+ - + Source


@@ -142,7 +142,7 @@ returns value. May be wrapped around any expression without affecting the result. - + Source


@@ -154,7 +154,7 @@ affecting the result. symbol name of the function. - + Source


@@ -165,7 +165,7 @@ symbol name of the function.
Returns an indentation string based on *trace-depth*
- + Source


@@ -177,7 +177,7 @@ symbol name of the function. may be rebound to do anything you like. 'name' is optional. - + Source
diff --git a/branch-master/types-api.html b/branch-master/types-api.html index 48ff9bd1..8f081b6e 100644 --- a/branch-master/types-api.html +++ b/branch-master/types-api.html @@ -37,7 +37,7 @@ namespace. Namespaces
Other Versions @@ -98,7 +98,7 @@ list consisting of a tag symbol followed by the argument symbols. The data type tag must be a keyword. - Source + Source


@@ -119,7 +119,7 @@ to be passed to the constructor in order to create an equivalent object. It is used for printing and matching. - Source + Source


@@ -130,7 +130,7 @@ object. It is used for printing and matching.
Same as deftype but the constructor is private.
- Source + Source


@@ -156,7 +156,7 @@ template the corresponding elements of the object must be equal for the template to match. - Source + Source
diff --git a/branch-master/with-ns-api.html b/branch-master/with-ns-api.html index 5e17f73c..3209533d 100644 --- a/branch-master/with-ns-api.html +++ b/branch-master/with-ns-api.html @@ -37,7 +37,7 @@ namespace. Namespaces
Other Versions @@ -93,7 +93,7 @@ object or a symbol. This makes it possible to define functions in namespaces other than the current one. - Source + Source


@@ -105,7 +105,7 @@ namespaces other than the current one. removed. The temporary namespace will 'refer' clojure.core. - Source + Source
diff --git a/branch-master/zip-filter-api.html b/branch-master/zip-filter-api.html index 9cbc4e08..4506003a 100644 --- a/branch-master/zip-filter-api.html +++ b/branch-master/zip-filter-api.html @@ -37,7 +37,7 @@ namespace. Namespaces
Other Versions @@ -126,7 +126,7 @@ with loc and proceeding to loc's parent node and on through to the root of the tree. - Source +


@@ -138,7 +138,7 @@ root of the tree. left-to-right. - Source +


@@ -150,7 +150,7 @@ left-to-right. left-to-right, marked so that a following tag= predicate will auto-descend. - Source +


@@ -162,7 +162,7 @@ left-to-right, marked so that a following tag= predicate will auto-descend. - Source +


@@ -173,7 +173,7 @@ depth-first order, left-to-right, starting with loc.
Returns a lazy sequence of locations to the left of loc, starting with loc.
- Source +


@@ -184,7 +184,7 @@ depth-first order, left-to-right, starting with loc.
Returns true if there are no more nodes to the left of location loc.
- Source +


@@ -195,7 +195,7 @@ depth-first order, left-to-right, starting with loc.
Returns a lazy sequence of locations to the right of loc, starting with loc.
- Source +


@@ -206,7 +206,7 @@ depth-first order, left-to-right, starting with loc.
Returns true if there are no more nodes to the right of location loc.
- Source +

zip-filter.xml


@@ -223,7 +223,7 @@ depth-first order, left-to-right, starting with loc.
   
Returns the xml attribute named attrname, of the xml node at location loc.
- Source + Source

attr=

@@ -234,7 +234,7 @@ depth-first order, left-to-right, starting with loc. attribute named attrname whose value is attrval. - Source + Source

seq-test

@@ -245,7 +245,7 @@ attribute named attrname whose value is attrval. matches the query expresions given. - Source + Source

tag=

@@ -256,7 +256,7 @@ matches the query expresions given. named tagname. - Source + Source

text

@@ -267,7 +267,7 @@ named tagname. xpaths's value-of - Source + Source

text=

@@ -278,7 +278,7 @@ xpaths's value-of content equals s. - Source + Source

xml->

@@ -303,7 +303,7 @@ they match. See the footer of zip-query.clj for examples. - Source + Source

xml1->

@@ -314,7 +314,7 @@ See the footer of zip-query.clj for examples. given. See xml-> - Source + Source
-- cgit v1.2.3-18-g5258