From b17ce9fbb29483eb8f6e591a1ff282db453a4713 Mon Sep 17 00:00:00 2001 From: Tom Faulhaber Date: Wed, 2 Jun 2010 10:47:29 -0700 Subject: Autodoc commit for master/4fe738db, 1.1.x/d132c5f1 --- accumulators-api.html | 32 +- agent-utils-api.html | 2 +- api-index.json | 6710 ++++++++++++++++---- apply-macro-api.html | 2 +- base64-api.html | 4 +- branch-1.1.x/accumulators-api.html | 237 +- branch-1.1.x/agent-utils-api.html | 4 +- branch-1.1.x/api-index.html | 312 +- branch-1.1.x/apply-macro-api.html | 4 +- branch-1.1.x/base64-api.html | 6 +- branch-1.1.x/classpath-api.html | 45 +- branch-1.1.x/combinatorics-api.html | 14 +- branch-1.1.x/command-line-api.html | 19 +- branch-1.1.x/complex-numbers-api.html | 2 +- branch-1.1.x/cond-api.html | 4 +- branch-1.1.x/condition-api.html | 98 +- branch-1.1.x/core-api.html | 12 +- branch-1.1.x/dataflow-api.html | 294 +- branch-1.1.x/datalog-api.html | 954 ++- branch-1.1.x/def-api.html | 26 +- branch-1.1.x/doc/datalog.html | 2 +- branch-1.1.x/doc/pprint/CommonLispFormat.html | 2 +- branch-1.1.x/doc/pprint/PrettyPrinting.html | 2 +- branch-1.1.x/duck-streams-api.html | 42 +- branch-1.1.x/error-kit-api.html | 20 +- branch-1.1.x/except-api.html | 10 +- branch-1.1.x/fcase-api.html | 12 +- branch-1.1.x/find-namespaces-api.html | 205 +- branch-1.1.x/fnmap-api.html | 4 +- branch-1.1.x/gen-html-docs-api.html | 35 +- branch-1.1.x/generic.arithmetic-api.html | 101 +- branch-1.1.x/generic.collection-api.html | 16 +- branch-1.1.x/generic.comparison-api.html | 106 +- branch-1.1.x/generic.functor-api.html | 4 +- branch-1.1.x/generic.math-functions-api.html | 267 +- branch-1.1.x/graph-api.html | 30 +- branch-1.1.x/greatest-least-api.html | 18 +- branch-1.1.x/http.agent-api.html | 342 +- branch-1.1.x/http.connection-api.html | 31 +- branch-1.1.x/import-static-api.html | 4 +- branch-1.1.x/index.html | 504 +- branch-1.1.x/jar-api.html | 6 +- branch-1.1.x/java-utils-api.html | 54 +- branch-1.1.x/javadoc.browse-api.html | 121 + branch-1.1.x/jmx-api.html | 192 +- branch-1.1.x/json.read-api.html | 6 +- branch-1.1.x/json.write-api.html | 6 +- branch-1.1.x/lazy-seqs-api.html | 8 +- branch-1.1.x/lazy-xml-api.html | 83 +- branch-1.1.x/logging-api.html | 42 +- branch-1.1.x/macro-utils-api.html | 18 +- branch-1.1.x/macros-api.html | 8 +- branch-1.1.x/map-utils-api.html | 10 +- branch-1.1.x/math-api.html | 20 +- branch-1.1.x/miglayout-api.html | 280 +- branch-1.1.x/mmap-api.html | 8 +- branch-1.1.x/mock-api.html | 360 +- branch-1.1.x/monadic-io-streams-api.html | 163 +- branch-1.1.x/monads-api.html | 537 +- branch-1.1.x/ns-utils-api.html | 116 +- branch-1.1.x/pprint-api.html | 233 +- .../probabilities.finite-distributions-api.html | 162 +- branch-1.1.x/probabilities.monte-carlo-api.html | 192 +- branch-1.1.x/probabilities.random-numbers-api.html | 33 +- branch-1.1.x/profile-api.html | 14 +- branch-1.1.x/prxml-api.html | 63 +- branch-1.1.x/repl-ln-api.html | 16 +- branch-1.1.x/repl-utils-api.html | 239 +- branch-1.1.x/seq-utils-api.html | 38 +- branch-1.1.x/server-socket-api.html | 6 +- branch-1.1.x/set-api.html | 10 +- branch-1.1.x/shell-out-api.html | 4 +- branch-1.1.x/singleton-api.html | 6 +- branch-1.1.x/sql-api.html | 677 +- branch-1.1.x/str-utils-api.html | 16 +- branch-1.1.x/str-utils2-api.html | 64 +- branch-1.1.x/stream-utils-api.html | 178 +- branch-1.1.x/swing-utils-api.html | 22 +- branch-1.1.x/test-is-api.html | 74 +- branch-1.1.x/trace-api.html | 16 +- branch-1.1.x/types-api.html | 10 +- branch-1.1.x/with-ns-api.html | 6 +- branch-1.1.x/zip-filter-api.html | 144 +- combinatorics-api.html | 12 +- command-line-api.html | 2 +- cond-api.html | 2 +- condition-api.html | 14 +- core-api.html | 12 +- dataflow-api.html | 40 +- datalog-api.html | 116 +- def-api.html | 24 +- duck-streams-api.html | 40 +- error-kit-api.html | 18 +- except-api.html | 8 +- fcase-api.html | 10 +- find-namespaces-api.html | 28 +- fnmap-api.html | 2 +- gen-html-docs-api.html | 4 +- generic.arithmetic-api.html | 4 +- generic.comparison-api.html | 4 +- generic.math-functions-api.html | 2 +- graph-api.html | 28 +- greatest-least-api.html | 16 +- http.agent-api.html | 40 +- http.connection-api.html | 4 +- import-static-api.html | 2 +- index.html | 67 +- io-api.html | 48 +- jar-api.html | 4 +- java-utils-api.html | 30 +- jmx-api.html | 40 +- json-api.html | 8 +- lazy-seqs-api.html | 6 +- lazy-xml-api.html | 4 +- logging-api.html | 38 +- macro-utils-api.html | 16 +- macros-api.html | 6 +- map-utils-api.html | 8 +- math-api.html | 18 +- miglayout-api.html | 28 +- mmap-api.html | 6 +- mock-api.html | 2 +- monadic-io-streams-api.html | 22 +- monads-api.html | 72 +- ns-utils-api.html | 16 +- pprint-api.html | 64 +- probabilities.finite-distributions-api.html | 22 +- probabilities.monte-carlo-api.html | 26 +- probabilities.random-numbers-api.html | 4 +- profile-api.html | 12 +- prxml-api.html | 6 +- reflect-api.html | 4 +- repl-ln-api.html | 14 +- repl-utils-api.html | 20 +- seq-api.html | 34 +- seq-utils-api.html | 36 +- server-socket-api.html | 4 +- set-api.html | 8 +- shell-api.html | 2 +- shell-out-api.html | 2 +- singleton-api.html | 4 +- sql-api.html | 56 +- str-utils-api.html | 14 +- str-utils2-api.html | 62 +- stream-utils-api.html | 18 +- string-api.html | 72 +- strint-api.html | 2 +- swing-utils-api.html | 18 +- test-is-api.html | 16 +- trace-api.html | 14 +- types-api.html | 8 +- with-ns-api.html | 4 +- zip-filter-api.html | 16 +- 153 files changed, 13610 insertions(+), 2622 deletions(-) create mode 100644 branch-1.1.x/javadoc.browse-api.html diff --git a/accumulators-api.html b/accumulators-api.html index 9b3111fb..4e853eb6 100644 --- a/accumulators-api.html +++ b/accumulators-api.html @@ -131,7 +131,7 @@ an item depends on the type of the accumulator.
Add all elements of a collection coll to the accumulator acc.
- + Source


@@ -154,7 +154,7 @@ single accumulator of the same type. every item the number of times it was added. - + Source


@@ -166,7 +166,7 @@ accumulator, except that the total number of items added is stored as the value of the key :total. - + Source


@@ -176,7 +176,7 @@ value of the key :total.
An empty list accumulator. Adding an item appends it at the beginning.
- + Source


@@ -186,7 +186,7 @@ value of the key :total.
An empty map accumulator. Items to be added must be [key value] pairs.
- + Source


@@ -196,7 +196,7 @@ value of the key :total.
An empty maximum accumulator. Only numbers can be added.
- + Source


@@ -207,7 +207,7 @@ value of the key :total. sample variance. Only numbers can be added. - + Source


@@ -218,7 +218,7 @@ sample variance. Only numbers can be added. Only numbers can be added. - + Source


@@ -228,7 +228,7 @@ Only numbers can be added.
An empty minimum accumulator. Only numbers can be added.
- + Source


@@ -238,7 +238,7 @@ Only numbers can be added.
An empty sum accumulator. Only numbers can be added.
- + Source


@@ -248,7 +248,7 @@ Only numbers can be added.
An empty queue accumulator. Adding an item appends it at the end.
- + Source


@@ -258,7 +258,7 @@ Only numbers can be added.
An empty set accumulator.
- + Source


@@ -269,7 +269,7 @@ Only numbers can be added. appends it at the end. - + Source


@@ -279,7 +279,7 @@ appends it at the end.
An empty sum accumulator. Only numbers can be added.
- + Source


@@ -293,7 +293,7 @@ work in parallel. Added items must be sequences whose number of elements matches the number of sub-accumulators. - + Source


@@ -303,7 +303,7 @@ matches the number of sub-accumulators.
An empty vector accumulator. Adding an item appends it at the end.
- + Source
diff --git a/agent-utils-api.html b/agent-utils-api.html index 6a9a53f2..b8708b40 100644 --- a/agent-utils-api.html +++ b/agent-utils-api.html @@ -89,7 +89,7 @@ Example: (capture-and-send [*out*] a f b c) - + Source diff --git a/api-index.json b/api-index.json index 2b4dbfb9..eb3208af 100644 --- a/api-index.json +++ b/api-index.json @@ -1,500 +1,801 @@ {"namespaces": - [{"source-url":null, + [{"source-url": + "http://github.com/richhickey/clojure-contrib/blob/09d39aca5a69a83f4326ffb0d4ba8f9fc15c9861/src/clojure/contrib/accumulators.clj", "wiki-url": "http://richhickey.github.com/clojure-contrib/accumulators-api.html", "name":"clojure.contrib.accumulators", "author":"Konrad Hinsen", "doc": "A generic accumulator interface and implementations of various\naccumulators."}, - {"source-url":null, + {"source-url": + "http://github.com/richhickey/clojure-contrib/blob/47a2f69414f0c3ff90fb2fad4930d9af3d491d23/src/clojure/contrib/agent_utils.clj", "wiki-url": "http://richhickey.github.com/clojure-contrib/agent-utils-api.html", "name":"clojure.contrib.agent-utils", "author":"Christophe Grande", "doc": "Miscellaneous agent utilities\n(note to other contrib members: feel free to add to this lib)"}, - {"source-url":null, + {"source-url": + "http://github.com/richhickey/clojure-contrib/blob/04a22729691863a5b7e7b1b3c6c1157a02aff3b2/src/clojure/contrib/apply_macro.clj", "wiki-url": "http://richhickey.github.com/clojure-contrib/apply-macro-api.html", "name":"clojure.contrib.apply-macro", "doc":null}, - {"source-url":null, + {"source-url": + "http://github.com/richhickey/clojure-contrib/blob/7b661cfc55e2293d14bed4fd801c017b3f68d291/src/clojure/contrib/base64.clj", "wiki-url": "http://richhickey.github.com/clojure-contrib/base64-api.html", "name":"clojure.contrib.base64", "author":"Stuart Sierra", "doc": "Base-64 encoding and (maybe later) decoding. \n\nThis is mainly here as an example. It is much slower than the\nApache Commons Codec implementation or sun.misc.BASE64Encoder."}, - {"source-url":null, + {"source-url": + "http://github.com/richhickey/clojure-contrib/blob/a4b8d24cb2f4e79fa3856db37d5fcf1d94003b30/src/clojure/contrib/classpath.clj", "wiki-url": "http://richhickey.github.com/clojure-contrib/classpath-api.html", "name":"clojure.contrib.classpath", "author":"Stuart Sierra", "doc":"Utilities for dealing with the JVM's classpath"}, - {"source-url":null, + {"source-url": + "http://github.com/richhickey/clojure-contrib/blob/47a2f69414f0c3ff90fb2fad4930d9af3d491d23/src/clojure/contrib/combinatorics.clj", "wiki-url": "http://richhickey.github.com/clojure-contrib/combinatorics-api.html", "name":"clojure.contrib.combinatorics", "author":"Mark Engelberg", "doc": "Efficient, functional algorithms for generating lazy\nsequences for common combinatorial functions. (See the source code \nfor a longer description.)"}, - {"source-url":null, + {"source-url": + "http://github.com/richhickey/clojure-contrib/blob/ddd7bc2226927634dc0216554194877fa6f170e1/src/clojure/contrib/command_line.clj", "wiki-url": "http://richhickey.github.com/clojure-contrib/command-line-api.html", "name":"clojure.contrib.command-line", "author":"Chris Houser", "doc": "Process command-line arguments according to a given cmdspec"}, - {"source-url":null, + {"source-url": + "http://github.com/richhickey/clojure-contrib/blob/09d39aca5a69a83f4326ffb0d4ba8f9fc15c9861/src/clojure/contrib/complex_numbers.clj", "wiki-url": "http://richhickey.github.com/clojure-contrib/complex-numbers-api.html", "name":"clojure.contrib.complex-numbers", "author":"Konrad Hinsen", "doc": "Complex numbers\nNOTE: This library is in evolution. Most math functions are\n not implemented yet."}, - {"source-url":null, + {"source-url": + "http://github.com/richhickey/clojure-contrib/blob/a4b8d24cb2f4e79fa3856db37d5fcf1d94003b30/src/clojure/contrib/cond.clj", "wiki-url": "http://richhickey.github.com/clojure-contrib/cond-api.html", "name":"clojure.contrib.cond", "author":"Stephen C. Gilardi", "doc":"Extensions to the basic cond function."}, - {"source-url":null, + {"source-url": + "http://github.com/richhickey/clojure-contrib/blob/e5b7819ef66410a87b8072417dc2f09ac4ddb03f/src/clojure/contrib/condition.clj", "wiki-url": "http://richhickey.github.com/clojure-contrib/condition-api.html", "name":"clojure.contrib.condition", "author":"Stephen C. Gilardi", "doc": "Flexible raising and handling of conditions:\n\nFunctions:\n\n raise: raises a condition\n handler-case: dispatches raised conditions to appropriate handlers\n print-stack-trace: prints abbreviated or full condition stack traces\n\nData:\n\n A condition is a map containing values for these keys:\n\n - :type, a condition type specifier, typically a keyword\n - :stack-trace, a stack trace to the site of the raise\n - :message, a human-readable message (optional)\n - :cause, a wrapped exception or condition (optional)\n - other keys given as arguments to raise (optional)\n\nNote: requires AOT compilation.\n\nBased on an idea from Chouser:\nhttp://groups.google.com/group/clojure/browse_frm/thread/da1285c538f22bb5"}, - {"source-url":null, + {"source-url": + "http://github.com/richhickey/clojure-contrib/blob/bc07de7c3b1058f4263bd7b1c424f771fb010005/src/clojure/contrib/core.clj", "wiki-url": "http://richhickey.github.com/clojure-contrib/core-api.html", "name":"clojure.contrib.core", "author":"Laurent Petit (and others)", "doc": "Functions/macros variants of the ones that can be found in clojure.core \n(note to other contrib members: feel free to add to this lib)"}, - {"source-url":null, + {"source-url": + "http://github.com/richhickey/clojure-contrib/blob/4f2c7bb5cf6828eb710fd18b603828ab295d0fa5/src/clojure/contrib/dataflow.clj", "wiki-url": "http://richhickey.github.com/clojure-contrib/dataflow-api.html", "name":"clojure.contrib.dataflow", "author":"Jeffrey Straszheim", "doc":"A library to support a dataflow model of state"}, - {"source-url":null, + {"source-url": + "http://github.com/richhickey/clojure-contrib/blob/ab7e1757c4de4c5d05b8c286646c152d19e29825/src/clojure/contrib/datalog.clj", "wiki-url": "http://richhickey.github.com/clojure-contrib/datalog-api.html", "name":"clojure.contrib.datalog", "author":"Jeffrey Straszheim", "doc":"A Clojure implementation of Datalog"}, - {"source-url":null, + {"source-url": + "http://github.com/richhickey/clojure-contrib/blob/4df3fae61cbd538786a73908eb0b8fc176b3fefd/src/clojure/contrib/def.clj", "wiki-url": "http://richhickey.github.com/clojure-contrib/def-api.html", "name":"clojure.contrib.def", "doc":null}, - {"source-url":null, + {"source-url": + "http://github.com/richhickey/clojure-contrib/blob/2ae8ff46d348522efe9f96cfd31f6e9b6018cfdc/src/clojure/contrib/duck_streams.clj", "wiki-url": "http://richhickey.github.com/clojure-contrib/duck-streams-api.html", "name":"clojure.contrib.duck-streams", "author":"Stuart Sierra", "doc": "This file defines \"duck-typed\" I/O utility functions for Clojure.\nThe 'reader' and 'writer' functions will open and return an\ninstance of java.io.BufferedReader and java.io.PrintWriter,\nrespectively, for a variety of argument types -- filenames as\nstrings, URLs, java.io.File's, etc. 'reader' even works on http\nURLs.\n\nNote: this is not really \"duck typing\" as implemented in languages\nlike Ruby. A better name would have been \"do-what-I-mean-streams\"\nor \"just-give-me-a-stream\", but ducks are funnier."}, - {"source-url":null, + {"source-url": + "http://github.com/richhickey/clojure-contrib/blob/e5b7819ef66410a87b8072417dc2f09ac4ddb03f/src/clojure/contrib/error_kit.clj", "wiki-url": "http://richhickey.github.com/clojure-contrib/error-kit-api.html", "name":"clojure.contrib.error-kit", "author":"Chris Houser", "doc": "EXPERIMENTAL\nSystem for defining and using custom errors\nPlease contact Chouser if you have any suggestions for better names\nor API adjustments."}, - {"source-url":null, + {"source-url": + "http://github.com/richhickey/clojure-contrib/blob/83fa7099432d5af2febbad9c33e076b9a03c3d1e/src/clojure/contrib/except.clj", "wiki-url": "http://richhickey.github.com/clojure-contrib/except-api.html", "name":"clojure.contrib.except", "author":"Stephen C. Gilardi", "doc": "Provides functions that make it easy to specify the class, cause, and\nmessage when throwing an Exception or Error. The optional message is\nformatted using clojure.core/format."}, - {"source-url":null, + {"source-url": + "http://github.com/richhickey/clojure-contrib/blob/d9c42218f493e7eb261677047008cedb67364ee8/src/clojure/contrib/fcase.clj", "wiki-url": "http://richhickey.github.com/clojure-contrib/fcase-api.html", "name":"clojure.contrib.fcase", "author":"Stuart Sierra", "doc": "This file defines a generic \"case\" macro called \"fcase\" which takes\nthe equality-testing function as an argument. It also defines a\ntraditional \"case\" macro that tests using \"=\" and variants that\ntest for regular expressions and class membership.\n\n\nNote (December 23, 2008): This library has been supplanted by the\ninclusion of \"condp\" in clojure.core as of Clojure SVN rev. 1180."}, - {"source-url":null, + {"source-url": + "http://github.com/richhickey/clojure-contrib/blob/de4df718178084ffe32d6a40b449892cd3d57d50/src/clojure/contrib/find_namespaces.clj", "wiki-url": "http://richhickey.github.com/clojure-contrib/find-namespaces-api.html", "name":"clojure.contrib.find-namespaces", "author":"Stuart Sierra", "doc":"Search for ns declarations in dirs, JARs, or CLASSPATH"}, - {"source-url":null, + {"source-url": + "http://github.com/richhickey/clojure-contrib/blob/016af1ddecea945f0ae9e6354e2bd006efcd7a04/src/clojure/contrib/fnmap.clj", "wiki-url": "http://richhickey.github.com/clojure-contrib/fnmap-api.html", "name":"clojure.contrib.fnmap", "author":"Stuart Sierra", "doc": "Maps that dispatch get/assoc to user-defined functions.\n\nNote: requires AOT-compilation"}, - {"source-url":null, + {"source-url": + "http://github.com/richhickey/clojure-contrib/blob/04a22729691863a5b7e7b1b3c6c1157a02aff3b2/src/clojure/contrib/gen_html_docs.clj", "wiki-url": "http://richhickey.github.com/clojure-contrib/gen-html-docs-api.html", "name":"clojure.contrib.gen-html-docs", "author":"Craig Andera", "doc": "Generates a single HTML page that contains the documentation for\none or more Clojure libraries."}, - {"source-url":null, + {"source-url": + "http://github.com/richhickey/clojure-contrib/blob/637ce542010b34381948f914e0b6829b41602e34/src/clojure/contrib/generic/arithmetic.clj", "wiki-url": "http://richhickey.github.com/clojure-contrib/generic.arithmetic-api.html", "name":"clojure.contrib.generic.arithmetic", "author":"Konrad Hinsen", "doc": "Generic arithmetic interface\nThis library defines generic versions of + - * / as multimethods\nthat can be defined for any type. The minimal required \nimplementations for a type are binary + and * plus unary - and /.\nEverything else is derived from these automatically. Explicit\nbinary definitions for - and / can be provided for\nefficiency reasons."}, - {"source-url":null, + {"source-url": + "http://github.com/richhickey/clojure-contrib/blob/637ce542010b34381948f914e0b6829b41602e34/src/clojure/contrib/generic/collection.clj", "wiki-url": "http://richhickey.github.com/clojure-contrib/generic.collection-api.html", "name":"clojure.contrib.generic.collection", "author":"Konrad Hinsen", "doc": "Generic arithmetic interface\nThis library defines generic versions of common\ncollection-related functions as multimethods that can be\ndefined for any type."}, - {"source-url":null, + {"source-url": + "http://github.com/richhickey/clojure-contrib/blob/637ce542010b34381948f914e0b6829b41602e34/src/clojure/contrib/generic/comparison.clj", "wiki-url": "http://richhickey.github.com/clojure-contrib/generic.comparison-api.html", "name":"clojure.contrib.generic.comparison", "author":"Konrad Hinsen", "doc": "Generic comparison interface\nThis library defines generic versions of = < > <= >= zero?\nas multimethods that can be defined for any type. Of the\ngreater/less-than relations, types must minimally implement >."}, - {"source-url":null, + {"source-url": + "http://github.com/richhickey/clojure-contrib/blob/bdc813a0d39cb3c6184c4e123d847458e9c77711/src/clojure/contrib/generic/functor.clj", "wiki-url": "http://richhickey.github.com/clojure-contrib/generic.functor-api.html", "name":"clojure.contrib.generic.functor", "author":"Konrad Hinsen", "doc":"Generic functor interface (fmap)"}, - {"source-url":null, + {"source-url": + "http://github.com/richhickey/clojure-contrib/blob/1dd60bdd968cd19dc04b4cb4fdcc0b6032833543/src/clojure/contrib/generic/math_functions.clj", "wiki-url": "http://richhickey.github.com/clojure-contrib/generic.math-functions-api.html", "name":"clojure.contrib.generic.math-functions", "author":"Konrad Hinsen", "doc": "Generic math function interface\nThis library defines generic versions of common mathematical\nfunctions such as sqrt or sin as multimethods that can be\ndefined for any type."}, - {"source-url":null, + {"source-url": + "http://github.com/richhickey/clojure-contrib/blob/86e90011e274910c618a5592d21ba3ce290a6855/src/clojure/contrib/graph.clj", "wiki-url": "http://richhickey.github.com/clojure-contrib/graph-api.html", "name":"clojure.contrib.graph", "author":"Jeffrey Straszheim", "doc":"Basic graph theory algorithms"}, - {"source-url":null, + {"source-url": + "http://github.com/richhickey/clojure-contrib/blob/86e90011e274910c618a5592d21ba3ce290a6855/src/clojure/contrib/greatest_least.clj", "wiki-url": "http://richhickey.github.com/clojure-contrib/greatest-least-api.html", "name":"clojure.contrib.greatest-least", "author":"Vincent Foley", "doc": "Various functions for finding greatest and least values in a collection"}, - {"source-url":null, + {"source-url": + "http://github.com/richhickey/clojure-contrib/blob/5055f41c8bc99747392396d622f17f723470858e/src/clojure/contrib/http/agent.clj", "wiki-url": "http://richhickey.github.com/clojure-contrib/http.agent-api.html", "name":"clojure.contrib.http.agent", "author":"Stuart Sierra", "doc": "Agent-based asynchronous HTTP client.\n\nThis is a HTTP client library based on Java's HttpURLConnection\nclass and Clojure's Agent system. It allows you to make multiple\nHTTP requests in parallel.\n\nStart an HTTP request with the 'http-agent' function, which\nimmediately returns a Clojure Agent. You will never deref this\nagent; that is handled by the accessor functions. The agent will\nexecute the HTTP request on a separate thread.\n\nIf you pass a :handler function to http-agent, that function will be\ncalled as soon as the HTTP response body is ready. The handler\nfunction is called with one argument, the HTTP agent itself. The\nhandler can read the response body by calling the 'stream' function\non the agent.\n\nThe value returned by the handler function becomes part of the state\nof the agent, and you can retrieve it with the 'result' function.\nIf you call 'result' before the HTTP request has finished, it will\nblock until the handler function returns.\n\nIf you don't provide a handler function, the default handler will\nbuffer the entire response body in memory, which you can retrieve\nwith the 'bytes', 'string', or 'stream' functions. Like 'result',\nthese functions will block until the HTTP request is completed.\n\nIf you want to check if an HTTP request is finished without\nblocking, use the 'done?' function.\n\nA single GET request could be as simple as:\n\n (string (http-agent \"http://www.stuartsierra.com/\"))\n\nA simple POST might look like:\n\n (http-agent \"http...\" :method \"POST\" :body \"foo=1\")\n\nAnd you could write the response directly to a file like this:\n\n (require '[clojure.contrib.duck-streams :as d])\n\n (http-agent \"http...\"\n :handler (fn [agnt] \n (with-open [w (d/writer \"/tmp/out\")] \n (d/copy (stream agnt) w))))"}, - {"source-url":null, + {"source-url": + "http://github.com/richhickey/clojure-contrib/blob/ee6e4bf2d912419dd180b712d32e817a479f14e8/src/clojure/contrib/http/connection.clj", "wiki-url": "http://richhickey.github.com/clojure-contrib/http.connection-api.html", "name":"clojure.contrib.http.connection", "doc":"Low-level HTTP client API around HttpURLConnection"}, - {"source-url":null, + {"source-url": + "http://github.com/richhickey/clojure-contrib/blob/86e90011e274910c618a5592d21ba3ce290a6855/src/clojure/contrib/import_static.clj", "wiki-url": "http://richhickey.github.com/clojure-contrib/import-static-api.html", "name":"clojure.contrib.import-static", "author":"Stuart Sierra", "doc":"Import static Java methods/fields into Clojure"}, - {"source-url":null, + {"source-url": + "http://github.com/richhickey/clojure-contrib/blob/86e90011e274910c618a5592d21ba3ce290a6855/src/clojure/contrib/jar.clj", "wiki-url": "http://richhickey.github.com/clojure-contrib/jar-api.html", "name":"clojure.contrib.jar", "author":"Stuart Sierra", "doc":"Utilities for working with Java JAR files"}, - {"source-url":null, + {"source-url": + "http://github.com/richhickey/clojure-contrib/blob/cc4e2ec2bf558f059330ebc97a031d7806a1e364/src/clojure/contrib/java_utils.clj", "wiki-url": "http://richhickey.github.com/clojure-contrib/java-utils-api.html", "name":"clojure.contrib.java-utils", - "author": - "Stuart Halloway, Stephen C. Gilardi, Shawn Hoover, Perry Trolard, Stuart Sierra", - "doc": - "A set of utilties for dealing with Java stuff like files and properties.\n\nDesign goals:\n\n(1) Ease-of-use. These APIs should be convenient. Performance is secondary.\n\n(2) Duck typing. I hate having to think about the difference between\n a string that names a file, and a File. Ditto for a ton of other \n wrapper classes in the Java world (URL, InternetAddress). With these\n APIs you should be able to think about domain equivalence, not type\n equivalence.\n\n(3) No bossiness. I am not marking any of these functions as private\n the docstrings will tell you the intended usage but do what works for you. \t\t\t\t\t\n\nFeedback welcome!\n\nIf something in this module violates the principle of least surprise, please \nlet me (Stu) and the Clojure community know via the mailing list."}, - {"source-url":null, + "doc":null}, + {"source-url": + "http://github.com/richhickey/clojure-contrib/blob/dd497fb5154f8a26f9a09af7361981cb196bdf67/src/clojure/contrib/javadoc/browse.clj", + "wiki-url": + "http://richhickey.github.com/clojure-contrib/javadoc.browse-api.html", + "name":"clojure.contrib.javadoc.browse", + "author":"Christophe Grand", + "doc":"Start a web browser from Clojure"}, + {"source-url": + "http://github.com/richhickey/clojure-contrib/blob/d596fee7fbe2f428a34ebecbaaf9451e215d5bdf/src/clojure/contrib/jmx.clj", "wiki-url": "http://richhickey.github.com/clojure-contrib/jmx-api.html", "name":"clojure.contrib.jmx", "author":"Stuart Halloway", "doc": "JMX support for Clojure\n\nRequires post-Clojure 1.0 git edge for clojure.test, clojure.backtrace.\nThis is prerelease.\nThis API will change.\nSend reports to stu@thinkrelevance.com.\n\nUsage\n (require '[clojure.contrib.jmx :as jmx])\n\nWhat beans do I have?\n\n (jmx/mbean-names \"*:*\")\n -> # (:Verbose :ObjectPendingFinalizationCount \n :HeapMemoryUsage :NonHeapMemoryUsage)\n\nWhat is the value of an attribute? \n\n (jmx/read \"java.lang:type=Memory\" :ObjectPendingFinalizationCount)\n -> 0\n\nCan't I just have *all* the attributes in a Clojure map?\n\n (jmx/mbean \"java.lang:type=Memory\")\n -> {:NonHeapMemoryUsage\n {:used 16674024, :max 138412032, :init 24317952, :committed 24317952},\n :HeapMemoryUsage\n {:used 18619064, :max 85393408, :init 0, :committed 83230720},\n :ObjectPendingFinalizationCount 0,\n :Verbose false}\n\nCan I find and invoke an operation?\n\n (jmx/operation-names \"java.lang:type=Memory\")\n -> (:gc) \n (jmx/invoke \"java.lang:type=Memory\" :gc)\n -> nil\n\nWhat about some other process? Just run *any* of the above code\ninside a with-connection:\n\n (jmx/with-connection {:host \"localhost\", :port 3000} \n (jmx/mbean \"java.lang:type=Memory\"))\n -> {:ObjectPendingFinalizationCount 0, \n :HeapMemoryUsage ... etc.}\n\nCan I serve my own beans? Sure, just drop a Clojure ref\ninto an instance of clojure.contrib.jmx.Bean, and the bean\nwill expose read-only attributes for every key/value pair\nin the ref:\n\n (jmx/register-mbean\n (Bean.\n (ref {:string-attribute \"a-string\"}))\n \"my.namespace:name=Value\")"}, - {"source-url":null, + {"source-url": + "http://github.com/richhickey/clojure-contrib/blob/4f2c7bb5cf6828eb710fd18b603828ab295d0fa5/src/clojure/contrib/json/read.clj", "wiki-url": "http://richhickey.github.com/clojure-contrib/json.read-api.html", "name":"clojure.contrib.json.read", "author":"Stuart Sierra", "doc": "JavaScript Object Notation (JSON) parser\n\nFor more information on JSON, see http://www.json.org/\n\nThis library parses data in JSON format. This is a fairly strict\nimplementation of JSON as described at json.org, not a full-fledged\nJavaScript parser. JavaScript functions and object constructors\nare not supported. Object field names must be quoted strings; they\nmay not be bare symbols.\n\nIf you want to convert map keys from strings to keywords, use\nclojure.contrib.walk/keywordize-keys"}, - {"source-url":null, + {"source-url": + "http://github.com/richhickey/clojure-contrib/blob/4f2c7bb5cf6828eb710fd18b603828ab295d0fa5/src/clojure/contrib/json/write.clj", "wiki-url": "http://richhickey.github.com/clojure-contrib/json.write-api.html", "name":"clojure.contrib.json.write", "author":"Stuart Sierra", "doc": "JavaScript Object Notation (JSON) generator.\n\nThis library will generate JSON from the following types:\n * nil\n * all primitives (Boolean, Byte, Short, Integer, Long, Float, Double)\n * String (actually any CharSequence)\n * java.util.Map (including Clojure maps)\n * java.util.Collection (including Clojure vectors, lists, and sets)\n * Java arrays\n\nYou can extend this library to handle new types by adding methods to\nprint-json.\n\nThis library does NOT attempt to preserve round-trip equality between\nJSON and Clojure data types. That is, if you write a JSON string with\nthis library, then read it back with clojure.contrib.json.read, you\nwon't necessarily get the exact same data structure. For example,\nClojure sets are written as JSON arrays, which will be read back as\nClojure vectors.\n\nIf you want indented output, try the clojure-json library at\nhttp://github.com/danlarkin/clojure-json\n\nThis implementation attempts to follow the description of JSON at\n. Maps become JSON objects, all other collections\nbecome JSON arrays. JSON object keys are always converted to strings.\nWithin strings, all non-ASCII characters are hexadecimal escaped."}, - {"source-url":null, + {"source-url": + "http://github.com/richhickey/clojure-contrib/blob/dd497fb5154f8a26f9a09af7361981cb196bdf67/src/clojure/contrib/lazy_seqs.clj", "wiki-url": "http://richhickey.github.com/clojure-contrib/lazy-seqs-api.html", "name":"clojure.contrib.lazy-seqs", "author":"Stephen C. Gilardi", "doc": "\n==== Lazy sequences ====\n\n primes - based on the \"naive\" implemention described in [1] plus a\n small \"wheel\" which eliminates multiples of 2, 3, 5, and\n 7 from consideration by incrementing past them. Also inspired\n by code from Christophe Grand in [2].\n\n fibs - all the Fibonacci numbers\n\n powers-of-2 - all the powers of 2\n\n ==== Lazy sequence functions ====\n\n (rotations, partition-all, shuffle, rand-elt moved to seq_utils.clj)\n (permutations and combinations moved to combinatorics.clj)\n\n [1] http://www.cs.hmc.edu/~oneill/papers/Sieve-JFP.pdf\n [2] http://clj-me.blogspot.com/2008/06/primes.html"}, - {"source-url":null, + {"source-url": + "http://github.com/richhickey/clojure-contrib/blob/acbd2097ddfbe5db48b486b6b706bdb59d412a69/src/clojure/contrib/lazy_xml.clj", "wiki-url": "http://richhickey.github.com/clojure-contrib/lazy-xml-api.html", "name":"clojure.contrib.lazy-xml", "author":"Chris Houser", "doc":"Functions to parse xml lazily and emit back to text."}, - {"source-url":null, + {"source-url": + "http://github.com/richhickey/clojure-contrib/blob/cd69d778f5a08810d4b934dbfc08f400ed34146a/src/clojure/contrib/logging.clj", "wiki-url": "http://richhickey.github.com/clojure-contrib/logging-api.html", "name":"clojure.contrib.logging", "author":"Alex Taggart, Timothy Pratley", "doc": "Logging macros which delegate to a specific logging implementation. At\nmacro-expansion-time a specific implementation is selected from, in order,\nApache commons-logging, log4j, and finally java.util.logging.\n\nLogging levels are specified by clojure keywords corresponding to the\nvalues used in log4j and commons-logging:\n :trace, :debug, :info, :warn, :error, :fatal\n\nLogging occurs with the log macro, or the level-specific convenience macros,\nwhich write either directly or via an agent. For performance reasons, direct\nlogging is enabled by default, but setting the *allow-direct-logging* boolean\natom to false will disable it. If logging is invoked within a transaction it\nwill always use an agent.\n\nThe log macros will not evaluate their 'message' unless the specific logging\nlevel is in effect. Alternately, you can use the spy macro when you have code\nthat needs to be evaluated, and also want to output the code and its result to\nthe debug log.\n\nUnless otherwise specified, the current namespace (as identified by *ns*) will\nbe used as the log-ns (similar to how the java class name is usually used).\nNote: your log configuration should display the name that was passed to the\nlogging implementation, and not perform stack-inspection, otherwise you'll see\nsomething like \"fn__72$impl_write_BANG__39__auto____81\" in your logs.\n\nUse the enabled? macro to write conditional code against the logging level\n(beyond simply whether or not to call log, which is handled automatically).\n\nYou can redirect all java writes of System.out and System.err to the log\nsystem by calling log-capture!. To rebind *out* and *err* to the log system\ninvoke with-logs. In both cases a log-ns (e.g., \"com.example.captured\")\nneeds to be specified to namespace the output."}, - {"source-url":null, + {"source-url": + "http://github.com/richhickey/clojure-contrib/blob/39618b6d881fb0c3b52de4929aa34134bb32ffdb/src/clojure/contrib/macro_utils.clj", "wiki-url": "http://richhickey.github.com/clojure-contrib/macro-utils-api.html", "name":"clojure.contrib.macro-utils", "author":"Konrad Hinsen", "doc": "Local macros and symbol macros\n\nLocal macros are defined by a macrolet form. They are usable only\ninside its body. Symbol macros can be defined globally\n(defsymbolmacro) or locally (symbol-macrolet). A symbol\nmacro defines a form that replaces a symbol during macro\nexpansion. Function arguments and symbols bound in let\nforms are not subject to symbol macro expansion.\n\nLocal macros are most useful in the definition of the expansion\nof another macro, they may be used anywhere. Global symbol\nmacros can be used only inside a with-symbol-macros form."}, - {"source-url":null, + {"source-url": + "http://github.com/richhickey/clojure-contrib/blob/59b6a660707837af10b69cc67fe9033ba528d22f/src/clojure/contrib/macros.clj", "wiki-url": "http://richhickey.github.com/clojure-contrib/macros-api.html", "name":"clojure.contrib.macros", "author":"Konrad Hinsen", "doc":"Various small macros"}, - {"source-url":null, + {"source-url": + "http://github.com/richhickey/clojure-contrib/blob/86e90011e274910c618a5592d21ba3ce290a6855/src/clojure/contrib/map_utils.clj", "wiki-url": "http://richhickey.github.com/clojure-contrib/map-utils-api.html", "name":"clojure.contrib.map-utils", "author":"Jason Wolfe, Chris Houser", "doc":"Utilities for operating on Clojure maps."}, - {"source-url":null, + {"source-url": + "http://github.com/richhickey/clojure-contrib/blob/86e90011e274910c618a5592d21ba3ce290a6855/src/clojure/contrib/math.clj", "wiki-url": "http://richhickey.github.com/clojure-contrib/math-api.html", "name":"clojure.contrib.math", "author":"Mark Engelberg", "doc": "Math functions that deal intelligently with the various\ntypes in Clojure's numeric tower, as well as math functions\ncommonly found in Scheme implementations.\n\nexpt - (expt x y) is x to the yth power, returns an exact number\n if the base is an exact number, and the power is an integer,\n otherwise returns a double.\nabs - (abs n) is the absolute value of n\ngcd - (gcd m n) returns the greatest common divisor of m and n\nlcm - (lcm m n) returns the least common multiple of m and n\n\nThe behavior of the next three functions on doubles is consistent\nwith the behavior of the corresponding functions\nin Java's Math library, but on exact numbers, returns an integer.\n\nfloor - (floor n) returns the greatest integer less than or equal to n.\n If n is an exact number, floor returns an integer,\n otherwise a double.\nceil - (ceil n) returns the least integer greater than or equal to n.\n If n is an exact number, ceil returns an integer,\n otherwise a double.\nround - (round n) rounds to the nearest integer.\n round always returns an integer. round rounds up for values\n exactly in between two integers.\n\n\nsqrt - Implements the sqrt behavior I'm accustomed to from PLT Scheme,\n specifically, if the input is an exact number, and is a square\n of an exact number, the output will be exact. The downside\n is that for the common case (inexact square root), some extra\n computation is done to look for an exact square root first.\n So if you need blazingly fast square root performance, and you\n know you're just going to need a double result, you're better\n off calling java's Math/sqrt, or alternatively, you could just\n convert your input to a double before calling this sqrt function.\n If Clojure ever gets complex numbers, then this function will\n need to be updated (so negative inputs yield complex outputs).\nexact-integer-sqrt - Implements a math function from the R6RS Scheme\n standard. (exact-integer-sqrt k) where k is a non-negative integer,\n returns [s r] where k = s^2+r and k < (s+1)^2. In other words, it\n returns the floor of the square root and the "}, - {"source-url":null, + {"source-url": + "http://github.com/richhickey/clojure-contrib/blob/62976a684da2984bec184324dfb3269b7de916e5/src/clojure/contrib/miglayout.clj", "wiki-url": "http://richhickey.github.com/clojure-contrib/miglayout-api.html", "name":"clojure.contrib.miglayout", "author":"Stephen C. Gilardi", "doc": "Clojure support for the MiGLayout layout manager\nhttp://www.miglayout.com/\n\nExample:\n\n (use '[clojure.contrib.miglayout.test :as mlt :only ()])\n (dotimes [i 5] (mlt/run-test i))"}, - {"source-url":null, + {"source-url": + "http://github.com/richhickey/clojure-contrib/blob/86e90011e274910c618a5592d21ba3ce290a6855/src/clojure/contrib/mmap.clj", "wiki-url": "http://richhickey.github.com/clojure-contrib/mmap-api.html", "name":"clojure.contrib.mmap", "author":"Chris Houser", "doc": "Functions for memory-mapping files, plus some functions that use a\nmmaped file for \"normal\" activies -- slurp, load-file, etc."}, - {"source-url":null, + {"source-url": + "http://github.com/richhickey/clojure-contrib/blob/a4a4a534d7dddc1d58fc93a216192bf4bb7b20ff/src/clojure/contrib/mock.clj", "wiki-url": "http://richhickey.github.com/clojure-contrib/mock-api.html", "name":"clojure.contrib.mock", "doc":null}, - {"source-url":null, + {"source-url": + "http://github.com/richhickey/clojure-contrib/blob/f9b111c67752220c9d45a7d6ef22c6eecf400c87/src/clojure/contrib/monadic_io_streams.clj", "wiki-url": "http://richhickey.github.com/clojure-contrib/monadic-io-streams-api.html", "name":"clojure.contrib.monadic-io-streams", "author":"Konrad Hinsen", "doc": "Monadic I/O with Java input/output streams\nDefines monadic I/O statements to be used in a state monad\nwith an input or output stream as the state. The macro\nmonadic-io creates a stream, runs a monadic I/O statement\non it, and closes the stream. This structure permits the\ndefinition of purely functional compound I/O statements\nwhich are applied to streams that can never escape from the\nmonadic statement sequence."}, - {"source-url":null, + {"source-url": + "http://github.com/richhickey/clojure-contrib/blob/34fc5f2bc4dbae6b1b05b77cda98f56cc62e73b7/src/clojure/contrib/monads.clj", "wiki-url": "http://richhickey.github.com/clojure-contrib/monads-api.html", "name":"clojure.contrib.monads", "author":"Konrad Hinsen", "doc": "This library contains the most commonly used monads as well\nas macros for defining and using monads and useful monadic\nfunctions."}, - {"source-url":null, + {"source-url": + "http://github.com/richhickey/clojure-contrib/blob/3a220e3af24bd5bd30869a112c7210a888ea6dc4/src/clojure/contrib/ns_utils.clj", "wiki-url": "http://richhickey.github.com/clojure-contrib/ns-utils-api.html", "name":"clojure.contrib.ns-utils", "author":"Stephen C. Gilardi", "doc":"Namespace utilities"}, - {"source-url":null, + {"source-url": + "http://github.com/richhickey/clojure-contrib/blob/ec3a9d1fc37db63245ec6a3c672725add7633bd2/src/clojure/contrib/pprint.clj", "wiki-url": "http://richhickey.github.com/clojure-contrib/pprint-api.html", "name":"clojure.contrib.pprint", "author":"Tom Faulhaber", "doc": "This module comprises two elements:\n1) A pretty printer for Clojure data structures, implemented in the \n function \"pprint\"\n2) A Common Lisp compatible format function, implemented as \n \"cl-format\" because Clojure is using the name \"format\" \n for its Java-based format function.\n\nSee documentation for those functions for more information or complete \ndocumentation on the the clojure-contrib web site on github."}, - {"source-url":null, + {"source-url": + "http://github.com/richhickey/clojure-contrib/blob/3f893e28ecc0fc2335355aea2cc9324ed5781c81/src/clojure/contrib/probabilities/finite_distributions.clj", "wiki-url": "http://richhickey.github.com/clojure-contrib/probabilities.finite-distributions-api.html", "name":"clojure.contrib.probabilities.finite-distributions", "author":"Konrad Hinsen", "doc": "Finite probability distributions\nThis library defines a monad for combining finite probability\ndistributions."}, - {"source-url":null, + {"source-url": + "http://github.com/richhickey/clojure-contrib/blob/09d39aca5a69a83f4326ffb0d4ba8f9fc15c9861/src/clojure/contrib/probabilities/monte_carlo.clj", "wiki-url": "http://richhickey.github.com/clojure-contrib/probabilities.monte-carlo-api.html", "name":"clojure.contrib.probabilities.monte-carlo", "author":"Konrad Hinsen", "doc": "Monte-Carlo method support\n\nMonte-Carlo methods transform an input random number stream\n(usually having a continuous uniform distribution in the\ninterval [0, 1)) into a random number stream whose distribution\nsatisfies certain conditions (usually the expectation value\nis equal to some desired quantity). They are thus\ntransformations from one probability distribution to another one.\n\nThis library represents a Monte-Carlo method by a function that\ntakes as input the state of a random number stream with\nuniform distribution (see\nclojure.contrib.probabilities.random-numbers) and returns a\nvector containing one sample value of the desired output\ndistribution and the final state of the input random number\nstream. Such functions are state monad values and can be\ncomposed using operations defined in clojure.contrib.monads."}, - {"source-url":null, + {"source-url": + "http://github.com/richhickey/clojure-contrib/blob/09d39aca5a69a83f4326ffb0d4ba8f9fc15c9861/src/clojure/contrib/probabilities/random_numbers.clj", "wiki-url": "http://richhickey.github.com/clojure-contrib/probabilities.random-numbers-api.html", "name":"clojure.contrib.probabilities.random-numbers", "author":"Konrad Hinsen", "doc": "Random number streams\n\nThis library provides random number generators with a common\nstream interface. They all produce pseudo-random numbers that are\nuniformly distributed in the interval [0, 1), i.e. 0 is a\npossible value but 1 isn't. For transformations to other\ndistributions, see clojure.contrib.probabilities.monte-carlo.\n\nAt the moment, the only generator provided is a rather simple\nlinear congruential generator."}, - {"source-url":null, + {"source-url": + "http://github.com/richhickey/clojure-contrib/blob/4c1bd15f0bc1764b68ca9ceb16201b7fcadca56b/src/clojure/contrib/profile.clj", "wiki-url": "http://richhickey.github.com/clojure-contrib/profile-api.html", "name":"clojure.contrib.profile", "author":"Stuart Sierra", "doc": "Simple code profiling & timing measurement.\n\nWrap any section of code in the prof macro, giving it a name, like this:\n\n (defn my-function [x y]\n (let [sum (prof :addition (+ x y))\n product (prof :multiplication (* x y))]\n [sum product]))\n\nThe run your code in the profile macro, like this:\n\n (profile (dotimes [i 10000] (my-function 3 4)))\n\nWhich prints a report for each named section of code:\n\n Name mean min max count sum\n addition 265 0 37000 10000 2655000\nmultiplication 274 0 53000 10000 2747000\n\nTimes are measured in nanoseconds, to the maximum precision available\nunder the JVM. See the function documentation for more details."}, - {"source-url":null, + {"source-url": + "http://github.com/richhickey/clojure-contrib/blob/86e90011e274910c618a5592d21ba3ce290a6855/src/clojure/contrib/prxml.clj", "wiki-url": "http://richhickey.github.com/clojure-contrib/prxml-api.html", "name":"clojure.contrib.prxml", "author":"Stuart Sierra", "doc": "Compact syntax for generating XML. See the documentation of \"prxml\" \nfor details."}, - {"source-url":null, + {"source-url": + "http://github.com/richhickey/clojure-contrib/blob/3ec66e7b4e47c95d4cc27b0c405447117b2d5503/src/clojure/contrib/repl_ln.clj", "wiki-url": "http://richhickey.github.com/clojure-contrib/repl-ln-api.html", "name":"clojure.contrib.repl-ln", "author":"Stephen C. Gilardi", "doc": "A repl with that provides support for lines and line numbers in the\ninput stream."}, - {"source-url":null, + {"source-url": + "http://github.com/richhickey/clojure-contrib/blob/e5b7819ef66410a87b8072417dc2f09ac4ddb03f/src/clojure/contrib/repl_utils.clj", "wiki-url": "http://richhickey.github.com/clojure-contrib/repl-utils-api.html", "name":"clojure.contrib.repl-utils", "author":"Chris Houser, Christophe Grand, Stephen Gilardi", "doc":"Utilities meant to be used interactively at the REPL"}, - {"source-url":null, + {"source-url": + "http://github.com/richhickey/clojure-contrib/blob/1640c0433e35cf9a60e1483424c0a2a8ca56b730/src/clojure/contrib/seq_utils.clj", "wiki-url": "http://richhickey.github.com/clojure-contrib/seq-utils-api.html", "name":"clojure.contrib.seq-utils", "author":"Stuart Sierra (and others)", "doc":"Sequence utilities for Clojure"}, - {"source-url":null, + {"source-url": + "http://github.com/richhickey/clojure-contrib/blob/37dad8c37622669271357cfceec03e391cc10e17/src/clojure/contrib/server_socket.clj", "wiki-url": "http://richhickey.github.com/clojure-contrib/server-socket-api.html", "name":"clojure.contrib.server-socket", "author":"Craig McDaniel", "doc":"Server socket library - includes REPL on socket"}, - {"source-url":null, + {"source-url": + "http://github.com/richhickey/clojure-contrib/blob/86e90011e274910c618a5592d21ba3ce290a6855/src/clojure/contrib/set.clj", "wiki-url": "http://richhickey.github.com/clojure-contrib/set-api.html", "name":"clojure.contrib.set", "author":"Jason Wolfe", "doc": "Clojure functions for operating on sets (supplemental to clojure.set)"}, - {"source-url":null, + {"source-url": + "http://github.com/richhickey/clojure-contrib/blob/cc4e2ec2bf558f059330ebc97a031d7806a1e364/src/clojure/contrib/shell_out.clj", "wiki-url": "http://richhickey.github.com/clojure-contrib/shell-out-api.html", "name":"clojure.contrib.shell-out", "author":"Chris Houser", "doc": "Conveniently launch a sub-process providing to its stdin and\ncollecting its stdout"}, - {"source-url":null, + {"source-url": + "http://github.com/richhickey/clojure-contrib/blob/86e90011e274910c618a5592d21ba3ce290a6855/src/clojure/contrib/singleton.clj", "wiki-url": "http://richhickey.github.com/clojure-contrib/singleton-api.html", "name":"clojure.contrib.singleton", "author":"Stuart Sierra", "doc":"Singleton functions"}, - {"source-url":null, + {"source-url": + "http://github.com/richhickey/clojure-contrib/blob/be33acd87f190d9ec2ad756d8cb31c88abca7e5f/src/clojure/contrib/sql.clj", "wiki-url": "http://richhickey.github.com/clojure-contrib/sql-api.html", "name":"clojure.contrib.sql", "author":"Stephen C. Gilardi", "doc": "A Clojure interface to sql databases via jdbc\n\nSee clojure.contrib.sql.test for an example"}, - {"source-url":null, + {"source-url": + "http://github.com/richhickey/clojure-contrib/blob/86e90011e274910c618a5592d21ba3ce290a6855/src/clojure/contrib/str_utils.clj", "wiki-url": "http://richhickey.github.com/clojure-contrib/str-utils-api.html", "name":"clojure.contrib.str-utils", "author":"Stuart Sierra", "doc":"String utilities for Clojure"}, - {"source-url":null, + {"source-url": + "http://github.com/richhickey/clojure-contrib/blob/4b4f6ab5bcab58c4219eb50395bd366daea3ecc3/src/clojure/contrib/str_utils2.clj", "wiki-url": "http://richhickey.github.com/clojure-contrib/str-utils2-api.html", "name":"clojure.contrib.str-utils2", "author":"Stuart Sierra", "doc": "This is a library of string manipulation functions. It\nis intented as a replacement for clojure.contrib.str-utils.\n\nYou cannot (use 'clojure.contrib.str-utils2) because it defines\nfunctions with the same names as functions in clojure.core.\nInstead, do (require '[clojure.contrib.str-utils2 :as s]) \nor something similar.\n\nGoals:\n 1. Be functional\n 2. String argument first, to work with ->\n 3. Performance linear in string length\n\nSome ideas are borrowed from\nhttp://github.com/francoisdevlin/devlinsf-clojure-utils/"}, - {"source-url":null, + {"source-url": + "http://github.com/richhickey/clojure-contrib/blob/09d39aca5a69a83f4326ffb0d4ba8f9fc15c9861/src/clojure/contrib/stream_utils.clj", "wiki-url": "http://richhickey.github.com/clojure-contrib/stream-utils-api.html", "name":"clojure.contrib.stream-utils", "author":"Konrad Hinsen", "doc": "Functions for setting up computational pipelines via data streams.\n\nNOTE: This library is experimental. It may change significantly\n with future release.\n\nThis library defines:\n- an abstract stream type, whose interface consists of the\n multimethod stream-next\n- a macro for implementing streams\n- implementations of stream for\n 1) Clojure sequences, and vectors\n 2) nil, representing an empty stream\n- tools for writing stream transformers, including the\n monad stream-m\n- various utility functions for working with streams\n\nStreams are building blocks in the construction of computational\npipelines. A stream is represented by its current state plus\na function that takes a stream state and obtains the next item\nin the stream as well as the new stream state. The state is\nimplemented as a Java class or a Clojure type (as defined by the\nfunction clojure.core/type), and the function is provided as an\nimplementation of the multimethod stream-next for this class or type.\n\nWhile setting up pipelines using this mechanism is somewhat more\ncumbersome than using Clojure's lazy seq mechanisms, there are a\nfew advantages:\n- The state of a stream can be stored in any Clojure data structure,\n and the stream can be re-generated from it any number of times.\n Any number of states can be stored this way.\n- The elements of the stream are never cached, so keeping a reference\n to a stream state does not incur an uncontrollable memory penalty.\n\nNote that the stream mechanism is thread-safe as long as the\nconcrete stream implementations do not use any mutable state.\n\nStream transformers take any number of input streams and produce one\noutput stream. They are typically written using the stream-m\nmonad. In the definition of a stream transformer, (pick s) returns\nthe next value of stream argument s, whereas pick-all returns the\nnext value of all stream arguments in the form of a vector."}, - {"source-url":null, + {"source-url": + "http://github.com/richhickey/clojure-contrib/blob/2c75edd4a1764b9453107e50feceb0fc185faae2/src/clojure/contrib/swing_utils.clj", "wiki-url": "http://richhickey.github.com/clojure-contrib/swing-utils-api.html", "name":"clojure.contrib.swing-utils", "doc":null}, - {"source-url":null, + {"source-url": + "http://github.com/richhickey/clojure-contrib/blob/cdbfc8de5723bc352ee4fb54bd3eeb4502835362/src/clojure/contrib/test_is.clj", "wiki-url": "http://richhickey.github.com/clojure-contrib/test-is-api.html", "name":"clojure.contrib.test-is", "author":"Stuart Sierra", "doc": "Backwards-compatibility for clojure.contrib.test-is\n\nThe clojure.contrib.test-is library moved from Contrib into the\nClojure distribution as clojure.test.\n\nThis happened on or around clojure-contrib Git commit\n82cf0409d0fcb71be477ebfc4da18ee2128a2ad1 on June 25, 2009.\n\nThis file makes the clojure.test interface available under the old\nnamespace clojure.contrib.test-is.\n\nThis includes support for the old syntax of the 'are' macro.\n\nThis was suggested by Howard Lewis Ship in ticket #26, \nhttp://www.assembla.com/spaces/clojure-contrib/tickets/26"}, - {"source-url":null, + {"source-url": + "http://github.com/richhickey/clojure-contrib/blob/6dff158bdec5f06c33877c6c6550699d5e08ca71/src/clojure/contrib/trace.clj", "wiki-url": "http://richhickey.github.com/clojure-contrib/trace-api.html", "name":"clojure.contrib.trace", "author":"Stuart Sierra, Michel Salim", "doc": "This file defines simple \"tracing\" macros to help you see what your\ncode is doing."}, - {"source-url":null, + {"source-url": + "http://github.com/richhickey/clojure-contrib/blob/e5b7819ef66410a87b8072417dc2f09ac4ddb03f/src/clojure/contrib/types.clj", "wiki-url": "http://richhickey.github.com/clojure-contrib/types-api.html", "name":"clojure.contrib.types", "author":"Konrad Hinsen", "doc":"General and algebraic data types"}, - {"source-url":null, + {"source-url": + "http://github.com/richhickey/clojure-contrib/blob/f24f6412a1cee7015285856e5e4fc6ddc3974439/src/clojure/contrib/with_ns.clj", "wiki-url": "http://richhickey.github.com/clojure-contrib/with-ns-api.html", "name":"clojure.contrib.with-ns", "author":"Stuart Sierra", "doc":"Temporary namespace macro"}, - {"source-url":null, + {"source-url": + "http://github.com/richhickey/clojure-contrib/blob/e5b7819ef66410a87b8072417dc2f09ac4ddb03f/src/clojure/contrib/zip_filter.clj", "wiki-url": "http://richhickey.github.com/clojure-contrib/zip-filter-api.html", "name":"clojure.contrib.zip-filter", "author":"Chris Houser", "doc": "System for filtering trees and nodes generated by zip.clj in\ngeneral, and xml trees in particular."}, - {"source-url":null, + {"source-url": + "http://github.com/richhickey/clojure-contrib/blob/443409f56420f3dc7972131c34c189e63d28fdcb/src/clojure/contrib/condition/Condition.clj", "wiki-url": "http://richhickey.github.com/clojure-contrib/condition.Condition-api.html", "name":"clojure.contrib.condition.Condition", "doc":null}, - {"source-url":null, + {"source-url": + "http://github.com/richhickey/clojure-contrib/blob/f087e3a7f8b2f2ca48c07db2a47724ce7b98dce7/src/clojure/contrib/datalog/database.clj", + "wiki-url": + "http://richhickey.github.com/clojure-contrib/datalog.database-api.html", + "name":"clojure.contrib.datalog.database", + "doc":null}, + {"source-url": + "http://github.com/richhickey/clojure-contrib/blob/245fc9ec4499219bfb66f3fe4789b884b418c7b2/src/clojure/contrib/datalog/literals.clj", + "wiki-url": + "http://richhickey.github.com/clojure-contrib/datalog.literals-api.html", + "name":"clojure.contrib.datalog.literals", + "doc":null}, + {"source-url": + "http://github.com/richhickey/clojure-contrib/blob/7dfd0d90b11f00de5ad1ad30c690a4f12d426c3b/src/clojure/contrib/datalog/magic.clj", + "wiki-url": + "http://richhickey.github.com/clojure-contrib/datalog.magic-api.html", + "name":"clojure.contrib.datalog.magic", + "doc":null}, + {"source-url": + "http://github.com/richhickey/clojure-contrib/blob/7dfd0d90b11f00de5ad1ad30c690a4f12d426c3b/src/clojure/contrib/datalog/rules.clj", + "wiki-url": + "http://richhickey.github.com/clojure-contrib/datalog.rules-api.html", + "name":"clojure.contrib.datalog.rules", + "doc":null}, + {"source-url": + "http://github.com/richhickey/clojure-contrib/blob/7dfd0d90b11f00de5ad1ad30c690a4f12d426c3b/src/clojure/contrib/datalog/softstrat.clj", + "wiki-url": + "http://richhickey.github.com/clojure-contrib/datalog.softstrat-api.html", + "name":"clojure.contrib.datalog.softstrat", + "doc":null}, + {"source-url": + "http://github.com/richhickey/clojure-contrib/blob/82f5ad11ff5d75f19de6bf5cfcf33b571592c89e/src/clojure/contrib/datalog/util.clj", + "wiki-url": + "http://richhickey.github.com/clojure-contrib/datalog.util-api.html", + "name":"clojure.contrib.datalog.util", + "doc":null}, + {"source-url": + "http://github.com/richhickey/clojure-contrib/blob/df27c0a710440e2fef44f799dc5933f29ced44e1/src/clojure/contrib/miglayout/example.clj", + "wiki-url": + "http://richhickey.github.com/clojure-contrib/miglayout.example-api.html", + "name":"clojure.contrib.miglayout.example", + "doc":null}, + {"source-url": + "http://github.com/richhickey/clojure-contrib/blob/8bce6fb2d0a9b66aa1fd145f3dfd62833d8ad330/src/clojure/contrib/miglayout/internal.clj", + "wiki-url": + "http://richhickey.github.com/clojure-contrib/miglayout.internal-api.html", + "name":"clojure.contrib.miglayout.internal", + "doc":null}, + {"source-url": + "http://github.com/richhickey/clojure-contrib/blob/8bce6fb2d0a9b66aa1fd145f3dfd62833d8ad330/src/clojure/contrib/miglayout/test.clj", + "wiki-url": + "http://richhickey.github.com/clojure-contrib/miglayout.test-api.html", + "name":"clojure.contrib.miglayout.test", + "doc":null}, + {"source-url": + "http://github.com/richhickey/clojure-contrib/blob/a4a4a534d7dddc1d58fc93a216192bf4bb7b20ff/src/clojure/contrib/mock/test_adapter.clj", + "wiki-url": + "http://richhickey.github.com/clojure-contrib/mock.test-adapter-api.html", + "name":"clojure.contrib.mock.test-adapter", + "doc":null}, + {"source-url": + "http://github.com/richhickey/clojure-contrib/blob/e20e8effe977640592b1f285d6c666492d74df00/src/clojure/contrib/pprint/examples/json.clj", "wiki-url": "http://richhickey.github.com/clojure-contrib/pprint.examples.json-api.html", "name":"clojure.contrib.pprint.examples.json", "author":"Tom Faulhaber (based on the version by Stuart Sierra)", "doc": "Pretty printing JavaScript Object Notation (JSON) generator.\n\nThis is an example of using a pretty printer dispatch function to generate JSON output"}, - {"source-url":null, + {"source-url": + "http://github.com/richhickey/clojure-contrib/blob/2f7ddf7205bbd47ace5d2240c66a4686de18d7e7/src/clojure/contrib/pprint/examples/xml.clj", "wiki-url": "http://richhickey.github.com/clojure-contrib/pprint.examples.xml-api.html", "name":"clojure.contrib.pprint.examples.xml", "author":"Tom Faulhaber, based on the original by Stuart Sierra", "doc": - "A version of prxml that uses a pretty print dispatch function."}], + "A version of prxml that uses a pretty print dispatch function."}, + {"source-url": + "http://github.com/richhickey/clojure-contrib/blob/be33acd87f190d9ec2ad756d8cb31c88abca7e5f/src/clojure/contrib/sql/internal.clj", + "wiki-url": + "http://richhickey.github.com/clojure-contrib/sql.internal-api.html", + "name":"clojure.contrib.sql.internal", + "doc":null}, + {"source-url": + "http://github.com/richhickey/clojure-contrib/blob/3ce0c3bd3178fc8de29d4e22646764aa07583673/src/clojure/contrib/sql/test.clj", + "wiki-url": + "http://richhickey.github.com/clojure-contrib/sql.test-api.html", + "name":"clojure.contrib.sql.test", + "doc":null}, + {"source-url": + "http://github.com/richhickey/clojure-contrib/blob/81b9e71effbaf6aa2945cd684802d87c762cdcdd/src/clojure/contrib/zip_filter/xml.clj", + "wiki-url": + "http://richhickey.github.com/clojure-contrib/zip-filter.xml-api.html", + "name":"clojure.contrib.zip-filter.xml", + "doc":null}], "vars": - [{"source-url":null, + [{"source-url": + "http://github.com/richhickey/clojure-contrib/blob/09d39aca5a69a83f4326ffb0d4ba8f9fc15c9861/src/clojure/contrib/accumulators.clj#L31", + "wiki-url": + "http://richhickey.github.com/clojure-contrib//accumulators-api.html#clojure.contrib.accumulators/add", + "namespace":"clojure.contrib.accumulators", + "arglists":[["acc", "item"]], + "doc": + "Add item to the accumulator acc. The exact meaning of adding an\nan item depends on the type of the accumulator.", + "name":"add"}, + {"source-url": + "http://github.com/richhickey/clojure-contrib/blob/09d39aca5a69a83f4326ffb0d4ba8f9fc15c9861/src/clojure/contrib/accumulators.clj#L37", + "wiki-url": + "http://richhickey.github.com/clojure-contrib//accumulators-api.html#clojure.contrib.accumulators/add-items", + "namespace":"clojure.contrib.accumulators", + "arglists":[["acc", "items"]], + "doc": + "Add all elements of a collection coll to the accumulator acc.", + "name":"add-items"}, + {"source-url": + "http://github.com/richhickey/clojure-contrib/blob/09d39aca5a69a83f4326ffb0d4ba8f9fc15c9861/src/clojure/contrib/accumulators.clj#L42", + "wiki-url": + "http://richhickey.github.com/clojure-contrib//accumulators-api.html#clojure.contrib.accumulators/combine", + "namespace":"clojure.contrib.accumulators", + "arglists":[["&", "accs"]], + "doc": + "Combine the values of the accumulators acc1 and acc2 into a\nsingle accumulator of the same type.", + "name":"combine"}, + {"source-url": + "http://github.com/richhickey/clojure-contrib/blob/09d39aca5a69a83f4326ffb0d4ba8f9fc15c9861/src/clojure/contrib/accumulators.clj#L271", + "wiki-url": + "http://richhickey.github.com/clojure-contrib//accumulators-api.html#clojure.contrib.accumulators/empty-counter", + "namespace":"clojure.contrib.accumulators", + "doc": + "An empty counter accumulator. Its value is a map that stores for\nevery item the number of times it was added.", + "name":"empty-counter"}, + {"source-url": + "http://github.com/richhickey/clojure-contrib/blob/09d39aca5a69a83f4326ffb0d4ba8f9fc15c9861/src/clojure/contrib/accumulators.clj#L292", + "wiki-url": + "http://richhickey.github.com/clojure-contrib//accumulators-api.html#clojure.contrib.accumulators/empty-counter-with-total", + "namespace":"clojure.contrib.accumulators", + "doc": + "An empty counter-with-total accumulator. It works like the counter\naccumulator, except that the total number of items added is stored as the\nvalue of the key :total.", + "name":"empty-counter-with-total"}, + {"source-url": + "http://github.com/richhickey/clojure-contrib/blob/09d39aca5a69a83f4326ffb0d4ba8f9fc15c9861/src/clojure/contrib/accumulators.clj#L88", + "wiki-url": + "http://richhickey.github.com/clojure-contrib//accumulators-api.html#clojure.contrib.accumulators/empty-list", + "namespace":"clojure.contrib.accumulators", + "doc": + "An empty list accumulator. Adding an item appends it at the beginning.", + "name":"empty-list"}, + {"source-url": + "http://github.com/richhickey/clojure-contrib/blob/09d39aca5a69a83f4326ffb0d4ba8f9fc15c9861/src/clojure/contrib/accumulators.clj#L145", + "wiki-url": + "http://richhickey.github.com/clojure-contrib//accumulators-api.html#clojure.contrib.accumulators/empty-map", + "namespace":"clojure.contrib.accumulators", + "doc": + "An empty map accumulator. Items to be added must be [key value] pairs.", + "name":"empty-map"}, + {"source-url": + "http://github.com/richhickey/clojure-contrib/blob/09d39aca5a69a83f4326ffb0d4ba8f9fc15c9861/src/clojure/contrib/accumulators.clj#L185", + "wiki-url": + "http://richhickey.github.com/clojure-contrib//accumulators-api.html#clojure.contrib.accumulators/empty-maximum", + "namespace":"clojure.contrib.accumulators", + "doc":"An empty maximum accumulator. Only numbers can be added.", + "name":"empty-maximum"}, + {"source-url": + "http://github.com/richhickey/clojure-contrib/blob/09d39aca5a69a83f4326ffb0d4ba8f9fc15c9861/src/clojure/contrib/accumulators.clj#L232", + "wiki-url": + "http://richhickey.github.com/clojure-contrib//accumulators-api.html#clojure.contrib.accumulators/empty-mean-variance", + "namespace":"clojure.contrib.accumulators", + "doc": + "An empty mean-variance accumulator, combining sample mean and\nsample variance. Only numbers can be added.", + "name":"empty-mean-variance"}, + {"source-url": + "http://github.com/richhickey/clojure-contrib/blob/09d39aca5a69a83f4326ffb0d4ba8f9fc15c9861/src/clojure/contrib/accumulators.clj#L207", + "wiki-url": + "http://richhickey.github.com/clojure-contrib//accumulators-api.html#clojure.contrib.accumulators/empty-min-max", + "namespace":"clojure.contrib.accumulators", + "doc": + "An empty min-max accumulator, combining minimum and maximum.\nOnly numbers can be added.", + "name":"empty-min-max"}, + {"source-url": + "http://github.com/richhickey/clojure-contrib/blob/09d39aca5a69a83f4326ffb0d4ba8f9fc15c9861/src/clojure/contrib/accumulators.clj#L191", + "wiki-url": + "http://richhickey.github.com/clojure-contrib//accumulators-api.html#clojure.contrib.accumulators/empty-minimum", + "namespace":"clojure.contrib.accumulators", + "doc":"An empty minimum accumulator. Only numbers can be added.", + "name":"empty-minimum"}, + {"source-url": + "http://github.com/richhickey/clojure-contrib/blob/09d39aca5a69a83f4326ffb0d4ba8f9fc15c9861/src/clojure/contrib/accumulators.clj#L177", + "wiki-url": + "http://richhickey.github.com/clojure-contrib//accumulators-api.html#clojure.contrib.accumulators/empty-product", + "namespace":"clojure.contrib.accumulators", + "doc":"An empty sum accumulator. Only numbers can be added.", + "name":"empty-product"}, + {"source-url": + "http://github.com/richhickey/clojure-contrib/blob/09d39aca5a69a83f4326ffb0d4ba8f9fc15c9861/src/clojure/contrib/accumulators.clj#L102", + "wiki-url": + "http://richhickey.github.com/clojure-contrib//accumulators-api.html#clojure.contrib.accumulators/empty-queue", + "namespace":"clojure.contrib.accumulators", + "doc": + "An empty queue accumulator. Adding an item appends it at the end.", + "name":"empty-queue"}, + {"source-url": + "http://github.com/richhickey/clojure-contrib/blob/09d39aca5a69a83f4326ffb0d4ba8f9fc15c9861/src/clojure/contrib/accumulators.clj#L116", + "wiki-url": + "http://richhickey.github.com/clojure-contrib//accumulators-api.html#clojure.contrib.accumulators/empty-set", + "namespace":"clojure.contrib.accumulators", + "doc":"An empty set accumulator.", + "name":"empty-set"}, + {"source-url": + "http://github.com/richhickey/clojure-contrib/blob/09d39aca5a69a83f4326ffb0d4ba8f9fc15c9861/src/clojure/contrib/accumulators.clj#L130", + "wiki-url": + "http://richhickey.github.com/clojure-contrib//accumulators-api.html#clojure.contrib.accumulators/empty-string", + "namespace":"clojure.contrib.accumulators", + "doc": + "An empty string accumulator. Adding an item (string or character)\nappends it at the end.", + "name":"empty-string"}, + {"source-url": + "http://github.com/richhickey/clojure-contrib/blob/09d39aca5a69a83f4326ffb0d4ba8f9fc15c9861/src/clojure/contrib/accumulators.clj#L174", + "wiki-url": + "http://richhickey.github.com/clojure-contrib//accumulators-api.html#clojure.contrib.accumulators/empty-sum", + "namespace":"clojure.contrib.accumulators", + "doc":"An empty sum accumulator. Only numbers can be added.", + "name":"empty-sum"}, + {"source-url": + "http://github.com/richhickey/clojure-contrib/blob/09d39aca5a69a83f4326ffb0d4ba8f9fc15c9861/src/clojure/contrib/accumulators.clj#L310", + "wiki-url": + "http://richhickey.github.com/clojure-contrib//accumulators-api.html#clojure.contrib.accumulators/empty-tuple", + "namespace":"clojure.contrib.accumulators", + "arglists":[["empty-accumulators"]], + "doc": + "Returns an accumulator tuple with the supplied empty-accumulators\nas its value. Accumulator tuples consist of several accumulators that\nwork in parallel. Added items must be sequences whose number of elements\nmatches the number of sub-accumulators.", + "name":"empty-tuple"}, + {"source-url": + "http://github.com/richhickey/clojure-contrib/blob/09d39aca5a69a83f4326ffb0d4ba8f9fc15c9861/src/clojure/contrib/accumulators.clj#L74", + "wiki-url": + "http://richhickey.github.com/clojure-contrib//accumulators-api.html#clojure.contrib.accumulators/empty-vector", + "namespace":"clojure.contrib.accumulators", + "doc": + "An empty vector accumulator. Adding an item appends it at the end.", + "name":"empty-vector"}, + {"source-url": + "http://github.com/richhickey/clojure-contrib/blob/47a2f69414f0c3ff90fb2fad4930d9af3d491d23/src/clojure/contrib/agent_utils.clj#L22", "wiki-url": "http://richhickey.github.com/clojure-contrib//agent-utils-api.html#clojure.contrib.agent-utils/capture-and-send", "namespace":"clojure.contrib.agent-utils", @@ -502,7 +803,8 @@ "doc": "Capture the current value of the specified vars and rebind \nthem on the agent thread before executing the action.\n\nExample:\n (capture-and-send [*out*] a f b c)", "name":"capture-and-send"}, - {"source-url":null, + {"source-url": + "http://github.com/richhickey/clojure-contrib/blob/04a22729691863a5b7e7b1b3c6c1157a02aff3b2/src/clojure/contrib/apply_macro.clj#L32", "wiki-url": "http://richhickey.github.com/clojure-contrib//apply-macro-api.html#clojure.contrib.apply-macro/apply-macro", "namespace":"clojure.contrib.apply-macro", @@ -510,7 +812,8 @@ "doc": "This is evil. Don't ever use it. It makes a macro behave like a\nfunction. Seriously, how messed up is that?\n\nEvaluates all args, then uses them as arguments to the macro as with\napply.\n\n(def things [true true false])\n(apply-macro and things)\n;; Expands to: (and true true false)", "name":"apply-macro"}, - {"source-url":null, + {"source-url": + "http://github.com/richhickey/clojure-contrib/blob/7b661cfc55e2293d14bed4fd801c017b3f68d291/src/clojure/contrib/base64.clj#L27", "wiki-url": "http://richhickey.github.com/clojure-contrib//base64-api.html#clojure.contrib.base64/encode", "namespace":"clojure.contrib.base64", @@ -518,7 +821,8 @@ "doc": "Encodes bytes of input, writing Base 64 text on output. alphabet\nis a 65-character String containing the 64 characters to use in the\nencoding; the 65th character is the pad character. line-length is\nthe maximum number of characters per line, nil for no line breaks.", "name":"encode"}, - {"source-url":null, + {"source-url": + "http://github.com/richhickey/clojure-contrib/blob/7b661cfc55e2293d14bed4fd801c017b3f68d291/src/clojure/contrib/base64.clj#L79", "wiki-url": "http://richhickey.github.com/clojure-contrib//base64-api.html#clojure.contrib.base64/encode-str", "namespace":"clojure.contrib.base64", @@ -526,14 +830,43 @@ "doc": "Encodes String in base 64; returns a String. If not specified,\nencoding is UTF-8 and line-length is nil.", "name":"encode-str"}, - {"source-url":null, + {"source-url": + "http://github.com/richhickey/clojure-contrib/blob/a4b8d24cb2f4e79fa3856db37d5fcf1d94003b30/src/clojure/contrib/classpath.clj#L23", "wiki-url": - "http://richhickey.github.com/clojure-contrib//combinatorics-api.html#clojure.contrib.combinatorics/cartesian-product", - "namespace":"clojure.contrib.combinatorics", - "arglists":[["&", "seqs"]], - "doc":"All the ways to take one item from each sequence", - "name":"cartesian-product"}, - {"source-url":null, + "http://richhickey.github.com/clojure-contrib//classpath-api.html#clojure.contrib.classpath/classpath", + "namespace":"clojure.contrib.classpath", + "arglists":[[]], + "doc": + "Returns a sequence of File objects of the elements on CLASSPATH.", + "name":"classpath"}, + {"source-url": + "http://github.com/richhickey/clojure-contrib/blob/a4b8d24cb2f4e79fa3856db37d5fcf1d94003b30/src/clojure/contrib/classpath.clj#L30", + "wiki-url": + "http://richhickey.github.com/clojure-contrib//classpath-api.html#clojure.contrib.classpath/classpath-directories", + "namespace":"clojure.contrib.classpath", + "arglists":[[]], + "doc": + "Returns a sequence of File objects for the directories on classpath.", + "name":"classpath-directories"}, + {"source-url": + "http://github.com/richhickey/clojure-contrib/blob/a4b8d24cb2f4e79fa3856db37d5fcf1d94003b30/src/clojure/contrib/classpath.clj#L35", + "wiki-url": + "http://richhickey.github.com/clojure-contrib//classpath-api.html#clojure.contrib.classpath/classpath-jarfiles", + "namespace":"clojure.contrib.classpath", + "arglists":[[]], + "doc": + "Returns a sequence of JarFile objects for the JAR files on classpath.", + "name":"classpath-jarfiles"}, + {"source-url": + "http://github.com/richhickey/clojure-contrib/blob/47a2f69414f0c3ff90fb2fad4930d9af3d491d23/src/clojure/contrib/combinatorics.clj#L107", + "wiki-url": + "http://richhickey.github.com/clojure-contrib//combinatorics-api.html#clojure.contrib.combinatorics/cartesian-product", + "namespace":"clojure.contrib.combinatorics", + "arglists":[["&", "seqs"]], + "doc":"All the ways to take one item from each sequence", + "name":"cartesian-product"}, + {"source-url": + "http://github.com/richhickey/clojure-contrib/blob/47a2f69414f0c3ff90fb2fad4930d9af3d491d23/src/clojure/contrib/combinatorics.clj#L90", "wiki-url": "http://richhickey.github.com/clojure-contrib//combinatorics-api.html#clojure.contrib.combinatorics/combinations", "namespace":"clojure.contrib.combinatorics", @@ -541,7 +874,8 @@ "doc": "All the unique ways of taking n different elements from items", "name":"combinations"}, - {"source-url":null, + {"source-url": + "http://github.com/richhickey/clojure-contrib/blob/47a2f69414f0c3ff90fb2fad4930d9af3d491d23/src/clojure/contrib/combinatorics.clj#L151", "wiki-url": "http://richhickey.github.com/clojure-contrib//combinatorics-api.html#clojure.contrib.combinatorics/lex-permutations", "namespace":"clojure.contrib.combinatorics", @@ -549,14 +883,16 @@ "doc": "Fast lexicographic permutation generator for a sequence of numbers", "name":"lex-permutations"}, - {"source-url":null, + {"source-url": + "http://github.com/richhickey/clojure-contrib/blob/47a2f69414f0c3ff90fb2fad4930d9af3d491d23/src/clojure/contrib/combinatorics.clj#L160", "wiki-url": "http://richhickey.github.com/clojure-contrib//combinatorics-api.html#clojure.contrib.combinatorics/permutations", "namespace":"clojure.contrib.combinatorics", "arglists":[["items"]], "doc":"All the permutations of items, lexicographic by index", "name":"permutations"}, - {"source-url":null, + {"source-url": + "http://github.com/richhickey/clojure-contrib/blob/47a2f69414f0c3ff90fb2fad4930d9af3d491d23/src/clojure/contrib/combinatorics.clj#L127", "wiki-url": "http://richhickey.github.com/clojure-contrib//combinatorics-api.html#clojure.contrib.combinatorics/selections", "namespace":"clojure.contrib.combinatorics", @@ -564,14 +900,24 @@ "doc": "All the ways of taking n (possibly the same) elements from the sequence of items", "name":"selections"}, - {"source-url":null, + {"source-url": + "http://github.com/richhickey/clojure-contrib/blob/47a2f69414f0c3ff90fb2fad4930d9af3d491d23/src/clojure/contrib/combinatorics.clj#L101", "wiki-url": "http://richhickey.github.com/clojure-contrib//combinatorics-api.html#clojure.contrib.combinatorics/subsets", "namespace":"clojure.contrib.combinatorics", "arglists":[["items"]], "doc":"All the subsets of items", "name":"subsets"}, - {"source-url":null, + {"source-url": + "http://github.com/richhickey/clojure-contrib/blob/ddd7bc2226927634dc0216554194877fa6f170e1/src/clojure/contrib/command_line.clj#L91", + "wiki-url": + "http://richhickey.github.com/clojure-contrib//command-line-api.html#clojure.contrib.command-line/with-command-line", + "namespace":"clojure.contrib.command-line", + "arglists":[["args", "desc", "cmdspec", "&", "body"]], + "doc":"Bind locals to command-line args.", + "name":"with-command-line"}, + {"source-url": + "http://github.com/richhickey/clojure-contrib/blob/a4b8d24cb2f4e79fa3856db37d5fcf1d94003b30/src/clojure/contrib/cond.clj#L18", "wiki-url": "http://richhickey.github.com/clojure-contrib//cond-api.html#clojure.contrib.cond/cond-let", "namespace":"clojure.contrib.cond", @@ -579,7 +925,51 @@ "doc": "Takes a binding-form and a set of test/expr pairs. Evaluates each test\none at a time. If a test returns logical true, cond-let evaluates and\nreturns expr with binding-form bound to the value of test and doesn't\nevaluate any of the other tests or exprs. To provide a default value\neither provide a literal that evaluates to logical true and is\nbinding-compatible with binding-form, or use :else as the test and don't\nrefer to any parts of binding-form in the expr. (cond-let binding-form)\nreturns nil.", "name":"cond-let"}, - {"source-url":null, + {"source-url": + "http://github.com/richhickey/clojure-contrib/blob/e5b7819ef66410a87b8072417dc2f09ac4ddb03f/src/clojure/contrib/condition.clj#L56", + "wiki-url": + "http://richhickey.github.com/clojure-contrib//condition-api.html#clojure.contrib.condition/*full-stack-traces*", + "namespace":"clojure.contrib.condition", + "doc": + "Bind to true to include clojure.{core,lang,main} frames in stack\ntraces", + "name":"*full-stack-traces*"}, + {"source-url": + "http://github.com/richhickey/clojure-contrib/blob/e5b7819ef66410a87b8072417dc2f09ac4ddb03f/src/clojure/contrib/condition.clj#L71", + "wiki-url": + "http://richhickey.github.com/clojure-contrib//condition-api.html#clojure.contrib.condition/handler-case", + "namespace":"clojure.contrib.condition", + "arglists":[["dispatch-fn", "&", "body"]], + "doc": + "Executes body in a context where raised conditions can be handled.\n\ndispatch-fn accepts a raised condition (a map) and returns a selector\nused to choose a handler. Commonly, dispatch-fn will be :type to dispatch\non the condition's :type value.\n\nHandlers are forms within body:\n\n (handle key\n ...)\n\nIf a condition is raised, executes the body of the first handler whose\nkey satisfies (isa? selector key). If no handlers match, re-raises the\ncondition.\n\nWhile a handler is running, *condition* is bound to the condition being\nhandled and *selector* is bound to to the value returned by dispatch-fn\nthat matched the handler's key.", + "name":"handler-case"}, + {"source-url": + "http://github.com/richhickey/clojure-contrib/blob/e5b7819ef66410a87b8072417dc2f09ac4ddb03f/src/clojure/contrib/condition.clj#L128", + "wiki-url": + "http://richhickey.github.com/clojure-contrib//condition-api.html#clojure.contrib.condition/print-stack-trace", + "namespace":"clojure.contrib.condition", + "arglists":[["x"]], + "doc": + "Prints a stack trace for a condition or Throwable. Skips frames for\nclasses in clojure.{core,lang,main} unless the *full-stack-traces* is\nbound to logical true", + "name":"print-stack-trace"}, + {"source-url": + "http://github.com/richhickey/clojure-contrib/blob/e5b7819ef66410a87b8072417dc2f09ac4ddb03f/src/clojure/contrib/condition.clj#L60", + "wiki-url": + "http://richhickey.github.com/clojure-contrib//condition-api.html#clojure.contrib.condition/raise", + "namespace":"clojure.contrib.condition", + "arglists":[[], ["m"], ["key", "val", "&", "keyvals"]], + "doc": + "Raises a condition. With no arguments, re-raises the current condition.\nWith one argument (a map), raises the argument. With two or more\narguments, raises a map with keys and values from the arguments.", + "name":"raise"}, + {"source-url": + "http://github.com/richhickey/clojure-contrib/blob/e5b7819ef66410a87b8072417dc2f09ac4ddb03f/src/clojure/contrib/condition.clj#L106", + "wiki-url": + "http://richhickey.github.com/clojure-contrib//condition-api.html#clojure.contrib.condition/stack-trace-info", + "namespace":"clojure.contrib.condition", + "doc": + "Returns header, stack-trace, and cause info from conditions and\nThrowables", + "name":"stack-trace-info"}, + {"source-url": + "http://github.com/richhickey/clojure-contrib/blob/bc07de7c3b1058f4263bd7b1c424f771fb010005/src/clojure/contrib/core.clj#L30", "wiki-url": "http://richhickey.github.com/clojure-contrib//core-api.html#clojure.contrib.core/-?>", "namespace":"clojure.contrib.core", @@ -587,7 +977,8 @@ "doc": "Same as clojure.core/-> but returns nil as soon as the threaded value is nil itself (thus short-circuiting any pending computation).\nExamples :\n(-?> \"foo\" .toUpperCase (.substring 1)) returns \"OO\"\n(-?> nil .toUpperCase (.substring 1)) returns nil\n", "name":"-?>"}, - {"source-url":null, + {"source-url": + "http://github.com/richhickey/clojure-contrib/blob/bc07de7c3b1058f4263bd7b1c424f771fb010005/src/clojure/contrib/core.clj#L38", "wiki-url": "http://richhickey.github.com/clojure-contrib//core-api.html#clojure.contrib.core/.?.", "namespace":"clojure.contrib.core", @@ -595,7 +986,8 @@ "doc": "Same as clojure.core/.. but returns nil as soon as the threaded value is nil itself (thus short-circuiting any pending computation).\nExamples :\n(.?. \"foo\" .toUpperCase (.substring 1)) returns \"OO\"\n(.?. nil .toUpperCase (.substring 1)) returns nil\n", "name":".?."}, - {"source-url":null, + {"source-url": + "http://github.com/richhickey/clojure-contrib/blob/bc07de7c3b1058f4263bd7b1c424f771fb010005/src/clojure/contrib/core.clj#L49", "wiki-url": "http://richhickey.github.com/clojure-contrib//core-api.html#clojure.contrib.core/dissoc-in", "namespace":"clojure.contrib.core", @@ -603,7 +995,8 @@ "doc": "Dissociates an entry from a nested associative structure returning a new\nnested structure. keys is a sequence of keys. Any empty maps that result\nwill not be present in the new structure.", "name":"dissoc-in"}, - {"source-url":null, + {"source-url": + "http://github.com/richhickey/clojure-contrib/blob/bc07de7c3b1058f4263bd7b1c424f771fb010005/src/clojure/contrib/core.clj#L63", "wiki-url": "http://richhickey.github.com/clojure-contrib//core-api.html#clojure.contrib.core/new-by-name", "namespace":"clojure.contrib.core", @@ -611,14 +1004,198 @@ "doc": "Constructs a Java object whose class is specified by a String.", "name":"new-by-name"}, - {"source-url":null, + {"source-url": + "http://github.com/richhickey/clojure-contrib/blob/bc07de7c3b1058f4263bd7b1c424f771fb010005/src/clojure/contrib/core.clj#L70", "wiki-url": "http://richhickey.github.com/clojure-contrib//core-api.html#clojure.contrib.core/seqable?", "namespace":"clojure.contrib.core", "arglists":[["x"]], "doc":"Returns true if (seq x) will succeed, false otherwise.", "name":"seqable?"}, - {"source-url":null, + {"source-url": + "http://github.com/richhickey/clojure-contrib/blob/4f2c7bb5cf6828eb710fd18b603828ab295d0fa5/src/clojure/contrib/dataflow.clj#L460", + "wiki-url": + "http://richhickey.github.com/clojure-contrib//dataflow-api.html#clojure.contrib.dataflow/add-cell-watcher", + "namespace":"clojure.contrib.dataflow", + "arglists":[["cell", "key", "fun"]], + "doc": + "Adds a watcher to a cell to respond to changes of value. The is a\nfunction of 4 values: a key, the cell, its old value, its new\nvalue. This is implemented using Clojure's add-watch to the\nunderlying ref, and shared its sematics", + "name":"add-cell-watcher"}, + {"source-url": + "http://github.com/richhickey/clojure-contrib/blob/4f2c7bb5cf6828eb710fd18b603828ab295d0fa5/src/clojure/contrib/dataflow.clj#L210", + "wiki-url": + "http://richhickey.github.com/clojure-contrib//dataflow-api.html#clojure.contrib.dataflow/add-cells", + "namespace":"clojure.contrib.dataflow", + "arglists":[["df", "cells"]], + "doc":"Given a collection of cells, add them to the dataflow.", + "name":"add-cells"}, + {"source-url": + "http://github.com/richhickey/clojure-contrib/blob/4f2c7bb5cf6828eb710fd18b603828ab295d0fa5/src/clojure/contrib/dataflow.clj#L188", + "wiki-url": + "http://richhickey.github.com/clojure-contrib//dataflow-api.html#clojure.contrib.dataflow/build-dataflow", + "namespace":"clojure.contrib.dataflow", + "arglists":[["cs"]], + "doc": + "Given a collection of cells, build and return a dataflow object", + "name":"build-dataflow"}, + {"source-url": + "http://github.com/richhickey/clojure-contrib/blob/4f2c7bb5cf6828eb710fd18b603828ab295d0fa5/src/clojure/contrib/dataflow.clj#L231", + "wiki-url": + "http://richhickey.github.com/clojure-contrib//dataflow-api.html#clojure.contrib.dataflow/build-source-cell", + "namespace":"clojure.contrib.dataflow", + "arglists":[["name", "init"]], + "doc":"Builds a source cell", + "name":"build-source-cell"}, + {"source-url": + "http://github.com/richhickey/clojure-contrib/blob/4f2c7bb5cf6828eb710fd18b603828ab295d0fa5/src/clojure/contrib/dataflow.clj#L292", + "wiki-url": + "http://richhickey.github.com/clojure-contrib//dataflow-api.html#clojure.contrib.dataflow/build-standard-cell", + "namespace":"clojure.contrib.dataflow", + "arglists":[["name", "deps", "fun", "expr"]], + "doc":"Builds a standard cell", + "name":"build-standard-cell"}, + {"source-url": + "http://github.com/richhickey/clojure-contrib/blob/4f2c7bb5cf6828eb710fd18b603828ab295d0fa5/src/clojure/contrib/dataflow.clj#L298", + "wiki-url": + "http://richhickey.github.com/clojure-contrib//dataflow-api.html#clojure.contrib.dataflow/build-validator-cell", + "namespace":"clojure.contrib.dataflow", + "arglists":[["deps", "fun", "expr"]], + "doc":"Builds a validator cell", + "name":"build-validator-cell"}, + {"source-url": + "http://github.com/richhickey/clojure-contrib/blob/4f2c7bb5cf6828eb710fd18b603828ab295d0fa5/src/clojure/contrib/dataflow.clj#L304", + "wiki-url": + "http://richhickey.github.com/clojure-contrib//dataflow-api.html#clojure.contrib.dataflow/cell", + "namespace":"clojure.contrib.dataflow", + "arglists":[["type", "&", "data"]], + "doc": + "Build a standard cell, like this:\n\n (cell fred\n (* ?mary ?joe))\n\nWhich creates a cell named fred that is the product of a cell mary and cell joe\n\nOr:\n\n (cell joe\n (apply * ?*sally))\n\nWhich creates a cell that applies * to the collection of all cells named sally\n\nOr:\n\n (cell :source fred 0)\n\nWhich builds a source cell fred with initial value 0\n\nOr:\n\n (cell :validator (when (< ?fred ?sally)\n (throwf \"%s must be greater than %s\" ?fred ?sally))\n\nWhich will perform the validation", + "name":"cell"}, + {"source-url": + "http://github.com/richhickey/clojure-contrib/blob/4f2c7bb5cf6828eb710fd18b603828ab295d0fa5/src/clojure/contrib/dataflow.clj#L348", + "wiki-url": + "http://richhickey.github.com/clojure-contrib//dataflow-api.html#clojure.contrib.dataflow/display-cell", + "namespace":"clojure.contrib.dataflow", + "doc":"A 'readable' form of the cell", + "name":"display-cell"}, + {"source-url": + "http://github.com/richhickey/clojure-contrib/blob/4f2c7bb5cf6828eb710fd18b603828ab295d0fa5/src/clojure/contrib/dataflow.clj#L372", + "wiki-url": + "http://richhickey.github.com/clojure-contrib//dataflow-api.html#clojure.contrib.dataflow/eval-cell", + "namespace":"clojure.contrib.dataflow", + "doc":"Evaluate a dataflow cell. Return [changed, old val]", + "name":"eval-cell"}, + {"source-url": + "http://github.com/richhickey/clojure-contrib/blob/4f2c7bb5cf6828eb710fd18b603828ab295d0fa5/src/clojure/contrib/dataflow.clj#L94", + "wiki-url": + "http://richhickey.github.com/clojure-contrib//dataflow-api.html#clojure.contrib.dataflow/get-cell", + "namespace":"clojure.contrib.dataflow", + "arglists":[["df", "name"]], + "doc":"Get the single cell named by name", + "name":"get-cell"}, + {"source-url": + "http://github.com/richhickey/clojure-contrib/blob/4f2c7bb5cf6828eb710fd18b603828ab295d0fa5/src/clojure/contrib/dataflow.clj#L89", + "wiki-url": + "http://richhickey.github.com/clojure-contrib//dataflow-api.html#clojure.contrib.dataflow/get-cells", + "namespace":"clojure.contrib.dataflow", + "arglists":[["df", "name"]], + "doc":"Get all the cells named by name", + "name":"get-cells"}, + {"source-url": + "http://github.com/richhickey/clojure-contrib/blob/4f2c7bb5cf6828eb710fd18b603828ab295d0fa5/src/clojure/contrib/dataflow.clj#L136", + "wiki-url": + "http://richhickey.github.com/clojure-contrib//dataflow-api.html#clojure.contrib.dataflow/get-old-value", + "namespace":"clojure.contrib.dataflow", + "arglists":[["df", "env", "name"]], + "doc":"Looks up an old value", + "name":"get-old-value"}, + {"source-url": + "http://github.com/richhickey/clojure-contrib/blob/4f2c7bb5cf6828eb710fd18b603828ab295d0fa5/src/clojure/contrib/dataflow.clj#L108", + "wiki-url": + "http://richhickey.github.com/clojure-contrib//dataflow-api.html#clojure.contrib.dataflow/get-source-cells", + "namespace":"clojure.contrib.dataflow", + "arglists":[["df"]], + "doc":"Returns a collection of source cells from the dataflow", + "name":"get-source-cells"}, + {"source-url": + "http://github.com/richhickey/clojure-contrib/blob/4f2c7bb5cf6828eb710fd18b603828ab295d0fa5/src/clojure/contrib/dataflow.clj#L115", + "wiki-url": + "http://richhickey.github.com/clojure-contrib//dataflow-api.html#clojure.contrib.dataflow/get-value", + "namespace":"clojure.contrib.dataflow", + "arglists":[["df", "name"]], + "doc": + "Gets a value from the df matching the passed symbol.\nSignals an error if the name is not present, or if it not a single\nvalue.", + "name":"get-value"}, + {"source-url": + "http://github.com/richhickey/clojure-contrib/blob/4f2c7bb5cf6828eb710fd18b603828ab295d0fa5/src/clojure/contrib/dataflow.clj#L143", + "wiki-url": + "http://richhickey.github.com/clojure-contrib//dataflow-api.html#clojure.contrib.dataflow/get-value-from-cell", + "namespace":"clojure.contrib.dataflow", + "arglists":[["cell"]], + "doc":"Given a cell, get its value", + "name":"get-value-from-cell"}, + {"source-url": + "http://github.com/richhickey/clojure-contrib/blob/4f2c7bb5cf6828eb710fd18b603828ab295d0fa5/src/clojure/contrib/dataflow.clj#L126", + "wiki-url": + "http://richhickey.github.com/clojure-contrib//dataflow-api.html#clojure.contrib.dataflow/get-values", + "namespace":"clojure.contrib.dataflow", + "arglists":[["df", "name"]], + "doc":"Gets a collection of values from the df by name", + "name":"get-values"}, + {"source-url": + "http://github.com/richhickey/clojure-contrib/blob/4f2c7bb5cf6828eb710fd18b603828ab295d0fa5/src/clojure/contrib/dataflow.clj#L199", + "wiki-url": + "http://richhickey.github.com/clojure-contrib//dataflow-api.html#clojure.contrib.dataflow/print-dataflow", + "namespace":"clojure.contrib.dataflow", + "arglists":[["df"]], + "doc":"Prints a dataflow, one cell per line", + "name":"print-dataflow"}, + {"source-url": + "http://github.com/richhickey/clojure-contrib/blob/4f2c7bb5cf6828eb710fd18b603828ab295d0fa5/src/clojure/contrib/dataflow.clj#L218", + "wiki-url": + "http://richhickey.github.com/clojure-contrib//dataflow-api.html#clojure.contrib.dataflow/remove-cells", + "namespace":"clojure.contrib.dataflow", + "arglists":[["df", "cells"]], + "doc": + "Given a collection of cells, remove them from the dataflow.", + "name":"remove-cells"}, + {"source-url": + "http://github.com/richhickey/clojure-contrib/blob/4f2c7bb5cf6828eb710fd18b603828ab295d0fa5/src/clojure/contrib/dataflow.clj#L103", + "wiki-url": + "http://richhickey.github.com/clojure-contrib//dataflow-api.html#clojure.contrib.dataflow/source-cell?", + "namespace":"clojure.contrib.dataflow", + "arglists":[["cell"]], + "doc":"Is this cell a source cell?", + "name":"source-cell?"}, + {"source-url": + "http://github.com/richhickey/clojure-contrib/blob/4f2c7bb5cf6828eb710fd18b603828ab295d0fa5/src/clojure/contrib/dataflow.clj#L438", + "wiki-url": + "http://richhickey.github.com/clojure-contrib//dataflow-api.html#clojure.contrib.dataflow/update-values", + "namespace":"clojure.contrib.dataflow", + "arglists":[["df", "data"]], + "doc": + "Given a dataflow, and a map of name-value pairs, update the\ndataflow by binding the new values. Each name must be of a source\ncell", + "name":"update-values"}, + {"source-url": + "http://github.com/richhickey/clojure-contrib/blob/ab7e1757c4de4c5d05b8c286646c152d19e29825/src/clojure/contrib/datalog.clj#L46", + "wiki-url": + "http://richhickey.github.com/clojure-contrib//datalog-api.html#clojure.contrib.datalog/build-work-plan", + "namespace":"clojure.contrib.datalog", + "arglists":[["rules", "query"]], + "doc": + "Given a list of rules and a query, build a work plan that can be\nused to execute the query.", + "name":"build-work-plan"}, + {"source-url": + "http://github.com/richhickey/clojure-contrib/blob/ab7e1757c4de4c5d05b8c286646c152d19e29825/src/clojure/contrib/datalog.clj#L56", + "wiki-url": + "http://richhickey.github.com/clojure-contrib//datalog-api.html#clojure.contrib.datalog/run-work-plan", + "namespace":"clojure.contrib.datalog", + "arglists":[["work-plan", "database", "query-bindings"]], + "doc": + "Given a work plan, a database, and some query bindings, run the\nwork plan and return the results.", + "name":"run-work-plan"}, + {"source-url": + "http://github.com/richhickey/clojure-contrib/blob/4df3fae61cbd538786a73908eb0b8fc176b3fefd/src/clojure/contrib/def.clj#L66", "wiki-url": "http://richhickey.github.com/clojure-contrib//def-api.html#clojure.contrib.def/defalias", "namespace":"clojure.contrib.def", @@ -626,7 +1203,8 @@ "doc": "Defines an alias for a var: a new var with the same root binding (if\nany) and similar metadata. The metadata of the alias is its initial\nmetadata (as provided by def) merged into the metadata of the original.", "name":"defalias"}, - {"source-url":null, + {"source-url": + "http://github.com/richhickey/clojure-contrib/blob/4df3fae61cbd538786a73908eb0b8fc176b3fefd/src/clojure/contrib/def.clj#L83", "wiki-url": "http://richhickey.github.com/clojure-contrib//def-api.html#clojure.contrib.def/defhinted", "namespace":"clojure.contrib.def", @@ -634,14 +1212,16 @@ "doc": "Defines a var with a type hint matching the class of the given\ninit. Be careful about using any form of 'def' or 'binding' to a\nvalue of a different type. See http://paste.lisp.org/display/73344", "name":"defhinted"}, - {"source-url":null, + {"source-url": + "http://github.com/richhickey/clojure-contrib/blob/4df3fae61cbd538786a73908eb0b8fc176b3fefd/src/clojure/contrib/def.clj#L39", "wiki-url": "http://richhickey.github.com/clojure-contrib//def-api.html#clojure.contrib.def/defmacro-", "namespace":"clojure.contrib.def", "arglists":[["name", "&", "decls"]], "doc":"Same as defmacro but yields a private definition", "name":"defmacro-"}, - {"source-url":null, + {"source-url": + "http://github.com/richhickey/clojure-contrib/blob/4df3fae61cbd538786a73908eb0b8fc176b3fefd/src/clojure/contrib/def.clj#L141", "wiki-url": "http://richhickey.github.com/clojure-contrib//def-api.html#clojure.contrib.def/defn-memo", "namespace":"clojure.contrib.def", @@ -649,7 +1229,8 @@ "doc": "Just like defn, but memoizes the function using clojure.core/memoize", "name":"defn-memo"}, - {"source-url":null, + {"source-url": + "http://github.com/richhickey/clojure-contrib/blob/4df3fae61cbd538786a73908eb0b8fc176b3fefd/src/clojure/contrib/def.clj#L120", "wiki-url": "http://richhickey.github.com/clojure-contrib//def-api.html#clojure.contrib.def/defnk", "namespace":"clojure.contrib.def", @@ -657,49 +1238,56 @@ "doc": "Define a function accepting keyword arguments. Symbols up to the first\nkeyword in the parameter list are taken as positional arguments. Then\nan alternating sequence of keywords and defaults values is expected. The\nvalues of the keyword arguments are available in the function body by\nvirtue of the symbol corresponding to the keyword (cf. :keys destructuring).\ndefnk accepts an optional docstring as well as an optional metadata map.", "name":"defnk"}, - {"source-url":null, + {"source-url": + "http://github.com/richhickey/clojure-contrib/blob/4df3fae61cbd538786a73908eb0b8fc176b3fefd/src/clojure/contrib/def.clj#L59", "wiki-url": "http://richhickey.github.com/clojure-contrib//def-api.html#clojure.contrib.def/defonce-", "namespace":"clojure.contrib.def", "arglists":[["name", "expr"], ["name", "expr", "doc"]], "doc":"Same as defonce but yields a private definition", "name":"defonce-"}, - {"source-url":null, + {"source-url": + "http://github.com/richhickey/clojure-contrib/blob/4df3fae61cbd538786a73908eb0b8fc176b3fefd/src/clojure/contrib/def.clj#L54", "wiki-url": "http://richhickey.github.com/clojure-contrib//def-api.html#clojure.contrib.def/defstruct-", "namespace":"clojure.contrib.def", "arglists":[["name", "&", "decls"]], "doc":"Same as defstruct but yields a private definition", "name":"defstruct-"}, - {"source-url":null, + {"source-url": + "http://github.com/richhickey/clojure-contrib/blob/4df3fae61cbd538786a73908eb0b8fc176b3fefd/src/clojure/contrib/def.clj#L32", "wiki-url": "http://richhickey.github.com/clojure-contrib//def-api.html#clojure.contrib.def/defunbound", "namespace":"clojure.contrib.def", "arglists":[["name"], ["name", "doc"]], "doc":"Defines an unbound var with optional doc string", "name":"defunbound"}, - {"source-url":null, + {"source-url": + "http://github.com/richhickey/clojure-contrib/blob/4df3fae61cbd538786a73908eb0b8fc176b3fefd/src/clojure/contrib/def.clj#L49", "wiki-url": "http://richhickey.github.com/clojure-contrib//def-api.html#clojure.contrib.def/defunbound-", "namespace":"clojure.contrib.def", "arglists":[["name", "&", "decls"]], "doc":"Same as defunbound but yields a private definition", "name":"defunbound-"}, - {"source-url":null, + {"source-url": + "http://github.com/richhickey/clojure-contrib/blob/4df3fae61cbd538786a73908eb0b8fc176b3fefd/src/clojure/contrib/def.clj#L23", "wiki-url": "http://richhickey.github.com/clojure-contrib//def-api.html#clojure.contrib.def/defvar", "namespace":"clojure.contrib.def", "arglists":[["name"], ["name", "init"], ["name", "init", "doc"]], "doc":"Defines a var with an optional intializer and doc string", "name":"defvar"}, - {"source-url":null, + {"source-url": + "http://github.com/richhickey/clojure-contrib/blob/4df3fae61cbd538786a73908eb0b8fc176b3fefd/src/clojure/contrib/def.clj#L44", "wiki-url": "http://richhickey.github.com/clojure-contrib//def-api.html#clojure.contrib.def/defvar-", "namespace":"clojure.contrib.def", "arglists":[["name", "&", "decls"]], "doc":"Same as defvar but yields a private definition", "name":"defvar-"}, - {"source-url":null, + {"source-url": + "http://github.com/richhickey/clojure-contrib/blob/4df3fae61cbd538786a73908eb0b8fc176b3fefd/src/clojure/contrib/def.clj#L94", "wiki-url": "http://richhickey.github.com/clojure-contrib//def-api.html#clojure.contrib.def/name-with-attributes", "namespace":"clojure.contrib.def", @@ -707,41 +1295,47 @@ "doc": "To be used in macro definitions.\nHandles optional docstrings and attribute maps for a name to be defined\nin a list of macro arguments. If the first macro argument is a string,\nit is added as a docstring to name and removed from the macro argument\nlist. If afterwards the first macro argument is a map, its entries are\nadded to the name's metadata map and the map is removed from the\nmacro argument list. The return value is a vector containing the name\nwith its extended metadata map and the list of unprocessed macro\narguments.", "name":"name-with-attributes"}, - {"source-url":null, + {"source-url": + "http://github.com/richhickey/clojure-contrib/blob/2ae8ff46d348522efe9f96cfd31f6e9b6018cfdc/src/clojure/contrib/duck_streams.clj#L144", "wiki-url": "http://richhickey.github.com/clojure-contrib//duck-streams-api.html#clojure.contrib.duck-streams/*append-to-writer*", "namespace":"clojure.contrib.duck-streams", "doc": "If true, writer and spit will open files in append mode.\nDefaults to false. Use append-writer or append-spit.", "name":"*append-to-writer*"}, - {"source-url":null, + {"source-url": + "http://github.com/richhickey/clojure-contrib/blob/2ae8ff46d348522efe9f96cfd31f6e9b6018cfdc/src/clojure/contrib/duck_streams.clj#L76", "wiki-url": "http://richhickey.github.com/clojure-contrib//duck-streams-api.html#clojure.contrib.duck-streams/*buffer-size*", "namespace":"clojure.contrib.duck-streams", "doc": "Size, in bytes or characters, of the buffer used when\ncopying streams.", "name":"*buffer-size*"}, - {"source-url":null, + {"source-url": + "http://github.com/richhickey/clojure-contrib/blob/2ae8ff46d348522efe9f96cfd31f6e9b6018cfdc/src/clojure/contrib/duck_streams.clj#L81", "wiki-url": "http://richhickey.github.com/clojure-contrib//duck-streams-api.html#clojure.contrib.duck-streams/*byte-array-type*", "namespace":"clojure.contrib.duck-streams", "doc":"Type object for a Java primitive byte array.", "name":"*byte-array-type*"}, - {"source-url":null, + {"source-url": + "http://github.com/richhickey/clojure-contrib/blob/2ae8ff46d348522efe9f96cfd31f6e9b6018cfdc/src/clojure/contrib/duck_streams.clj#L70", "wiki-url": "http://richhickey.github.com/clojure-contrib//duck-streams-api.html#clojure.contrib.duck-streams/*default-encoding*", "namespace":"clojure.contrib.duck-streams", "doc": "Name of the default encoding to use when reading & writing.\nDefault is UTF-8.", "name":"*default-encoding*"}, - {"source-url":null, + {"source-url": + "http://github.com/richhickey/clojure-contrib/blob/2ae8ff46d348522efe9f96cfd31f6e9b6018cfdc/src/clojure/contrib/duck_streams.clj#L263", "wiki-url": "http://richhickey.github.com/clojure-contrib//duck-streams-api.html#clojure.contrib.duck-streams/append-spit", "namespace":"clojure.contrib.duck-streams", "arglists":[["f", "content"]], "doc":"Like spit but appends to file.", "name":"append-spit"}, - {"source-url":null, + {"source-url": + "http://github.com/richhickey/clojure-contrib/blob/2ae8ff46d348522efe9f96cfd31f6e9b6018cfdc/src/clojure/contrib/duck_streams.clj#L215", "wiki-url": "http://richhickey.github.com/clojure-contrib//duck-streams-api.html#clojure.contrib.duck-streams/append-writer", "namespace":"clojure.contrib.duck-streams", @@ -749,7 +1343,8 @@ "doc": "Like writer but opens file for appending. Does not work on streams\nthat are already open.", "name":"append-writer"}, - {"source-url":null, + {"source-url": + "http://github.com/richhickey/clojure-contrib/blob/2ae8ff46d348522efe9f96cfd31f6e9b6018cfdc/src/clojure/contrib/duck_streams.clj#L299", "wiki-url": "http://richhickey.github.com/clojure-contrib//duck-streams-api.html#clojure.contrib.duck-streams/copy", "namespace":"clojure.contrib.duck-streams", @@ -757,7 +1352,8 @@ "doc": "Copies input to output. Returns nil.\nInput may be an InputStream, Reader, File, byte[], or String.\nOutput may be an OutputStream, Writer, or File.\n\nDoes not close any streams except those it opens itself \n(on a File).\n\nWriting a File fails if the parent directory does not exist.", "name":"copy"}, - {"source-url":null, + {"source-url": + "http://github.com/richhickey/clojure-contrib/blob/2ae8ff46d348522efe9f96cfd31f6e9b6018cfdc/src/clojure/contrib/duck_streams.clj#L86", "wiki-url": "http://richhickey.github.com/clojure-contrib//duck-streams-api.html#clojure.contrib.duck-streams/file-str", "namespace":"clojure.contrib.duck-streams", @@ -765,14 +1361,16 @@ "doc": "Concatenates args as strings and returns a java.io.File. Replaces\nall / and \\ with File/separatorChar. Replaces ~ at the start of\nthe path with the user.home system property.", "name":"file-str"}, - {"source-url":null, + {"source-url": + "http://github.com/richhickey/clojure-contrib/blob/2ae8ff46d348522efe9f96cfd31f6e9b6018cfdc/src/clojure/contrib/duck_streams.clj#L386", "wiki-url": "http://richhickey.github.com/clojure-contrib//duck-streams-api.html#clojure.contrib.duck-streams/make-parents", "namespace":"clojure.contrib.duck-streams", "arglists":[["file"]], "doc":"Creates all parent directories of file.", "name":"make-parents"}, - {"source-url":null, + {"source-url": + "http://github.com/richhickey/clojure-contrib/blob/2ae8ff46d348522efe9f96cfd31f6e9b6018cfdc/src/clojure/contrib/duck_streams.clj#L269", "wiki-url": "http://richhickey.github.com/clojure-contrib//duck-streams-api.html#clojure.contrib.duck-streams/pwd", "namespace":"clojure.contrib.duck-streams", @@ -780,7 +1378,8 @@ "doc": "Returns current working directory as a String. (Like UNIX 'pwd'.)\nNote: In Java, you cannot change the current working directory.", "name":"pwd"}, - {"source-url":null, + {"source-url": + "http://github.com/richhickey/clojure-contrib/blob/2ae8ff46d348522efe9f96cfd31f6e9b6018cfdc/src/clojure/contrib/duck_streams.clj#L234", "wiki-url": "http://richhickey.github.com/clojure-contrib//duck-streams-api.html#clojure.contrib.duck-streams/read-lines", "namespace":"clojure.contrib.duck-streams", @@ -788,7 +1387,8 @@ "doc": "Like clojure.core/line-seq but opens f with reader. Automatically\ncloses the reader AFTER YOU CONSUME THE ENTIRE SEQUENCE.", "name":"read-lines"}, - {"source-url":null, + {"source-url": + "http://github.com/richhickey/clojure-contrib/blob/2ae8ff46d348522efe9f96cfd31f6e9b6018cfdc/src/clojure/contrib/duck_streams.clj#L100", "wiki-url": "http://richhickey.github.com/clojure-contrib//duck-streams-api.html#clojure.contrib.duck-streams/reader", "namespace":"clojure.contrib.duck-streams", @@ -796,14 +1396,16 @@ "doc": "Attempts to coerce its argument into an open\njava.io.BufferedReader. Argument may be an instance of Reader,\nBufferedReader, InputStream, File, URI, URL, Socket, or String.\n\nIf argument is a String, it tries to resolve it first as a URI, then\nas a local file name. URIs with a 'file' protocol are converted to\nlocal file names. Uses *default-encoding* as the text encoding.\n\nShould be used inside with-open to ensure the Reader is properly\nclosed.", "name":"reader"}, - {"source-url":null, + {"source-url": + "http://github.com/richhickey/clojure-contrib/blob/2ae8ff46d348522efe9f96cfd31f6e9b6018cfdc/src/clojure/contrib/duck_streams.clj#L245", "wiki-url": "http://richhickey.github.com/clojure-contrib//duck-streams-api.html#clojure.contrib.duck-streams/slurp*", "namespace":"clojure.contrib.duck-streams", "arglists":[["f"]], "doc":"Like clojure.core/slurp but opens f with reader.", "name":"slurp*"}, - {"source-url":null, + {"source-url": + "http://github.com/richhickey/clojure-contrib/blob/2ae8ff46d348522efe9f96cfd31f6e9b6018cfdc/src/clojure/contrib/duck_streams.clj#L256", "wiki-url": "http://richhickey.github.com/clojure-contrib//duck-streams-api.html#clojure.contrib.duck-streams/spit", "namespace":"clojure.contrib.duck-streams", @@ -811,7 +1413,8 @@ "doc": "Opposite of slurp. Opens f with writer, writes content, then\ncloses f.", "name":"spit"}, - {"source-url":null, + {"source-url": + "http://github.com/richhickey/clojure-contrib/blob/2ae8ff46d348522efe9f96cfd31f6e9b6018cfdc/src/clojure/contrib/duck_streams.clj#L391", "wiki-url": "http://richhickey.github.com/clojure-contrib//duck-streams-api.html#clojure.contrib.duck-streams/to-byte-array", "namespace":"clojure.contrib.duck-streams", @@ -819,7 +1422,8 @@ "doc": "Converts argument into a Java byte array. Argument may be\na String, File, InputStream, or Reader. If the argument is already\na byte array, returns it.", "name":"to-byte-array"}, - {"source-url":null, + {"source-url": + "http://github.com/richhickey/clojure-contrib/blob/2ae8ff46d348522efe9f96cfd31f6e9b6018cfdc/src/clojure/contrib/duck_streams.clj#L292", "wiki-url": "http://richhickey.github.com/clojure-contrib//duck-streams-api.html#clojure.contrib.duck-streams/with-in-reader", "namespace":"clojure.contrib.duck-streams", @@ -827,14 +1431,16 @@ "doc": "Opens a PushbackReader on f, binds it to *in*, and evaluates body.", "name":"with-in-reader"}, - {"source-url":null, + {"source-url": + "http://github.com/richhickey/clojure-contrib/blob/2ae8ff46d348522efe9f96cfd31f6e9b6018cfdc/src/clojure/contrib/duck_streams.clj#L285", "wiki-url": "http://richhickey.github.com/clojure-contrib//duck-streams-api.html#clojure.contrib.duck-streams/with-out-append-writer", "namespace":"clojure.contrib.duck-streams", "arglists":[["f", "&", "body"]], "doc":"Like with-out-writer but appends to file.", "name":"with-out-append-writer"}, - {"source-url":null, + {"source-url": + "http://github.com/richhickey/clojure-contrib/blob/2ae8ff46d348522efe9f96cfd31f6e9b6018cfdc/src/clojure/contrib/duck_streams.clj#L277", "wiki-url": "http://richhickey.github.com/clojure-contrib//duck-streams-api.html#clojure.contrib.duck-streams/with-out-writer", "namespace":"clojure.contrib.duck-streams", @@ -842,7 +1448,8 @@ "doc": "Opens a writer on f, binds it to *out*, and evalutes body.\nAnything printed within body will be written to f.", "name":"with-out-writer"}, - {"source-url":null, + {"source-url": + "http://github.com/richhickey/clojure-contrib/blob/2ae8ff46d348522efe9f96cfd31f6e9b6018cfdc/src/clojure/contrib/duck_streams.clj#L223", "wiki-url": "http://richhickey.github.com/clojure-contrib//duck-streams-api.html#clojure.contrib.duck-streams/write-lines", "namespace":"clojure.contrib.duck-streams", @@ -850,7 +1457,8 @@ "doc": "Writes lines (a seq) to f, separated by newlines. f is opened with\nwriter, and automatically closed at the end of the sequence.", "name":"write-lines"}, - {"source-url":null, + {"source-url": + "http://github.com/richhickey/clojure-contrib/blob/2ae8ff46d348522efe9f96cfd31f6e9b6018cfdc/src/clojure/contrib/duck_streams.clj#L151", "wiki-url": "http://richhickey.github.com/clojure-contrib//duck-streams-api.html#clojure.contrib.duck-streams/writer", "namespace":"clojure.contrib.duck-streams", @@ -858,7 +1466,8 @@ "doc": "Attempts to coerce its argument into an open java.io.PrintWriter\nwrapped around a java.io.BufferedWriter. Argument may be an\ninstance of Writer, PrintWriter, BufferedWriter, OutputStream, File,\nURI, URL, Socket, or String.\n\nIf argument is a String, it tries to resolve it first as a URI, then\nas a local file name. URIs with a 'file' protocol are converted to\nlocal file names.\n\nShould be used inside with-open to ensure the Writer is properly\nclosed.", "name":"writer"}, - {"source-url":null, + {"source-url": + "http://github.com/richhickey/clojure-contrib/blob/e5b7819ef66410a87b8072417dc2f09ac4ddb03f/src/clojure/contrib/error_kit.clj#L150", "wiki-url": "http://richhickey.github.com/clojure-contrib//error-kit-api.html#clojure.contrib.error-kit/bind-continue", "namespace":"clojure.contrib.error-kit", @@ -866,7 +1475,8 @@ "doc": "Special form to be used inside a 'with-handler'.\nControl can be passed to this 'continue' form from a 'raise' enclosed\nin this with-handler's dynamic scope, when this 'continue-name' is\ngiven to a 'continue' form.", "name":"bind-continue"}, - {"source-url":null, + {"source-url": + "http://github.com/richhickey/clojure-contrib/blob/e5b7819ef66410a87b8072417dc2f09ac4ddb03f/src/clojure/contrib/error_kit.clj#L59", "wiki-url": "http://richhickey.github.com/clojure-contrib//error-kit-api.html#clojure.contrib.error-kit/deferror", "namespace":"clojure.contrib.error-kit", @@ -876,7 +1486,8 @@ "&", "body"]], "doc":"Define a new error type", "name":"deferror"}, - {"source-url":null, + {"source-url": + "http://github.com/richhickey/clojure-contrib/blob/e5b7819ef66410a87b8072417dc2f09ac4ddb03f/src/clojure/contrib/error_kit.clj#L117", "wiki-url": "http://richhickey.github.com/clojure-contrib//error-kit-api.html#clojure.contrib.error-kit/do-not-handle", "namespace":"clojure.contrib.error-kit", @@ -884,14 +1495,16 @@ "doc": "Use in a tail position of a 'handle' form to indicate 'raise' should\nnot consider the error handled, but should continue searching for an\nappropriate 'handle' form. Allows finer-grain control over catching\nthan just the error type.", "name":"do-not-handle"}, - {"source-url":null, + {"source-url": + "http://github.com/richhickey/clojure-contrib/blob/e5b7819ef66410a87b8072417dc2f09ac4ddb03f/src/clojure/contrib/error_kit.clj#L46", "wiki-url": "http://richhickey.github.com/clojure-contrib//error-kit-api.html#clojure.contrib.error-kit/error", "namespace":"clojure.contrib.error-kit", "arglists":[["details"]], "doc":"Base type for all error-kit errors", "name":"error"}, - {"source-url":null, + {"source-url": + "http://github.com/richhickey/clojure-contrib/blob/e5b7819ef66410a87b8072417dc2f09ac4ddb03f/src/clojure/contrib/error_kit.clj#L138", "wiki-url": "http://richhickey.github.com/clojure-contrib//error-kit-api.html#clojure.contrib.error-kit/handle", "namespace":"clojure.contrib.error-kit", @@ -901,7 +1514,8 @@ "doc": "Special form to be used inside a 'with-handler'. When\nany error is 'raised' from withing the dynamic scope of 'body' that\nis of error-name's type or a derived type, the args will be bound\nand the body executed. If no 'error-name' is given, the body will\nbe executed for regardless of the type of error raised. The body\nmay return a value, in which case that will be the return value of\nthe entire 'with-handler' form, or it may use any of the special\nreturn forms, 'do-not-handle', 'continue-with', or 'continue'.", "name":"handle"}, - {"source-url":null, + {"source-url": + "http://github.com/richhickey/clojure-contrib/blob/e5b7819ef66410a87b8072417dc2f09ac4ddb03f/src/clojure/contrib/error_kit.clj#L110", "wiki-url": "http://richhickey.github.com/clojure-contrib//error-kit-api.html#clojure.contrib.error-kit/raise", "namespace":"clojure.contrib.error-kit", @@ -909,7 +1523,8 @@ "doc": "Raise an error of the type err-name, constructed with the given args", "name":"raise"}, - {"source-url":null, + {"source-url": + "http://github.com/richhickey/clojure-contrib/blob/e5b7819ef66410a87b8072417dc2f09ac4ddb03f/src/clojure/contrib/error_kit.clj#L86", "wiki-url": "http://richhickey.github.com/clojure-contrib//error-kit-api.html#clojure.contrib.error-kit/raise*", "namespace":"clojure.contrib.error-kit", @@ -917,7 +1532,8 @@ "doc": "Raise the given error object, best if created by an error\nconstructor defined with deferror. See also 'raise' macro.", "name":"raise*"}, - {"source-url":null, + {"source-url": + "http://github.com/richhickey/clojure-contrib/blob/e5b7819ef66410a87b8072417dc2f09ac4ddb03f/src/clojure/contrib/error_kit.clj#L39", "wiki-url": "http://richhickey.github.com/clojure-contrib//error-kit-api.html#clojure.contrib.error-kit/throw-msg", "namespace":"clojure.contrib.error-kit", @@ -925,7 +1541,8 @@ "doc": "Returns a function that throws a Java Exception with the given\nname. Useful to associate a new error-kit error type with a\nparticular Java Exception class, via the :unhandled error key.", "name":"throw-msg"}, - {"source-url":null, + {"source-url": + "http://github.com/richhickey/clojure-contrib/blob/e5b7819ef66410a87b8072417dc2f09ac4ddb03f/src/clojure/contrib/error_kit.clj#L163", "wiki-url": "http://richhickey.github.com/clojure-contrib//error-kit-api.html#clojure.contrib.error-kit/with-handler", "namespace":"clojure.contrib.error-kit", @@ -933,7 +1550,8 @@ "doc": "This is error-kit's dynamic scope form. The body will be executed\nin a dynamic context that includes all of the following 'handle' and\n'bind-continue' forms.", "name":"with-handler"}, - {"source-url":null, + {"source-url": + "http://github.com/richhickey/clojure-contrib/blob/83fa7099432d5af2febbad9c33e076b9a03c3d1e/src/clojure/contrib/except.clj#L57", "wiki-url": "http://richhickey.github.com/clojure-contrib//except-api.html#clojure.contrib.except/throw-arg", "namespace":"clojure.contrib.except", @@ -941,7 +1559,8 @@ "doc": "Throws an IllegalArgumentException. All arguments are optional:\n\n cause? format? format-args*\n\n- cause defaults to nil, if present it must be a Throwable\n- format is a format string for clojure.core/format\n- format-args are objects that correspond to format specifiers in\n format.", "name":"throw-arg"}, - {"source-url":null, + {"source-url": + "http://github.com/richhickey/clojure-contrib/blob/83fa7099432d5af2febbad9c33e076b9a03c3d1e/src/clojure/contrib/except.clj#L43", "wiki-url": "http://richhickey.github.com/clojure-contrib//except-api.html#clojure.contrib.except/throw-if", "namespace":"clojure.contrib.except", @@ -949,7 +1568,8 @@ "doc": "Throws an Exception or Error if test is true. args are those documented\nfor throwf.", "name":"throw-if"}, - {"source-url":null, + {"source-url": + "http://github.com/richhickey/clojure-contrib/blob/83fa7099432d5af2febbad9c33e076b9a03c3d1e/src/clojure/contrib/except.clj#L50", "wiki-url": "http://richhickey.github.com/clojure-contrib//except-api.html#clojure.contrib.except/throw-if-not", "namespace":"clojure.contrib.except", @@ -957,7 +1577,8 @@ "doc": "Throws an Exception or Error if test is false. args are those documented\nfor throwf.", "name":"throw-if-not"}, - {"source-url":null, + {"source-url": + "http://github.com/richhickey/clojure-contrib/blob/83fa7099432d5af2febbad9c33e076b9a03c3d1e/src/clojure/contrib/except.clj#L28", "wiki-url": "http://richhickey.github.com/clojure-contrib//except-api.html#clojure.contrib.except/throwf", "namespace":"clojure.contrib.except", @@ -965,7 +1586,8 @@ "doc": "Throws an Exception or Error with an optional message formatted using\nclojure.core/format. All arguments are optional:\n\n class? cause? format? format-args*\n\n- class defaults to Exception, if present it must name a kind of\n Throwable\n- cause defaults to nil, if present it must be a Throwable\n- format is a format string for clojure.core/format\n- format-args are objects that correspond to format specifiers in\n format.", "name":"throwf"}, - {"source-url":null, + {"source-url": + "http://github.com/richhickey/clojure-contrib/blob/d9c42218f493e7eb261677047008cedb67364ee8/src/clojure/contrib/fcase.clj#L79", "wiki-url": "http://richhickey.github.com/clojure-contrib//fcase-api.html#clojure.contrib.fcase/case", "namespace":"clojure.contrib.fcase", @@ -973,7 +1595,8 @@ "doc": "Like cond, but test-value is compared against the value of each\ntest expression with =. If they are equal, executes the \"body\"\nexpression. Optional last expression is executed if none of the\ntest expressions match.", "name":"case"}, - {"source-url":null, + {"source-url": + "http://github.com/richhickey/clojure-contrib/blob/d9c42218f493e7eb261677047008cedb67364ee8/src/clojure/contrib/fcase.clj#L40", "wiki-url": "http://richhickey.github.com/clojure-contrib//fcase-api.html#clojure.contrib.fcase/fcase", "namespace":"clojure.contrib.fcase", @@ -982,7 +1605,8 @@ "doc": "Generic switch/case macro. 'fcase' is short for 'function case'.\n\nThe 'compare-fn' is a fn of two arguments.\n\nThe 'test-expr-clauses' are value-expression pairs without\nsurrounding parentheses, like in Clojure's 'cond'.\n\nThe 'case-value' is evaluated once and cached. Then, 'compare-fn'\nis called once for each clause, with the clause's test value as its\nfirst argument and 'case-value' as its second argument. If\n'compare-fn' returns logical true, the clause's expression is\nevaluated and returned. If 'compare-fn' returns false/nil, we go to\nthe next test value.\n\nIf 'test-expr-clauses' contains an odd number of items, the last\nitem is the default expression evaluated if no case-value matches.\nIf there is no default expression and no case-value matches, fcase\nreturns nil.\n\nSee specific forms of this macro in 'case' and 're-case'.\n\nThe test expressions in 'fcase' are always evaluated linearly, in\norder. For a large number of case expressions it may be more\nefficient to use a hash lookup.", "name":"fcase"}, - {"source-url":null, + {"source-url": + "http://github.com/richhickey/clojure-contrib/blob/d9c42218f493e7eb261677047008cedb67364ee8/src/clojure/contrib/fcase.clj#L103", "wiki-url": "http://richhickey.github.com/clojure-contrib//fcase-api.html#clojure.contrib.fcase/in-case", "namespace":"clojure.contrib.fcase", @@ -990,7 +1614,8 @@ "doc": "Like case, but test expressions are sequences. The test expression\nis true if any item in the sequence is equal (tested with '=') to\nthe test value.", "name":"in-case"}, - {"source-url":null, + {"source-url": + "http://github.com/richhickey/clojure-contrib/blob/d9c42218f493e7eb261677047008cedb67364ee8/src/clojure/contrib/fcase.clj#L93", "wiki-url": "http://richhickey.github.com/clojure-contrib//fcase-api.html#clojure.contrib.fcase/instance-case", "namespace":"clojure.contrib.fcase", @@ -998,7 +1623,8 @@ "doc": "Like case, but the test expressions are Java class names, tested with\n'instance?'.", "name":"instance-case"}, - {"source-url":null, + {"source-url": + "http://github.com/richhickey/clojure-contrib/blob/d9c42218f493e7eb261677047008cedb67364ee8/src/clojure/contrib/fcase.clj#L87", "wiki-url": "http://richhickey.github.com/clojure-contrib//fcase-api.html#clojure.contrib.fcase/re-case", "namespace":"clojure.contrib.fcase", @@ -1006,71 +1632,329 @@ "doc": "Like case, but the test expressions are regular expressions, tested\nwith re-find.", "name":"re-case"}, - {"source-url":null, + {"source-url": + "http://github.com/richhickey/clojure-contrib/blob/de4df718178084ffe32d6a40b449892cd3d57d50/src/clojure/contrib/find_namespaces.clj#L28", "wiki-url": - "http://richhickey.github.com/clojure-contrib//fnmap-api.html#clojure.contrib.fnmap/fnmap", - "namespace":"clojure.contrib.fnmap", - "arglists": - [["getter", "setter"], ["getter", "setter", "&", "keyvals"]], + "http://richhickey.github.com/clojure-contrib//find-namespaces-api.html#clojure.contrib.find-namespaces/clojure-source-file?", + "namespace":"clojure.contrib.find-namespaces", + "arglists":[["file"]], "doc": - "Creates a fnmap, or functional map. A fnmap behaves like an\nordinary Clojure map, except that calls to get and assoc are\nfiltered through user-defined getter and setter functions, which\noperate on an internal map.\n\n(getter m key) should return a value for key.\n\n(setter m key value) should assoc key with value and return a new\nmap for m.\n\nAll other map operations are passed through to the internal map.", - "name":"fnmap"}, - {"source-url":null, + "Returns true if file is a normal file with a .clj extension.", + "name":"clojure-source-file?"}, + {"source-url": + "http://github.com/richhickey/clojure-contrib/blob/de4df718178084ffe32d6a40b449892cd3d57d50/src/clojure/contrib/find_namespaces.clj#L88", "wiki-url": - "http://richhickey.github.com/clojure-contrib//generic.collection-api.html#clojure.contrib.generic.collection/assoc", - "namespace":"clojure.contrib.generic.collection", - "arglists":[["coll", "&", "key-val-pairs"]], + "http://richhickey.github.com/clojure-contrib//find-namespaces-api.html#clojure.contrib.find-namespaces/clojure-sources-in-jar", + "namespace":"clojure.contrib.find-namespaces", + "arglists":[["jar-file"]], "doc": - "Returns a new collection in which the values corresponding to the\ngiven keys are updated by the given values. Each type of collection\ncan have specific restrictions on the possible keys.", - "name":"assoc"}, - {"source-url":null, + "Returns a sequence of filenames ending in .clj found in the JAR file.", + "name":"clojure-sources-in-jar"}, + {"source-url": + "http://github.com/richhickey/clojure-contrib/blob/de4df718178084ffe32d6a40b449892cd3d57d50/src/clojure/contrib/find_namespaces.clj#L42", "wiki-url": - "http://richhickey.github.com/clojure-contrib//generic.collection-api.html#clojure.contrib.generic.collection/conj", - "namespace":"clojure.contrib.generic.collection", - "arglists":[["coll", "&", "xs"]], - "doc": - "Returns a new collection resulting from adding all xs to coll.", - "name":"conj"}, - {"source-url":null, + "http://richhickey.github.com/clojure-contrib//find-namespaces-api.html#clojure.contrib.find-namespaces/comment?", + "namespace":"clojure.contrib.find-namespaces", + "arglists":[["form"]], + "doc":"Returns true if form is a (comment ...)", + "name":"comment?"}, + {"source-url": + "http://github.com/richhickey/clojure-contrib/blob/de4df718178084ffe32d6a40b449892cd3d57d50/src/clojure/contrib/find_namespaces.clj#L34", "wiki-url": - "http://richhickey.github.com/clojure-contrib//generic.collection-api.html#clojure.contrib.generic.collection/dissoc", - "namespace":"clojure.contrib.generic.collection", - "arglists":[["coll", "&", "keys"]], + "http://richhickey.github.com/clojure-contrib//find-namespaces-api.html#clojure.contrib.find-namespaces/find-clojure-sources-in-dir", + "namespace":"clojure.contrib.find-namespaces", + "arglists":[["dir"]], "doc": - "Returns a new collection in which the entries corresponding to the\ngiven keys are removed. Each type of collection can have specific\nrestrictions on the possible keys.", - "name":"dissoc"}, - {"source-url":null, + "Searches recursively under dir for Clojure source files (.clj).\nReturns a sequence of File objects, in breadth-first sort order.", + "name":"find-clojure-sources-in-dir"}, + {"source-url": + "http://github.com/richhickey/clojure-contrib/blob/de4df718178084ffe32d6a40b449892cd3d57d50/src/clojure/contrib/find_namespaces.clj#L79", "wiki-url": - "http://richhickey.github.com/clojure-contrib//generic.collection-api.html#clojure.contrib.generic.collection/empty", - "namespace":"clojure.contrib.generic.collection", - "arglists":[["coll"]], + "http://richhickey.github.com/clojure-contrib//find-namespaces-api.html#clojure.contrib.find-namespaces/find-namespaces-in-dir", + "namespace":"clojure.contrib.find-namespaces", + "arglists":[["dir"]], "doc": - "Returns an empty collection of the same kind as the argument", - "name":"empty"}, - {"source-url":null, + "Searches dir recursively for (ns ...) declarations in Clojure\nsource files; returns the symbol names of the declared namespaces.", + "name":"find-namespaces-in-dir"}, + {"source-url": + "http://github.com/richhickey/clojure-contrib/blob/de4df718178084ffe32d6a40b449892cd3d57d50/src/clojure/contrib/find_namespaces.clj#L112", "wiki-url": - "http://richhickey.github.com/clojure-contrib//generic.collection-api.html#clojure.contrib.generic.collection/get", - "namespace":"clojure.contrib.generic.collection", - "arglists":[["coll", "key"], ["coll", "key", "not-found"]], + "http://richhickey.github.com/clojure-contrib//find-namespaces-api.html#clojure.contrib.find-namespaces/find-namespaces-in-jarfile", + "namespace":"clojure.contrib.find-namespaces", + "arglists":[["jarfile"]], "doc": - "Returns the element of coll referred to by key. Each type of collection\ncan have specific restrictions on the possible keys.", - "name":"get"}, - {"source-url":null, + "Searches the JAR file for Clojure source files containing (ns ...)\ndeclarations. Returns a sequence of the symbol names of the\ndeclared namespaces.", + "name":"find-namespaces-in-jarfile"}, + {"source-url": + "http://github.com/richhickey/clojure-contrib/blob/de4df718178084ffe32d6a40b449892cd3d57d50/src/clojure/contrib/find_namespaces.clj#L131", "wiki-url": - "http://richhickey.github.com/clojure-contrib//generic.collection-api.html#clojure.contrib.generic.collection/into", + "http://richhickey.github.com/clojure-contrib//find-namespaces-api.html#clojure.contrib.find-namespaces/find-namespaces-on-classpath", + "namespace":"clojure.contrib.find-namespaces", + "arglists":[[]], + "doc": + "Searches CLASSPATH (both directories and JAR files) for Clojure\nsource files containing (ns ...) declarations. Returns a sequence\nof the symbol names of the declared namespaces.", + "name":"find-namespaces-on-classpath"}, + {"source-url": + "http://github.com/richhickey/clojure-contrib/blob/de4df718178084ffe32d6a40b449892cd3d57d50/src/clojure/contrib/find_namespaces.clj#L73", + "wiki-url": + "http://richhickey.github.com/clojure-contrib//find-namespaces-api.html#clojure.contrib.find-namespaces/find-ns-decls-in-dir", + "namespace":"clojure.contrib.find-namespaces", + "arglists":[["dir"]], + "doc": + "Searches dir recursively for (ns ...) declarations in Clojure\nsource files; returns the unevaluated ns declarations.", + "name":"find-ns-decls-in-dir"}, + {"source-url": + "http://github.com/richhickey/clojure-contrib/blob/de4df718178084ffe32d6a40b449892cd3d57d50/src/clojure/contrib/find_namespaces.clj#L104", + "wiki-url": + "http://richhickey.github.com/clojure-contrib//find-namespaces-api.html#clojure.contrib.find-namespaces/find-ns-decls-in-jarfile", + "namespace":"clojure.contrib.find-namespaces", + "arglists":[["jarfile"]], + "doc": + "Searches the JAR file for Clojure source files containing (ns ...)\ndeclarations; returns the unevaluated ns declarations.", + "name":"find-ns-decls-in-jarfile"}, + {"source-url": + "http://github.com/richhickey/clojure-contrib/blob/de4df718178084ffe32d6a40b449892cd3d57d50/src/clojure/contrib/find_namespaces.clj#L122", + "wiki-url": + "http://richhickey.github.com/clojure-contrib//find-namespaces-api.html#clojure.contrib.find-namespaces/find-ns-decls-on-classpath", + "namespace":"clojure.contrib.find-namespaces", + "arglists":[[]], + "doc": + "Searches CLASSPATH (both directories and JAR files) for Clojure\nsource files containing (ns ...) declarations. Returns a sequence\nof the unevaluated ns declaration forms.", + "name":"find-ns-decls-on-classpath"}, + {"source-url": + "http://github.com/richhickey/clojure-contrib/blob/de4df718178084ffe32d6a40b449892cd3d57d50/src/clojure/contrib/find_namespaces.clj#L47", + "wiki-url": + "http://richhickey.github.com/clojure-contrib//find-namespaces-api.html#clojure.contrib.find-namespaces/ns-decl?", + "namespace":"clojure.contrib.find-namespaces", + "arglists":[["form"]], + "doc":"Returns true if form is a (ns ...) declaration.", + "name":"ns-decl?"}, + {"source-url": + "http://github.com/richhickey/clojure-contrib/blob/de4df718178084ffe32d6a40b449892cd3d57d50/src/clojure/contrib/find_namespaces.clj#L65", + "wiki-url": + "http://richhickey.github.com/clojure-contrib//find-namespaces-api.html#clojure.contrib.find-namespaces/read-file-ns-decl", + "namespace":"clojure.contrib.find-namespaces", + "arglists":[["file"]], + "doc": + "Attempts to read a (ns ...) declaration from file, and returns the\nunevaluated form. Returns nil if read fails, or if the first form\nis not a ns declaration.", + "name":"read-file-ns-decl"}, + {"source-url": + "http://github.com/richhickey/clojure-contrib/blob/de4df718178084ffe32d6a40b449892cd3d57d50/src/clojure/contrib/find_namespaces.clj#L52", + "wiki-url": + "http://richhickey.github.com/clojure-contrib//find-namespaces-api.html#clojure.contrib.find-namespaces/read-ns-decl", + "namespace":"clojure.contrib.find-namespaces", + "arglists":[["rdr"]], + "doc": + "Attempts to read a (ns ...) declaration from rdr, and returns the\nunevaluated form. Returns nil if read fails or if a ns declaration\ncannot be found. The ns declaration must be the first Clojure form\nin the file, except for (comment ...) forms.", + "name":"read-ns-decl"}, + {"source-url": + "http://github.com/richhickey/clojure-contrib/blob/de4df718178084ffe32d6a40b449892cd3d57d50/src/clojure/contrib/find_namespaces.clj#L93", + "wiki-url": + "http://richhickey.github.com/clojure-contrib//find-namespaces-api.html#clojure.contrib.find-namespaces/read-ns-decl-from-jarfile-entry", + "namespace":"clojure.contrib.find-namespaces", + "arglists":[["jarfile", "entry-name"]], + "doc": + "Attempts to read a (ns ...) declaration from the named entry in the\nJAR file, and returns the unevaluated form. Returns nil if the read\nfails, or if the first form is not a ns declaration.", + "name":"read-ns-decl-from-jarfile-entry"}, + {"source-url": + "http://github.com/richhickey/clojure-contrib/blob/016af1ddecea945f0ae9e6354e2bd006efcd7a04/src/clojure/contrib/fnmap.clj#L19", + "wiki-url": + "http://richhickey.github.com/clojure-contrib//fnmap-api.html#clojure.contrib.fnmap/fnmap", + "namespace":"clojure.contrib.fnmap", + "arglists": + [["getter", "setter"], ["getter", "setter", "&", "keyvals"]], + "doc": + "Creates a fnmap, or functional map. A fnmap behaves like an\nordinary Clojure map, except that calls to get and assoc are\nfiltered through user-defined getter and setter functions, which\noperate on an internal map.\n\n(getter m key) should return a value for key.\n\n(setter m key value) should assoc key with value and return a new\nmap for m.\n\nAll other map operations are passed through to the internal map.", + "name":"fnmap"}, + {"source-url": + "http://github.com/richhickey/clojure-contrib/blob/04a22729691863a5b7e7b1b3c6c1157a02aff3b2/src/clojure/contrib/gen_html_docs.clj#L430", + "wiki-url": + "http://richhickey.github.com/clojure-contrib//gen-html-docs-api.html#clojure.contrib.gen-html-docs/generate-documentation", + "namespace":"clojure.contrib.gen-html-docs", + "arglists":[["libs"]], + "doc": + "Returns a string which is the HTML documentation for the libraries\nnamed by libs. Libs is a vector of symbols identifying Clojure\nlibraries.", + "name":"generate-documentation"}, + {"source-url": + "http://github.com/richhickey/clojure-contrib/blob/04a22729691863a5b7e7b1b3c6c1157a02aff3b2/src/clojure/contrib/gen_html_docs.clj#L456", + "wiki-url": + "http://richhickey.github.com/clojure-contrib//gen-html-docs-api.html#clojure.contrib.gen-html-docs/generate-documentation-to-file", + "namespace":"clojure.contrib.gen-html-docs", + "arglists":[["path", "libs"]], + "doc": + "Calls generate-documentation on the libraries named by libs and\nemits the generated HTML to the path named by path.", + "name":"generate-documentation-to-file"}, + {"source-url": + "http://github.com/richhickey/clojure-contrib/blob/637ce542010b34381948f914e0b6829b41602e34/src/clojure/contrib/generic/arithmetic.clj#L111", + "wiki-url": + "http://richhickey.github.com/clojure-contrib//generic.arithmetic-api.html#clojure.contrib.generic.arithmetic/*", + "namespace":"clojure.contrib.generic.arithmetic", + "arglists":[["x"], ["x", "y"], ["x", "y", "&", "more"]], + "doc": + "Return the product of all arguments. The minimal implementation for type\n::my-type is the binary form with dispatch value [::my-type ::my-type].", + "name":"*"}, + {"source-url": + "http://github.com/richhickey/clojure-contrib/blob/637ce542010b34381948f914e0b6829b41602e34/src/clojure/contrib/generic/arithmetic.clj#L45", + "wiki-url": + "http://richhickey.github.com/clojure-contrib//generic.arithmetic-api.html#clojure.contrib.generic.arithmetic/+", + "namespace":"clojure.contrib.generic.arithmetic", + "arglists":[["x"], ["x", "y"], ["x", "y", "&", "more"]], + "doc": + "Return the sum of all arguments. The minimal implementation for type\n::my-type is the binary form with dispatch value [::my-type ::my-type].", + "name":"+"}, + {"source-url": + "http://github.com/richhickey/clojure-contrib/blob/637ce542010b34381948f914e0b6829b41602e34/src/clojure/contrib/generic/arithmetic.clj#L77", + "wiki-url": + "http://richhickey.github.com/clojure-contrib//generic.arithmetic-api.html#clojure.contrib.generic.arithmetic/-", + "namespace":"clojure.contrib.generic.arithmetic", + "arglists":[["x"], ["x", "y"], ["x", "y", "&", "more"]], + "doc": + "Return the difference of the first argument and the sum of all other\narguments. The minimal implementation for type ::my-type is the binary\nform with dispatch value [::my-type ::my-type].", + "name":"-"}, + {"source-url": + "http://github.com/richhickey/clojure-contrib/blob/637ce542010b34381948f914e0b6829b41602e34/src/clojure/contrib/generic/arithmetic.clj#L143", + "wiki-url": + "http://richhickey.github.com/clojure-contrib//generic.arithmetic-api.html#clojure.contrib.generic.arithmetic//", + "namespace":"clojure.contrib.generic.arithmetic", + "arglists":[["x"], ["x", "y"], ["x", "y", "&", "more"]], + "doc": + "Return the quotient of the first argument and the product of all other\narguments. The minimal implementation for type ::my-type is the binary\nform with dispatch value [::my-type ::my-type].", + "name":"/"}, + {"source-url": + "http://github.com/richhickey/clojure-contrib/blob/637ce542010b34381948f914e0b6829b41602e34/src/clojure/contrib/generic/arithmetic.clj#L173", + "wiki-url": + "http://richhickey.github.com/clojure-contrib//generic.arithmetic-api.html#clojure.contrib.generic.arithmetic/defmethod*", + "namespace":"clojure.contrib.generic.arithmetic", + "arglists":[["ns", "name", "&", "args"]], + "doc": + "Define a method implementation for the multimethod name in namespace ns.\nRequired for implementing the division function from another namespace.", + "name":"defmethod*"}, + {"source-url": + "http://github.com/richhickey/clojure-contrib/blob/637ce542010b34381948f914e0b6829b41602e34/src/clojure/contrib/generic/arithmetic.clj#L180", + "wiki-url": + "http://richhickey.github.com/clojure-contrib//generic.arithmetic-api.html#clojure.contrib.generic.arithmetic/qsym", + "namespace":"clojure.contrib.generic.arithmetic", + "arglists":[["ns", "sym"]], + "doc": + "Create the qualified symbol corresponding to sym in namespace ns.\nRequired to access the division function from another namespace,\ne.g. as (qsym clojure.contrib.generic.arithmetic /).", + "name":"qsym"}, + {"source-url": + "http://github.com/richhickey/clojure-contrib/blob/637ce542010b34381948f914e0b6829b41602e34/src/clojure/contrib/generic/collection.clj#L26", + "wiki-url": + "http://richhickey.github.com/clojure-contrib//generic.collection-api.html#clojure.contrib.generic.collection/assoc", + "namespace":"clojure.contrib.generic.collection", + "arglists":[["coll", "&", "key-val-pairs"]], + "doc": + "Returns a new collection in which the values corresponding to the\ngiven keys are updated by the given values. Each type of collection\ncan have specific restrictions on the possible keys.", + "name":"assoc"}, + {"source-url": + "http://github.com/richhickey/clojure-contrib/blob/637ce542010b34381948f914e0b6829b41602e34/src/clojure/contrib/generic/collection.clj#L42", + "wiki-url": + "http://richhickey.github.com/clojure-contrib//generic.collection-api.html#clojure.contrib.generic.collection/conj", + "namespace":"clojure.contrib.generic.collection", + "arglists":[["coll", "&", "xs"]], + "doc": + "Returns a new collection resulting from adding all xs to coll.", + "name":"conj"}, + {"source-url": + "http://github.com/richhickey/clojure-contrib/blob/637ce542010b34381948f914e0b6829b41602e34/src/clojure/contrib/generic/collection.clj#L54", + "wiki-url": + "http://richhickey.github.com/clojure-contrib//generic.collection-api.html#clojure.contrib.generic.collection/dissoc", + "namespace":"clojure.contrib.generic.collection", + "arglists":[["coll", "&", "keys"]], + "doc": + "Returns a new collection in which the entries corresponding to the\ngiven keys are removed. Each type of collection can have specific\nrestrictions on the possible keys.", + "name":"dissoc"}, + {"source-url": + "http://github.com/richhickey/clojure-contrib/blob/637ce542010b34381948f914e0b6829b41602e34/src/clojure/contrib/generic/collection.clj#L68", + "wiki-url": + "http://richhickey.github.com/clojure-contrib//generic.collection-api.html#clojure.contrib.generic.collection/empty", + "namespace":"clojure.contrib.generic.collection", + "arglists":[["coll"]], + "doc": + "Returns an empty collection of the same kind as the argument", + "name":"empty"}, + {"source-url": + "http://github.com/richhickey/clojure-contrib/blob/637ce542010b34381948f914e0b6829b41602e34/src/clojure/contrib/generic/collection.clj#L80", + "wiki-url": + "http://richhickey.github.com/clojure-contrib//generic.collection-api.html#clojure.contrib.generic.collection/get", + "namespace":"clojure.contrib.generic.collection", + "arglists":[["coll", "key"], ["coll", "key", "not-found"]], + "doc": + "Returns the element of coll referred to by key. Each type of collection\ncan have specific restrictions on the possible keys.", + "name":"get"}, + {"source-url": + "http://github.com/richhickey/clojure-contrib/blob/637ce542010b34381948f914e0b6829b41602e34/src/clojure/contrib/generic/collection.clj#L95", + "wiki-url": + "http://richhickey.github.com/clojure-contrib//generic.collection-api.html#clojure.contrib.generic.collection/into", "namespace":"clojure.contrib.generic.collection", "arglists":[["to", "from"]], "doc": "Returns a new coll consisting of to-coll with all of the items of\nfrom-coll conjoined.", "name":"into"}, - {"source-url":null, + {"source-url": + "http://github.com/richhickey/clojure-contrib/blob/637ce542010b34381948f914e0b6829b41602e34/src/clojure/contrib/generic/collection.clj#L109", "wiki-url": "http://richhickey.github.com/clojure-contrib//generic.collection-api.html#clojure.contrib.generic.collection/seq", "namespace":"clojure.contrib.generic.collection", "arglists":[["s"]], "doc":"Returns a seq on the object s.", "name":"seq"}, - {"source-url":null, + {"source-url": + "http://github.com/richhickey/clojure-contrib/blob/637ce542010b34381948f914e0b6829b41602e34/src/clojure/contrib/generic/comparison.clj#L77", + "wiki-url": + "http://richhickey.github.com/clojure-contrib//generic.comparison-api.html#clojure.contrib.generic.comparison/<", + "namespace":"clojure.contrib.generic.comparison", + "arglists":[["x"], ["x", "y"], ["x", "y", "&", "more"]], + "doc": + "Return true if each argument is smaller than the following ones.\nThe minimal implementation for type ::my-type is the binary form\nwith dispatch value [::my-type ::my-type]. A default implementation\nis provided in terms of >.", + "name":"<"}, + {"source-url": + "http://github.com/richhickey/clojure-contrib/blob/637ce542010b34381948f914e0b6829b41602e34/src/clojure/contrib/generic/comparison.clj#L129", + "wiki-url": + "http://richhickey.github.com/clojure-contrib//generic.comparison-api.html#clojure.contrib.generic.comparison/<=", + "namespace":"clojure.contrib.generic.comparison", + "arglists":[["x"], ["x", "y"], ["x", "y", "&", "more"]], + "doc": + "Return true if each arguments is smaller than or equal to the following\nones. The minimal implementation for type ::my-type is the binary form\nwith dispatch value [::my-type ::my-type]. A default implementation\nis provided in terms of >.", + "name":"<="}, + {"source-url": + "http://github.com/richhickey/clojure-contrib/blob/637ce542010b34381948f914e0b6829b41602e34/src/clojure/contrib/generic/comparison.clj#L36", + "wiki-url": + "http://richhickey.github.com/clojure-contrib//generic.comparison-api.html#clojure.contrib.generic.comparison/=", + "namespace":"clojure.contrib.generic.comparison", + "arglists":[["x"], ["x", "y"], ["x", "y", "&", "more"]], + "doc": + "Return true if all arguments are equal. The minimal implementation for type\n::my-type is the binary form with dispatch value [::my-type ::my-type].", + "name":"="}, + {"source-url": + "http://github.com/richhickey/clojure-contrib/blob/637ce542010b34381948f914e0b6829b41602e34/src/clojure/contrib/generic/comparison.clj#L56", + "wiki-url": + "http://richhickey.github.com/clojure-contrib//generic.comparison-api.html#clojure.contrib.generic.comparison/>", + "namespace":"clojure.contrib.generic.comparison", + "arglists":[["x"], ["x", "y"], ["x", "y", "&", "more"]], + "doc": + "Return true if each argument is larger than the following ones.\nThe minimal implementation for type ::my-type is the binary form\nwith dispatch value [::my-type ::my-type].", + "name":">"}, + {"source-url": + "http://github.com/richhickey/clojure-contrib/blob/637ce542010b34381948f914e0b6829b41602e34/src/clojure/contrib/generic/comparison.clj#L103", + "wiki-url": + "http://richhickey.github.com/clojure-contrib//generic.comparison-api.html#clojure.contrib.generic.comparison/>=", + "namespace":"clojure.contrib.generic.comparison", + "arglists":[["x"], ["x", "y"], ["x", "y", "&", "more"]], + "doc": + "Return true if each argument is larger than or equal to the following\nones. The minimal implementation for type ::my-type is the binary form\nwith dispatch value [::my-type ::my-type]. A default implementation\nis provided in terms of <.", + "name":">="}, + {"source-url": + "http://github.com/richhickey/clojure-contrib/blob/637ce542010b34381948f914e0b6829b41602e34/src/clojure/contrib/generic/comparison.clj#L28", + "wiki-url": + "http://richhickey.github.com/clojure-contrib//generic.comparison-api.html#clojure.contrib.generic.comparison/zero?", + "namespace":"clojure.contrib.generic.comparison", + "arglists":[["x"]], + "doc":"Return true of x is zero.", + "name":"zero?"}, + {"source-url": + "http://github.com/richhickey/clojure-contrib/blob/bdc813a0d39cb3c6184c4e123d847458e9c77711/src/clojure/contrib/generic/functor.clj#L20", "wiki-url": "http://richhickey.github.com/clojure-contrib//generic.functor-api.html#clojure.contrib.generic.functor/fmap", "namespace":"clojure.contrib.generic.functor", @@ -1078,14 +1962,177 @@ "doc": "Applies function f to each item in the data structure s and returns\na structure of the same kind.", "name":"fmap"}, - {"source-url":null, + {"source-url": + "http://github.com/richhickey/clojure-contrib/blob/1dd60bdd968cd19dc04b4cb4fdcc0b6032833543/src/clojure/contrib/generic/math_functions.clj#L53", + "wiki-url": + "http://richhickey.github.com/clojure-contrib//generic.math-functions-api.html#clojure.contrib.generic.math-functions/abs", + "namespace":"clojure.contrib.generic.math-functions", + "arglists":[["x"]], + "doc":"Return the abs of x.", + "name":"abs"}, + {"source-url": + "http://github.com/richhickey/clojure-contrib/blob/1dd60bdd968cd19dc04b4cb4fdcc0b6032833543/src/clojure/contrib/generic/math_functions.clj#L54", + "wiki-url": + "http://richhickey.github.com/clojure-contrib//generic.math-functions-api.html#clojure.contrib.generic.math-functions/acos", + "namespace":"clojure.contrib.generic.math-functions", + "arglists":[["x"]], + "doc":"Return the acos of x.", + "name":"acos"}, + {"source-url": + "http://github.com/richhickey/clojure-contrib/blob/1dd60bdd968cd19dc04b4cb4fdcc0b6032833543/src/clojure/contrib/generic/math_functions.clj#L110", + "wiki-url": + "http://richhickey.github.com/clojure-contrib//generic.math-functions-api.html#clojure.contrib.generic.math-functions/approx=", + "namespace":"clojure.contrib.generic.math-functions", + "arglists":[["x", "y", "eps"]], + "doc": + "Return true if the absolute value of the difference between x and y\nis less than eps.", + "name":"approx="}, + {"source-url": + "http://github.com/richhickey/clojure-contrib/blob/1dd60bdd968cd19dc04b4cb4fdcc0b6032833543/src/clojure/contrib/generic/math_functions.clj#L55", + "wiki-url": + "http://richhickey.github.com/clojure-contrib//generic.math-functions-api.html#clojure.contrib.generic.math-functions/asin", + "namespace":"clojure.contrib.generic.math-functions", + "arglists":[["x"]], + "doc":"Return the asin of x.", + "name":"asin"}, + {"source-url": + "http://github.com/richhickey/clojure-contrib/blob/1dd60bdd968cd19dc04b4cb4fdcc0b6032833543/src/clojure/contrib/generic/math_functions.clj#L56", + "wiki-url": + "http://richhickey.github.com/clojure-contrib//generic.math-functions-api.html#clojure.contrib.generic.math-functions/atan", + "namespace":"clojure.contrib.generic.math-functions", + "arglists":[["x"]], + "doc":"Return the atan of x.", + "name":"atan"}, + {"source-url": + "http://github.com/richhickey/clojure-contrib/blob/1dd60bdd968cd19dc04b4cb4fdcc0b6032833543/src/clojure/contrib/generic/math_functions.clj#L57", + "wiki-url": + "http://richhickey.github.com/clojure-contrib//generic.math-functions-api.html#clojure.contrib.generic.math-functions/atan2", + "namespace":"clojure.contrib.generic.math-functions", + "arglists":[["x", "y"]], + "doc":"Return the atan2 of x and y.", + "name":"atan2"}, + {"source-url": + "http://github.com/richhickey/clojure-contrib/blob/1dd60bdd968cd19dc04b4cb4fdcc0b6032833543/src/clojure/contrib/generic/math_functions.clj#L58", + "wiki-url": + "http://richhickey.github.com/clojure-contrib//generic.math-functions-api.html#clojure.contrib.generic.math-functions/ceil", + "namespace":"clojure.contrib.generic.math-functions", + "arglists":[["x"]], + "doc":"Return the ceil of x.", + "name":"ceil"}, + {"source-url": + "http://github.com/richhickey/clojure-contrib/blob/1dd60bdd968cd19dc04b4cb4fdcc0b6032833543/src/clojure/contrib/generic/math_functions.clj#L87", + "wiki-url": + "http://richhickey.github.com/clojure-contrib//generic.math-functions-api.html#clojure.contrib.generic.math-functions/conjugate", + "namespace":"clojure.contrib.generic.math-functions", + "arglists":[["x"]], + "doc":"Return the conjugate of x.", + "name":"conjugate"}, + {"source-url": + "http://github.com/richhickey/clojure-contrib/blob/1dd60bdd968cd19dc04b4cb4fdcc0b6032833543/src/clojure/contrib/generic/math_functions.clj#L59", + "wiki-url": + "http://richhickey.github.com/clojure-contrib//generic.math-functions-api.html#clojure.contrib.generic.math-functions/cos", + "namespace":"clojure.contrib.generic.math-functions", + "arglists":[["x"]], + "doc":"Return the cos of x.", + "name":"cos"}, + {"source-url": + "http://github.com/richhickey/clojure-contrib/blob/1dd60bdd968cd19dc04b4cb4fdcc0b6032833543/src/clojure/contrib/generic/math_functions.clj#L60", + "wiki-url": + "http://richhickey.github.com/clojure-contrib//generic.math-functions-api.html#clojure.contrib.generic.math-functions/exp", + "namespace":"clojure.contrib.generic.math-functions", + "arglists":[["x"]], + "doc":"Return the exp of x.", + "name":"exp"}, + {"source-url": + "http://github.com/richhickey/clojure-contrib/blob/1dd60bdd968cd19dc04b4cb4fdcc0b6032833543/src/clojure/contrib/generic/math_functions.clj#L61", + "wiki-url": + "http://richhickey.github.com/clojure-contrib//generic.math-functions-api.html#clojure.contrib.generic.math-functions/floor", + "namespace":"clojure.contrib.generic.math-functions", + "arglists":[["x"]], + "doc":"Return the floor of x.", + "name":"floor"}, + {"source-url": + "http://github.com/richhickey/clojure-contrib/blob/1dd60bdd968cd19dc04b4cb4fdcc0b6032833543/src/clojure/contrib/generic/math_functions.clj#L62", + "wiki-url": + "http://richhickey.github.com/clojure-contrib//generic.math-functions-api.html#clojure.contrib.generic.math-functions/log", + "namespace":"clojure.contrib.generic.math-functions", + "arglists":[["x"]], + "doc":"Return the log of x.", + "name":"log"}, + {"source-url": + "http://github.com/richhickey/clojure-contrib/blob/1dd60bdd968cd19dc04b4cb4fdcc0b6032833543/src/clojure/contrib/generic/math_functions.clj#L63", + "wiki-url": + "http://richhickey.github.com/clojure-contrib//generic.math-functions-api.html#clojure.contrib.generic.math-functions/pow", + "namespace":"clojure.contrib.generic.math-functions", + "arglists":[["x", "y"]], + "doc":"Return the pow of x and y.", + "name":"pow"}, + {"source-url": + "http://github.com/richhickey/clojure-contrib/blob/1dd60bdd968cd19dc04b4cb4fdcc0b6032833543/src/clojure/contrib/generic/math_functions.clj#L64", + "wiki-url": + "http://richhickey.github.com/clojure-contrib//generic.math-functions-api.html#clojure.contrib.generic.math-functions/rint", + "namespace":"clojure.contrib.generic.math-functions", + "arglists":[["x"]], + "doc":"Return the rint of x.", + "name":"rint"}, + {"source-url": + "http://github.com/richhickey/clojure-contrib/blob/1dd60bdd968cd19dc04b4cb4fdcc0b6032833543/src/clojure/contrib/generic/math_functions.clj#L65", + "wiki-url": + "http://richhickey.github.com/clojure-contrib//generic.math-functions-api.html#clojure.contrib.generic.math-functions/round", + "namespace":"clojure.contrib.generic.math-functions", + "arglists":[["x"]], + "doc":"Return the round of x.", + "name":"round"}, + {"source-url": + "http://github.com/richhickey/clojure-contrib/blob/1dd60bdd968cd19dc04b4cb4fdcc0b6032833543/src/clojure/contrib/generic/math_functions.clj#L73", + "wiki-url": + "http://richhickey.github.com/clojure-contrib//generic.math-functions-api.html#clojure.contrib.generic.math-functions/sgn", + "namespace":"clojure.contrib.generic.math-functions", + "arglists":[["x"]], + "doc":"Return the sign of x (-1, 0, or 1).", + "name":"sgn"}, + {"source-url": + "http://github.com/richhickey/clojure-contrib/blob/1dd60bdd968cd19dc04b4cb4fdcc0b6032833543/src/clojure/contrib/generic/math_functions.clj#L66", + "wiki-url": + "http://richhickey.github.com/clojure-contrib//generic.math-functions-api.html#clojure.contrib.generic.math-functions/sin", + "namespace":"clojure.contrib.generic.math-functions", + "arglists":[["x"]], + "doc":"Return the sin of x.", + "name":"sin"}, + {"source-url": + "http://github.com/richhickey/clojure-contrib/blob/1dd60bdd968cd19dc04b4cb4fdcc0b6032833543/src/clojure/contrib/generic/math_functions.clj#L98", + "wiki-url": + "http://richhickey.github.com/clojure-contrib//generic.math-functions-api.html#clojure.contrib.generic.math-functions/sqr", + "namespace":"clojure.contrib.generic.math-functions", + "arglists":[["x"]], + "doc":"Return the square of x.", + "name":"sqr"}, + {"source-url": + "http://github.com/richhickey/clojure-contrib/blob/1dd60bdd968cd19dc04b4cb4fdcc0b6032833543/src/clojure/contrib/generic/math_functions.clj#L67", + "wiki-url": + "http://richhickey.github.com/clojure-contrib//generic.math-functions-api.html#clojure.contrib.generic.math-functions/sqrt", + "namespace":"clojure.contrib.generic.math-functions", + "arglists":[["x"]], + "doc":"Return the sqrt of x.", + "name":"sqrt"}, + {"source-url": + "http://github.com/richhickey/clojure-contrib/blob/1dd60bdd968cd19dc04b4cb4fdcc0b6032833543/src/clojure/contrib/generic/math_functions.clj#L68", + "wiki-url": + "http://richhickey.github.com/clojure-contrib//generic.math-functions-api.html#clojure.contrib.generic.math-functions/tan", + "namespace":"clojure.contrib.generic.math-functions", + "arglists":[["x"]], + "doc":"Return the tan of x.", + "name":"tan"}, + {"source-url": + "http://github.com/richhickey/clojure-contrib/blob/86e90011e274910c618a5592d21ba3ce290a6855/src/clojure/contrib/graph.clj#L49", "wiki-url": "http://richhickey.github.com/clojure-contrib//graph-api.html#clojure.contrib.graph/add-loops", "namespace":"clojure.contrib.graph", "arglists":[["g"]], "doc":"For each node n, add the edge n->n if not already present.", "name":"add-loops"}, - {"source-url":null, + {"source-url": + "http://github.com/richhickey/clojure-contrib/blob/86e90011e274910c618a5592d21ba3ce290a6855/src/clojure/contrib/graph.clj#L133", "wiki-url": "http://richhickey.github.com/clojure-contrib//graph-api.html#clojure.contrib.graph/component-graph", "namespace":"clojure.contrib.graph", @@ -1093,7 +2140,8 @@ "doc": "Given a graph, perhaps with cycles, return a reduced graph that is acyclic.\nEach node in the new graph will be a set of nodes from the old.\nThese sets are the strongly connected components. Each edge will\nbe the union of the corresponding edges of the prior graph.", "name":"component-graph"}, - {"source-url":null, + {"source-url": + "http://github.com/richhickey/clojure-contrib/blob/86e90011e274910c618a5592d21ba3ce290a6855/src/clojure/contrib/graph.clj#L190", "wiki-url": "http://richhickey.github.com/clojure-contrib//graph-api.html#clojure.contrib.graph/dependency-list", "namespace":"clojure.contrib.graph", @@ -1101,7 +2149,8 @@ "doc": "Similar to a topological sort, this returns a vector of sets. The\nset of nodes at index 0 are independent. The set at index 1 depend\non index 0; those at 2 depend on 0 and 1, and so on. Those withing\na set have no mutual dependencies. Assume the input graph (which\nmuch be acyclic) has an edge a->b when a depends on b.", "name":"dependency-list"}, - {"source-url":null, + {"source-url": + "http://github.com/richhickey/clojure-contrib/blob/86e90011e274910c618a5592d21ba3ce290a6855/src/clojure/contrib/graph.clj#L167", "wiki-url": "http://richhickey.github.com/clojure-contrib//graph-api.html#clojure.contrib.graph/fixed-point", "namespace":"clojure.contrib.graph", @@ -1109,14 +2158,16 @@ "doc": "Repeatedly apply fun to data until (equal old-data new-data)\nreturns true. If max iterations occur, it will throw an\nexception. Set max to nil for unlimited iterations.", "name":"fixed-point"}, - {"source-url":null, + {"source-url": + "http://github.com/richhickey/clojure-contrib/blob/86e90011e274910c618a5592d21ba3ce290a6855/src/clojure/contrib/graph.clj#L29", "wiki-url": "http://richhickey.github.com/clojure-contrib//graph-api.html#clojure.contrib.graph/get-neighbors", "namespace":"clojure.contrib.graph", "arglists":[["g", "n"]], "doc":"Get the neighbors of a node.", "name":"get-neighbors"}, - {"source-url":null, + {"source-url": + "http://github.com/richhickey/clojure-contrib/blob/86e90011e274910c618a5592d21ba3ce290a6855/src/clojure/contrib/graph.clj#L68", "wiki-url": "http://richhickey.github.com/clojure-contrib//graph-api.html#clojure.contrib.graph/lazy-walk", "namespace":"clojure.contrib.graph", @@ -1124,7 +2175,8 @@ "doc": "Return a lazy sequence of the nodes of a graph starting a node n. Optionally,\nprovide a set of visited notes (v) and a collection of nodes to\nvisit (ns).", "name":"lazy-walk"}, - {"source-url":null, + {"source-url": + "http://github.com/richhickey/clojure-contrib/blob/86e90011e274910c618a5592d21ba3ce290a6855/src/clojure/contrib/graph.clj#L110", "wiki-url": "http://richhickey.github.com/clojure-contrib//graph-api.html#clojure.contrib.graph/post-ordered-nodes", "namespace":"clojure.contrib.graph", @@ -1132,21 +2184,24 @@ "doc": "Return a sequence of indexes of a post-ordered walk of the graph.", "name":"post-ordered-nodes"}, - {"source-url":null, + {"source-url": + "http://github.com/richhickey/clojure-contrib/blob/86e90011e274910c618a5592d21ba3ce290a6855/src/clojure/contrib/graph.clj#L151", "wiki-url": "http://richhickey.github.com/clojure-contrib//graph-api.html#clojure.contrib.graph/recursive-component?", "namespace":"clojure.contrib.graph", "arglists":[["g", "ns"]], "doc":"Is the component (recieved from scc) self recursive?", "name":"recursive-component?"}, - {"source-url":null, + {"source-url": + "http://github.com/richhickey/clojure-contrib/blob/86e90011e274910c618a5592d21ba3ce290a6855/src/clojure/contrib/graph.clj#L57", "wiki-url": "http://richhickey.github.com/clojure-contrib//graph-api.html#clojure.contrib.graph/remove-loops", "namespace":"clojure.contrib.graph", "arglists":[["g"]], "doc":"For each node n, remove any edges n->n.", "name":"remove-loops"}, - {"source-url":null, + {"source-url": + "http://github.com/richhickey/clojure-contrib/blob/86e90011e274910c618a5592d21ba3ce290a6855/src/clojure/contrib/graph.clj#L37", "wiki-url": "http://richhickey.github.com/clojure-contrib//graph-api.html#clojure.contrib.graph/reverse-graph", "namespace":"clojure.contrib.graph", @@ -1154,7 +2209,8 @@ "doc": "Given a directed graph, return another directed graph with the\norder of the edges reversed.", "name":"reverse-graph"}, - {"source-url":null, + {"source-url": + "http://github.com/richhickey/clojure-contrib/blob/86e90011e274910c618a5592d21ba3ce290a6855/src/clojure/contrib/graph.clj#L117", "wiki-url": "http://richhickey.github.com/clojure-contrib//graph-api.html#clojure.contrib.graph/scc", "namespace":"clojure.contrib.graph", @@ -1162,7 +2218,8 @@ "doc": "Returns, as a sequence of sets, the strongly connected components\nof g.", "name":"scc"}, - {"source-url":null, + {"source-url": + "http://github.com/richhickey/clojure-contrib/blob/86e90011e274910c618a5592d21ba3ce290a6855/src/clojure/contrib/graph.clj#L158", "wiki-url": "http://richhickey.github.com/clojure-contrib//graph-api.html#clojure.contrib.graph/self-recursive-sets", "namespace":"clojure.contrib.graph", @@ -1170,7 +2227,8 @@ "doc": "Returns, as a sequence of sets, the components of a graph that are\nself-recursive.", "name":"self-recursive-sets"}, - {"source-url":null, + {"source-url": + "http://github.com/richhickey/clojure-contrib/blob/86e90011e274910c618a5592d21ba3ce290a6855/src/clojure/contrib/graph.clj#L207", "wiki-url": "http://richhickey.github.com/clojure-contrib//graph-api.html#clojure.contrib.graph/stratification-list", "namespace":"clojure.contrib.graph", @@ -1178,7 +2236,8 @@ "doc": "Similar to dependency-list (see doc), except two graphs are\nprovided. The first is as dependency-list. The second (which may\nhave cycles) provides a partial-dependency relation. If node a\ndepends on node b (meaning an edge a->b exists) in the second\ngraph, node a must be equal or later in the sequence.", "name":"stratification-list"}, - {"source-url":null, + {"source-url": + "http://github.com/richhickey/clojure-contrib/blob/86e90011e274910c618a5592d21ba3ce290a6855/src/clojure/contrib/graph.clj#L81", "wiki-url": "http://richhickey.github.com/clojure-contrib//graph-api.html#clojure.contrib.graph/transitive-closure", "namespace":"clojure.contrib.graph", @@ -1186,14 +2245,16 @@ "doc": "Returns the transitive closure of a graph. The neighbors are lazily computed.\n\nNote: some version of this algorithm return all edges a->a\nregardless of whether such loops exist in the original graph. This\nversion does not. Loops will be included only if produced by\ncycles in the graph. If you have code that depends on such\nbehavior, call (-> g transitive-closure add-loops)", "name":"transitive-closure"}, - {"source-url":null, + {"source-url": + "http://github.com/richhickey/clojure-contrib/blob/86e90011e274910c618a5592d21ba3ce290a6855/src/clojure/contrib/greatest_least.clj#L52", "wiki-url": "http://richhickey.github.com/clojure-contrib//greatest-least-api.html#clojure.contrib.greatest-least/all-greatest", "namespace":"clojure.contrib.greatest-least", "arglists":[["&", "args"]], "doc":"Returns all the greatest elements.", "name":"all-greatest"}, - {"source-url":null, + {"source-url": + "http://github.com/richhickey/clojure-contrib/blob/86e90011e274910c618a5592d21ba3ce290a6855/src/clojure/contrib/greatest_least.clj#L47", "wiki-url": "http://richhickey.github.com/clojure-contrib//greatest-least-api.html#clojure.contrib.greatest-least/all-greatest-by", "namespace":"clojure.contrib.greatest-least", @@ -1201,14 +2262,16 @@ "doc": "Return all the elements for which f yields the greatest value.", "name":"all-greatest-by"}, - {"source-url":null, + {"source-url": + "http://github.com/richhickey/clojure-contrib/blob/86e90011e274910c618a5592d21ba3ce290a6855/src/clojure/contrib/greatest_least.clj#L62", "wiki-url": "http://richhickey.github.com/clojure-contrib//greatest-least-api.html#clojure.contrib.greatest-least/all-least", "namespace":"clojure.contrib.greatest-least", "arglists":[["&", "args"]], "doc":"Returns all the least elements.", "name":"all-least"}, - {"source-url":null, + {"source-url": + "http://github.com/richhickey/clojure-contrib/blob/86e90011e274910c618a5592d21ba3ce290a6855/src/clojure/contrib/greatest_least.clj#L57", "wiki-url": "http://richhickey.github.com/clojure-contrib//greatest-least-api.html#clojure.contrib.greatest-least/all-least-by", "namespace":"clojure.contrib.greatest-least", @@ -1216,66 +2279,268 @@ "doc": "Return all the elements for which f yields the least value.", "name":"all-least-by"}, - {"source-url":null, + {"source-url": + "http://github.com/richhickey/clojure-contrib/blob/86e90011e274910c618a5592d21ba3ce290a6855/src/clojure/contrib/greatest_least.clj#L18", "wiki-url": "http://richhickey.github.com/clojure-contrib//greatest-least-api.html#clojure.contrib.greatest-least/greatest", "namespace":"clojure.contrib.greatest-least", "arglists":[["&", "args"]], "doc":"Return the greatest argument.", "name":"greatest"}, - {"source-url":null, + {"source-url": + "http://github.com/richhickey/clojure-contrib/blob/86e90011e274910c618a5592d21ba3ce290a6855/src/clojure/contrib/greatest_least.clj#L13", "wiki-url": "http://richhickey.github.com/clojure-contrib//greatest-least-api.html#clojure.contrib.greatest-least/greatest-by", "namespace":"clojure.contrib.greatest-least", "arglists":[["f", "&", "args"]], "doc":"Return the argument for which f yields the greatest value.", "name":"greatest-by"}, - {"source-url":null, + {"source-url": + "http://github.com/richhickey/clojure-contrib/blob/86e90011e274910c618a5592d21ba3ce290a6855/src/clojure/contrib/greatest_least.clj#L28", "wiki-url": "http://richhickey.github.com/clojure-contrib//greatest-least-api.html#clojure.contrib.greatest-least/least", "namespace":"clojure.contrib.greatest-least", "arglists":[["&", "args"]], "doc":"Return the smallest element.", "name":"least"}, - {"source-url":null, + {"source-url": + "http://github.com/richhickey/clojure-contrib/blob/86e90011e274910c618a5592d21ba3ce290a6855/src/clojure/contrib/greatest_least.clj#L23", "wiki-url": "http://richhickey.github.com/clojure-contrib//greatest-least-api.html#clojure.contrib.greatest-least/least-by", "namespace":"clojure.contrib.greatest-least", "arglists":[["f", "&", "args"]], "doc":"Return the argument for which f yields the smallest value.", "name":"least-by"}, - {"source-url":null, + {"source-url": + "http://github.com/richhickey/clojure-contrib/blob/5055f41c8bc99747392396d622f17f723470858e/src/clojure/contrib/http/agent.clj#L147", "wiki-url": - "http://richhickey.github.com/clojure-contrib//import-static-api.html#clojure.contrib.import-static/import-static", - "namespace":"clojure.contrib.import-static", - "arglists":[["class", "&", "fields-and-methods"]], + "http://richhickey.github.com/clojure-contrib//http.agent-api.html#clojure.contrib.http.agent/buffer-bytes", + "namespace":"clojure.contrib.http.agent", + "arglists":[["http-agnt"]], "doc": - "Imports the named static fields and/or static methods of the class\nas (private) symbols in the current namespace.\n\nExample: \n user=> (import-static java.lang.Math PI sqrt)\n nil\n user=> PI\n 3.141592653589793\n user=> (sqrt 16)\n 4.0\n\nNote: The class name must be fully qualified, even if it has already\nbeen imported. Static methods are defined as MACROS, not\nfirst-class fns.", - "name":"import-static"}, - {"source-url":null, + "The default HTTP agent result handler; it collects the response\nbody in a java.io.ByteArrayOutputStream, which can later be\nretrieved with the 'stream', 'string', and 'bytes' functions.", + "name":"buffer-bytes"}, + {"source-url": + "http://github.com/richhickey/clojure-contrib/blob/5055f41c8bc99747392396d622f17f723470858e/src/clojure/contrib/http/agent.clj#L253", "wiki-url": - "http://richhickey.github.com/clojure-contrib//jar-api.html#clojure.contrib.jar/filenames-in-jar", - "namespace":"clojure.contrib.jar", - "arglists":[["jar-file"]], + "http://richhickey.github.com/clojure-contrib//http.agent-api.html#clojure.contrib.http.agent/bytes", + "namespace":"clojure.contrib.http.agent", + "arglists":[["http-agnt"]], "doc": - "Returns a sequence of Strings naming the non-directory entries in\nthe JAR file.", - "name":"filenames-in-jar"}, - {"source-url":null, + "Returns a Java byte array of the content returned by the server;\nnil if the content is not yet available.", + "name":"bytes"}, + {"source-url": + "http://github.com/richhickey/clojure-contrib/blob/5055f41c8bc99747392396d622f17f723470858e/src/clojure/contrib/http/agent.clj#L364", "wiki-url": - "http://richhickey.github.com/clojure-contrib//jar-api.html#clojure.contrib.jar/jar-file?", - "namespace":"clojure.contrib.jar", - "arglists":[["file"]], + "http://richhickey.github.com/clojure-contrib//http.agent-api.html#clojure.contrib.http.agent/client-error?", + "namespace":"clojure.contrib.http.agent", + "arglists":[["http-agnt"]], "doc": - "Returns true if file is a normal file with a .jar or .JAR extension.", - "name":"jar-file?"}, - {"source-url":null, + "Returns true if the HTTP response code was in the 400-499 range.", + "name":"client-error?"}, + {"source-url": + "http://github.com/richhickey/clojure-contrib/blob/5055f41c8bc99747392396d622f17f723470858e/src/clojure/contrib/http/agent.clj#L303", "wiki-url": - "http://richhickey.github.com/clojure-contrib//java-utils-api.html#clojure.contrib.java-utils/as-file", - "namespace":"clojure.contrib.java-utils", + "http://richhickey.github.com/clojure-contrib//http.agent-api.html#clojure.contrib.http.agent/done?", + "namespace":"clojure.contrib.http.agent", + "arglists":[["http-agnt"]], + "doc":"Returns true if the HTTP request/response has completed.", + "name":"done?"}, + {"source-url": + "http://github.com/richhickey/clojure-contrib/blob/5055f41c8bc99747392396d622f17f723470858e/src/clojure/contrib/http/agent.clj#L374", + "wiki-url": + "http://richhickey.github.com/clojure-contrib//http.agent-api.html#clojure.contrib.http.agent/error?", + "namespace":"clojure.contrib.http.agent", + "arglists":[["http-agnt"]], + "doc": + "Returns true if the HTTP response code was in the 400-499 range OR\nthe 500-599 range.", + "name":"error?"}, + {"source-url": + "http://github.com/richhickey/clojure-contrib/blob/5055f41c8bc99747392396d622f17f723470858e/src/clojure/contrib/http/agent.clj#L324", + "wiki-url": + "http://richhickey.github.com/clojure-contrib//http.agent-api.html#clojure.contrib.http.agent/headers", + "namespace":"clojure.contrib.http.agent", + "arglists":[["http-agnt"]], + "doc": + "Returns a map of HTTP response headers. Header names are converted\nto keywords in all lower-case Header values are strings. If a\nheader appears more than once, only the last value is returned.", + "name":"headers"}, + {"source-url": + "http://github.com/richhickey/clojure-contrib/blob/5055f41c8bc99747392396d622f17f723470858e/src/clojure/contrib/http/agent.clj#L334", + "wiki-url": + "http://richhickey.github.com/clojure-contrib//http.agent-api.html#clojure.contrib.http.agent/headers-seq", + "namespace":"clojure.contrib.http.agent", + "arglists":[["http-agnt"]], + "doc": + "Returns the HTTP response headers in order as a sequence of\n[String,String] pairs. The first 'header' name may be null for the\nHTTP status line.", + "name":"headers-seq"}, + {"source-url": + "http://github.com/richhickey/clojure-contrib/blob/5055f41c8bc99747392396d622f17f723470858e/src/clojure/contrib/http/agent.clj#L168", + "wiki-url": + "http://richhickey.github.com/clojure-contrib//http.agent-api.html#clojure.contrib.http.agent/http-agent", + "namespace":"clojure.contrib.http.agent", + "arglists":[["uri", "&", "options"]], + "doc": + "Creates (and immediately returns) an Agent representing an HTTP\nrequest running in a new thread.\n\noptions are key/value pairs:\n\n:method string\n\nThe HTTP method name. Default is \"GET\".\n\n:headers h\n\nHTTP headers, as a Map or a sequence of pairs like \n([key1,value1], [key2,value2]) Default is nil.\n\n:body b\n\nHTTP request entity body, one of nil, String, byte[], InputStream,\nReader, or File. Default is nil.\n\n:connect-timeout int\n\nTimeout value, in milliseconds, when opening a connection to the\nURL. Default is zero, meaning no timeout.\n\n:read-timeout int\n\nTimeout value, in milliseconds, when reading data from the\nconnection. Default is zero, meaning no timeout.\n\n:follow-redirects boolean\n\nIf true, HTTP 3xx redirects will be followed automatically. Default\nis true.\n\n:handler f\n\nFunction to be called when the HTTP response body is ready. If you\ndo not provide a handler function, the default is to buffer the\nentire response body in memory.\n\nThe handler function will be called with the HTTP agent as its\nargument, and can use the 'stream' function to read the response\nbody. The return value of this function will be stored in the state\nof the agent and can be retrieved with the 'result' function. Any\nexceptions thrown by this function will be added to the agent's\nerror queue (see agent-errors). The default function collects the\nresponse stream in a memory buffer.\n", + "name":"http-agent"}, + {"source-url": + "http://github.com/richhickey/clojure-contrib/blob/5055f41c8bc99747392396d622f17f723470858e/src/clojure/contrib/http/agent.clj#L317", + "wiki-url": + "http://richhickey.github.com/clojure-contrib//http.agent-api.html#clojure.contrib.http.agent/message", + "namespace":"clojure.contrib.http.agent", + "arglists":[["http-agnt"]], + "doc": + "Returns the HTTP response message (e.g. 'Not Found'), for this\nrequest, or nil if the response has not yet been received.", + "name":"message"}, + {"source-url": + "http://github.com/richhickey/clojure-contrib/blob/5055f41c8bc99747392396d622f17f723470858e/src/clojure/contrib/http/agent.clj#L287", + "wiki-url": + "http://richhickey.github.com/clojure-contrib//http.agent-api.html#clojure.contrib.http.agent/method", + "namespace":"clojure.contrib.http.agent", + "arglists":[["http-agnt"]], + "doc": + "Returns the HTTP method name used by this HTTP agent, as a String.", + "name":"method"}, + {"source-url": + "http://github.com/richhickey/clojure-contrib/blob/5055f41c8bc99747392396d622f17f723470858e/src/clojure/contrib/http/agent.clj#L355", + "wiki-url": + "http://richhickey.github.com/clojure-contrib//http.agent-api.html#clojure.contrib.http.agent/redirect?", + "namespace":"clojure.contrib.http.agent", + "arglists":[["http-agnt"]], + "doc": + "Returns true if the HTTP response code was in the 300-399 range.\n\nNote: if the :follow-redirects option was true (the default),\nredirects will be followed automatically and a the agent will never\nreturn a 3xx response code.", + "name":"redirect?"}, + {"source-url": + "http://github.com/richhickey/clojure-contrib/blob/5055f41c8bc99747392396d622f17f723470858e/src/clojure/contrib/http/agent.clj#L292", + "wiki-url": + "http://richhickey.github.com/clojure-contrib//http.agent-api.html#clojure.contrib.http.agent/request-body", + "namespace":"clojure.contrib.http.agent", + "arglists":[["http-agnt"]], + "doc": + "Returns the HTTP request body given to this HTTP agent. \n\nNote: if the request body was an InputStream or a Reader, it will no\nlonger be usable.", + "name":"request-body"}, + {"source-url": + "http://github.com/richhickey/clojure-contrib/blob/5055f41c8bc99747392396d622f17f723470858e/src/clojure/contrib/http/agent.clj#L282", + "wiki-url": + "http://richhickey.github.com/clojure-contrib//http.agent-api.html#clojure.contrib.http.agent/request-headers", + "namespace":"clojure.contrib.http.agent", + "arglists":[["http-agnt"]], + "doc":"Returns the request headers specified for this HTTP agent.", + "name":"request-headers"}, + {"source-url": + "http://github.com/richhickey/clojure-contrib/blob/5055f41c8bc99747392396d622f17f723470858e/src/clojure/contrib/http/agent.clj#L277", + "wiki-url": + "http://richhickey.github.com/clojure-contrib//http.agent-api.html#clojure.contrib.http.agent/request-uri", + "namespace":"clojure.contrib.http.agent", + "arglists":[["http-agnt"]], + "doc": + "Returns the URI/URL requested by this HTTP agent, as a String.", + "name":"request-uri"}, + {"source-url": + "http://github.com/richhickey/clojure-contrib/blob/5055f41c8bc99747392396d622f17f723470858e/src/clojure/contrib/http/agent.clj#L231", + "wiki-url": + "http://richhickey.github.com/clojure-contrib//http.agent-api.html#clojure.contrib.http.agent/result", + "namespace":"clojure.contrib.http.agent", + "arglists":[["http-agnt"]], + "doc": + "Returns the value returned by the :handler function of the HTTP\nagent; blocks until the HTTP request is completed. The default\nhandler function returns a ByteArrayOutputStream.", + "name":"result"}, + {"source-url": + "http://github.com/richhickey/clojure-contrib/blob/5055f41c8bc99747392396d622f17f723470858e/src/clojure/contrib/http/agent.clj#L369", + "wiki-url": + "http://richhickey.github.com/clojure-contrib//http.agent-api.html#clojure.contrib.http.agent/server-error?", + "namespace":"clojure.contrib.http.agent", + "arglists":[["http-agnt"]], + "doc": + "Returns true if the HTTP response code was in the 500-599 range.", + "name":"server-error?"}, + {"source-url": + "http://github.com/richhickey/clojure-contrib/blob/5055f41c8bc99747392396d622f17f723470858e/src/clojure/contrib/http/agent.clj#L309", + "wiki-url": + "http://richhickey.github.com/clojure-contrib//http.agent-api.html#clojure.contrib.http.agent/status", + "namespace":"clojure.contrib.http.agent", + "arglists":[["http-agnt"]], + "doc": + "Returns the HTTP response status code (e.g. 200, 404) for this\nrequest, as an Integer, or nil if the status has not yet been\nreceived.", + "name":"status"}, + {"source-url": + "http://github.com/richhickey/clojure-contrib/blob/5055f41c8bc99747392396d622f17f723470858e/src/clojure/contrib/http/agent.clj#L239", + "wiki-url": + "http://richhickey.github.com/clojure-contrib//http.agent-api.html#clojure.contrib.http.agent/stream", + "namespace":"clojure.contrib.http.agent", + "arglists":[["http-agnt"]], + "doc": + "Returns an InputStream of the HTTP response body. When called by\nthe handler function passed to http-agent, this is the raw\nHttpURLConnection stream.\n\nIf the default handler function was used, this function returns a\nByteArrayInputStream on the buffered response body.", + "name":"stream"}, + {"source-url": + "http://github.com/richhickey/clojure-contrib/blob/5055f41c8bc99747392396d622f17f723470858e/src/clojure/contrib/http/agent.clj#L259", + "wiki-url": + "http://richhickey.github.com/clojure-contrib//http.agent-api.html#clojure.contrib.http.agent/string", + "namespace":"clojure.contrib.http.agent", + "arglists":[["http-agnt"], ["http-agnt", "encoding"]], + "doc": + "Returns the HTTP response body as a string, using the given\nencoding.\n\nIf no encoding is given, uses the encoding specified in the server\nheaders, or clojure.contrib.duck-streams/*default-encoding* if it is\nnot specified.", + "name":"string"}, + {"source-url": + "http://github.com/richhickey/clojure-contrib/blob/5055f41c8bc99747392396d622f17f723470858e/src/clojure/contrib/http/agent.clj#L350", + "wiki-url": + "http://richhickey.github.com/clojure-contrib//http.agent-api.html#clojure.contrib.http.agent/success?", + "namespace":"clojure.contrib.http.agent", + "arglists":[["http-agnt"]], + "doc": + "Returns true if the HTTP response code was in the 200-299 range.", + "name":"success?"}, + {"source-url": + "http://github.com/richhickey/clojure-contrib/blob/ee6e4bf2d912419dd180b712d32e817a479f14e8/src/clojure/contrib/http/connection.clj#L21", + "wiki-url": + "http://richhickey.github.com/clojure-contrib//http.connection-api.html#clojure.contrib.http.connection/http-connection", + "namespace":"clojure.contrib.http.connection", + "arglists":[["url"]], + "doc":"Opens an HttpURLConnection at the URL, handled by as-url.", + "name":"http-connection"}, + {"source-url": + "http://github.com/richhickey/clojure-contrib/blob/ee6e4bf2d912419dd180b712d32e817a479f14e8/src/clojure/contrib/http/connection.clj#L26", + "wiki-url": + "http://richhickey.github.com/clojure-contrib//http.connection-api.html#clojure.contrib.http.connection/send-request-entity", + "namespace":"clojure.contrib.http.connection", + "doc":"Transmits a request entity body.", + "name":"send-request-entity"}, + {"source-url": + "http://github.com/richhickey/clojure-contrib/blob/86e90011e274910c618a5592d21ba3ce290a6855/src/clojure/contrib/import_static.clj#L22", + "wiki-url": + "http://richhickey.github.com/clojure-contrib//import-static-api.html#clojure.contrib.import-static/import-static", + "namespace":"clojure.contrib.import-static", + "arglists":[["class", "&", "fields-and-methods"]], + "doc": + "Imports the named static fields and/or static methods of the class\nas (private) symbols in the current namespace.\n\nExample: \n user=> (import-static java.lang.Math PI sqrt)\n nil\n user=> PI\n 3.141592653589793\n user=> (sqrt 16)\n 4.0\n\nNote: The class name must be fully qualified, even if it has already\nbeen imported. Static methods are defined as MACROS, not\nfirst-class fns.", + "name":"import-static"}, + {"source-url": + "http://github.com/richhickey/clojure-contrib/blob/86e90011e274910c618a5592d21ba3ce290a6855/src/clojure/contrib/jar.clj#L29", + "wiki-url": + "http://richhickey.github.com/clojure-contrib//jar-api.html#clojure.contrib.jar/filenames-in-jar", + "namespace":"clojure.contrib.jar", + "arglists":[["jar-file"]], + "doc": + "Returns a sequence of Strings naming the non-directory entries in\nthe JAR file.", + "name":"filenames-in-jar"}, + {"source-url": + "http://github.com/richhickey/clojure-contrib/blob/86e90011e274910c618a5592d21ba3ce290a6855/src/clojure/contrib/jar.clj#L22", + "wiki-url": + "http://richhickey.github.com/clojure-contrib//jar-api.html#clojure.contrib.jar/jar-file?", + "namespace":"clojure.contrib.jar", + "arglists":[["file"]], + "doc": + "Returns true if file is a normal file with a .jar or .JAR extension.", + "name":"jar-file?"}, + {"source-url": + "http://github.com/richhickey/clojure-contrib/blob/cc4e2ec2bf558f059330ebc97a031d7806a1e364/src/clojure/contrib/java_utils.clj#L75", + "wiki-url": + "http://richhickey.github.com/clojure-contrib//java-utils-api.html#clojure.contrib.java-utils/as-file", + "namespace":"clojure.contrib.java-utils", "doc": "Interpret a String or a java.io.File as a File. Building block\nfor clojure.contrib.java-utils/file, which you should prefer\nin most cases.", "name":"as-file"}, - {"source-url":null, + {"source-url": + "http://github.com/richhickey/clojure-contrib/blob/cc4e2ec2bf558f059330ebc97a031d7806a1e364/src/clojure/contrib/java_utils.clj#L152", "wiki-url": "http://richhickey.github.com/clojure-contrib//java-utils-api.html#clojure.contrib.java-utils/as-properties", "namespace":"clojure.contrib.java-utils", @@ -1283,7 +2548,8 @@ "doc": "Convert any seq of pairs to a java.utils.Properties instance.\nUses as-str to convert both keys and values into strings.", "name":"as-properties"}, - {"source-url":null, + {"source-url": + "http://github.com/richhickey/clojure-contrib/blob/cc4e2ec2bf558f059330ebc97a031d7806a1e364/src/clojure/contrib/java_utils.clj#L92", "wiki-url": "http://richhickey.github.com/clojure-contrib//java-utils-api.html#clojure.contrib.java-utils/as-str", "namespace":"clojure.contrib.java-utils", @@ -1291,14 +2557,16 @@ "doc": "Like clojure.core/str, but if an argument is a keyword or symbol,\nits name will be used instead of its literal representation.\n\nExample:\n (str :foo :bar) ;;=> \":foo:bar\"\n (as-str :foo :bar) ;;=> \"foobar\" \n\nNote that this does not apply to keywords or symbols nested within\ndata structures; they will be rendered as with str.\n\nExample:\n (str {:foo :bar}) ;;=> \"{:foo :bar}\"\n (as-str {:foo :bar}) ;;=> \"{:foo :bar}\" ", "name":"as-str"}, - {"source-url":null, + {"source-url": + "http://github.com/richhickey/clojure-contrib/blob/cc4e2ec2bf558f059330ebc97a031d7806a1e364/src/clojure/contrib/java_utils.clj#L195", "wiki-url": "http://richhickey.github.com/clojure-contrib//java-utils-api.html#clojure.contrib.java-utils/as-url", "namespace":"clojure.contrib.java-utils", "arglists":[["arg"]], "doc":"Coerces argument (URL, URI, or String) to a java.net.URL.", "name":"as-url"}, - {"source-url":null, + {"source-url": + "http://github.com/richhickey/clojure-contrib/blob/cc4e2ec2bf558f059330ebc97a031d7806a1e364/src/clojure/contrib/java_utils.clj#L178", "wiki-url": "http://richhickey.github.com/clojure-contrib//java-utils-api.html#clojure.contrib.java-utils/delete-file", "namespace":"clojure.contrib.java-utils", @@ -1306,7 +2574,8 @@ "doc": "Delete file f. Raise an exception if it fails unless silently is true.", "name":"delete-file"}, - {"source-url":null, + {"source-url": + "http://github.com/richhickey/clojure-contrib/blob/cc4e2ec2bf558f059330ebc97a031d7806a1e364/src/clojure/contrib/java_utils.clj#L185", "wiki-url": "http://richhickey.github.com/clojure-contrib//java-utils-api.html#clojure.contrib.java-utils/delete-file-recursively", "namespace":"clojure.contrib.java-utils", @@ -1314,7 +2583,8 @@ "doc": "Delete file f. If it's a directory, recursively delete all its contents.\nRaise an exception if any deletion fails unless silently is true.", "name":"delete-file-recursively"}, - {"source-url":null, + {"source-url": + "http://github.com/richhickey/clojure-contrib/blob/cc4e2ec2bf558f059330ebc97a031d7806a1e364/src/clojure/contrib/java_utils.clj#L83", "wiki-url": "http://richhickey.github.com/clojure-contrib//java-utils-api.html#clojure.contrib.java-utils/file", "namespace":"clojure.contrib.java-utils", @@ -1322,42 +2592,48 @@ [["arg"], ["parent", "child"], ["parent", "child", "&", "more"]], "doc":"Returns a java.io.File from string or file args.", "name":"file"}, - {"source-url":null, + {"source-url": + "http://github.com/richhickey/clojure-contrib/blob/cc4e2ec2bf558f059330ebc97a031d7806a1e364/src/clojure/contrib/java_utils.clj#L117", "wiki-url": "http://richhickey.github.com/clojure-contrib//java-utils-api.html#clojure.contrib.java-utils/get-system-property", "namespace":"clojure.contrib.java-utils", "arglists":[["stringable"], ["stringable", "default"]], "doc":"Get a system property.", "name":"get-system-property"}, - {"source-url":null, + {"source-url": + "http://github.com/richhickey/clojure-contrib/blob/cc4e2ec2bf558f059330ebc97a031d7806a1e364/src/clojure/contrib/java_utils.clj#L162", "wiki-url": "http://richhickey.github.com/clojure-contrib//java-utils-api.html#clojure.contrib.java-utils/read-properties", "namespace":"clojure.contrib.java-utils", "arglists":[["file-able"]], "doc":"Read properties from file-able.", "name":"read-properties"}, - {"source-url":null, + {"source-url": + "http://github.com/richhickey/clojure-contrib/blob/cc4e2ec2bf558f059330ebc97a031d7806a1e364/src/clojure/contrib/java_utils.clj#L62", "wiki-url": "http://richhickey.github.com/clojure-contrib//java-utils-api.html#clojure.contrib.java-utils/relative-path-string", "namespace":"clojure.contrib.java-utils", "doc": "Interpret a String or java.io.File as a relative path string. \nBuilding block for clojure.contrib.java-utils/file.", "name":"relative-path-string"}, - {"source-url":null, + {"source-url": + "http://github.com/richhickey/clojure-contrib/blob/cc4e2ec2bf558f059330ebc97a031d7806a1e364/src/clojure/contrib/java_utils.clj#L124", "wiki-url": "http://richhickey.github.com/clojure-contrib//java-utils-api.html#clojure.contrib.java-utils/set-system-properties", "namespace":"clojure.contrib.java-utils", "arglists":[["settings"]], "doc":"Set some system properties. Nil clears a property.", "name":"set-system-properties"}, - {"source-url":null, + {"source-url": + "http://github.com/richhickey/clojure-contrib/blob/cc4e2ec2bf558f059330ebc97a031d7806a1e364/src/clojure/contrib/java_utils.clj#L218", "wiki-url": "http://richhickey.github.com/clojure-contrib//java-utils-api.html#clojure.contrib.java-utils/wall-hack-field", "namespace":"clojure.contrib.java-utils", "arglists":[["class-name", "field-name", "obj"]], "doc":"Access to private or protected field.", "name":"wall-hack-field"}, - {"source-url":null, + {"source-url": + "http://github.com/richhickey/clojure-contrib/blob/cc4e2ec2bf558f059330ebc97a031d7806a1e364/src/clojure/contrib/java_utils.clj#L208", "wiki-url": "http://richhickey.github.com/clojure-contrib//java-utils-api.html#clojure.contrib.java-utils/wall-hack-method", "namespace":"clojure.contrib.java-utils", @@ -1366,7 +2642,8 @@ "doc": "Calls a private or protected method.\nparams is a vector of class which correspond to the arguments to the method\nobj is nil for static methods, the instance object otherwise\nthe method name is given as a symbol or a keyword (something Named)", "name":"wall-hack-method"}, - {"source-url":null, + {"source-url": + "http://github.com/richhickey/clojure-contrib/blob/cc4e2ec2bf558f059330ebc97a031d7806a1e364/src/clojure/contrib/java_utils.clj#L132", "wiki-url": "http://richhickey.github.com/clojure-contrib//java-utils-api.html#clojure.contrib.java-utils/with-system-properties", "namespace":"clojure.contrib.java-utils", @@ -1374,28 +2651,65 @@ "doc": "setting => property-name value\n\nSets the system properties to the supplied values, executes the body, and\nsets the properties back to their original values. Values of nil are\ntranslated to a clearing of the property.", "name":"with-system-properties"}, - {"source-url":null, + {"source-url": + "http://github.com/richhickey/clojure-contrib/blob/cc4e2ec2bf558f059330ebc97a031d7806a1e364/src/clojure/contrib/java_utils.clj#L169", "wiki-url": "http://richhickey.github.com/clojure-contrib//java-utils-api.html#clojure.contrib.java-utils/write-properties", "namespace":"clojure.contrib.java-utils", "arglists":[["m", "file-able"], ["m", "file-able", "comments"]], "doc":"Write properties to file-able.", "name":"write-properties"}, - {"source-url":null, + {"source-url": + "http://github.com/richhickey/clojure-contrib/blob/dd497fb5154f8a26f9a09af7361981cb196bdf67/src/clojure/contrib/javadoc/browse.clj#L25", + "wiki-url": + "http://richhickey.github.com/clojure-contrib//javadoc.browse-api.html#clojure.contrib.javadoc.browse/open-url-in-browser", + "namespace":"clojure.contrib.javadoc.browse", + "arglists":[["url"]], + "doc": + "Opens url (a string) in the default system web browser. May not\nwork on all platforms. Returns url on success, nil if not\nsupported.", + "name":"open-url-in-browser"}, + {"source-url": + "http://github.com/richhickey/clojure-contrib/blob/dd497fb5154f8a26f9a09af7361981cb196bdf67/src/clojure/contrib/javadoc/browse.clj#L40", + "wiki-url": + "http://richhickey.github.com/clojure-contrib//javadoc.browse-api.html#clojure.contrib.javadoc.browse/open-url-in-swing", + "namespace":"clojure.contrib.javadoc.browse", + "arglists":[["url"]], + "doc":"Opens url (a string) in a Swing window.", + "name":"open-url-in-swing"}, + {"source-url": + "http://github.com/richhickey/clojure-contrib/blob/d596fee7fbe2f428a34ebecbaaf9451e215d5bdf/src/clojure/contrib/jmx.clj#L83", "wiki-url": "http://richhickey.github.com/clojure-contrib//jmx-api.html#clojure.contrib.jmx/*connection*", "namespace":"clojure.contrib.jmx", "doc": "The connection to be used for JMX ops. Defaults to the local process.", "name":"*connection*"}, - {"source-url":null, + {"source-url": + "http://github.com/richhickey/clojure-contrib/blob/d596fee7fbe2f428a34ebecbaaf9451e215d5bdf/src/clojure/contrib/jmx/data.clj#L26", "wiki-url": "http://richhickey.github.com/clojure-contrib//jmx-api.html#clojure.contrib.jmx/as-object-name", "namespace":"clojure.contrib.jmx", "arglists":[["string-or-name"]], "doc":"Interpret an object as a JMX ObjectName.", "name":"as-object-name"}, - {"source-url":null, + {"source-url": + "http://github.com/richhickey/clojure-contrib/blob/f92114c9cce5e892765549cdb0df640dc3ab52a5/src/clojure/contrib/jmx/client.clj#L69", + "wiki-url": + "http://richhickey.github.com/clojure-contrib//jmx-api.html#clojure.contrib.jmx/attribute-info", + "namespace":"clojure.contrib.jmx", + "arglists":[["object-name", "attr-name"]], + "doc":"Get the MBeanAttributeInfo for an attribute", + "name":"attribute-info"}, + {"source-url": + "http://github.com/richhickey/clojure-contrib/blob/d596fee7fbe2f428a34ebecbaaf9451e215d5bdf/src/clojure/contrib/jmx.clj#L95", + "wiki-url": + "http://richhickey.github.com/clojure-contrib//jmx-api.html#clojure.contrib.jmx/attribute-names", + "namespace":"clojure.contrib.jmx", + "arglists":[["n"]], + "doc":"All attribute names available on an MBean.", + "name":"attribute-names"}, + {"source-url": + "http://github.com/richhickey/clojure-contrib/blob/d596fee7fbe2f428a34ebecbaaf9451e215d5bdf/src/clojure/contrib/jmx/data.clj#L91", "wiki-url": "http://richhickey.github.com/clojure-contrib//jmx-api.html#clojure.contrib.jmx/build-attribute-info", "namespace":"clojure.contrib.jmx", @@ -1405,7 +2719,8 @@ "doc": "Construct an MBeanAttributeInfo. Normally called with a key/value pair from a Clojure map.", "name":"build-attribute-info"}, - {"source-url":null, + {"source-url": + "http://github.com/richhickey/clojure-contrib/blob/d596fee7fbe2f428a34ebecbaaf9451e215d5bdf/src/clojure/contrib/jmx/data.clj#L85", "wiki-url": "http://richhickey.github.com/clojure-contrib//jmx-api.html#clojure.contrib.jmx/guess-attribute-typename", "namespace":"clojure.contrib.jmx", @@ -1413,21 +2728,24 @@ "doc": "Guess the attribute typename for MBeanAttributeInfo based on the attribute value.", "name":"guess-attribute-typename"}, - {"source-url":null, + {"source-url": + "http://github.com/richhickey/clojure-contrib/blob/d596fee7fbe2f428a34ebecbaaf9451e215d5bdf/src/clojure/contrib/jmx/data.clj#L64", "wiki-url": "http://richhickey.github.com/clojure-contrib//jmx-api.html#clojure.contrib.jmx/jmx->clj", "namespace":"clojure.contrib.jmx", "doc": "Coerce JMX data structures into Clojure data.\nHandles CompositeData, TabularData, maps, and atoms.", "name":"jmx->clj"}, - {"source-url":null, + {"source-url": + "http://github.com/richhickey/clojure-contrib/blob/d596fee7fbe2f428a34ebecbaaf9451e215d5bdf/src/clojure/contrib/jmx/data.clj#L19", "wiki-url": "http://richhickey.github.com/clojure-contrib//jmx-api.html#clojure.contrib.jmx/jmx-url", "namespace":"clojure.contrib.jmx", "arglists":[[], ["overrides"]], "doc":"Build a JMX URL from options.", "name":"jmx-url"}, - {"source-url":null, + {"source-url": + "http://github.com/richhickey/clojure-contrib/blob/d596fee7fbe2f428a34ebecbaaf9451e215d5bdf/src/clojure/contrib/jmx/data.clj#L100", "wiki-url": "http://richhickey.github.com/clojure-contrib//jmx-api.html#clojure.contrib.jmx/map->attribute-infos", "namespace":"clojure.contrib.jmx", @@ -1435,7 +2753,8 @@ "doc": "Construct an MBeanAttributeInfo[] from a Clojure associative.", "name":"map->attribute-infos"}, - {"source-url":null, + {"source-url": + "http://github.com/richhickey/clojure-contrib/blob/d596fee7fbe2f428a34ebecbaaf9451e215d5bdf/src/clojure/contrib/jmx/data.clj#L44", "wiki-url": "http://richhickey.github.com/clojure-contrib//jmx-api.html#clojure.contrib.jmx/maybe-atomize", "namespace":"clojure.contrib.jmx", @@ -1443,7 +2762,8 @@ "doc": "Convert a list of length 1 into its contents, leaving other things alone.\nUsed to simplify keys in the tabular data API.", "name":"maybe-atomize"}, - {"source-url":null, + {"source-url": + "http://github.com/richhickey/clojure-contrib/blob/d596fee7fbe2f428a34ebecbaaf9451e215d5bdf/src/clojure/contrib/jmx/data.clj#L38", "wiki-url": "http://richhickey.github.com/clojure-contrib//jmx-api.html#clojure.contrib.jmx/maybe-keywordize", "namespace":"clojure.contrib.jmx", @@ -1451,7 +2771,101 @@ "doc": "Convert a string key to a keyword, leaving other types alone. Used to\nsimplify keys in the tabular data API.", "name":"maybe-keywordize"}, - {"source-url":null, + {"source-url": + "http://github.com/richhickey/clojure-contrib/blob/d596fee7fbe2f428a34ebecbaaf9451e215d5bdf/src/clojure/contrib/jmx.clj#L114", + "wiki-url": + "http://richhickey.github.com/clojure-contrib//jmx-api.html#clojure.contrib.jmx/mbean", + "namespace":"clojure.contrib.jmx", + "arglists":[["n"]], + "doc": + "Like clojure.core/bean, but for JMX beans. Returns a read-only map of\na JMX bean's attributes. If an attribute it not supported, value is\nset to the exception thrown.", + "name":"mbean"}, + {"source-url": + "http://github.com/richhickey/clojure-contrib/blob/d596fee7fbe2f428a34ebecbaaf9451e215d5bdf/src/clojure/contrib/jmx.clj#L90", + "wiki-url": + "http://richhickey.github.com/clojure-contrib//jmx-api.html#clojure.contrib.jmx/mbean-names", + "namespace":"clojure.contrib.jmx", + "arglists":[["n"]], + "doc": + "Finds all MBeans matching a name on the current *connection*.", + "name":"mbean-names"}, + {"source-url": + "http://github.com/richhickey/clojure-contrib/blob/f92114c9cce5e892765549cdb0df640dc3ab52a5/src/clojure/contrib/jmx/client.clj#L90", + "wiki-url": + "http://richhickey.github.com/clojure-contrib//jmx-api.html#clojure.contrib.jmx/op-param-types", + "namespace":"clojure.contrib.jmx", + "arglists":[["n", "op"]], + "doc": + "The parameter types (as class name strings) for operation op on n. Used for invoke.", + "name":"op-param-types"}, + {"source-url": + "http://github.com/richhickey/clojure-contrib/blob/f92114c9cce5e892765549cdb0df640dc3ab52a5/src/clojure/contrib/jmx/client.clj#L85", + "wiki-url": + "http://richhickey.github.com/clojure-contrib//jmx-api.html#clojure.contrib.jmx/operation", + "namespace":"clojure.contrib.jmx", + "arglists":[["n", "op"]], + "doc": + "The MBeanOperationInfo for operation op on mbean n. Used for invoke.", + "name":"operation"}, + {"source-url": + "http://github.com/richhickey/clojure-contrib/blob/d596fee7fbe2f428a34ebecbaaf9451e215d5bdf/src/clojure/contrib/jmx.clj#L101", + "wiki-url": + "http://richhickey.github.com/clojure-contrib//jmx-api.html#clojure.contrib.jmx/operation-names", + "namespace":"clojure.contrib.jmx", + "arglists":[["n"]], + "doc":"All operation names available on an MBean.", + "name":"operation-names"}, + {"source-url": + "http://github.com/richhickey/clojure-contrib/blob/f92114c9cce5e892765549cdb0df640dc3ab52a5/src/clojure/contrib/jmx/client.clj#L80", + "wiki-url": + "http://richhickey.github.com/clojure-contrib//jmx-api.html#clojure.contrib.jmx/operations", + "namespace":"clojure.contrib.jmx", + "arglists":[["n"]], + "doc":"All oeprations available on an MBean.", + "name":"operations"}, + {"source-url": + "http://github.com/richhickey/clojure-contrib/blob/f92114c9cce5e892765549cdb0df640dc3ab52a5/src/clojure/contrib/jmx/client.clj#L30", + "wiki-url": + "http://richhickey.github.com/clojure-contrib//jmx-api.html#clojure.contrib.jmx/raw-read", + "namespace":"clojure.contrib.jmx", + "arglists":[["n", "attr"]], + "doc": + "Read an mbean property. Returns low-level Java object model for composites, tabulars, etc.\nMost callers should use read.", + "name":"raw-read"}, + {"source-url": + "http://github.com/richhickey/clojure-contrib/blob/f92114c9cce5e892765549cdb0df640dc3ab52a5/src/clojure/contrib/jmx/client.clj#L36", + "wiki-url": + "http://richhickey.github.com/clojure-contrib//jmx-api.html#clojure.contrib.jmx/read", + "namespace":"clojure.contrib.jmx", + "doc":"Read an mbean property.", + "name":"read"}, + {"source-url": + "http://github.com/richhickey/clojure-contrib/blob/f92114c9cce5e892765549cdb0df640dc3ab52a5/src/clojure/contrib/jmx/client.clj#L40", + "wiki-url": + "http://richhickey.github.com/clojure-contrib//jmx-api.html#clojure.contrib.jmx/read-exceptions", + "namespace":"clojure.contrib.jmx", + "doc": + "Exceptions that might be thrown if you try to read an unsupported attribute.\nby testing agains jconsole and Tomcat. This is dreadful and ad-hoc but I did not\nwant to swallow all exceptions.", + "name":"read-exceptions"}, + {"source-url": + "http://github.com/richhickey/clojure-contrib/blob/f92114c9cce5e892765549cdb0df640dc3ab52a5/src/clojure/contrib/jmx/client.clj#L50", + "wiki-url": + "http://richhickey.github.com/clojure-contrib//jmx-api.html#clojure.contrib.jmx/read-supported", + "namespace":"clojure.contrib.jmx", + "arglists":[["n", "attr"]], + "doc": + "Calls read to read an mbean property, *returning* unsupported operation exceptions instead of throwing them.\nUsed to keep mbean from blowing up. Note that some terribly-behaved mbeans use java.lang.InternalError to\nindicate an unsupported operation!", + "name":"read-supported"}, + {"source-url": + "http://github.com/richhickey/clojure-contrib/blob/f92114c9cce5e892765549cdb0df640dc3ab52a5/src/clojure/contrib/jmx/client.clj#L75", + "wiki-url": + "http://richhickey.github.com/clojure-contrib//jmx-api.html#clojure.contrib.jmx/readable?", + "namespace":"clojure.contrib.jmx", + "arglists":[["n", "attr"]], + "doc":"Is attribute readable?", + "name":"readable?"}, + {"source-url": + "http://github.com/richhickey/clojure-contrib/blob/f92114c9cce5e892765549cdb0df640dc3ab52a5/src/clojure/contrib/jmx/client.clj#L19", "wiki-url": "http://richhickey.github.com/clojure-contrib//jmx-api.html#clojure.contrib.jmx/with-connection", "namespace":"clojure.contrib.jmx", @@ -1459,14 +2873,16 @@ "doc": "Execute body with JMX connection specified by opts (:port).", "name":"with-connection"}, - {"source-url":null, + {"source-url": + "http://github.com/richhickey/clojure-contrib/blob/4f2c7bb5cf6828eb710fd18b603828ab295d0fa5/src/clojure/contrib/json/read.clj#L55", "wiki-url": "http://richhickey.github.com/clojure-contrib//json.read-api.html#clojure.contrib.json.read/*json-keyword-keys*", "namespace":"clojure.contrib.json.read", "doc": "If true, JSON object keys will be converted to keywords\ninstead of strings. Defaults to false. There are no checks that\nthe strings form valid keywords.", "name":"*json-keyword-keys*"}, - {"source-url":null, + {"source-url": + "http://github.com/richhickey/clojure-contrib/blob/4f2c7bb5cf6828eb710fd18b603828ab295d0fa5/src/clojure/contrib/json/read.clj#L143", "wiki-url": "http://richhickey.github.com/clojure-contrib//json.read-api.html#clojure.contrib.json.read/read-json", "namespace":"clojure.contrib.json.read", @@ -1474,14 +2890,16 @@ "doc": "Read one JSON record from s, which may be a String or a\njava.io.PushbackReader.", "name":"read-json"}, - {"source-url":null, + {"source-url": + "http://github.com/richhickey/clojure-contrib/blob/4f2c7bb5cf6828eb710fd18b603828ab295d0fa5/src/clojure/contrib/json/write.clj#L138", "wiki-url": "http://richhickey.github.com/clojure-contrib//json.write-api.html#clojure.contrib.json.write/json-str", "namespace":"clojure.contrib.json.write", "arglists":[["x"]], "doc":"Converts x to a JSON-formatted string.", "name":"json-str"}, - {"source-url":null, + {"source-url": + "http://github.com/richhickey/clojure-contrib/blob/4f2c7bb5cf6828eb710fd18b603828ab295d0fa5/src/clojure/contrib/json/write.clj#L50", "wiki-url": "http://richhickey.github.com/clojure-contrib//json.write-api.html#clojure.contrib.json.write/print-json", "namespace":"clojure.contrib.json.write", @@ -1489,47 +2907,91 @@ "doc": "Prints x as JSON. Nil becomes JSON null. Keywords become\nstrings, without the leading colon. Maps become JSON objects, all\nother collection types become JSON arrays. Java arrays become JSON\narrays. Unicode characters in strings are escaped as \\uXXXX.\nNumbers print as with pr.", "name":"print-json"}, - {"source-url":null, + {"source-url": + "http://github.com/richhickey/clojure-contrib/blob/dd497fb5154f8a26f9a09af7361981cb196bdf67/src/clojure/contrib/lazy_seqs.clj#L78", "wiki-url": "http://richhickey.github.com/clojure-contrib//lazy-seqs-api.html#clojure.contrib.lazy-seqs/fibs", "namespace":"clojure.contrib.lazy-seqs", "arglists":[[]], "doc":"Returns a lazy sequence of all the Fibonacci numbers.", "name":"fibs"}, - {"source-url":null, + {"source-url": + "http://github.com/richhickey/clojure-contrib/blob/dd497fb5154f8a26f9a09af7361981cb196bdf67/src/clojure/contrib/lazy_seqs.clj#L83", "wiki-url": "http://richhickey.github.com/clojure-contrib//lazy-seqs-api.html#clojure.contrib.lazy-seqs/powers-of-2", "namespace":"clojure.contrib.lazy-seqs", "arglists":[[]], "doc":"Returns a lazy sequence of all the powers of 2", "name":"powers-of-2"}, - {"source-url":null, + {"source-url": + "http://github.com/richhickey/clojure-contrib/blob/dd497fb5154f8a26f9a09af7361981cb196bdf67/src/clojure/contrib/lazy_seqs.clj#L62", "wiki-url": "http://richhickey.github.com/clojure-contrib//lazy-seqs-api.html#clojure.contrib.lazy-seqs/primes", "namespace":"clojure.contrib.lazy-seqs", "doc":"Lazy sequence of all the prime numbers.", "name":"primes"}, - {"source-url":null, + {"source-url": + "http://github.com/richhickey/clojure-contrib/blob/acbd2097ddfbe5db48b486b6b706bdb59d412a69/src/clojure/contrib/lazy_xml.clj#L141", + "wiki-url": + "http://richhickey.github.com/clojure-contrib//lazy-xml-api.html#clojure.contrib.lazy-xml/emit", + "namespace":"clojure.contrib.lazy-xml", + "arglists":[["x", "&", "opts"]], + "doc": + "Prints an declaration line, and then calls emit-element", + "name":"emit"}, + {"source-url": + "http://github.com/richhickey/clojure-contrib/blob/acbd2097ddfbe5db48b486b6b706bdb59d412a69/src/clojure/contrib/lazy_xml.clj#L118", + "wiki-url": + "http://richhickey.github.com/clojure-contrib//lazy-xml-api.html#clojure.contrib.lazy-xml/emit-element", + "namespace":"clojure.contrib.lazy-xml", + "arglists":[["e", "&", "opts"]], + "doc": + "Recursively prints as XML text the element struct e. To have it\nprint extra whitespace like clojure.xml/emit, use the :pad true\noption.", + "name":"emit-element"}, + {"source-url": + "http://github.com/richhickey/clojure-contrib/blob/acbd2097ddfbe5db48b486b6b706bdb59d412a69/src/clojure/contrib/lazy_xml.clj#L38", + "wiki-url": + "http://richhickey.github.com/clojure-contrib//lazy-xml-api.html#clojure.contrib.lazy-xml/parse-seq", + "namespace":"clojure.contrib.lazy-xml", + "arglists": + [["s"], ["s", "startparse"], ["s", "startparse", "queue-size"]], + "doc": + "Parses the source s, which can be a File, InputStream or String\nnaming a URI. Returns a lazy sequence of maps with two or more of\nthe keys :type, :name, :attrs, and :str. Other SAX-compatible\nparsers can be supplied by passing startparse, a fn taking a source\nand a ContentHandler and returning a parser. If a parser is\nspecified, it will be run in a separate thread and be allowed to get\nahead by queue-size items, which defaults to maxint. If no parser\nis specified and org.xmlpull.v1.XmlPullParser is in the classpath,\nthis superior pull parser will be used.", + "name":"parse-seq"}, + {"source-url": + "http://github.com/richhickey/clojure-contrib/blob/acbd2097ddfbe5db48b486b6b706bdb59d412a69/src/clojure/contrib/lazy_xml.clj#L95", + "wiki-url": + "http://richhickey.github.com/clojure-contrib//lazy-xml-api.html#clojure.contrib.lazy-xml/parse-trim", + "namespace":"clojure.contrib.lazy-xml", + "arglists":[["s"], ["s", "startparse", "queue-size"]], + "doc": + "Parses the source s, which can be a File, InputStream or String\nnaming a URI. Returns a lazy tree of the clojure.xml/element\nstruct-map, which has the keys :tag, :attrs, and :content and\naccessor fns tag, attrs, and content, with the whitespace trimmed\nfrom around each content string. This format is compatible with what\nclojure.xml/parse produces, except :content is a lazy seq instead of\na vector. Other SAX-compatible parsers can be supplied by passing\nstartparse, a fn taking a source and a ContentHandler and returning\na parser. If a parser is specified, it will be run in a separate\nthread and be allowed to get ahead by queue-size items, which\ndefaults to maxing. If no parser is specified and\norg.xmlpull.v1.XmlPullParser is in the classpath, this superior pull\nparser will be used.", + "name":"parse-trim"}, + {"source-url": + "http://github.com/richhickey/clojure-contrib/blob/cd69d778f5a08810d4b934dbfc08f400ed34146a/src/clojure/contrib/logging.clj#L202", "wiki-url": "http://richhickey.github.com/clojure-contrib//logging-api.html#clojure.contrib.logging/*allow-direct-logging*", "namespace":"clojure.contrib.logging", "doc": "A boolean indicating whether direct logging (as opposed to via an agent) is\nallowed when not operating from within a transaction. Defaults to true.", "name":"*allow-direct-logging*"}, - {"source-url":null, + {"source-url": + "http://github.com/richhickey/clojure-contrib/blob/cd69d778f5a08810d4b934dbfc08f400ed34146a/src/clojure/contrib/logging.clj#L190", "wiki-url": "http://richhickey.github.com/clojure-contrib//logging-api.html#clojure.contrib.logging/*impl-name*", "namespace":"clojure.contrib.logging", "doc":"The name of the logging implementation used.", "name":"*impl-name*"}, - {"source-url":null, + {"source-url": + "http://github.com/richhickey/clojure-contrib/blob/cd69d778f5a08810d4b934dbfc08f400ed34146a/src/clojure/contrib/logging.clj#L196", "wiki-url": "http://richhickey.github.com/clojure-contrib//logging-api.html#clojure.contrib.logging/*logging-agent*", "namespace":"clojure.contrib.logging", "doc": "The default agent used for performing logging durng a transaction or when\ndirect logging is disabled.", "name":"*logging-agent*"}, - {"source-url":null, + {"source-url": + "http://github.com/richhickey/clojure-contrib/blob/cd69d778f5a08810d4b934dbfc08f400ed34146a/src/clojure/contrib/logging.clj#L208", "wiki-url": "http://richhickey.github.com/clojure-contrib//logging-api.html#clojure.contrib.logging/agent-write!", "namespace":"clojure.contrib.logging", @@ -1537,14 +2999,16 @@ "doc": "Writes the message immediately, and ignores the first argument. Used by the\nlogging agent. End-users should never need to call this function.", "name":"agent-write!"}, - {"source-url":null, + {"source-url": + "http://github.com/richhickey/clojure-contrib/blob/cd69d778f5a08810d4b934dbfc08f400ed34146a/src/clojure/contrib/logging.clj#L316", "wiki-url": "http://richhickey.github.com/clojure-contrib//logging-api.html#clojure.contrib.logging/debug", "namespace":"clojure.contrib.logging", "arglists":[["message"], ["message", "throwable"]], "doc":"Logs a message at the debug level.", "name":"debug"}, - {"source-url":null, + {"source-url": + "http://github.com/richhickey/clojure-contrib/blob/cd69d778f5a08810d4b934dbfc08f400ed34146a/src/clojure/contrib/logging.clj#L232", "wiki-url": "http://richhickey.github.com/clojure-contrib//logging-api.html#clojure.contrib.logging/enabled?", "namespace":"clojure.contrib.logging", @@ -1552,49 +3016,56 @@ "doc": "Returns true if the specific logging level is enabled. Use of this function\nshould only be necessary if one needs to execute alternate code paths beyond\nwhether the log should be written to.", "name":"enabled?"}, - {"source-url":null, + {"source-url": + "http://github.com/richhickey/clojure-contrib/blob/cd69d778f5a08810d4b934dbfc08f400ed34146a/src/clojure/contrib/logging.clj#L337", "wiki-url": "http://richhickey.github.com/clojure-contrib//logging-api.html#clojure.contrib.logging/error", "namespace":"clojure.contrib.logging", "arglists":[["message"], ["message", "throwable"]], "doc":"Logs a message at the error level.", "name":"error"}, - {"source-url":null, + {"source-url": + "http://github.com/richhickey/clojure-contrib/blob/cd69d778f5a08810d4b934dbfc08f400ed34146a/src/clojure/contrib/logging.clj#L344", "wiki-url": "http://richhickey.github.com/clojure-contrib//logging-api.html#clojure.contrib.logging/fatal", "namespace":"clojure.contrib.logging", "arglists":[["message"], ["message", "throwable"]], "doc":"Logs a message at the fatal level.", "name":"fatal"}, - {"source-url":null, + {"source-url": + "http://github.com/richhickey/clojure-contrib/blob/cd69d778f5a08810d4b934dbfc08f400ed34146a/src/clojure/contrib/logging.clj#L190", "wiki-url": "http://richhickey.github.com/clojure-contrib//logging-api.html#clojure.contrib.logging/impl-enabled?", "namespace":"clojure.contrib.logging", "doc": "Implementation-specific check if a particular level is enabled. End-users\nshould not need to call this function.", "name":"impl-enabled?"}, - {"source-url":null, + {"source-url": + "http://github.com/richhickey/clojure-contrib/blob/cd69d778f5a08810d4b934dbfc08f400ed34146a/src/clojure/contrib/logging.clj#L190", "wiki-url": "http://richhickey.github.com/clojure-contrib//logging-api.html#clojure.contrib.logging/impl-get-log", "namespace":"clojure.contrib.logging", "doc": "Returns an implementation-specific log by string namespace. End-users should\nnot need to call this function.", "name":"impl-get-log"}, - {"source-url":null, + {"source-url": + "http://github.com/richhickey/clojure-contrib/blob/cd69d778f5a08810d4b934dbfc08f400ed34146a/src/clojure/contrib/logging.clj#L190", "wiki-url": "http://richhickey.github.com/clojure-contrib//logging-api.html#clojure.contrib.logging/impl-write!", "namespace":"clojure.contrib.logging", "doc": "Implementation-specific write of a log message. End-users should not need to\ncall this function.", "name":"impl-write!"}, - {"source-url":null, + {"source-url": + "http://github.com/richhickey/clojure-contrib/blob/cd69d778f5a08810d4b934dbfc08f400ed34146a/src/clojure/contrib/logging.clj#L323", "wiki-url": "http://richhickey.github.com/clojure-contrib//logging-api.html#clojure.contrib.logging/info", "namespace":"clojure.contrib.logging", "arglists":[["message"], ["message", "throwable"]], "doc":"Logs a message at the info level.", "name":"info"}, - {"source-url":null, + {"source-url": + "http://github.com/richhickey/clojure-contrib/blob/cd69d778f5a08810d4b934dbfc08f400ed34146a/src/clojure/contrib/logging.clj#L215", "wiki-url": "http://richhickey.github.com/clojure-contrib//logging-api.html#clojure.contrib.logging/log", "namespace":"clojure.contrib.logging", @@ -1604,7 +3075,8 @@ "doc": "Logs a message, either directly or via an agent. Also see the level-specific\nconvenience macros.", "name":"log"}, - {"source-url":null, + {"source-url": + "http://github.com/richhickey/clojure-contrib/blob/cd69d778f5a08810d4b934dbfc08f400ed34146a/src/clojure/contrib/logging.clj#L271", "wiki-url": "http://richhickey.github.com/clojure-contrib//logging-api.html#clojure.contrib.logging/log-capture!", "namespace":"clojure.contrib.logging", @@ -1612,7 +3084,8 @@ "doc": "Captures System.out and System.err, redirecting all writes of those streams\nto :info and :error logging, respectively. The specified log-ns value will\nbe used to namespace all redirected logging. NOTE: this will not redirect\noutput of *out* or *err*; for that, use with-logs.", "name":"log-capture!"}, - {"source-url":null, + {"source-url": + "http://github.com/richhickey/clojure-contrib/blob/cd69d778f5a08810d4b934dbfc08f400ed34146a/src/clojure/contrib/logging.clj#L249", "wiki-url": "http://richhickey.github.com/clojure-contrib//logging-api.html#clojure.contrib.logging/log-stream", "namespace":"clojure.contrib.logging", @@ -1620,7 +3093,8 @@ "doc": "Creates a PrintStream that will output to the log. End-users should not need\nto invoke this function.", "name":"log-stream"}, - {"source-url":null, + {"source-url": + "http://github.com/richhickey/clojure-contrib/blob/cd69d778f5a08810d4b934dbfc08f400ed34146a/src/clojure/contrib/logging.clj#L287", "wiki-url": "http://richhickey.github.com/clojure-contrib//logging-api.html#clojure.contrib.logging/log-uncapture!", "namespace":"clojure.contrib.logging", @@ -1628,7 +3102,8 @@ "doc": "Restores System.out and System.err to their original values.", "name":"log-uncapture!"}, - {"source-url":null, + {"source-url": + "http://github.com/richhickey/clojure-contrib/blob/cd69d778f5a08810d4b934dbfc08f400ed34146a/src/clojure/contrib/logging.clj#L242", "wiki-url": "http://richhickey.github.com/clojure-contrib//logging-api.html#clojure.contrib.logging/spy", "namespace":"clojure.contrib.logging", @@ -1636,21 +3111,24 @@ "doc": "Evaluates expr and outputs the form and its result to the debug log; returns \nthe result of expr.", "name":"spy"}, - {"source-url":null, + {"source-url": + "http://github.com/richhickey/clojure-contrib/blob/cd69d778f5a08810d4b934dbfc08f400ed34146a/src/clojure/contrib/logging.clj#L309", "wiki-url": "http://richhickey.github.com/clojure-contrib//logging-api.html#clojure.contrib.logging/trace", "namespace":"clojure.contrib.logging", "arglists":[["message"], ["message", "throwable"]], "doc":"Logs a message at the trace level.", "name":"trace"}, - {"source-url":null, + {"source-url": + "http://github.com/richhickey/clojure-contrib/blob/cd69d778f5a08810d4b934dbfc08f400ed34146a/src/clojure/contrib/logging.clj#L330", "wiki-url": "http://richhickey.github.com/clojure-contrib//logging-api.html#clojure.contrib.logging/warn", "namespace":"clojure.contrib.logging", "arglists":[["message"], ["message", "throwable"]], "doc":"Logs a message at the warn level.", "name":"warn"}, - {"source-url":null, + {"source-url": + "http://github.com/richhickey/clojure-contrib/blob/cd69d778f5a08810d4b934dbfc08f400ed34146a/src/clojure/contrib/logging.clj#L297", "wiki-url": "http://richhickey.github.com/clojure-contrib//logging-api.html#clojure.contrib.logging/with-logs", "namespace":"clojure.contrib.logging", @@ -1658,7 +3136,8 @@ "doc": "Evaluates exprs in a context in which *out* and *err* are bound to :info and\n:error logging, respectively. The specified log-ns value will be used to\nnamespace all redirected logging.", "name":"with-logs"}, - {"source-url":null, + {"source-url": + "http://github.com/richhickey/clojure-contrib/blob/39618b6d881fb0c3b52de4929aa34134bb32ffdb/src/clojure/contrib/macro_utils.clj#L199", "wiki-url": "http://richhickey.github.com/clojure-contrib//macro-utils-api.html#clojure.contrib.macro-utils/defsymbolmacro", "namespace":"clojure.contrib.macro-utils", @@ -1666,7 +3145,8 @@ "doc": "Define a symbol macro. Because symbol macros are not part of\nClojure's built-in macro expansion system, they can be used only\ninside a with-symbol-macros form.", "name":"defsymbolmacro"}, - {"source-url":null, + {"source-url": + "http://github.com/richhickey/clojure-contrib/blob/39618b6d881fb0c3b52de4929aa34134bb32ffdb/src/clojure/contrib/macro_utils.clj#L213", "wiki-url": "http://richhickey.github.com/clojure-contrib//macro-utils-api.html#clojure.contrib.macro-utils/deftemplate", "namespace":"clojure.contrib.macro-utils", @@ -1674,7 +3154,8 @@ "doc": "Define a macro that expands into forms after replacing the\nsymbols in params (a vector) by the corresponding parameters\ngiven in the macro call.", "name":"deftemplate"}, - {"source-url":null, + {"source-url": + "http://github.com/richhickey/clojure-contrib/blob/39618b6d881fb0c3b52de4929aa34134bb32ffdb/src/clojure/contrib/macro_utils.clj#L178", "wiki-url": "http://richhickey.github.com/clojure-contrib//macro-utils-api.html#clojure.contrib.macro-utils/macrolet", "namespace":"clojure.contrib.macro-utils", @@ -1682,7 +3163,8 @@ "doc": "Define local macros that are used in the expansion of exprs. The\nsyntax is the same as for letfn forms.", "name":"macrolet"}, - {"source-url":null, + {"source-url": + "http://github.com/richhickey/clojure-contrib/blob/39618b6d881fb0c3b52de4929aa34134bb32ffdb/src/clojure/contrib/macro_utils.clj#L233", "wiki-url": "http://richhickey.github.com/clojure-contrib//macro-utils-api.html#clojure.contrib.macro-utils/mexpand", "namespace":"clojure.contrib.macro-utils", @@ -1690,7 +3172,8 @@ "doc": "Like clojure.core/macroexpand, but takes into account symbol macros.", "name":"mexpand"}, - {"source-url":null, + {"source-url": + "http://github.com/richhickey/clojure-contrib/blob/39618b6d881fb0c3b52de4929aa34134bb32ffdb/src/clojure/contrib/macro_utils.clj#L225", "wiki-url": "http://richhickey.github.com/clojure-contrib//macro-utils-api.html#clojure.contrib.macro-utils/mexpand-1", "namespace":"clojure.contrib.macro-utils", @@ -1698,14 +3181,16 @@ "doc": "Like clojure.core/macroexpand-1, but takes into account symbol macros.", "name":"mexpand-1"}, - {"source-url":null, + {"source-url": + "http://github.com/richhickey/clojure-contrib/blob/39618b6d881fb0c3b52de4929aa34134bb32ffdb/src/clojure/contrib/macro_utils.clj#L241", "wiki-url": "http://richhickey.github.com/clojure-contrib//macro-utils-api.html#clojure.contrib.macro-utils/mexpand-all", "namespace":"clojure.contrib.macro-utils", "arglists":[["form"]], "doc":"Perform a full recursive macro expansion of a form.", "name":"mexpand-all"}, - {"source-url":null, + {"source-url": + "http://github.com/richhickey/clojure-contrib/blob/39618b6d881fb0c3b52de4929aa34134bb32ffdb/src/clojure/contrib/macro_utils.clj#L189", "wiki-url": "http://richhickey.github.com/clojure-contrib//macro-utils-api.html#clojure.contrib.macro-utils/symbol-macrolet", "namespace":"clojure.contrib.macro-utils", @@ -1713,21 +3198,24 @@ "doc": "Define local symbol macros that are used in the expansion of exprs.\nThe syntax is the same as for let forms.", "name":"symbol-macrolet"}, - {"source-url":null, + {"source-url": + "http://github.com/richhickey/clojure-contrib/blob/39618b6d881fb0c3b52de4929aa34134bb32ffdb/src/clojure/contrib/macro_utils.clj#L208", "wiki-url": "http://richhickey.github.com/clojure-contrib//macro-utils-api.html#clojure.contrib.macro-utils/with-symbol-macros", "namespace":"clojure.contrib.macro-utils", "arglists":[["&", "exprs"]], "doc":"Fully expand exprs, including symbol macros.", "name":"with-symbol-macros"}, - {"source-url":null, + {"source-url": + "http://github.com/richhickey/clojure-contrib/blob/59b6a660707837af10b69cc67fe9033ba528d22f/src/clojure/contrib/macros.clj#L18", "wiki-url": "http://richhickey.github.com/clojure-contrib//macros-api.html#clojure.contrib.macros/const", "namespace":"clojure.contrib.macros", "arglists":[["expr"]], "doc":"Evaluate the constant expression expr at compile time.", "name":"const"}, - {"source-url":null, + {"source-url": + "http://github.com/richhickey/clojure-contrib/blob/59b6a660707837af10b69cc67fe9033ba528d22f/src/clojure/contrib/macros.clj#L28", "wiki-url": "http://richhickey.github.com/clojure-contrib//macros-api.html#clojure.contrib.macros/letfn-", "namespace":"clojure.contrib.macros", @@ -1735,7 +3223,8 @@ "doc": "OBSOLETE: use clojure.core/letfn\nA variant of let for local function definitions. fn-bindings consists\nof name/args/body triples, with (letfn [name args body] ...)\nbeing equivalent to (let [name (fn name args body)] ...).", "name":"letfn-"}, - {"source-url":null, + {"source-url": + "http://github.com/richhickey/clojure-contrib/blob/59b6a660707837af10b69cc67fe9033ba528d22f/src/clojure/contrib/macros.clj#L68", "wiki-url": "http://richhickey.github.com/clojure-contrib//macros-api.html#clojure.contrib.macros/with-direct-linking", "namespace":"clojure.contrib.macros", @@ -1743,7 +3232,8 @@ "doc": "EXPERIMENTAL!\nCompiles the functions in body with direct links to the functions\nnamed in symbols, i.e. without a var lookup for each invocation.\nSymbols is a vector of symbols that name either vars or namespaces.\nA namespace reference is replaced by the list of all symbols in the\nnamespace that are bound to functions. If symbols is not provided,\nthe default value ['clojure.core] is used. The symbol *ns* can be\nused to refer to the current namespace.", "name":"with-direct-linking"}, - {"source-url":null, + {"source-url": + "http://github.com/richhickey/clojure-contrib/blob/86e90011e274910c618a5592d21ba3ce290a6855/src/clojure/contrib/map_utils.clj#L41", "wiki-url": "http://richhickey.github.com/clojure-contrib//map-utils-api.html#clojure.contrib.map-utils/deep-merge-with", "namespace":"clojure.contrib.map-utils", @@ -1751,7 +3241,8 @@ "doc": "Like merge-with, but merges maps recursively, applying the given fn\nonly when there's a non-map at a particular level.\n\n(deepmerge + {:a {:b {:c 1 :d {:x 1 :y 2}} :e 3} :f 4}\n {:a {:b {:c 2 :d {:z 9} :z 3} :e 100}})\n-> {:a {:b {:z 3, :c 3, :d {:z 9, :x 1, :y 2}}, :e 103}, :f 4}", "name":"deep-merge-with"}, - {"source-url":null, + {"source-url": + "http://github.com/richhickey/clojure-contrib/blob/86e90011e274910c618a5592d21ba3ce290a6855/src/clojure/contrib/map_utils.clj#L22", "wiki-url": "http://richhickey.github.com/clojure-contrib//map-utils-api.html#clojure.contrib.map-utils/lazy-get", "namespace":"clojure.contrib.map-utils", @@ -1759,14 +3250,16 @@ "doc": "Like get, but doesn't evaluate not-found unless it is needed.", "name":"lazy-get"}, - {"source-url":null, + {"source-url": + "http://github.com/richhickey/clojure-contrib/blob/86e90011e274910c618a5592d21ba3ce290a6855/src/clojure/contrib/map_utils.clj#L29", "wiki-url": "http://richhickey.github.com/clojure-contrib//map-utils-api.html#clojure.contrib.map-utils/safe-get", "namespace":"clojure.contrib.map-utils", "arglists":[["map", "key"]], "doc":"Like get, but throws an exception if the key is not found.", "name":"safe-get"}, - {"source-url":null, + {"source-url": + "http://github.com/richhickey/clojure-contrib/blob/86e90011e274910c618a5592d21ba3ce290a6855/src/clojure/contrib/map_utils.clj#L35", "wiki-url": "http://richhickey.github.com/clojure-contrib//map-utils-api.html#clojure.contrib.map-utils/safe-get-in", "namespace":"clojure.contrib.map-utils", @@ -1774,14 +3267,16 @@ "doc": "Like get-in, but throws an exception if any key is not found.", "name":"safe-get-in"}, - {"source-url":null, + {"source-url": + "http://github.com/richhickey/clojure-contrib/blob/86e90011e274910c618a5592d21ba3ce290a6855/src/clojure/contrib/math.clj#L122", "wiki-url": "http://richhickey.github.com/clojure-contrib//math-api.html#clojure.contrib.math/abs", "namespace":"clojure.contrib.math", "arglists":[["n"]], "doc":"(abs n) is the absolute value of n", "name":"abs"}, - {"source-url":null, + {"source-url": + "http://github.com/richhickey/clojure-contrib/blob/86e90011e274910c618a5592d21ba3ce290a6855/src/clojure/contrib/math.clj#L141", "wiki-url": "http://richhickey.github.com/clojure-contrib//math-api.html#clojure.contrib.math/ceil", "namespace":"clojure.contrib.math", @@ -1789,7 +3284,8 @@ "doc": "(ceil n) returns the least integer greater than or equal to n.\nIf n is an exact number, ceil returns an integer, otherwise a double.", "name":"ceil"}, - {"source-url":null, + {"source-url": + "http://github.com/richhickey/clojure-contrib/blob/86e90011e274910c618a5592d21ba3ce290a6855/src/clojure/contrib/math.clj#L206", "wiki-url": "http://richhickey.github.com/clojure-contrib//math-api.html#clojure.contrib.math/exact-integer-sqrt", "namespace":"clojure.contrib.math", @@ -1797,7 +3293,8 @@ "doc": "(exact-integer-sqrt n) expects a non-negative integer n, and returns [s r] where n = s^2+r and n < (s+1)^2. In other words, it returns the floor of the square root and the 'remainder'.\nFor example, (exact-integer-sqrt 15) is [3 6] because 15 = 3^2+6.", "name":"exact-integer-sqrt"}, - {"source-url":null, + {"source-url": + "http://github.com/richhickey/clojure-contrib/blob/86e90011e274910c618a5592d21ba3ce290a6855/src/clojure/contrib/math.clj#L101", "wiki-url": "http://richhickey.github.com/clojure-contrib//math-api.html#clojure.contrib.math/expt", "namespace":"clojure.contrib.math", @@ -1805,7 +3302,8 @@ "doc": "(expt base pow) is base to the pow power.\nReturns an exact number if the base is an exact number and the power is an integer, otherwise returns a double.", "name":"expt"}, - {"source-url":null, + {"source-url": + "http://github.com/richhickey/clojure-contrib/blob/86e90011e274910c618a5592d21ba3ce290a6855/src/clojure/contrib/math.clj#L129", "wiki-url": "http://richhickey.github.com/clojure-contrib//math-api.html#clojure.contrib.math/floor", "namespace":"clojure.contrib.math", @@ -1813,21 +3311,24 @@ "doc": "(floor n) returns the greatest integer less than or equal to n.\nIf n is an exact number, floor returns an integer, otherwise a double.", "name":"floor"}, - {"source-url":null, + {"source-url": + "http://github.com/richhickey/clojure-contrib/blob/86e90011e274910c618a5592d21ba3ce290a6855/src/clojure/contrib/math.clj#L162", "wiki-url": "http://richhickey.github.com/clojure-contrib//math-api.html#clojure.contrib.math/gcd", "namespace":"clojure.contrib.math", "arglists":[["a", "b"]], "doc":"(gcd a b) returns the greatest common divisor of a and b", "name":"gcd"}, - {"source-url":null, + {"source-url": + "http://github.com/richhickey/clojure-contrib/blob/86e90011e274910c618a5592d21ba3ce290a6855/src/clojure/contrib/math.clj#L169", "wiki-url": "http://richhickey.github.com/clojure-contrib//math-api.html#clojure.contrib.math/lcm", "namespace":"clojure.contrib.math", "arglists":[["a", "b"]], "doc":"(lcm a b) returns the least common multiple of a and b", "name":"lcm"}, - {"source-url":null, + {"source-url": + "http://github.com/richhickey/clojure-contrib/blob/86e90011e274910c618a5592d21ba3ce290a6855/src/clojure/contrib/math.clj#L153", "wiki-url": "http://richhickey.github.com/clojure-contrib//math-api.html#clojure.contrib.math/round", "namespace":"clojure.contrib.math", @@ -1835,14 +3336,34 @@ "doc": "(round n) rounds to the nearest integer.\nround always returns an integer. Rounds up for values exactly in between two integers.", "name":"round"}, - {"source-url":null, + {"source-url": + "http://github.com/richhickey/clojure-contrib/blob/86e90011e274910c618a5592d21ba3ce290a6855/src/clojure/contrib/math.clj#L215", "wiki-url": "http://richhickey.github.com/clojure-contrib//math-api.html#clojure.contrib.math/sqrt", "namespace":"clojure.contrib.math", "arglists":[["n"]], "doc":"Square root, but returns exact number if possible.", "name":"sqrt"}, - {"source-url":null, + {"source-url": + "http://github.com/richhickey/clojure-contrib/blob/62976a684da2984bec184324dfb3269b7de916e5/src/clojure/contrib/miglayout.clj#L75", + "wiki-url": + "http://richhickey.github.com/clojure-contrib//miglayout-api.html#clojure.contrib.miglayout/components", + "namespace":"clojure.contrib.miglayout", + "arglists":[["container"]], + "doc": + "Returns a map from id (a keyword) to component for all components with\nan id constraint set", + "name":"components"}, + {"source-url": + "http://github.com/richhickey/clojure-contrib/blob/62976a684da2984bec184324dfb3269b7de916e5/src/clojure/contrib/miglayout.clj#L37", + "wiki-url": + "http://richhickey.github.com/clojure-contrib//miglayout-api.html#clojure.contrib.miglayout/miglayout", + "namespace":"clojure.contrib.miglayout", + "arglists":[["container", "&", "args"]], + "doc": + "Adds java.awt.Components to a javax.swing.JComponent with constraints\nformatted for the MiGLayout layout manager.\n\nArguments: container [item constraint*]*\n\n - container: the container for the specified components, its layout\n manager will be set to a new instance of MigLayout\n\n - an inline series of items and constraints--each item may be followed\n by zero or more constraints.\n\nItem:\n\n - An item is either a Component or one of the keywords :layout\n :column or :row. Constraints for a keyword item affect the entire\n layout.\n\nConstraint: string, keyword, vector, map, or set\n\n - A string specifies one or more constraints each with zero or more\n arguments.\n - A keyword specifies a single constraint without arguments\n - A vector specifies a single constraint with one or more arguments\n - A map specifies one or more constraints as keys, each mapped to a\n single argument\n - A set groups two or more constraints, each a string, keyword,\n vector, map, or set\n\nAny items marked with an \"id\" constraint will be included in a map from\nid to component attached to the container. The map can be retrieved using\nclojure.contrib.miglayout/components.", + "name":"miglayout"}, + {"source-url": + "http://github.com/richhickey/clojure-contrib/blob/86e90011e274910c618a5592d21ba3ce290a6855/src/clojure/contrib/mmap.clj#L39", "wiki-url": "http://richhickey.github.com/clojure-contrib//mmap-api.html#clojure.contrib.mmap/buffer-stream", "namespace":"clojure.contrib.mmap", @@ -1850,1356 +3371,3889 @@ "doc": "Returns an InputStream for a ByteBuffer, such as returned by mmap.", "name":"buffer-stream"}, - {"source-url":null, + {"source-url": + "http://github.com/richhickey/clojure-contrib/blob/86e90011e274910c618a5592d21ba3ce290a6855/src/clojure/contrib/mmap.clj#L27", "wiki-url": "http://richhickey.github.com/clojure-contrib//mmap-api.html#clojure.contrib.mmap/mmap", "namespace":"clojure.contrib.mmap", "arglists":[["f"]], "doc":"Memory-map the file named f. Returns a ByteBuffer.", "name":"mmap"}, - {"source-url":null, + {"source-url": + "http://github.com/richhickey/clojure-contrib/blob/86e90011e274910c618a5592d21ba3ce290a6855/src/clojure/contrib/mmap.clj#L33", "wiki-url": "http://richhickey.github.com/clojure-contrib//mmap-api.html#clojure.contrib.mmap/slurp", "namespace":"clojure.contrib.mmap", "arglists":[["f"]], "doc":"Reads the file named by f and returns it as a string.", "name":"slurp"}, - {"source-url":null, - "wiki-url": - "http://richhickey.github.com/clojure-contrib//pprint-api.html#clojure.contrib.pprint/*print-base*", - "namespace":"clojure.contrib.pprint", - "doc":"The base to use for printing integers and rationals.", - "name":"*print-base*"}, - {"source-url":null, + {"source-url": + "http://github.com/richhickey/clojure-contrib/blob/a4a4a534d7dddc1d58fc93a216192bf4bb7b20ff/src/clojure/contrib/mock.clj#L216", "wiki-url": - "http://richhickey.github.com/clojure-contrib//pprint-api.html#clojure.contrib.pprint/*print-circle*", - "namespace":"clojure.contrib.pprint", - "doc":"Mark circular structures (N.B. This is not yet used)", - "name":"*print-circle*"}, - {"source-url":null, + "http://richhickey.github.com/clojure-contrib//mock-api.html#clojure.contrib.mock/calls", + "namespace":"clojure.contrib.mock", + "arglists":[["val"], ["val", "expectation-hash"]], + "doc": + "Creates or associates to an existing expectation hash the :calls key with a\nfunction that will be called with the given arguments. The return value from\nthis function will be returned returned by the expected function. If both this\nand returns are specified, the return value of \"calls\" will have precedence.\nUsage:\n(calls some-fn expectation-hash?)", + "name":"calls"}, + {"source-url": + "http://github.com/richhickey/clojure-contrib/blob/a4a4a534d7dddc1d58fc93a216192bf4bb7b20ff/src/clojure/contrib/mock.clj#L265", "wiki-url": - "http://richhickey.github.com/clojure-contrib//pprint-api.html#clojure.contrib.pprint/*print-lines*", - "namespace":"clojure.contrib.pprint", + "http://richhickey.github.com/clojure-contrib//mock-api.html#clojure.contrib.mock/expect", + "namespace":"clojure.contrib.mock", + "arglists":[["expect-bindings", "&", "body"]], "doc": - "Maximum number of lines to print in a pretty print instance (N.B. This is not yet used)", - "name":"*print-lines*"}, - {"source-url":null, + "Use expect to redirect calls to dependent functions that are made within the\ncode under test. Instead of calling the functions that would normally be used,\ntemporary stubs are used, which can verify function parameters and call counts.\nReturn values can also be specified as needed.\nUsage:\n(expect [dep-fn (has-args [arg-pred1] (times n (returns x)))]\n (function-under-test a b c))", + "name":"expect"}, + {"source-url": + "http://github.com/richhickey/clojure-contrib/blob/a4a4a534d7dddc1d58fc93a216192bf4bb7b20ff/src/clojure/contrib/mock.clj#L228", "wiki-url": - "http://richhickey.github.com/clojure-contrib//pprint-api.html#clojure.contrib.pprint/*print-miser-width*", - "namespace":"clojure.contrib.pprint", + "http://richhickey.github.com/clojure-contrib//mock-api.html#clojure.contrib.mock/has-args", + "namespace":"clojure.contrib.mock", + "arglists": + [["arg-pred-forms"], ["arg-pred-forms", "expect-hash-form"]], "doc": - "The column at which to enter miser style. Depending on the dispatch table, \nmiser style add newlines in more places to try to keep lines short allowing for further \nlevels of nesting.", - "name":"*print-miser-width*"}, - {"source-url":null, + "Creates or associates to an existing expectation hash the :has-args key with\na value corresponding to a function that will either return true if its\nargument expectations are met or throw an exception with the details of the\nfirst failed argument it encounters.\nOnly specify as many predicates as you are interested in verifying. The rest\nof the values are safely ignored.\nUsage:\n(has-args [arg-pred-1 arg-pred-2 ... arg-pred-n] expectation-hash?)", + "name":"has-args"}, + {"source-url": + "http://github.com/richhickey/clojure-contrib/blob/a4a4a534d7dddc1d58fc93a216192bf4bb7b20ff/src/clojure/contrib/mock.clj#L105", "wiki-url": - "http://richhickey.github.com/clojure-contrib//pprint-api.html#clojure.contrib.pprint/*print-pprint-dispatch*", - "namespace":"clojure.contrib.pprint", + "http://richhickey.github.com/clojure-contrib//mock-api.html#clojure.contrib.mock/has-matching-signature?", + "namespace":"clojure.contrib.mock", + "arglists":[["fn-name", "args"]], "doc": - "The pretty print dispatch function. Use with-pprint-dispatch or set-pprint-dispatch\nto modify.", - "name":"*print-pprint-dispatch*"}, - {"source-url":null, + "Calls no-matching-function-signature if no match is found for the given\nfunction. If no argslist meta data is available for the function, it is\nnot called.", + "name":"has-matching-signature?"}, + {"source-url": + "http://github.com/richhickey/clojure-contrib/blob/a4a4a534d7dddc1d58fc93a216192bf4bb7b20ff/src/clojure/contrib/mock.clj#L116", "wiki-url": - "http://richhickey.github.com/clojure-contrib//pprint-api.html#clojure.contrib.pprint/*print-pretty*", - "namespace":"clojure.contrib.pprint", - "doc":"Bind to true if you want write to use pretty printing", - "name":"*print-pretty*"}, - {"source-url":null, + "http://richhickey.github.com/clojure-contrib//mock-api.html#clojure.contrib.mock/make-arg-checker", + "namespace":"clojure.contrib.mock", + "arglists":[["arg-preds", "arg-pred-forms"]], + "doc": + "Creates the argument verifying function for a replaced dependency within\nthe expectation bound scope. These functions take the additional argument\nof the name of the replaced function, then the rest of their args. It is\ndesigned to be called from the mock function generated in the first argument\nof the mock info object created by make-mock.", + "name":"make-arg-checker"}, + {"source-url": + "http://github.com/richhickey/clojure-contrib/blob/a4a4a534d7dddc1d58fc93a216192bf4bb7b20ff/src/clojure/contrib/mock.clj#L131", "wiki-url": - "http://richhickey.github.com/clojure-contrib//pprint-api.html#clojure.contrib.pprint/*print-radix*", - "namespace":"clojure.contrib.pprint", + "http://richhickey.github.com/clojure-contrib//mock-api.html#clojure.contrib.mock/make-count-checker", + "namespace":"clojure.contrib.mock", + "arglists":[["pred", "pred-form"]], "doc": - "Print a radix specifier in front of integers and rationals. If *print-base* is 2, 8, \nor 16, then the radix specifier used is #b, #o, or #x, respectively. Otherwise the \nradix specifier is in the form #XXr where XX is the decimal value of *print-base* ", - "name":"*print-radix*"}, - {"source-url":null, + "creates the count checker that is invoked at the end of an expectation, after\nthe code under test has all been executed. The function returned takes the\nname of the associated dependency and the invocation count as arguments.", + "name":"make-count-checker"}, + {"source-url": + "http://github.com/richhickey/clojure-contrib/blob/a4a4a534d7dddc1d58fc93a216192bf4bb7b20ff/src/clojure/contrib/mock.clj#L150", "wiki-url": - "http://richhickey.github.com/clojure-contrib//pprint-api.html#clojure.contrib.pprint/*print-right-margin*", - "namespace":"clojure.contrib.pprint", + "http://richhickey.github.com/clojure-contrib//mock-api.html#clojure.contrib.mock/make-mock", + "namespace":"clojure.contrib.mock", + "arglists":[["fn-name", "expectation-hash"]], "doc": - "Pretty printing will try to avoid anything going beyond this column.\nSet it to nil to have pprint let the line be arbitrarily long. This will ignore all \nnon-mandatory newlines.", - "name":"*print-right-margin*"}, - {"source-url":null, + "creates a vector containing the following information for the named function:\n1. dependent function replacement - verifies signature, calls arg checker,\nincreases count, returns return value.\n2. an atom containing the invocation count\n3. the invocation count checker function\n4. a symbol of the name of the function being replaced.", + "name":"make-mock"}, + {"source-url": + "http://github.com/richhickey/clojure-contrib/blob/a4a4a534d7dddc1d58fc93a216192bf4bb7b20ff/src/clojure/contrib/mock.clj#L205", "wiki-url": - "http://richhickey.github.com/clojure-contrib//pprint-api.html#clojure.contrib.pprint/*print-shared*", - "namespace":"clojure.contrib.pprint", + "http://richhickey.github.com/clojure-contrib//mock-api.html#clojure.contrib.mock/returns", + "namespace":"clojure.contrib.mock", + "arglists":[["val"], ["val", "expectation-hash"]], "doc": - "Mark repeated structures rather than repeat them (N.B. This is not yet used)", - "name":"*print-shared*"}, - {"source-url":null, + "Creates or associates to an existing expectation hash the :returns key with\na value to be returned by the expectation after a successful invocation\nmatching its expected arguments (if applicable).\nUsage:\n(returns ret-value expectation-hash?)", + "name":"returns"}, + {"source-url": + "http://github.com/richhickey/clojure-contrib/blob/a4a4a534d7dddc1d58fc93a216192bf4bb7b20ff/src/clojure/contrib/mock.clj#L246", "wiki-url": - "http://richhickey.github.com/clojure-contrib//pprint-api.html#clojure.contrib.pprint/*print-suppress-namespaces*", - "namespace":"clojure.contrib.pprint", + "http://richhickey.github.com/clojure-contrib//mock-api.html#clojure.contrib.mock/times", + "namespace":"clojure.contrib.mock", + "arglists":[["times-fn"], ["times-fn", "expectation-hash"]], "doc": - "Don't print namespaces with symbols. This is particularly useful when \npretty printing the results of macro expansions", - "name":"*print-suppress-namespaces*"}, - {"source-url":null, + "Creates or associates to an existing expectation hash the :times key with a\nvalue corresponding to a predicate function which expects an integer value.\nThis function can either be specified as the first argument to times or can be\nthe result of calling times with an integer argument, in which case the\npredicate will default to being an exact match. This predicate is called at\nthe end of an expect expression to validate that an expected dependency\nfunction was called the expected number of times.\nUsage:\n(times n)\n(times #(> n %))\n(times n expectation-hash)", + "name":"times"}, + {"source-url": + "http://github.com/richhickey/clojure-contrib/blob/a4a4a534d7dddc1d58fc93a216192bf4bb7b20ff/src/clojure/contrib/mock.clj#L175", "wiki-url": - "http://richhickey.github.com/clojure-contrib//pprint-api.html#clojure.contrib.pprint/cl-format", - "namespace":"clojure.contrib.pprint", - "arglists":[["writer", "format-in", "&", "args"]], + "http://richhickey.github.com/clojure-contrib//mock-api.html#clojure.contrib.mock/validate-counts", + "namespace":"clojure.contrib.mock", + "arglists":[["mock-data"]], "doc": - "An implementation of a Common Lisp compatible format function. cl-format formats its\narguments to an output stream or string based on the format control string given. It \nsupports sophisticated formatting of structured data.\n\nWriter is an instance of java.io.Writer, true to output to *out* or nil to output \nto a string, format-in is the format control string and the remaining arguments \nare the data to be formatted.\n\nThe format control string is a string to be output with embedded 'format directives' \ndescribing how to format the various arguments passed in.\n\nIf writer is nil, cl-format returns the formatted result string. Otherwise, cl-format \nreturns nil.\n\nFor example:\n (let [results [46 38 22]]\n (cl-format true \"There ~[are~;is~:;are~]~:* ~d result~:p: ~{~d~^, ~}~%\" \n (count results) results))\n\nPrints to *out*:\n There are 3 results: 46, 38, 22\n\nDetailed documentation on format control strings is available in the \"Common Lisp the \nLanguage, 2nd edition\", Chapter 22 (available online at:\nhttp://www.cs.cmu.edu/afs/cs.cmu.edu/project/ai-repository/ai/html/cltl/clm/node200.html#SECTION002633000000000000000) \nand in the Common Lisp HyperSpec at \nhttp://www.lispworks.com/documentation/HyperSpec/Body/22_c.htm", - "name":"cl-format"}, - {"source-url":null, + "given the sequence of all mock data for the expectation, simply calls the\ncount checker for each dependency.", + "name":"validate-counts"}, + {"source-url": + "http://github.com/richhickey/clojure-contrib/blob/f9b111c67752220c9d45a7d6ef22c6eecf400c87/src/clojure/contrib/monadic_io_streams.clj#L62", "wiki-url": - "http://richhickey.github.com/clojure-contrib//pprint-api.html#clojure.contrib.pprint/pp", - "namespace":"clojure.contrib.pprint", + "http://richhickey.github.com/clojure-contrib//monadic-io-streams-api.html#clojure.contrib.monadic-io-streams/flush", + "namespace":"clojure.contrib.monadic-io-streams", "arglists":[[]], + "doc":"Flush", + "name":"flush"}, + {"source-url": + "http://github.com/richhickey/clojure-contrib/blob/f9b111c67752220c9d45a7d6ef22c6eecf400c87/src/clojure/contrib/monadic_io_streams.clj#L67", + "wiki-url": + "http://richhickey.github.com/clojure-contrib//monadic-io-streams-api.html#clojure.contrib.monadic-io-streams/print", + "namespace":"clojure.contrib.monadic-io-streams", + "arglists":[["obj"]], + "doc":"Print obj", + "name":"print"}, + {"source-url": + "http://github.com/richhickey/clojure-contrib/blob/f9b111c67752220c9d45a7d6ef22c6eecf400c87/src/clojure/contrib/monadic_io_streams.clj#L72", + "wiki-url": + "http://richhickey.github.com/clojure-contrib//monadic-io-streams-api.html#clojure.contrib.monadic-io-streams/println", + "namespace":"clojure.contrib.monadic-io-streams", + "arglists":[[], ["obj"]], + "doc":"Print obj followed by a newline", + "name":"println"}, + {"source-url": + "http://github.com/richhickey/clojure-contrib/blob/f9b111c67752220c9d45a7d6ef22c6eecf400c87/src/clojure/contrib/monadic_io_streams.clj#L42", + "wiki-url": + "http://richhickey.github.com/clojure-contrib//monadic-io-streams-api.html#clojure.contrib.monadic-io-streams/read-char", + "namespace":"clojure.contrib.monadic-io-streams", + "arglists":[[]], + "doc":"Read a single character", + "name":"read-char"}, + {"source-url": + "http://github.com/richhickey/clojure-contrib/blob/f9b111c67752220c9d45a7d6ef22c6eecf400c87/src/clojure/contrib/monadic_io_streams.clj#L47", + "wiki-url": + "http://richhickey.github.com/clojure-contrib//monadic-io-streams-api.html#clojure.contrib.monadic-io-streams/read-line", + "namespace":"clojure.contrib.monadic-io-streams", + "arglists":[[]], + "doc":"Read a single line", + "name":"read-line"}, + {"source-url": + "http://github.com/richhickey/clojure-contrib/blob/f9b111c67752220c9d45a7d6ef22c6eecf400c87/src/clojure/contrib/monadic_io_streams.clj#L126", + "wiki-url": + "http://richhickey.github.com/clojure-contrib//monadic-io-streams-api.html#clojure.contrib.monadic-io-streams/read-lines", + "namespace":"clojure.contrib.monadic-io-streams", + "arglists":[[]], + "doc":"Read all lines and return them in a vector", + "name":"read-lines"}, + {"source-url": + "http://github.com/richhickey/clojure-contrib/blob/f9b111c67752220c9d45a7d6ef22c6eecf400c87/src/clojure/contrib/monadic_io_streams.clj#L52", + "wiki-url": + "http://richhickey.github.com/clojure-contrib//monadic-io-streams-api.html#clojure.contrib.monadic-io-streams/skip-chars", + "namespace":"clojure.contrib.monadic-io-streams", + "arglists":[["n"]], + "doc":"Skip n characters", + "name":"skip-chars"}, + {"source-url": + "http://github.com/richhickey/clojure-contrib/blob/f9b111c67752220c9d45a7d6ef22c6eecf400c87/src/clojure/contrib/monadic_io_streams.clj#L98", + "wiki-url": + "http://richhickey.github.com/clojure-contrib//monadic-io-streams-api.html#clojure.contrib.monadic-io-streams/with-io-streams", + "namespace":"clojure.contrib.monadic-io-streams", + "arglists":[["io-specs", "statement"]], "doc": - "A convenience macro that pretty prints the last thing output. This is\nexactly equivalent to (pprint *1).", - "name":"pp"}, - {"source-url":null, + "Open one or more streams as specified by io-spec, run a monadic\nI/O statement on them, and close the streams. io-spec is\na binding-like vector in which each stream is specified by\nthree element: a keyword by which the stream can be referred to,\nthe stream mode (:read or :write), and a stream specification as\naccepted by clojure.contrib.duck-streams/reader (mode :read) or\nclojure.contrib.duck-streams/writer (mode :write). The statement\nis run on a state which is a map from keywords to corresponding\nstreams. Single-stream monadic I/O statements must be wrapped\nwith clojure.contrib.monads/with-state-field.", + "name":"with-io-streams"}, + {"source-url": + "http://github.com/richhickey/clojure-contrib/blob/f9b111c67752220c9d45a7d6ef22c6eecf400c87/src/clojure/contrib/monadic_io_streams.clj#L82", "wiki-url": - "http://richhickey.github.com/clojure-contrib//pprint-api.html#clojure.contrib.pprint/pprint", - "namespace":"clojure.contrib.pprint", - "arglists":[["object"], ["object", "writer"]], + "http://richhickey.github.com/clojure-contrib//monadic-io-streams-api.html#clojure.contrib.monadic-io-streams/with-reader", + "namespace":"clojure.contrib.monadic-io-streams", + "arglists":[["reader-spec", "statement"]], "doc": - "Pretty print object to the optional output writer. If the writer is not provided, \nprint the object to the currently bound value of *out*.", - "name":"pprint"}, - {"source-url":null, + "Create a reader from reader-spec, run the monadic I/O statement\non it, and close the reader. reader-spec can be any object accepted\nby clojure.contrib.duck-streams/reader.", + "name":"with-reader"}, + {"source-url": + "http://github.com/richhickey/clojure-contrib/blob/f9b111c67752220c9d45a7d6ef22c6eecf400c87/src/clojure/contrib/monadic_io_streams.clj#L90", "wiki-url": - "http://richhickey.github.com/clojure-contrib//pprint-api.html#clojure.contrib.pprint/pprint-indent", - "namespace":"clojure.contrib.pprint", - "arglists":[["relative-to", "n"]], + "http://richhickey.github.com/clojure-contrib//monadic-io-streams-api.html#clojure.contrib.monadic-io-streams/with-writer", + "namespace":"clojure.contrib.monadic-io-streams", + "arglists":[["writer-spec", "statement"]], "doc": - "Create an indent at this point in the pretty printing stream. This defines how \nfollowing lines are indented. relative-to can be either :block or :current depending \nwhether the indent should be computed relative to the start of the logical block or\nthe current column position. n is an offset. \n\nOutput is sent to *out* which must be a pretty printing writer.", - "name":"pprint-indent"}, - {"source-url":null, + "Create a writer from writer-spec, run the monadic I/O statement\non it, and close the writer. writer-spec can be any object accepted\nby clojure.contrib.duck-streams/writer.", + "name":"with-writer"}, + {"source-url": + "http://github.com/richhickey/clojure-contrib/blob/f9b111c67752220c9d45a7d6ef22c6eecf400c87/src/clojure/contrib/monadic_io_streams.clj#L57", "wiki-url": - "http://richhickey.github.com/clojure-contrib//pprint-api.html#clojure.contrib.pprint/pprint-logical-block", - "namespace":"clojure.contrib.pprint", - "arglists":[["options*", "body"]], + "http://richhickey.github.com/clojure-contrib//monadic-io-streams-api.html#clojure.contrib.monadic-io-streams/write", + "namespace":"clojure.contrib.monadic-io-streams", + "arglists":[["text"]], + "doc":"Write text (a string)", + "name":"write"}, + {"source-url": + "http://github.com/richhickey/clojure-contrib/blob/34fc5f2bc4dbae6b1b05b77cda98f56cc62e73b7/src/clojure/contrib/monads.clj#L456", + "wiki-url": + "http://richhickey.github.com/clojure-contrib//monads-api.html#clojure.contrib.monads/call-cc", + "namespace":"clojure.contrib.monads", + "arglists":[["f"]], "doc": - "Execute the body as a pretty printing logical block with output to *out* which \nmust be a pretty printing writer. When used from pprint or cl-format, this can be \nassumed. \n\nBefore the body, the caller can optionally specify options: :prefix, :per-line-prefix, \nand :suffix.", - "name":"pprint-logical-block"}, - {"source-url":null, + "A computation in the cont monad that calls function f with a single\nargument representing the current continuation. The function f should\nreturn a continuation (which becomes the return value of call-cc),\nor call the passed-in current continuation to terminate.", + "name":"call-cc"}, + {"source-url": + "http://github.com/richhickey/clojure-contrib/blob/34fc5f2bc4dbae6b1b05b77cda98f56cc62e73b7/src/clojure/contrib/monads.clj#L440", "wiki-url": - "http://richhickey.github.com/clojure-contrib//pprint-api.html#clojure.contrib.pprint/pprint-newline", - "namespace":"clojure.contrib.pprint", - "arglists":[["kind"]], + "http://richhickey.github.com/clojure-contrib//monads-api.html#clojure.contrib.monads/cont-m", + "namespace":"clojure.contrib.monads", "doc": - "Print a conditional newline to a pretty printing stream. kind specifies if the \nnewline is :linear, :miser, :fill, or :mandatory. \n\nOutput is sent to *out* which must be a pretty printing writer.", - "name":"pprint-newline"}, - {"source-url":null, + "Monad describing computations in continuation-passing style. The monadic\nvalues are functions that are called with a single argument representing\nthe continuation of the computation, to which they pass their result.", + "name":"cont-m"}, + {"source-url": + "http://github.com/richhickey/clojure-contrib/blob/34fc5f2bc4dbae6b1b05b77cda98f56cc62e73b7/src/clojure/contrib/monads.clj#L51", "wiki-url": - "http://richhickey.github.com/clojure-contrib//pprint-api.html#clojure.contrib.pprint/pprint-tab", - "namespace":"clojure.contrib.pprint", - "arglists":[["kind", "colnum", "colinc"]], + "http://richhickey.github.com/clojure-contrib//monads-api.html#clojure.contrib.monads/defmonad", + "namespace":"clojure.contrib.monads", + "arglists": + [["name", "doc-string", "operations"], ["name", "operations"]], "doc": - "Tab at this point in the pretty printing stream. kind specifies whether the tab\nis :line, :section, :line-relative, or :section-relative. \n\nColnum and colinc specify the target column and the increment to move the target\nforward if the output is already past the original target.\n\nOutput is sent to *out* which must be a pretty printing writer.\n\nTHIS FUNCTION IS NOT YET IMPLEMENTED.", - "name":"pprint-tab"}, - {"source-url":null, + "Define a named monad by defining the monad operations. The definitions\nare written like bindings to the monad operations m-bind and\nm-result (required) and m-zero and m-plus (optional).", + "name":"defmonad"}, + {"source-url": + "http://github.com/richhickey/clojure-contrib/blob/34fc5f2bc4dbae6b1b05b77cda98f56cc62e73b7/src/clojure/contrib/monads.clj#L137", "wiki-url": - "http://richhickey.github.com/clojure-contrib//pprint-api.html#clojure.contrib.pprint/set-pprint-dispatch", - "namespace":"clojure.contrib.pprint", - "arglists":[["function"]], + "http://richhickey.github.com/clojure-contrib//monads-api.html#clojure.contrib.monads/defmonadfn", + "namespace":"clojure.contrib.monads", + "arglists": + [["name", "docstring?", "attr-map?", "args", "expr"], + ["name", "docstring?", "attr-map?", ["args", "expr"], "..."]], "doc": - "Set the pretty print dispatch function to a function matching (fn [obj] ...)\nwhere obj is the object to pretty print. That function will be called with *out* set\nto a pretty printing writer to which it should do its printing.\n\nFor example functions, see *simple-dispatch* and *code-dispatch* in \nclojure.contrib.pprint.dispatch.clj.", - "name":"set-pprint-dispatch"}, - {"source-url":null, + "Like defn, but for functions that use monad operations and are used inside\na with-monad block.", + "name":"defmonadfn"}, + {"source-url": + "http://github.com/richhickey/clojure-contrib/blob/34fc5f2bc4dbae6b1b05b77cda98f56cc62e73b7/src/clojure/contrib/monads.clj#L114", "wiki-url": - "http://richhickey.github.com/clojure-contrib//pprint-api.html#clojure.contrib.pprint/use-method", - "namespace":"clojure.contrib.pprint", - "arglists":[["multifn", "dispatch-val", "func"]], + "http://richhickey.github.com/clojure-contrib//monads-api.html#clojure.contrib.monads/domonad", + "namespace":"clojure.contrib.monads", + "arglists":[["steps", "expr"], ["name", "steps", "expr"]], "doc": - "Installs a function as a new method of multimethod associated with dispatch-value. ", - "name":"use-method"}, - {"source-url":null, + "Monad comprehension. Takes the name of a monad, a vector of steps\ngiven as binding-form/monadic-expression pairs, and a result value\nspecified by expr. The monadic-expression terms can use the binding\nvariables of the previous steps.\nIf the monad contains a definition of m-zero, the step list can also\ncontain conditions of the form :when p, where the predicate p can\ncontain the binding variables from all previous steps.\nA clause of the form :let [binding-form expr ...], where the bindings\nare given as a vector as for the use in let, establishes additional\nbindings that can be used in the following steps.", + "name":"domonad"}, + {"source-url": + "http://github.com/richhickey/clojure-contrib/blob/34fc5f2bc4dbae6b1b05b77cda98f56cc62e73b7/src/clojure/contrib/monads.clj#L359", "wiki-url": - "http://richhickey.github.com/clojure-contrib//pprint-api.html#clojure.contrib.pprint/with-pprint-dispatch", - "namespace":"clojure.contrib.pprint", - "arglists":[["function", "&", "body"]], + "http://richhickey.github.com/clojure-contrib//monads-api.html#clojure.contrib.monads/fetch-state", + "namespace":"clojure.contrib.monads", + "arglists":[[]], "doc": - "Execute body with the pretty print dispatch function bound to function.", - "name":"with-pprint-dispatch"}, - {"source-url":null, + "Return a state-monad function that returns the current state and does not\nmodify it.", + "name":"fetch-state"}, + {"source-url": + "http://github.com/richhickey/clojure-contrib/blob/34fc5f2bc4dbae6b1b05b77cda98f56cc62e73b7/src/clojure/contrib/monads.clj#L365", "wiki-url": - "http://richhickey.github.com/clojure-contrib//pprint-api.html#clojure.contrib.pprint/write", - "namespace":"clojure.contrib.pprint", - "arglists":[["object", "&", "kw-args"]], + "http://richhickey.github.com/clojure-contrib//monads-api.html#clojure.contrib.monads/fetch-val", + "namespace":"clojure.contrib.monads", + "arglists":[["key"]], "doc": - "Write an object subject to the current bindings of the printer control variables.\nUse the kw-args argument to override individual variables for this call (and any \nrecursive calls). Returns the string result if :stream is nil or nil otherwise.\n\nThe following keyword arguments can be passed with values:\n Keyword Meaning Default value\n :stream Writer for output or nil true (indicates *out*)\n :base Base to use for writing rationals Current value of *print-base*\n :circle* If true, mark circular structures Current value of *print-circle*\n :length Maximum elements to show in sublists Current value of *print-length*\n :level Maximum depth Current value of *print-level*\n :lines* Maximum lines of output Current value of *print-lines*\n :miser-width Width to enter miser mode Current value of *print-miser-width*\n :dispatch The pretty print dispatch function Current value of *print-pprint-dispatch*\n :pretty If true, do pretty printing Current value of *print-pretty*\n :radix If true, prepend a radix specifier Current value of *print-radix*\n :readably* If true, print readably Current value of *print-readably*\n :right-margin The column for the right margin Current value of *print-right-margin*\n :suppress-namespaces If true, no namespaces in symbols Current value of *print-suppress-namespaces*\n\n * = not yet supported", - "name":"write"}, - {"source-url":null, + "Return a state-monad function that assumes the state to be a map and\nreturns the value corresponding to the given key. The state is not modified.", + "name":"fetch-val"}, + {"source-url": + "http://github.com/richhickey/clojure-contrib/blob/34fc5f2bc4dbae6b1b05b77cda98f56cc62e73b7/src/clojure/contrib/monads.clj#L286", "wiki-url": - "http://richhickey.github.com/clojure-contrib//pprint-api.html#clojure.contrib.pprint/write-out", - "namespace":"clojure.contrib.pprint", - "arglists":[["object"]], + "http://richhickey.github.com/clojure-contrib//monads-api.html#clojure.contrib.monads/identity-m", + "namespace":"clojure.contrib.monads", "doc": - "Write an object to *out* subject to the current bindings of the printer control \nvariables. Use the kw-args argument to override individual variables for this call (and \nany recursive calls).\n\n*out* must be a PrettyWriter if pretty printing is enabled. This is the responsibility\nof the caller.\n\nThis method is primarily intended for use by pretty print dispatch functions that \nalready know that the pretty printer will have set up their environment appropriately.\nNormal library clients should use the standard \"write\" interface. ", - "name":"write-out"}, - {"source-url":null, + "Monad describing plain computations. This monad does in fact nothing\nat all. It is useful for testing, for combination with monad\ntransformers, and for code that is parameterized with a monad.", + "name":"identity-m"}, + {"source-url": + "http://github.com/richhickey/clojure-contrib/blob/34fc5f2bc4dbae6b1b05b77cda98f56cc62e73b7/src/clojure/contrib/monads.clj#L217", "wiki-url": - "http://richhickey.github.com/clojure-contrib//profile-api.html#clojure.contrib.profile/*enable-profiling*", - "namespace":"clojure.contrib.profile", + "http://richhickey.github.com/clojure-contrib//monads-api.html#clojure.contrib.monads/m-chain", + "namespace":"clojure.contrib.monads", "doc": - "Set this to false before loading/compiling to omit\nprofiling code.", - "name":"*enable-profiling*"}, - {"source-url":null, + "Chains together monadic computation steps that are each functions\nof one parameter. Each step is called with the result of the previous\nstep as its argument. (m-chain (step1 step2)) is equivalent to\n(fn [x] (domonad [r1 (step1 x) r2 (step2 r1)] r2)).", + "name":"m-chain"}, + {"source-url": + "http://github.com/richhickey/clojure-contrib/blob/34fc5f2bc4dbae6b1b05b77cda98f56cc62e73b7/src/clojure/contrib/monads.clj#L195", "wiki-url": - "http://richhickey.github.com/clojure-contrib//profile-api.html#clojure.contrib.profile/print-summary", - "namespace":"clojure.contrib.profile", - "arglists":[["profile-summary"]], - "doc":"Prints a table of the results returned by summarize.", - "name":"print-summary"}, - {"source-url":null, + "http://richhickey.github.com/clojure-contrib//monads-api.html#clojure.contrib.monads/m-fmap", + "namespace":"clojure.contrib.monads", + "doc": + "Bind the monadic value m to the function returning (f x) for argument x", + "name":"m-fmap"}, + {"source-url": + "http://github.com/richhickey/clojure-contrib/blob/34fc5f2bc4dbae6b1b05b77cda98f56cc62e73b7/src/clojure/contrib/monads.clj#L189", "wiki-url": - "http://richhickey.github.com/clojure-contrib//profile-api.html#clojure.contrib.profile/prof", - "namespace":"clojure.contrib.profile", - "arglists":[["name", "&", "body"]], + "http://richhickey.github.com/clojure-contrib//monads-api.html#clojure.contrib.monads/m-join", + "namespace":"clojure.contrib.monads", "doc": - "If *enable-profiling* is true, wraps body in profiling code.\nReturns the result of body. Profile timings will be stored in\n*profile-data* using name, which must be a keyword, as the key.\nTimings are measured with System/nanoTime.", - "name":"prof"}, - {"source-url":null, + "Converts a monadic value containing a monadic value into a 'simple'\nmonadic value.", + "name":"m-join"}, + {"source-url": + "http://github.com/richhickey/clojure-contrib/blob/34fc5f2bc4dbae6b1b05b77cda98f56cc62e73b7/src/clojure/contrib/monads.clj#L180", "wiki-url": - "http://richhickey.github.com/clojure-contrib//profile-api.html#clojure.contrib.profile/profile", - "namespace":"clojure.contrib.profile", - "arglists":[["&", "body"]], + "http://richhickey.github.com/clojure-contrib//monads-api.html#clojure.contrib.monads/m-lift", + "namespace":"clojure.contrib.monads", + "arglists":[["n", "f"]], "doc": - "Runs body with profiling enabled, then prints a summary of\nresults. Returns nil.", - "name":"profile"}, - {"source-url":null, + "Converts a function f of n arguments into a function of n\nmonadic arguments returning a monadic value.", + "name":"m-lift"}, + {"source-url": + "http://github.com/richhickey/clojure-contrib/blob/34fc5f2bc4dbae6b1b05b77cda98f56cc62e73b7/src/clojure/contrib/monads.clj#L211", "wiki-url": - "http://richhickey.github.com/clojure-contrib//profile-api.html#clojure.contrib.profile/summarize", - "namespace":"clojure.contrib.profile", - "arglists":[["profile-data"]], + "http://richhickey.github.com/clojure-contrib//monads-api.html#clojure.contrib.monads/m-map", + "namespace":"clojure.contrib.monads", "doc": - "Takes the raw data returned by with-profile-data and returns a map\nfrom names to summary statistics. Each value in the map will look\nlike:\n\n {:mean ..., :min ..., :max ..., :count ..., :sum ...}\n\n:mean, :min, and :max are how long the profiled section took to run,\nin nanoseconds. :count is the total number of times the profiled\nsection was executed. :sum is the total amount of time spent in the\nprofiled section, in nanoseconds.", - "name":"summarize"}, - {"source-url":null, + "'Executes' the sequence of monadic values resulting from mapping\nf onto the values xs. f must return a monadic value.", + "name":"m-map"}, + {"source-url": + "http://github.com/richhickey/clojure-contrib/blob/34fc5f2bc4dbae6b1b05b77cda98f56cc62e73b7/src/clojure/contrib/monads.clj#L228", "wiki-url": - "http://richhickey.github.com/clojure-contrib//profile-api.html#clojure.contrib.profile/with-profile-data", - "namespace":"clojure.contrib.profile", - "arglists":[["&", "body"]], + "http://richhickey.github.com/clojure-contrib//monads-api.html#clojure.contrib.monads/m-reduce", + "namespace":"clojure.contrib.monads", "doc": - "Executes body with *profile-data* bound to an atom of a new map.\nReturns the raw profile data as a map. Keys in the map are profile\nnames (keywords), and values are lists of elapsed time, in\nnanoseconds.", - "name":"with-profile-data"}, - {"source-url":null, - "wiki-url": - "http://richhickey.github.com/clojure-contrib//repl-ln-api.html#clojure.contrib.repl-ln/print-repl-info", - "namespace":"clojure.contrib.repl-ln", - "arglists":[[]], - "doc":"Prints info about the current repl", - "name":"print-repl-info"}, - {"source-url":null, + "Return the reduction of (m-lift 2 f) over the list of monadic values mvs\nwith initial value (m-result val).", + "name":"m-reduce"}, + {"source-url": + "http://github.com/richhickey/clojure-contrib/blob/34fc5f2bc4dbae6b1b05b77cda98f56cc62e73b7/src/clojure/contrib/monads.clj#L200", "wiki-url": - "http://richhickey.github.com/clojure-contrib//repl-ln-api.html#clojure.contrib.repl-ln/repl", - "namespace":"clojure.contrib.repl-ln", - "arglists":[["&", "options"]], + "http://richhickey.github.com/clojure-contrib//monads-api.html#clojure.contrib.monads/m-seq", + "namespace":"clojure.contrib.monads", "doc": - "A repl that supports line numbers. For definitions and evaluations made\nat the repl, the repl-name and line number will be reported as the\norigin. Use set-repl-name and set-repl-prompt to customize the repl name\nand prompt. This repl supports all of the keyword arguments documented\nfor clojure.main/repl with the following change and additions:\n\n - :prompt has a new default\n default: #(clojure.core/print (repl-prompt))\n\n - :name-fmt, Name format string\n default: the name-fmt of the parent repl, or \"repl-%S\"\n\n - :prompt-fmt, Prompt format string\n default: the prompt-fmt of the parent repl, or \"%S:%L %N=> \"", - "name":"repl"}, - {"source-url":null, + "'Executes' the monadic values in ms and returns a sequence of the\nbasic values contained in them.", + "name":"m-seq"}, + {"source-url": + "http://github.com/richhickey/clojure-contrib/blob/34fc5f2bc4dbae6b1b05b77cda98f56cc62e73b7/src/clojure/contrib/monads.clj#L241", "wiki-url": - "http://richhickey.github.com/clojure-contrib//repl-ln-api.html#clojure.contrib.repl-ln/repl-info", - "namespace":"clojure.contrib.repl-ln", - "arglists":[[]], - "doc":"Returns a map of info about the current repl", - "name":"repl-info"}, - {"source-url":null, + "http://richhickey.github.com/clojure-contrib//monads-api.html#clojure.contrib.monads/m-until", + "namespace":"clojure.contrib.monads", + "doc": + "While (p x) is false, replace x by the value returned by the\nmonadic computation (f x). Return (m-result x) for the first\nx for which (p x) is true.", + "name":"m-until"}, + {"source-url": + "http://github.com/richhickey/clojure-contrib/blob/34fc5f2bc4dbae6b1b05b77cda98f56cc62e73b7/src/clojure/contrib/monads.clj#L253", "wiki-url": - "http://richhickey.github.com/clojure-contrib//repl-ln-api.html#clojure.contrib.repl-ln/repl-prompt", - "namespace":"clojure.contrib.repl-ln", - "arglists":[[]], + "http://richhickey.github.com/clojure-contrib//monads-api.html#clojure.contrib.monads/m-when", + "namespace":"clojure.contrib.monads", + "arglists":[["test", "m-expr"]], "doc": - "Returns the current repl prompt based on this repl's prompt-fmt", - "name":"repl-prompt"}, - {"source-url":null, + "If test is logical true, return monadic value m-expr, else return\n(m-result nil).", + "name":"m-when"}, + {"source-url": + "http://github.com/richhickey/clojure-contrib/blob/34fc5f2bc4dbae6b1b05b77cda98f56cc62e73b7/src/clojure/contrib/monads.clj#L259", "wiki-url": - "http://richhickey.github.com/clojure-contrib//repl-ln-api.html#clojure.contrib.repl-ln/set-repl-name", - "namespace":"clojure.contrib.repl-ln", - "arglists":[[], ["name-fmt"]], + "http://richhickey.github.com/clojure-contrib//monads-api.html#clojure.contrib.monads/m-when-not", + "namespace":"clojure.contrib.monads", + "arglists":[["test", "m-expr"]], "doc": - "Sets the repl name format to the string name-fmt. Include the following\ncodes in the name to make the corresponding dynamic values part of it:\n\n %S - repl serial number\n %T - thread id\n %D - nesting depth in this thread\n\nWith no arguments, resets the repl name to its default: \"repl-%S\"", - "name":"set-repl-name"}, - {"source-url":null, + "If test if logical false, return monadic value m-expr, else return\n(m-result nil).", + "name":"m-when-not"}, + {"source-url": + "http://github.com/richhickey/clojure-contrib/blob/34fc5f2bc4dbae6b1b05b77cda98f56cc62e73b7/src/clojure/contrib/monads.clj#L296", "wiki-url": - "http://richhickey.github.com/clojure-contrib//repl-ln-api.html#clojure.contrib.repl-ln/set-repl-prompt", - "namespace":"clojure.contrib.repl-ln", - "arglists":[[], ["prompt-fmt"]], + "http://richhickey.github.com/clojure-contrib//monads-api.html#clojure.contrib.monads/maybe-m", + "namespace":"clojure.contrib.monads", "doc": - "Sets the repl prompt. Include the following codes in the prompt to make\nthe corresponding dynamic values part of it:\n\n %S - repl serial number\n %T - thread id\n %D - nesting depth in this thread\n %L - input line number\n %N - namespace name\n\nWith no arguments, resets the repl pompt to its default: \"%S:%L %N=> \"", - "name":"set-repl-prompt"}, - {"source-url":null, + "Monad describing computations with possible failures. Failure is\nrepresented by nil, any other value is considered valid. As soon as\na step returns nil, the whole computation will yield nil as well.", + "name":"maybe-m"}, + {"source-url": + "http://github.com/richhickey/clojure-contrib/blob/34fc5f2bc4dbae6b1b05b77cda98f56cc62e73b7/src/clojure/contrib/monads.clj#L496", "wiki-url": - "http://richhickey.github.com/clojure-contrib//repl-ln-api.html#clojure.contrib.repl-ln/stream-repl", - "namespace":"clojure.contrib.repl-ln", - "arglists":[["&", "options"]], + "http://richhickey.github.com/clojure-contrib//monads-api.html#clojure.contrib.monads/maybe-t", + "namespace":"clojure.contrib.monads", + "arglists": + [["m"], ["m", "nothing"], ["m", "nothing", "which-m-plus"]], "doc": - "Repl entry point that provides convenient overriding of input, output,\nand err streams via sequential keyword-value pairs. Default values\nfor :in, :out, and :err are streams associated with System/in,\nSystem/out, and System/err using UTF-8 encoding. Also supports all the\noptions provided by clojure.contrib.repl-ln/repl.", - "name":"stream-repl"}, - {"source-url":null, + "Monad transformer that transforms a monad m into a monad in which\nthe base values can be invalid (represented by nothing, which defaults\nto nil). The third argument chooses if m-zero and m-plus are inherited\nfrom the base monad (use :m-plus-from-base) or adopt maybe-like\nbehaviour (use :m-plus-from-transformer). The default is :m-plus-from-base\nif the base monad m has a definition for m-plus, and\n:m-plus-from-transformer otherwise.", + "name":"maybe-t"}, + {"source-url": + "http://github.com/richhickey/clojure-contrib/blob/34fc5f2bc4dbae6b1b05b77cda98f56cc62e73b7/src/clojure/contrib/monads.clj#L36", "wiki-url": - "http://richhickey.github.com/clojure-contrib//seq-utils-api.html#clojure.contrib.seq-utils/fill-queue", - "namespace":"clojure.contrib.seq-utils", - "arglists":[["filler-func", "&", "optseq"]], + "http://richhickey.github.com/clojure-contrib//monads-api.html#clojure.contrib.monads/monad", + "namespace":"clojure.contrib.monads", + "arglists":[["operations"]], "doc": - "filler-func will be called in another thread with a single arg\n'fill'. filler-func may call fill repeatedly with one arg each\ntime which will be pushed onto a queue, blocking if needed until\nthis is possible. fill-queue will return a lazy seq of the values\nfiller-func has pushed onto the queue, blocking if needed until each\nnext element becomes available. filler-func's return value is ignored.", - "name":"fill-queue"}, - {"source-url":null, + "Define a monad by defining the monad operations. The definitions\nare written like bindings to the monad operations m-bind and\nm-result (required) and m-zero and m-plus (optional).", + "name":"monad"}, + {"source-url": + "http://github.com/richhickey/clojure-contrib/blob/34fc5f2bc4dbae6b1b05b77cda98f56cc62e73b7/src/clojure/contrib/monads.clj#L474", "wiki-url": - "http://richhickey.github.com/clojure-contrib//seq-utils-api.html#clojure.contrib.seq-utils/find-first", - "namespace":"clojure.contrib.seq-utils", - "arglists":[["pred", "coll"]], + "http://richhickey.github.com/clojure-contrib//monads-api.html#clojure.contrib.monads/monad-transformer", + "namespace":"clojure.contrib.monads", + "arglists":[["base", "which-m-plus", "operations"]], "doc": - "Returns the first item of coll for which (pred item) returns logical true.\nConsumes sequences up to the first match, will consume the entire sequence\nand return nil if no match is found.", - "name":"find-first"}, - {"source-url":null, + "Define a monad transforer in terms of the monad operations and the base\nmonad. The argument which-m-plus chooses if m-zero and m-plus are taken\nfrom the base monad or from the transformer.", + "name":"monad-transformer"}, + {"source-url": + "http://github.com/richhickey/clojure-contrib/blob/34fc5f2bc4dbae6b1b05b77cda98f56cc62e73b7/src/clojure/contrib/monads.clj#L451", "wiki-url": - "http://richhickey.github.com/clojure-contrib//seq-utils-api.html#clojure.contrib.seq-utils/flatten", - "namespace":"clojure.contrib.seq-utils", - "arglists":[["x"]], + "http://richhickey.github.com/clojure-contrib//monads-api.html#clojure.contrib.monads/run-cont", + "namespace":"clojure.contrib.monads", + "arglists":[["c"]], "doc": - "Takes any nested combination of sequential things (lists, vectors,\netc.) and returns their contents as a single, flat sequence.\n(flatten nil) returns nil.", - "name":"flatten"}, - {"source-url":null, + "Execute the computation c in the cont monad and return its result.", + "name":"run-cont"}, + {"source-url": + "http://github.com/richhickey/clojure-contrib/blob/34fc5f2bc4dbae6b1b05b77cda98f56cc62e73b7/src/clojure/contrib/monads.clj#L309", "wiki-url": - "http://richhickey.github.com/clojure-contrib//seq-utils-api.html#clojure.contrib.seq-utils/frequencies", - "namespace":"clojure.contrib.seq-utils", - "arglists":[["coll"]], + "http://richhickey.github.com/clojure-contrib//monads-api.html#clojure.contrib.monads/sequence-m", + "namespace":"clojure.contrib.monads", "doc": - "Returns a map from distinct items in coll to the number of times\nthey appear.", - "name":"frequencies"}, - {"source-url":null, + "Monad describing multi-valued computations, i.e. computations\nthat can yield multiple values. Any object implementing the seq\nprotocol can be used as a monadic value.", + "name":"sequence-m"}, + {"source-url": + "http://github.com/richhickey/clojure-contrib/blob/34fc5f2bc4dbae6b1b05b77cda98f56cc62e73b7/src/clojure/contrib/monads.clj#L528", "wiki-url": - "http://richhickey.github.com/clojure-contrib//seq-utils-api.html#clojure.contrib.seq-utils/group-by", - "namespace":"clojure.contrib.seq-utils", - "arglists":[["f", "coll"]], + "http://richhickey.github.com/clojure-contrib//monads-api.html#clojure.contrib.monads/sequence-t", + "namespace":"clojure.contrib.monads", + "arglists":[["m"], ["m", "which-m-plus"]], "doc": - "Returns a sorted map of the elements of coll keyed by the result of\nf on each element. The value at each key will be a vector of the\ncorresponding elements, in the order they appeared in coll.", - "name":"group-by"}, - {"source-url":null, + "Monad transformer that transforms a monad m into a monad in which\nthe base values are sequences. The argument which-m-plus chooses\nif m-zero and m-plus are inherited from the base monad\n(use :m-plus-from-base) or adopt sequence-like\nbehaviour (use :m-plus-from-transformer). The default is :m-plus-from-base\nif the base monad m has a definition for m-plus, and\n:m-plus-from-transformer otherwise.", + "name":"sequence-t"}, + {"source-url": + "http://github.com/richhickey/clojure-contrib/blob/34fc5f2bc4dbae6b1b05b77cda98f56cc62e73b7/src/clojure/contrib/monads.clj#L323", "wiki-url": - "http://richhickey.github.com/clojure-contrib//seq-utils-api.html#clojure.contrib.seq-utils/includes?", - "namespace":"clojure.contrib.seq-utils", - "arglists":[["coll", "x"]], + "http://richhickey.github.com/clojure-contrib//monads-api.html#clojure.contrib.monads/set-m", + "namespace":"clojure.contrib.monads", "doc": - "Returns true if coll contains something equal (with =) to x,\nin linear time.", - "name":"includes?"}, - {"source-url":null, + "Monad describing multi-valued computations, like sequence-m,\nbut returning sets of results instead of sequences of results.", + "name":"set-m"}, + {"source-url": + "http://github.com/richhickey/clojure-contrib/blob/34fc5f2bc4dbae6b1b05b77cda98f56cc62e73b7/src/clojure/contrib/monads.clj#L353", "wiki-url": - "http://richhickey.github.com/clojure-contrib//seq-utils-api.html#clojure.contrib.seq-utils/indexed", - "namespace":"clojure.contrib.seq-utils", + "http://richhickey.github.com/clojure-contrib//monads-api.html#clojure.contrib.monads/set-state", + "namespace":"clojure.contrib.monads", "arglists":[["s"]], "doc": - "Returns a lazy sequence of [index, item] pairs, where items come\nfrom 's' and indexes count up from zero.\n\n(indexed '(a b c d)) => ([0 a] [1 b] [2 c] [3 d])", - "name":"indexed"}, - {"source-url":null, + "Return a state-monad function that replaces the current state by s and\nreturns the previous state.", + "name":"set-state"}, + {"source-url": + "http://github.com/richhickey/clojure-contrib/blob/34fc5f2bc4dbae6b1b05b77cda98f56cc62e73b7/src/clojure/contrib/monads.clj#L383", "wiki-url": - "http://richhickey.github.com/clojure-contrib//seq-utils-api.html#clojure.contrib.seq-utils/partition-all", - "namespace":"clojure.contrib.seq-utils", - "arglists":[["n", "coll"], ["n", "step", "coll"]], + "http://richhickey.github.com/clojure-contrib//monads-api.html#clojure.contrib.monads/set-val", + "namespace":"clojure.contrib.monads", + "arglists":[["key", "val"]], "doc": - "Returns a lazy sequence of lists like clojure.core/partition, but may\ninclude lists with fewer than n items at the end.", - "name":"partition-all"}, - {"source-url":null, + "Return a state-monad function that assumes the state to be a map and\nreplaces the value associated with key by val. The old value is returned.", + "name":"set-val"}, + {"source-url": + "http://github.com/richhickey/clojure-contrib/blob/34fc5f2bc4dbae6b1b05b77cda98f56cc62e73b7/src/clojure/contrib/monads.clj#L336", "wiki-url": - "http://richhickey.github.com/clojure-contrib//seq-utils-api.html#clojure.contrib.seq-utils/partition-by", - "namespace":"clojure.contrib.seq-utils", - "arglists":[["f", "coll"]], + "http://richhickey.github.com/clojure-contrib//monads-api.html#clojure.contrib.monads/state-m", + "namespace":"clojure.contrib.monads", "doc": - "Applies f to each value in coll, splitting it each time f returns\na new value. Returns a lazy seq of lazy seqs.", - "name":"partition-by"}, - {"source-url":null, + "Monad describing stateful computations. The monadic values have the\nstructure (fn [old-state] [result new-state]).", + "name":"state-m"}, + {"source-url": + "http://github.com/richhickey/clojure-contrib/blob/34fc5f2bc4dbae6b1b05b77cda98f56cc62e73b7/src/clojure/contrib/monads.clj#L401", "wiki-url": - "http://richhickey.github.com/clojure-contrib//seq-utils-api.html#clojure.contrib.seq-utils/positions", - "namespace":"clojure.contrib.seq-utils", - "arglists":[["pred", "coll"]], + "http://richhickey.github.com/clojure-contrib//monads-api.html#clojure.contrib.monads/state-m-until", + "namespace":"clojure.contrib.monads", + "arglists":[["p", "f", "x"]], "doc": - "Returns a lazy sequence containing the positions at which pred\nis true for items in coll.", - "name":"positions"}, - {"source-url":null, - "wiki-url": - "http://richhickey.github.com/clojure-contrib//seq-utils-api.html#clojure.contrib.seq-utils/rand-elt", - "namespace":"clojure.contrib.seq-utils", - "arglists":[["s"]], - "doc":"Return a random element of this seq", - "name":"rand-elt"}, - {"source-url":null, + "An optimized implementation of m-until for the state monad that\nreplaces recursion by a loop.", + "name":"state-m-until"}, + {"source-url": + "http://github.com/richhickey/clojure-contrib/blob/34fc5f2bc4dbae6b1b05b77cda98f56cc62e73b7/src/clojure/contrib/monads.clj#L555", "wiki-url": - "http://richhickey.github.com/clojure-contrib//seq-utils-api.html#clojure.contrib.seq-utils/rec-cat", - "namespace":"clojure.contrib.seq-utils", - "arglists":[["binding-name", "&", "exprs"]], + "http://richhickey.github.com/clojure-contrib//monads-api.html#clojure.contrib.monads/state-t", + "namespace":"clojure.contrib.monads", + "arglists":[["m"]], "doc": - "Similar to lazy-cat but binds the resulting sequence to the supplied \nbinding-name, allowing for recursive expressions.", - "name":"rec-cat"}, - {"source-url":null, + "Monad transformer that transforms a monad m into a monad of stateful\ncomputations that have the base monad type as their result.", + "name":"state-t"}, + {"source-url": + "http://github.com/richhickey/clojure-contrib/blob/34fc5f2bc4dbae6b1b05b77cda98f56cc62e73b7/src/clojure/contrib/monads.clj#L347", "wiki-url": - "http://richhickey.github.com/clojure-contrib//seq-utils-api.html#clojure.contrib.seq-utils/rec-seq", - "namespace":"clojure.contrib.seq-utils", - "arglists":[["binding-name", "&", "body"]], + "http://richhickey.github.com/clojure-contrib//monads-api.html#clojure.contrib.monads/update-state", + "namespace":"clojure.contrib.monads", + "arglists":[["f"]], "doc": - "Similar to lazy-seq but binds the resulting seq to the supplied \nbinding-name, allowing for recursive expressions.", - "name":"rec-seq"}, - {"source-url":null, + "Return a state-monad function that replaces the current state by the\nresult of f applied to the current state and that returns the old state.", + "name":"update-state"}, + {"source-url": + "http://github.com/richhickey/clojure-contrib/blob/34fc5f2bc4dbae6b1b05b77cda98f56cc62e73b7/src/clojure/contrib/monads.clj#L373", "wiki-url": - "http://richhickey.github.com/clojure-contrib//seq-utils-api.html#clojure.contrib.seq-utils/reductions", - "namespace":"clojure.contrib.seq-utils", - "arglists":[["f", "coll"], ["f", "init", "coll"]], + "http://richhickey.github.com/clojure-contrib//monads-api.html#clojure.contrib.monads/update-val", + "namespace":"clojure.contrib.monads", + "arglists":[["key", "f"]], "doc": - "Returns a lazy seq of the intermediate values of the reduction (as\nper reduce) of coll by f, starting with init.", - "name":"reductions"}, - {"source-url":null, + "Return a state-monad function that assumes the state to be a map and\nreplaces the value associated with the given key by the return value\nof f applied to the old value. The old value is returned.", + "name":"update-val"}, + {"source-url": + "http://github.com/richhickey/clojure-contrib/blob/34fc5f2bc4dbae6b1b05b77cda98f56cc62e73b7/src/clojure/contrib/monads.clj#L102", "wiki-url": - "http://richhickey.github.com/clojure-contrib//seq-utils-api.html#clojure.contrib.seq-utils/rotations", - "namespace":"clojure.contrib.seq-utils", - "arglists":[["x"]], - "doc":"Returns a lazy seq of all rotations of a seq", - "name":"rotations"}, - {"source-url":null, + "http://richhickey.github.com/clojure-contrib//monads-api.html#clojure.contrib.monads/with-monad", + "namespace":"clojure.contrib.monads", + "arglists":[["monad", "&", "exprs"]], + "doc": + "Evaluates an expression after replacing the keywords defining the\nmonad operations by the functions associated with these keywords\nin the monad definition given by name.", + "name":"with-monad"}, + {"source-url": + "http://github.com/richhickey/clojure-contrib/blob/34fc5f2bc4dbae6b1b05b77cda98f56cc62e73b7/src/clojure/contrib/monads.clj#L389", "wiki-url": - "http://richhickey.github.com/clojure-contrib//seq-utils-api.html#clojure.contrib.seq-utils/separate", - "namespace":"clojure.contrib.seq-utils", - "arglists":[["f", "s"]], + "http://richhickey.github.com/clojure-contrib//monads-api.html#clojure.contrib.monads/with-state-field", + "namespace":"clojure.contrib.monads", + "arglists":[["key", "statement"]], "doc": - "Returns a vector:\n[ (filter f s), (filter (complement f) s) ]", - "name":"separate"}, - {"source-url":null, + "Returns a state-monad function that expects a map as its state and\nruns statement (another state-monad function) on the state defined by\nthe map entry corresponding to key. The map entry is updated with the\nnew state returned by statement.", + "name":"with-state-field"}, + {"source-url": + "http://github.com/richhickey/clojure-contrib/blob/34fc5f2bc4dbae6b1b05b77cda98f56cc62e73b7/src/clojure/contrib/monads.clj#L413", "wiki-url": - "http://richhickey.github.com/clojure-contrib//seq-utils-api.html#clojure.contrib.seq-utils/seq-on", - "namespace":"clojure.contrib.seq-utils", - "arglists":[["s"]], + "http://richhickey.github.com/clojure-contrib//monads-api.html#clojure.contrib.monads/writer-m", + "namespace":"clojure.contrib.monads", + "arglists":[["empty-accumulator"]], "doc": - "Returns a seq on the object s. Works like the built-in seq but as\na multimethod that can have implementations for new classes and types.", - "name":"seq-on"}, - {"source-url":null, + "Monad describing computations that accumulate data on the side, e.g. for\nlogging. The monadic values have the structure [value log]. Any of the\naccumulators from clojure.contrib.accumulators can be used for storing the\nlog data. Its empty value is passed as a parameter.", + "name":"writer-m"}, + {"source-url": + "http://github.com/richhickey/clojure-contrib/blob/3a220e3af24bd5bd30869a112c7210a888ea6dc4/src/clojure/contrib/ns_utils.clj#L84", "wiki-url": - "http://richhickey.github.com/clojure-contrib//seq-utils-api.html#clojure.contrib.seq-utils/shuffle", - "namespace":"clojure.contrib.seq-utils", - "arglists":[["coll"]], - "doc":"Return a random permutation of coll", - "name":"shuffle"}, - {"source-url":null, + "http://richhickey.github.com/clojure-contrib//ns-utils-api.html#clojure.contrib.ns-utils/dir", + "namespace":"clojure.contrib.ns-utils", + "arglists":[["nsname"]], + "doc":"Prints a sorted directory of public vars in a namespace", + "name":"dir"}, + {"source-url": + "http://github.com/richhickey/clojure-contrib/blob/3a220e3af24bd5bd30869a112c7210a888ea6dc4/src/clojure/contrib/ns_utils.clj#L89", "wiki-url": - "http://richhickey.github.com/clojure-contrib//server-socket-api.html#clojure.contrib.server-socket/create-repl-server", - "namespace":"clojure.contrib.server-socket", - "arglists": - [["port", "backlog", "bind-addr"], ["port", "backlog"], ["port"]], - "doc":"create a repl on a socket", - "name":"create-repl-server"}, - {"source-url":null, + "http://richhickey.github.com/clojure-contrib//ns-utils-api.html#clojure.contrib.ns-utils/docs", + "namespace":"clojure.contrib.ns-utils", + "arglists":[["nsname"]], + "doc":"Prints documentation for the public vars in a namespace", + "name":"docs"}, + {"source-url": + "http://github.com/richhickey/clojure-contrib/blob/3a220e3af24bd5bd30869a112c7210a888ea6dc4/src/clojure/contrib/ns_utils.clj#L50", "wiki-url": - "http://richhickey.github.com/clojure-contrib//server-socket-api.html#clojure.contrib.server-socket/create-server", - "namespace":"clojure.contrib.server-socket", - "arglists": - [["port", "fun", "backlog", "bind-addr"], - ["port", "fun", "backlog"], ["port", "fun"]], + "http://richhickey.github.com/clojure-contrib//ns-utils-api.html#clojure.contrib.ns-utils/get-ns", + "namespace":"clojure.contrib.ns-utils", + "arglists":[["ns-sym"]], "doc": - "Creates a server socket on port. Upon accept, a new thread is\ncreated which calls:\n\n(fun input-stream output-stream)\n\nOptional arguments support specifying a listen backlog and binding\nto a specific endpoint.", - "name":"create-server"}, - {"source-url":null, + "Returns the namespace named by ns-sym or throws if the\nnamespace does not exist", + "name":"get-ns"}, + {"source-url": + "http://github.com/richhickey/clojure-contrib/blob/3a220e3af24bd5bd30869a112c7210a888ea6dc4/src/clojure/contrib/ns_utils.clj#L94", "wiki-url": - "http://richhickey.github.com/clojure-contrib//set-api.html#clojure.contrib.set/proper-subset?", - "namespace":"clojure.contrib.set", - "arglists":[["set1", "set2"]], - "doc":"Is s1 a proper subset of s2?", - "name":"proper-subset?"}, - {"source-url":null, + "http://richhickey.github.com/clojure-contrib//ns-utils-api.html#clojure.contrib.ns-utils/immigrate", + "namespace":"clojure.contrib.ns-utils", + "arglists":[["&", "ns-names"]], + "doc": + "Create a public var in this namespace for each public var in the\nnamespaces named by ns-names. The created vars have the same name, root\nbinding, and metadata as the original except that their :ns metadata\nvalue is this namespace.", + "name":"immigrate"}, + {"source-url": + "http://github.com/richhickey/clojure-contrib/blob/3a220e3af24bd5bd30869a112c7210a888ea6dc4/src/clojure/contrib/ns_utils.clj#L58", "wiki-url": - "http://richhickey.github.com/clojure-contrib//set-api.html#clojure.contrib.set/proper-superset?", - "namespace":"clojure.contrib.set", - "arglists":[["set1", "set2"]], - "doc":"Is s1 a proper superset of s2?", - "name":"proper-superset?"}, - {"source-url":null, + "http://richhickey.github.com/clojure-contrib//ns-utils-api.html#clojure.contrib.ns-utils/ns-vars", + "namespace":"clojure.contrib.ns-utils", + "arglists":[["ns"]], + "doc": + "Returns a sorted seq of symbols naming public vars in\na namespace", + "name":"ns-vars"}, + {"source-url": + "http://github.com/richhickey/clojure-contrib/blob/3a220e3af24bd5bd30869a112c7210a888ea6dc4/src/clojure/contrib/ns_utils.clj#L64", "wiki-url": - "http://richhickey.github.com/clojure-contrib//set-api.html#clojure.contrib.set/subset?", - "namespace":"clojure.contrib.set", - "arglists":[["set1", "set2"]], - "doc":"Is set1 a subset of set2?", - "name":"subset?"}, - {"source-url":null, + "http://richhickey.github.com/clojure-contrib//ns-utils-api.html#clojure.contrib.ns-utils/print-dir", + "namespace":"clojure.contrib.ns-utils", + "arglists":[["ns"]], + "doc":"Prints a sorted directory of public vars in a namespace", + "name":"print-dir"}, + {"source-url": + "http://github.com/richhickey/clojure-contrib/blob/3a220e3af24bd5bd30869a112c7210a888ea6dc4/src/clojure/contrib/ns_utils.clj#L70", "wiki-url": - "http://richhickey.github.com/clojure-contrib//set-api.html#clojure.contrib.set/superset?", - "namespace":"clojure.contrib.set", - "arglists":[["set1", "set2"]], - "doc":"Is set1 a superset of set2?", - "name":"superset?"}, - {"source-url":null, + "http://richhickey.github.com/clojure-contrib//ns-utils-api.html#clojure.contrib.ns-utils/print-docs", + "namespace":"clojure.contrib.ns-utils", + "arglists":[["ns"]], + "doc":"Prints documentation for the public vars in a namespace", + "name":"print-docs"}, + {"source-url": + "http://github.com/richhickey/clojure-contrib/blob/3a220e3af24bd5bd30869a112c7210a888ea6dc4/src/clojure/contrib/ns_utils.clj#L78", "wiki-url": - "http://richhickey.github.com/clojure-contrib//shell-out-api.html#clojure.contrib.shell-out/sh", - "namespace":"clojure.contrib.shell-out", - "arglists":[["&", "args"]], + "http://richhickey.github.com/clojure-contrib//ns-utils-api.html#clojure.contrib.ns-utils/vars", + "namespace":"clojure.contrib.ns-utils", + "arglists":[["nsname"]], "doc": - "Passes the given strings to Runtime.exec() to launch a sub-process.\n\nOptions are\n\n:in may be given followed by a String specifying text to be fed to the \n sub-process's stdin. \n:out option may be given followed by :bytes or a String. If a String \n is given, it will be used as a character encoding name (for \n example \"UTF-8\" or \"ISO-8859-1\") to convert the \n sub-process's stdout to a String which is returned.\n If :bytes is given, the sub-process's stdout will be stored in \n a byte array and returned. Defaults to UTF-8.\n:return-map\n when followed by boolean true, sh returns a map of\n :exit => sub-process's exit code\n :out => sub-process's stdout (as byte[] or String)\n :err => sub-process's stderr (as byte[] or String)\n when not given or followed by false, sh returns a single\n array or String of the sub-process's stdout followed by its\n stderr\n:env override the process env with a map (or the underlying Java\n String[] if you are a masochist).\n:dir override the process dir with a String or java.io.File.\n\nYou can bind :env or :dir for multiple operations using with-sh-env\nand with-sh-dir.", - "name":"sh"}, - {"source-url":null, + "Returns a sorted seq of symbols naming public vars in\na namespace", + "name":"vars"}, + {"source-url": + "http://github.com/richhickey/clojure-contrib/blob/eb73c54687a9ed63dc939bbe886170f4a47455ed/src/clojure/contrib/pprint/dispatch.clj#L354", "wiki-url": - "http://richhickey.github.com/clojure-contrib//singleton-api.html#clojure.contrib.singleton/global-singleton", - "namespace":"clojure.contrib.singleton", - "arglists":[["f"]], + "http://richhickey.github.com/clojure-contrib//pprint-api.html#clojure.contrib.pprint/*code-dispatch*", + "namespace":"clojure.contrib.pprint", + "arglists":[["object"]], + "doc": + "The pretty print dispatch function for pretty printing Clojure code.", + "name":"*code-dispatch*"}, + {"source-url": + "http://github.com/richhickey/clojure-contrib/blob/74c5bf10a5e92c2f2ee83d09eb15938914f95fbe/src/clojure/contrib/pprint/pprint_base.clj#L78", + "wiki-url": + "http://richhickey.github.com/clojure-contrib//pprint-api.html#clojure.contrib.pprint/*print-base*", + "namespace":"clojure.contrib.pprint", + "doc":"The base to use for printing integers and rationals.", + "name":"*print-base*"}, + {"source-url": + "http://github.com/richhickey/clojure-contrib/blob/74c5bf10a5e92c2f2ee83d09eb15938914f95fbe/src/clojure/contrib/pprint/pprint_base.clj#L56", + "wiki-url": + "http://richhickey.github.com/clojure-contrib//pprint-api.html#clojure.contrib.pprint/*print-circle*", + "namespace":"clojure.contrib.pprint", + "doc":"Mark circular structures (N.B. This is not yet used)", + "name":"*print-circle*"}, + {"source-url": + "http://github.com/richhickey/clojure-contrib/blob/74c5bf10a5e92c2f2ee83d09eb15938914f95fbe/src/clojure/contrib/pprint/pprint_base.clj#L51", + "wiki-url": + "http://richhickey.github.com/clojure-contrib//pprint-api.html#clojure.contrib.pprint/*print-lines*", + "namespace":"clojure.contrib.pprint", + "doc": + "Maximum number of lines to print in a pretty print instance (N.B. This is not yet used)", + "name":"*print-lines*"}, + {"source-url": + "http://github.com/richhickey/clojure-contrib/blob/74c5bf10a5e92c2f2ee83d09eb15938914f95fbe/src/clojure/contrib/pprint/pprint_base.clj#L44", + "wiki-url": + "http://richhickey.github.com/clojure-contrib//pprint-api.html#clojure.contrib.pprint/*print-miser-width*", + "namespace":"clojure.contrib.pprint", + "doc": + "The column at which to enter miser style. Depending on the dispatch table, \nmiser style add newlines in more places to try to keep lines short allowing for further \nlevels of nesting.", + "name":"*print-miser-width*"}, + {"source-url": + "http://github.com/richhickey/clojure-contrib/blob/74c5bf10a5e92c2f2ee83d09eb15938914f95fbe/src/clojure/contrib/pprint/pprint_base.clj#L33", + "wiki-url": + "http://richhickey.github.com/clojure-contrib//pprint-api.html#clojure.contrib.pprint/*print-pprint-dispatch*", + "namespace":"clojure.contrib.pprint", + "doc": + "The pretty print dispatch function. Use with-pprint-dispatch or set-pprint-dispatch\nto modify.", + "name":"*print-pprint-dispatch*"}, + {"source-url": + "http://github.com/richhickey/clojure-contrib/blob/74c5bf10a5e92c2f2ee83d09eb15938914f95fbe/src/clojure/contrib/pprint/pprint_base.clj#L29", + "wiki-url": + "http://richhickey.github.com/clojure-contrib//pprint-api.html#clojure.contrib.pprint/*print-pretty*", + "namespace":"clojure.contrib.pprint", + "doc":"Bind to true if you want write to use pretty printing", + "name":"*print-pretty*"}, + {"source-url": + "http://github.com/richhickey/clojure-contrib/blob/74c5bf10a5e92c2f2ee83d09eb15938914f95fbe/src/clojure/contrib/pprint/pprint_base.clj#L72", + "wiki-url": + "http://richhickey.github.com/clojure-contrib//pprint-api.html#clojure.contrib.pprint/*print-radix*", + "namespace":"clojure.contrib.pprint", + "doc": + "Print a radix specifier in front of integers and rationals. If *print-base* is 2, 8, \nor 16, then the radix specifier used is #b, #o, or #x, respectively. Otherwise the \nradix specifier is in the form #XXr where XX is the decimal value of *print-base* ", + "name":"*print-radix*"}, + {"source-url": + "http://github.com/richhickey/clojure-contrib/blob/74c5bf10a5e92c2f2ee83d09eb15938914f95fbe/src/clojure/contrib/pprint/pprint_base.clj#L38", + "wiki-url": + "http://richhickey.github.com/clojure-contrib//pprint-api.html#clojure.contrib.pprint/*print-right-margin*", + "namespace":"clojure.contrib.pprint", + "doc": + "Pretty printing will try to avoid anything going beyond this column.\nSet it to nil to have pprint let the line be arbitrarily long. This will ignore all \nnon-mandatory newlines.", + "name":"*print-right-margin*"}, + {"source-url": + "http://github.com/richhickey/clojure-contrib/blob/74c5bf10a5e92c2f2ee83d09eb15938914f95fbe/src/clojure/contrib/pprint/pprint_base.clj#L61", + "wiki-url": + "http://richhickey.github.com/clojure-contrib//pprint-api.html#clojure.contrib.pprint/*print-shared*", + "namespace":"clojure.contrib.pprint", + "doc": + "Mark repeated structures rather than repeat them (N.B. This is not yet used)", + "name":"*print-shared*"}, + {"source-url": + "http://github.com/richhickey/clojure-contrib/blob/74c5bf10a5e92c2f2ee83d09eb15938914f95fbe/src/clojure/contrib/pprint/pprint_base.clj#L65", + "wiki-url": + "http://richhickey.github.com/clojure-contrib//pprint-api.html#clojure.contrib.pprint/*print-suppress-namespaces*", + "namespace":"clojure.contrib.pprint", + "doc": + "Don't print namespaces with symbols. This is particularly useful when \npretty printing the results of macro expansions", + "name":"*print-suppress-namespaces*"}, + {"source-url": + "http://github.com/richhickey/clojure-contrib/blob/eb73c54687a9ed63dc939bbe886170f4a47455ed/src/clojure/contrib/pprint/dispatch.clj#L125", + "wiki-url": + "http://richhickey.github.com/clojure-contrib//pprint-api.html#clojure.contrib.pprint/*simple-dispatch*", + "namespace":"clojure.contrib.pprint", + "arglists":[["object"]], + "doc": + "The pretty print dispatch function for simple data structure format.", + "name":"*simple-dispatch*"}, + {"source-url": + "http://github.com/richhickey/clojure-contrib/blob/74c5bf10a5e92c2f2ee83d09eb15938914f95fbe/src/clojure/contrib/pprint/cl_format.clj#L26", + "wiki-url": + "http://richhickey.github.com/clojure-contrib//pprint-api.html#clojure.contrib.pprint/cl-format", + "namespace":"clojure.contrib.pprint", + "arglists":[["writer", "format-in", "&", "args"]], + "doc": + "An implementation of a Common Lisp compatible format function. cl-format formats its\narguments to an output stream or string based on the format control string given. It \nsupports sophisticated formatting of structured data.\n\nWriter is an instance of java.io.Writer, true to output to *out* or nil to output \nto a string, format-in is the format control string and the remaining arguments \nare the data to be formatted.\n\nThe format control string is a string to be output with embedded 'format directives' \ndescribing how to format the various arguments passed in.\n\nIf writer is nil, cl-format returns the formatted result string. Otherwise, cl-format \nreturns nil.\n\nFor example:\n (let [results [46 38 22]]\n (cl-format true \"There ~[are~;is~:;are~]~:* ~d result~:p: ~{~d~^, ~}~%\" \n (count results) results))\n\nPrints to *out*:\n There are 3 results: 46, 38, 22\n\nDetailed documentation on format control strings is available in the \"Common Lisp the \nLanguage, 2nd edition\", Chapter 22 (available online at:\nhttp://www.cs.cmu.edu/afs/cs.cmu.edu/project/ai-repository/ai/html/cltl/clm/node200.html#SECTION002633000000000000000) \nand in the Common Lisp HyperSpec at \nhttp://www.lispworks.com/documentation/HyperSpec/Body/22_c.htm", + "name":"cl-format"}, + {"source-url": + "http://github.com/richhickey/clojure-contrib/blob/74c5bf10a5e92c2f2ee83d09eb15938914f95fbe/src/clojure/contrib/pprint/cl_format.clj#L1748", + "wiki-url": + "http://richhickey.github.com/clojure-contrib//pprint-api.html#clojure.contrib.pprint/compile-format", + "namespace":"clojure.contrib.pprint", + "arglists":[["format-str"]], + "doc": + "Compiles format-str into a compiled format which can be used as an argument\nto cl-format just like a plain format string. Use this function for improved \nperformance when you're using the same format string repeatedly", + "name":"compile-format"}, + {"source-url": + "http://github.com/richhickey/clojure-contrib/blob/74c5bf10a5e92c2f2ee83d09eb15938914f95fbe/src/clojure/contrib/pprint/cl_format.clj#L1816", + "wiki-url": + "http://richhickey.github.com/clojure-contrib//pprint-api.html#clojure.contrib.pprint/formatter", + "namespace":"clojure.contrib.pprint", + "arglists":[["format-in"]], + "doc": + "Makes a function which can directly run format-in. The function is\nfn [stream & args] ... and returns nil unless the stream is nil (meaning \noutput to a string) in which case it returns the resulting string.\n\nformat-in can be either a control string or a previously compiled format.", + "name":"formatter"}, + {"source-url": + "http://github.com/richhickey/clojure-contrib/blob/74c5bf10a5e92c2f2ee83d09eb15938914f95fbe/src/clojure/contrib/pprint/cl_format.clj#L1830", + "wiki-url": + "http://richhickey.github.com/clojure-contrib//pprint-api.html#clojure.contrib.pprint/formatter-out", + "namespace":"clojure.contrib.pprint", + "arglists":[["format-in"]], + "doc": + "Makes a function which can directly run format-in. The function is\nfn [& args] ... and returns nil. This version of the formatter macro is\ndesigned to be used with *out* set to an appropriate Writer. In particular,\nthis is meant to be used as part of a pretty printer dispatch method.\n\nformat-in can be either a control string or a previously compiled format.", + "name":"formatter-out"}, + {"source-url": + "http://github.com/richhickey/clojure-contrib/blob/74c5bf10a5e92c2f2ee83d09eb15938914f95fbe/src/clojure/contrib/pprint/cl_format.clj#L1152", + "wiki-url": + "http://richhickey.github.com/clojure-contrib//pprint-api.html#clojure.contrib.pprint/fresh-line", + "namespace":"clojure.contrib.pprint", + "arglists":[[]], + "doc": + "Make a newline if the Writer is not already at the beginning of the line.\nN.B. Only works on ColumnWriters right now.", + "name":"fresh-line"}, + {"source-url": + "http://github.com/richhickey/clojure-contrib/blob/74c5bf10a5e92c2f2ee83d09eb15938914f95fbe/src/clojure/contrib/pprint/pprint_base.clj#L241", + "wiki-url": + "http://richhickey.github.com/clojure-contrib//pprint-api.html#clojure.contrib.pprint/pp", + "namespace":"clojure.contrib.pprint", + "arglists":[[]], + "doc": + "A convenience macro that pretty prints the last thing output. This is\nexactly equivalent to (pprint *1).", + "name":"pp"}, + {"source-url": + "http://github.com/richhickey/clojure-contrib/blob/74c5bf10a5e92c2f2ee83d09eb15938914f95fbe/src/clojure/contrib/pprint/pprint_base.clj#L229", + "wiki-url": + "http://richhickey.github.com/clojure-contrib//pprint-api.html#clojure.contrib.pprint/pprint", + "namespace":"clojure.contrib.pprint", + "arglists":[["object"], ["object", "writer"]], + "doc": + "Pretty print object to the optional output writer. If the writer is not provided, \nprint the object to the currently bound value of *out*.", + "name":"pprint"}, + {"source-url": + "http://github.com/richhickey/clojure-contrib/blob/74c5bf10a5e92c2f2ee83d09eb15938914f95fbe/src/clojure/contrib/pprint/pprint_base.clj#L315", + "wiki-url": + "http://richhickey.github.com/clojure-contrib//pprint-api.html#clojure.contrib.pprint/pprint-indent", + "namespace":"clojure.contrib.pprint", + "arglists":[["relative-to", "n"]], + "doc": + "Create an indent at this point in the pretty printing stream. This defines how \nfollowing lines are indented. relative-to can be either :block or :current depending \nwhether the indent should be computed relative to the start of the logical block or\nthe current column position. n is an offset. \n\nOutput is sent to *out* which must be a pretty printing writer.", + "name":"pprint-indent"}, + {"source-url": + "http://github.com/richhickey/clojure-contrib/blob/74c5bf10a5e92c2f2ee83d09eb15938914f95fbe/src/clojure/contrib/pprint/pprint_base.clj#L286", + "wiki-url": + "http://richhickey.github.com/clojure-contrib//pprint-api.html#clojure.contrib.pprint/pprint-logical-block", + "namespace":"clojure.contrib.pprint", + "arglists":[["options*", "body"]], + "doc": + "Execute the body as a pretty printing logical block with output to *out* which \nmust be a pretty printing writer. When used from pprint or cl-format, this can be \nassumed. \n\nBefore the body, the caller can optionally specify options: :prefix, :per-line-prefix, \nand :suffix.", + "name":"pprint-logical-block"}, + {"source-url": + "http://github.com/richhickey/clojure-contrib/blob/74c5bf10a5e92c2f2ee83d09eb15938914f95fbe/src/clojure/contrib/pprint/pprint_base.clj#L306", + "wiki-url": + "http://richhickey.github.com/clojure-contrib//pprint-api.html#clojure.contrib.pprint/pprint-newline", + "namespace":"clojure.contrib.pprint", + "arglists":[["kind"]], + "doc": + "Print a conditional newline to a pretty printing stream. kind specifies if the \nnewline is :linear, :miser, :fill, or :mandatory. \n\nOutput is sent to *out* which must be a pretty printing writer.", + "name":"pprint-newline"}, + {"source-url": + "http://github.com/richhickey/clojure-contrib/blob/74c5bf10a5e92c2f2ee83d09eb15938914f95fbe/src/clojure/contrib/pprint/pprint_base.clj#L327", + "wiki-url": + "http://richhickey.github.com/clojure-contrib//pprint-api.html#clojure.contrib.pprint/pprint-tab", + "namespace":"clojure.contrib.pprint", + "arglists":[["kind", "colnum", "colinc"]], + "doc": + "Tab at this point in the pretty printing stream. kind specifies whether the tab\nis :line, :section, :line-relative, or :section-relative. \n\nColnum and colinc specify the target column and the increment to move the target\nforward if the output is already past the original target.\n\nOutput is sent to *out* which must be a pretty printing writer.\n\nTHIS FUNCTION IS NOT YET IMPLEMENTED.", + "name":"pprint-tab"}, + {"source-url": + "http://github.com/richhickey/clojure-contrib/blob/74c5bf10a5e92c2f2ee83d09eb15938914f95fbe/src/clojure/contrib/pprint/pprint_base.clj#L246", + "wiki-url": + "http://richhickey.github.com/clojure-contrib//pprint-api.html#clojure.contrib.pprint/set-pprint-dispatch", + "namespace":"clojure.contrib.pprint", + "arglists":[["function"]], + "doc": + "Set the pretty print dispatch function to a function matching (fn [obj] ...)\nwhere obj is the object to pretty print. That function will be called with *out* set\nto a pretty printing writer to which it should do its printing.\n\nFor example functions, see *simple-dispatch* and *code-dispatch* in \nclojure.contrib.pprint.dispatch.clj.", + "name":"set-pprint-dispatch"}, + {"source-url": + "http://github.com/richhickey/clojure-contrib/blob/eb73c54687a9ed63dc939bbe886170f4a47455ed/src/clojure/contrib/pprint/dispatch.clj#L19", + "wiki-url": + "http://richhickey.github.com/clojure-contrib//pprint-api.html#clojure.contrib.pprint/use-method", + "namespace":"clojure.contrib.pprint", + "arglists":[["multifn", "dispatch-val", "func"]], + "doc": + "Installs a function as a new method of multimethod associated with dispatch-value. ", + "name":"use-method"}, + {"source-url": + "http://github.com/richhickey/clojure-contrib/blob/74c5bf10a5e92c2f2ee83d09eb15938914f95fbe/src/clojure/contrib/pprint/pprint_base.clj#L259", + "wiki-url": + "http://richhickey.github.com/clojure-contrib//pprint-api.html#clojure.contrib.pprint/with-pprint-dispatch", + "namespace":"clojure.contrib.pprint", + "arglists":[["function", "&", "body"]], + "doc": + "Execute body with the pretty print dispatch function bound to function.", + "name":"with-pprint-dispatch"}, + {"source-url": + "http://github.com/richhickey/clojure-contrib/blob/74c5bf10a5e92c2f2ee83d09eb15938914f95fbe/src/clojure/contrib/pprint/pprint_base.clj#L186", + "wiki-url": + "http://richhickey.github.com/clojure-contrib//pprint-api.html#clojure.contrib.pprint/write", + "namespace":"clojure.contrib.pprint", + "arglists":[["object", "&", "kw-args"]], + "doc": + "Write an object subject to the current bindings of the printer control variables.\nUse the kw-args argument to override individual variables for this call (and any \nrecursive calls). Returns the string result if :stream is nil or nil otherwise.\n\nThe following keyword arguments can be passed with values:\n Keyword Meaning Default value\n :stream Writer for output or nil true (indicates *out*)\n :base Base to use for writing rationals Current value of *print-base*\n :circle* If true, mark circular structures Current value of *print-circle*\n :length Maximum elements to show in sublists Current value of *print-length*\n :level Maximum depth Current value of *print-level*\n :lines* Maximum lines of output Current value of *print-lines*\n :miser-width Width to enter miser mode Current value of *print-miser-width*\n :dispatch The pretty print dispatch function Current value of *print-pprint-dispatch*\n :pretty If true, do pretty printing Current value of *print-pretty*\n :radix If true, prepend a radix specifier Current value of *print-radix*\n :readably* If true, print readably Current value of *print-readably*\n :right-margin The column for the right margin Current value of *print-right-margin*\n :suppress-namespaces If true, no namespaces in symbols Current value of *print-suppress-namespaces*\n\n * = not yet supported", + "name":"write"}, + {"source-url": + "http://github.com/richhickey/clojure-contrib/blob/74c5bf10a5e92c2f2ee83d09eb15938914f95fbe/src/clojure/contrib/pprint/pprint_base.clj#L161", + "wiki-url": + "http://richhickey.github.com/clojure-contrib//pprint-api.html#clojure.contrib.pprint/write-out", + "namespace":"clojure.contrib.pprint", + "arglists":[["object"]], + "doc": + "Write an object to *out* subject to the current bindings of the printer control \nvariables. Use the kw-args argument to override individual variables for this call (and \nany recursive calls).\n\n*out* must be a PrettyWriter if pretty printing is enabled. This is the responsibility\nof the caller.\n\nThis method is primarily intended for use by pretty print dispatch functions that \nalready know that the pretty printer will have set up their environment appropriately.\nNormal library clients should use the standard \"write\" interface. ", + "name":"write-out"}, + {"source-url": + "http://github.com/richhickey/clojure-contrib/blob/3f893e28ecc0fc2335355aea2cc9324ed5781c81/src/clojure/contrib/probabilities/finite_distributions.clj#L146", + "wiki-url": + "http://richhickey.github.com/clojure-contrib//probabilities.finite-distributions-api.html#clojure.contrib.probabilities.finite-distributions/certainly", + "namespace":"clojure.contrib.probabilities.finite-distributions", + "arglists":[["v"]], + "doc": + "Returns a distribution in which the single value v has probability 1.", + "name":"certainly"}, + {"source-url": + "http://github.com/richhickey/clojure-contrib/blob/3f893e28ecc0fc2335355aea2cc9324ed5781c81/src/clojure/contrib/probabilities/finite_distributions.clj#L92", + "wiki-url": + "http://richhickey.github.com/clojure-contrib//probabilities.finite-distributions-api.html#clojure.contrib.probabilities.finite-distributions/choose", + "namespace":"clojure.contrib.probabilities.finite-distributions", + "arglists":[["&", "choices"]], + "doc": + "Construct a distribution from an explicit list of probabilities\nand values. They are given in the form of a vector of probability-value\npairs. In the last pair, the probability can be given by the keyword\n:else, which stands for 1 minus the total of the other probabilities.", + "name":"choose"}, + {"source-url": + "http://github.com/richhickey/clojure-contrib/blob/3f893e28ecc0fc2335355aea2cc9324ed5781c81/src/clojure/contrib/probabilities/finite_distributions.clj#L46", + "wiki-url": + "http://richhickey.github.com/clojure-contrib//probabilities.finite-distributions-api.html#clojure.contrib.probabilities.finite-distributions/cond-dist-m", + "namespace":"clojure.contrib.probabilities.finite-distributions", + "doc": + "Variant of the dist monad that can handle undefined values.", + "name":"cond-dist-m"}, + {"source-url": + "http://github.com/richhickey/clojure-contrib/blob/3f893e28ecc0fc2335355aea2cc9324ed5781c81/src/clojure/contrib/probabilities/finite_distributions.clj#L160", + "wiki-url": + "http://richhickey.github.com/clojure-contrib//probabilities.finite-distributions-api.html#clojure.contrib.probabilities.finite-distributions/cond-prob", + "namespace":"clojure.contrib.probabilities.finite-distributions", + "arglists":[["pred", "dist"]], + "doc": + "Returns the conditional probability for the values in dist that satisfy\nthe predicate pred.", + "name":"cond-prob"}, + {"source-url": + "http://github.com/richhickey/clojure-contrib/blob/3f893e28ecc0fc2335355aea2cc9324ed5781c81/src/clojure/contrib/probabilities/finite_distributions.clj#L28", + "wiki-url": + "http://richhickey.github.com/clojure-contrib//probabilities.finite-distributions-api.html#clojure.contrib.probabilities.finite-distributions/dist-m", + "namespace":"clojure.contrib.probabilities.finite-distributions", + "doc": + "Monad describing computations on fuzzy quantities, represented by a finite\nprobability distribution for the possible values. A distribution is\nrepresented by a map from values to probabilities.", + "name":"dist-m"}, + {"source-url": + "http://github.com/richhickey/clojure-contrib/blob/3f893e28ecc0fc2335355aea2cc9324ed5781c81/src/clojure/contrib/probabilities/finite_distributions.clj#L151", + "wiki-url": + "http://richhickey.github.com/clojure-contrib//probabilities.finite-distributions-api.html#clojure.contrib.probabilities.finite-distributions/join-with", + "namespace":"clojure.contrib.probabilities.finite-distributions", + "arglists":[["f", "dist1", "dist2"]], + "doc": + "Returns the distribution of (f x y) with x from dist1 and y from dist2.", + "name":"join-with"}, + {"source-url": + "http://github.com/richhickey/clojure-contrib/blob/3f893e28ecc0fc2335355aea2cc9324ed5781c81/src/clojure/contrib/probabilities/finite_distributions.clj#L134", + "wiki-url": + "http://richhickey.github.com/clojure-contrib//probabilities.finite-distributions-api.html#clojure.contrib.probabilities.finite-distributions/make-distribution", + "namespace":"clojure.contrib.probabilities.finite-distributions", + "arglists":[["coll", "f"]], + "doc": + "Returns the distribution in which each element x of the collection\nhas a probability proportional to (f x)", + "name":"make-distribution"}, + {"source-url": + "http://github.com/richhickey/clojure-contrib/blob/3f893e28ecc0fc2335355aea2cc9324ed5781c81/src/clojure/contrib/probabilities/finite_distributions.clj#L70", + "wiki-url": + "http://richhickey.github.com/clojure-contrib//probabilities.finite-distributions-api.html#clojure.contrib.probabilities.finite-distributions/normalize", + "namespace":"clojure.contrib.probabilities.finite-distributions", + "arglists":[["weights"]], + "doc": + "Convert a weight map (e.g. a map of counter values) to a distribution\nby multiplying with a normalization factor. If the map has a key\n:total, its value is assumed to be the sum over all the other values and\nit is used for normalization. Otherwise, the sum is calculated\nexplicitly. The :total key is removed from the resulting distribution.", + "name":"normalize"}, + {"source-url": + "http://github.com/richhickey/clojure-contrib/blob/3f893e28ecc0fc2335355aea2cc9324ed5781c81/src/clojure/contrib/probabilities/finite_distributions.clj#L197", + "wiki-url": + "http://richhickey.github.com/clojure-contrib//probabilities.finite-distributions-api.html#clojure.contrib.probabilities.finite-distributions/prob", + "namespace":"clojure.contrib.probabilities.finite-distributions", + "arglists":[["pred", "dist"]], + "doc": + "Return the probability that the predicate pred is satisfied in the\ndistribution dist, i.e. the sum of the probabilities of the values\nthat satisfy pred.", + "name":"prob"}, + {"source-url": + "http://github.com/richhickey/clojure-contrib/blob/3f893e28ecc0fc2335355aea2cc9324ed5781c81/src/clojure/contrib/probabilities/finite_distributions.clj#L84", + "wiki-url": + "http://richhickey.github.com/clojure-contrib//probabilities.finite-distributions-api.html#clojure.contrib.probabilities.finite-distributions/uniform", + "namespace":"clojure.contrib.probabilities.finite-distributions", + "arglists":[["coll"]], + "doc": + "Return a distribution in which each of the elements of coll\nhas the same probability.", + "name":"uniform"}, + {"source-url": + "http://github.com/richhickey/clojure-contrib/blob/3f893e28ecc0fc2335355aea2cc9324ed5781c81/src/clojure/contrib/probabilities/finite_distributions.clj#L140", + "wiki-url": + "http://richhickey.github.com/clojure-contrib//probabilities.finite-distributions-api.html#clojure.contrib.probabilities.finite-distributions/zipf", + "namespace":"clojure.contrib.probabilities.finite-distributions", + "arglists":[["s", "n"]], + "doc": + "Returns the Zipf distribution in which the numbers k=1..n have\nprobabilities proportional to 1/k^s.", + "name":"zipf"}, + {"source-url": + "http://github.com/richhickey/clojure-contrib/blob/09d39aca5a69a83f4326ffb0d4ba8f9fc15c9861/src/clojure/contrib/probabilities/monte_carlo.clj#L87", + "wiki-url": + "http://richhickey.github.com/clojure-contrib//probabilities.monte-carlo-api.html#clojure.contrib.probabilities.monte-carlo/discrete", + "namespace":"clojure.contrib.probabilities.monte-carlo", + "arglists":[["dist"]], + "doc": + "A discrete distribution, defined by a map dist mapping values\nto probabilities. The sum of probabilities must be one.", + "name":"discrete"}, + {"source-url": + "http://github.com/richhickey/clojure-contrib/blob/09d39aca5a69a83f4326ffb0d4ba8f9fc15c9861/src/clojure/contrib/probabilities/monte_carlo.clj#L146", + "wiki-url": + "http://richhickey.github.com/clojure-contrib//probabilities.monte-carlo-api.html#clojure.contrib.probabilities.monte-carlo/exponential", + "namespace":"clojure.contrib.probabilities.monte-carlo", + "arglists":[["lambda"]], + "doc": + "Transform a sequence of uniform random numbers in the interval [0, 1)\ninto a sequence of exponential random numbers with parameter lambda.", + "name":"exponential"}, + {"source-url": + "http://github.com/richhickey/clojure-contrib/blob/09d39aca5a69a83f4326ffb0d4ba8f9fc15c9861/src/clojure/contrib/probabilities/monte_carlo.clj#L137", + "wiki-url": + "http://richhickey.github.com/clojure-contrib//probabilities.monte-carlo-api.html#clojure.contrib.probabilities.monte-carlo/lognormal", + "namespace":"clojure.contrib.probabilities.monte-carlo", + "arglists":[["mu", "sigma"]], + "doc": + "Transform a sequence of uniform random numbesr in the interval [0, 1)\ninto a sequence of lognormal random numbers with mean mu and standard\ndeviation sigma.", + "name":"lognormal"}, + {"source-url": + "http://github.com/richhickey/clojure-contrib/blob/09d39aca5a69a83f4326ffb0d4ba8f9fc15c9861/src/clojure/contrib/probabilities/monte_carlo.clj#L228", + "wiki-url": + "http://richhickey.github.com/clojure-contrib//probabilities.monte-carlo-api.html#clojure.contrib.probabilities.monte-carlo/n-sphere", + "namespace":"clojure.contrib.probabilities.monte-carlo", + "arglists":[["n", "r"]], + "doc": + "Return a uniform distribution of n-dimensional vectors inside an\nn-sphere of radius r.", + "name":"n-sphere"}, + {"source-url": + "http://github.com/richhickey/clojure-contrib/blob/09d39aca5a69a83f4326ffb0d4ba8f9fc15c9861/src/clojure/contrib/probabilities/monte_carlo.clj#L116", + "wiki-url": + "http://richhickey.github.com/clojure-contrib//probabilities.monte-carlo-api.html#clojure.contrib.probabilities.monte-carlo/normal", + "namespace":"clojure.contrib.probabilities.monte-carlo", + "arglists":[["mu", "sigma"]], + "doc": + "Transform a sequence urs of uniform random number in the interval [0, 1)\ninto a sequence of normal random numbers with mean mu and standard\ndeviation sigma.", + "name":"normal"}, + {"source-url": + "http://github.com/richhickey/clojure-contrib/blob/09d39aca5a69a83f4326ffb0d4ba8f9fc15c9861/src/clojure/contrib/probabilities/monte_carlo.clj#L163", + "wiki-url": + "http://richhickey.github.com/clojure-contrib//probabilities.monte-carlo-api.html#clojure.contrib.probabilities.monte-carlo/normal-box-muller", + "namespace":"clojure.contrib.probabilities.monte-carlo", + "arglists":[["mu", "sigma"]], + "doc": + "Transform a sequence of uniform random numbers in the interval [0, 1)\ninto a sequence of normal random numbers with mean mu and standard\ndeviation sigma.", + "name":"normal-box-muller"}, + {"source-url": + "http://github.com/richhickey/clojure-contrib/blob/09d39aca5a69a83f4326ffb0d4ba8f9fc15c9861/src/clojure/contrib/probabilities/monte_carlo.clj#L62", + "wiki-url": + "http://richhickey.github.com/clojure-contrib//probabilities.monte-carlo-api.html#clojure.contrib.probabilities.monte-carlo/random-stream", + "namespace":"clojure.contrib.probabilities.monte-carlo", + "arglists":[["distribution", "random-stream-state"]], + "doc": + "Define a random stream by a distribution and the state of a\nrandom number stream with uniform distribution in [0, 1).", + "name":"random-stream"}, + {"source-url": + "http://github.com/richhickey/clojure-contrib/blob/09d39aca5a69a83f4326ffb0d4ba8f9fc15c9861/src/clojure/contrib/probabilities/monte_carlo.clj#L74", + "wiki-url": + "http://richhickey.github.com/clojure-contrib//probabilities.monte-carlo-api.html#clojure.contrib.probabilities.monte-carlo/reject", + "namespace":"clojure.contrib.probabilities.monte-carlo", + "arglists":[["p", "dist"]], + "doc": + "Return the distribution that results from rejecting the values from\ndist that do not satisfy predicate p.", + "name":"reject"}, + {"source-url": + "http://github.com/richhickey/clojure-contrib/blob/09d39aca5a69a83f4326ffb0d4ba8f9fc15c9861/src/clojure/contrib/probabilities/monte_carlo.clj#L182", + "wiki-url": + "http://richhickey.github.com/clojure-contrib//probabilities.monte-carlo-api.html#clojure.contrib.probabilities.monte-carlo/sample", + "namespace":"clojure.contrib.probabilities.monte-carlo", + "arglists":[["n", "dist"]], + "doc": + "Return the distribution of samples of length n from the\ndistribution dist", + "name":"sample"}, + {"source-url": + "http://github.com/richhickey/clojure-contrib/blob/09d39aca5a69a83f4326ffb0d4ba8f9fc15c9861/src/clojure/contrib/probabilities/monte_carlo.clj#L182", + "wiki-url": + "http://richhickey.github.com/clojure-contrib//probabilities.monte-carlo-api.html#clojure.contrib.probabilities.monte-carlo/sample-mean", + "namespace":"clojure.contrib.probabilities.monte-carlo", + "arglists":[["n", "dist"]], + "doc": + "Return the distribution of the mean over n samples from the\ndistribution dist", + "name":"sample-mean"}, + {"source-url": + "http://github.com/richhickey/clojure-contrib/blob/09d39aca5a69a83f4326ffb0d4ba8f9fc15c9861/src/clojure/contrib/probabilities/monte_carlo.clj#L182", + "wiki-url": + "http://richhickey.github.com/clojure-contrib//probabilities.monte-carlo-api.html#clojure.contrib.probabilities.monte-carlo/sample-mean-variance", + "namespace":"clojure.contrib.probabilities.monte-carlo", + "arglists":[["n", "dist"]], + "doc": + "Return the distribution of the mean-and-variance (a vector containing\nthe mean and the variance) over n samples from the distribution dist", + "name":"sample-mean-variance"}, + {"source-url": + "http://github.com/richhickey/clojure-contrib/blob/09d39aca5a69a83f4326ffb0d4ba8f9fc15c9861/src/clojure/contrib/probabilities/monte_carlo.clj#L182", + "wiki-url": + "http://richhickey.github.com/clojure-contrib//probabilities.monte-carlo-api.html#clojure.contrib.probabilities.monte-carlo/sample-reduce", + "namespace":"clojure.contrib.probabilities.monte-carlo", + "arglists":[["f", "n", "dist"], ["f", "val", "n", "dist"]], + "doc": + "Returns the distribution of the reduction of f over n samples from the\ndistribution dist.", + "name":"sample-reduce"}, + {"source-url": + "http://github.com/richhickey/clojure-contrib/blob/09d39aca5a69a83f4326ffb0d4ba8f9fc15c9861/src/clojure/contrib/probabilities/monte_carlo.clj#L182", + "wiki-url": + "http://richhickey.github.com/clojure-contrib//probabilities.monte-carlo-api.html#clojure.contrib.probabilities.monte-carlo/sample-sum", + "namespace":"clojure.contrib.probabilities.monte-carlo", + "arglists":[["n", "dist"]], + "doc": + "Return the distribution of the sum over n samples from the\ndistribution dist.", + "name":"sample-sum"}, + {"source-url": + "http://github.com/richhickey/clojure-contrib/blob/09d39aca5a69a83f4326ffb0d4ba8f9fc15c9861/src/clojure/contrib/probabilities/random_numbers.clj#L35", + "wiki-url": + "http://richhickey.github.com/clojure-contrib//probabilities.random-numbers-api.html#clojure.contrib.probabilities.random-numbers/lcg", + "namespace":"clojure.contrib.probabilities.random-numbers", + "arglists":[["modulus", "multiplier", "increment", "seed"]], + "doc":"Create a linear congruential generator", + "name":"lcg"}, + {"source-url": + "http://github.com/richhickey/clojure-contrib/blob/09d39aca5a69a83f4326ffb0d4ba8f9fc15c9861/src/clojure/contrib/probabilities/random_numbers.clj#L56", + "wiki-url": + "http://richhickey.github.com/clojure-contrib//probabilities.random-numbers-api.html#clojure.contrib.probabilities.random-numbers/rand-stream", + "namespace":"clojure.contrib.probabilities.random-numbers", + "doc": + "A random number stream based on clojure.core/rand. Note that this\ngenerator uses an internal mutable state. The state is thus not stored\nin the stream object and cannot be restored.", + "name":"rand-stream"}, + {"source-url": + "http://github.com/richhickey/clojure-contrib/blob/4c1bd15f0bc1764b68ca9ceb16201b7fcadca56b/src/clojure/contrib/profile.clj#L42", + "wiki-url": + "http://richhickey.github.com/clojure-contrib//profile-api.html#clojure.contrib.profile/*enable-profiling*", + "namespace":"clojure.contrib.profile", + "doc": + "Set this to false before loading/compiling to omit\nprofiling code.", + "name":"*enable-profiling*"}, + {"source-url": + "http://github.com/richhickey/clojure-contrib/blob/4c1bd15f0bc1764b68ca9ceb16201b7fcadca56b/src/clojure/contrib/profile.clj#L95", + "wiki-url": + "http://richhickey.github.com/clojure-contrib//profile-api.html#clojure.contrib.profile/print-summary", + "namespace":"clojure.contrib.profile", + "arglists":[["profile-summary"]], + "doc":"Prints a table of the results returned by summarize.", + "name":"print-summary"}, + {"source-url": + "http://github.com/richhickey/clojure-contrib/blob/4c1bd15f0bc1764b68ca9ceb16201b7fcadca56b/src/clojure/contrib/profile.clj#L45", + "wiki-url": + "http://richhickey.github.com/clojure-contrib//profile-api.html#clojure.contrib.profile/prof", + "namespace":"clojure.contrib.profile", + "arglists":[["name", "&", "body"]], + "doc": + "If *enable-profiling* is true, wraps body in profiling code.\nReturns the result of body. Profile timings will be stored in\n*profile-data* using name, which must be a keyword, as the key.\nTimings are measured with System/nanoTime.", + "name":"prof"}, + {"source-url": + "http://github.com/richhickey/clojure-contrib/blob/4c1bd15f0bc1764b68ca9ceb16201b7fcadca56b/src/clojure/contrib/profile.clj#L106", + "wiki-url": + "http://richhickey.github.com/clojure-contrib//profile-api.html#clojure.contrib.profile/profile", + "namespace":"clojure.contrib.profile", + "arglists":[["&", "body"]], + "doc": + "Runs body with profiling enabled, then prints a summary of\nresults. Returns nil.", + "name":"profile"}, + {"source-url": + "http://github.com/richhickey/clojure-contrib/blob/4c1bd15f0bc1764b68ca9ceb16201b7fcadca56b/src/clojure/contrib/profile.clj#L73", + "wiki-url": + "http://richhickey.github.com/clojure-contrib//profile-api.html#clojure.contrib.profile/summarize", + "namespace":"clojure.contrib.profile", + "arglists":[["profile-data"]], + "doc": + "Takes the raw data returned by with-profile-data and returns a map\nfrom names to summary statistics. Each value in the map will look\nlike:\n\n {:mean ..., :min ..., :max ..., :count ..., :sum ...}\n\n:mean, :min, and :max are how long the profiled section took to run,\nin nanoseconds. :count is the total number of times the profiled\nsection was executed. :sum is the total amount of time spent in the\nprofiled section, in nanoseconds.", + "name":"summarize"}, + {"source-url": + "http://github.com/richhickey/clojure-contrib/blob/4c1bd15f0bc1764b68ca9ceb16201b7fcadca56b/src/clojure/contrib/profile.clj#L63", + "wiki-url": + "http://richhickey.github.com/clojure-contrib//profile-api.html#clojure.contrib.profile/with-profile-data", + "namespace":"clojure.contrib.profile", + "arglists":[["&", "body"]], + "doc": + "Executes body with *profile-data* bound to an atom of a new map.\nReturns the raw profile data as a map. Keys in the map are profile\nnames (keywords), and values are lists of elapsed time, in\nnanoseconds.", + "name":"with-profile-data"}, + {"source-url": + "http://github.com/richhickey/clojure-contrib/blob/86e90011e274910c618a5592d21ba3ce290a6855/src/clojure/contrib/prxml.clj#L32", + "wiki-url": + "http://richhickey.github.com/clojure-contrib//prxml-api.html#clojure.contrib.prxml/*html-compatible*", + "namespace":"clojure.contrib.prxml", + "doc": + "If true, empty tags will have a space before the closing />", + "name":"*html-compatible*"}, + {"source-url": + "http://github.com/richhickey/clojure-contrib/blob/86e90011e274910c618a5592d21ba3ce290a6855/src/clojure/contrib/prxml.clj#L36", + "wiki-url": + "http://richhickey.github.com/clojure-contrib//prxml-api.html#clojure.contrib.prxml/*prxml-indent*", + "namespace":"clojure.contrib.prxml", + "doc": + "The number of spaces to indent sub-tags. nil for no indent\nand no extra line-breaks.", + "name":"*prxml-indent*"}, + {"source-url": + "http://github.com/richhickey/clojure-contrib/blob/86e90011e274910c618a5592d21ba3ce290a6855/src/clojure/contrib/prxml.clj#L142", + "wiki-url": + "http://richhickey.github.com/clojure-contrib//prxml-api.html#clojure.contrib.prxml/prxml", + "namespace":"clojure.contrib.prxml", + "arglists":[["&", "args"]], + "doc": + "Print XML to *out*. Vectors become XML tags: the first item is the\ntag name; optional second item is a map of attributes.\n\nSequences are processed recursively, so you can use map and other\nsequence functions inside prxml.\n\n (prxml [:p {:class \"greet\"} [:i \"Ladies & gentlemen\"]])\n ; =>

Ladies & gentlemen

\n\nPSEUDO-TAGS: some keywords have special meaning:\n\n :raw! do not XML-escape contents\n :comment! create an XML comment\n :decl! create an XML declaration, with attributes\n :cdata! create a CDATA section\n :doctype! create a DOCTYPE!\n\n (prxml [:p [:raw! \"here & gone\"]])\n ; =>

here & gone

\n\n (prxml [:decl! {:version \"1.1\"}])\n ; => ", + "name":"prxml"}, + {"source-url": + "http://github.com/richhickey/clojure-contrib/blob/3ec66e7b4e47c95d4cc27b0c405447117b2d5503/src/clojure/contrib/repl_ln.clj#L208", + "wiki-url": + "http://richhickey.github.com/clojure-contrib//repl-ln-api.html#clojure.contrib.repl-ln/print-repl-info", + "namespace":"clojure.contrib.repl-ln", + "arglists":[[]], + "doc":"Prints info about the current repl", + "name":"print-repl-info"}, + {"source-url": + "http://github.com/richhickey/clojure-contrib/blob/3ec66e7b4e47c95d4cc27b0c405447117b2d5503/src/clojure/contrib/repl_ln.clj#L217", + "wiki-url": + "http://richhickey.github.com/clojure-contrib//repl-ln-api.html#clojure.contrib.repl-ln/repl", + "namespace":"clojure.contrib.repl-ln", + "arglists":[["&", "options"]], + "doc": + "A repl that supports line numbers. For definitions and evaluations made\nat the repl, the repl-name and line number will be reported as the\norigin. Use set-repl-name and set-repl-prompt to customize the repl name\nand prompt. This repl supports all of the keyword arguments documented\nfor clojure.main/repl with the following change and additions:\n\n - :prompt has a new default\n default: #(clojure.core/print (repl-prompt))\n\n - :name-fmt, Name format string\n default: the name-fmt of the parent repl, or \"repl-%S\"\n\n - :prompt-fmt, Prompt format string\n default: the prompt-fmt of the parent repl, or \"%S:%L %N=> \"", + "name":"repl"}, + {"source-url": + "http://github.com/richhickey/clojure-contrib/blob/3ec66e7b4e47c95d4cc27b0c405447117b2d5503/src/clojure/contrib/repl_ln.clj#L202", + "wiki-url": + "http://richhickey.github.com/clojure-contrib//repl-ln-api.html#clojure.contrib.repl-ln/repl-info", + "namespace":"clojure.contrib.repl-ln", + "arglists":[[]], + "doc":"Returns a map of info about the current repl", + "name":"repl-info"}, + {"source-url": + "http://github.com/richhickey/clojure-contrib/blob/3ec66e7b4e47c95d4cc27b0c405447117b2d5503/src/clojure/contrib/repl_ln.clj#L148", + "wiki-url": + "http://richhickey.github.com/clojure-contrib//repl-ln-api.html#clojure.contrib.repl-ln/repl-prompt", + "namespace":"clojure.contrib.repl-ln", + "arglists":[[]], + "doc": + "Returns the current repl prompt based on this repl's prompt-fmt", + "name":"repl-prompt"}, + {"source-url": + "http://github.com/richhickey/clojure-contrib/blob/3ec66e7b4e47c95d4cc27b0c405447117b2d5503/src/clojure/contrib/repl_ln.clj#L157", + "wiki-url": + "http://richhickey.github.com/clojure-contrib//repl-ln-api.html#clojure.contrib.repl-ln/set-repl-name", + "namespace":"clojure.contrib.repl-ln", + "arglists":[[], ["name-fmt"]], + "doc": + "Sets the repl name format to the string name-fmt. Include the following\ncodes in the name to make the corresponding dynamic values part of it:\n\n %S - repl serial number\n %T - thread id\n %D - nesting depth in this thread\n\nWith no arguments, resets the repl name to its default: \"repl-%S\"", + "name":"set-repl-name"}, + {"source-url": + "http://github.com/richhickey/clojure-contrib/blob/3ec66e7b4e47c95d4cc27b0c405447117b2d5503/src/clojure/contrib/repl_ln.clj#L180", + "wiki-url": + "http://richhickey.github.com/clojure-contrib//repl-ln-api.html#clojure.contrib.repl-ln/set-repl-prompt", + "namespace":"clojure.contrib.repl-ln", + "arglists":[[], ["prompt-fmt"]], + "doc": + "Sets the repl prompt. Include the following codes in the prompt to make\nthe corresponding dynamic values part of it:\n\n %S - repl serial number\n %T - thread id\n %D - nesting depth in this thread\n %L - input line number\n %N - namespace name\n\nWith no arguments, resets the repl pompt to its default: \"%S:%L %N=> \"", + "name":"set-repl-prompt"}, + {"source-url": + "http://github.com/richhickey/clojure-contrib/blob/3ec66e7b4e47c95d4cc27b0c405447117b2d5503/src/clojure/contrib/repl_ln.clj#L119", + "wiki-url": + "http://richhickey.github.com/clojure-contrib//repl-ln-api.html#clojure.contrib.repl-ln/stream-repl", + "namespace":"clojure.contrib.repl-ln", + "arglists":[["&", "options"]], + "doc": + "Repl entry point that provides convenient overriding of input, output,\nand err streams via sequential keyword-value pairs. Default values\nfor :in, :out, and :err are streams associated with System/in,\nSystem/out, and System/err using UTF-8 encoding. Also supports all the\noptions provided by clojure.contrib.repl-ln/repl.", + "name":"stream-repl"}, + {"source-url": + "http://github.com/richhickey/clojure-contrib/blob/1f66365c555956a50f235e858b93365ece6cd4b6/src/clojure/contrib/repl_utils/javadoc.clj#L18", + "wiki-url": + "http://richhickey.github.com/clojure-contrib//repl-utils-api.html#clojure.contrib.repl-utils/*local-javadocs*", + "namespace":"clojure.contrib.repl-utils", + "doc": + "Ref to a list of local paths for Javadoc-generated HTML\nfiles.", + "name":"*local-javadocs*"}, + {"source-url": + "http://github.com/richhickey/clojure-contrib/blob/1f66365c555956a50f235e858b93365ece6cd4b6/src/clojure/contrib/repl_utils/javadoc.clj#L28", + "wiki-url": + "http://richhickey.github.com/clojure-contrib//repl-utils-api.html#clojure.contrib.repl-utils/*remote-javadocs*", + "namespace":"clojure.contrib.repl-utils", + "doc": + "Ref to a map from package name prefixes to URLs for remote\nJavadocs.", + "name":"*remote-javadocs*"}, + {"source-url": + "http://github.com/richhickey/clojure-contrib/blob/e5b7819ef66410a87b8072417dc2f09ac4ddb03f/src/clojure/contrib/repl_utils.clj#L150", + "wiki-url": + "http://richhickey.github.com/clojure-contrib//repl-utils-api.html#clojure.contrib.repl-utils/add-break-thread!", + "namespace":"clojure.contrib.repl-utils", + "arglists":[[], ["t"]], + "doc": + "Add the given thread to break-threads so that it will be stopped\nany time the user presses Ctrl-C. Calls start-handling-break for\nyou. Adds the current thread if none is given.", + "name":"add-break-thread!"}, + {"source-url": + "http://github.com/richhickey/clojure-contrib/blob/1f66365c555956a50f235e858b93365ece6cd4b6/src/clojure/contrib/repl_utils/javadoc.clj#L43", + "wiki-url": + "http://richhickey.github.com/clojure-contrib//repl-utils-api.html#clojure.contrib.repl-utils/add-local-javadoc", + "namespace":"clojure.contrib.repl-utils", + "arglists":[["path"]], + "doc":"Adds to the list of local Javadoc paths.", + "name":"add-local-javadoc"}, + {"source-url": + "http://github.com/richhickey/clojure-contrib/blob/1f66365c555956a50f235e858b93365ece6cd4b6/src/clojure/contrib/repl_utils/javadoc.clj#L48", + "wiki-url": + "http://richhickey.github.com/clojure-contrib//repl-utils-api.html#clojure.contrib.repl-utils/add-remote-javadoc", + "namespace":"clojure.contrib.repl-utils", + "arglists":[["package-prefix", "url"]], + "doc": + "Adds to the list of remote Javadoc URLs. package-prefix is the\nbeginning of the package name that has docs at this URL.", + "name":"add-remote-javadoc"}, + {"source-url": + "http://github.com/richhickey/clojure-contrib/blob/e5b7819ef66410a87b8072417dc2f09ac4ddb03f/src/clojure/contrib/repl_utils.clj#L131", + "wiki-url": + "http://richhickey.github.com/clojure-contrib//repl-utils-api.html#clojure.contrib.repl-utils/break-threads", + "namespace":"clojure.contrib.repl-utils", + "doc": + "Threads to stop when Ctrl-C is pressed. See 'add-break-thread!'", + "name":"break-threads"}, + {"source-url": + "http://github.com/richhickey/clojure-contrib/blob/e5b7819ef66410a87b8072417dc2f09ac4ddb03f/src/clojure/contrib/repl_utils.clj#L163", + "wiki-url": + "http://richhickey.github.com/clojure-contrib//repl-utils-api.html#clojure.contrib.repl-utils/expression-info", + "namespace":"clojure.contrib.repl-utils", + "arglists":[["expr"]], + "doc": + "Uses the Clojure compiler to analyze the given s-expr. Returns\na map with keys :class and :primitive? indicating what the compiler\nconcluded about the return value of the expression. Returns nil if\nnot type info can be determined at compile-time.\n\nExample: (expression-info '(+ (int 5) (float 10)))\nReturns: {:class float, :primitive? true}", + "name":"expression-info"}, + {"source-url": + "http://github.com/richhickey/clojure-contrib/blob/1f66365c555956a50f235e858b93365ece6cd4b6/src/clojure/contrib/repl_utils/javadoc.clj#L54", + "wiki-url": + "http://richhickey.github.com/clojure-contrib//repl-utils-api.html#clojure.contrib.repl-utils/find-javadoc-url", + "namespace":"clojure.contrib.repl-utils", + "arglists":[["classname"]], + "doc": + "Searches for a URL for the given class name. Tries\n*local-javadocs* first, then *remote-javadocs*. Returns a string.", + "name":"find-javadoc-url"}, + {"source-url": + "http://github.com/richhickey/clojure-contrib/blob/e5b7819ef66410a87b8072417dc2f09ac4ddb03f/src/clojure/contrib/repl_utils.clj#L97", + "wiki-url": + "http://richhickey.github.com/clojure-contrib//repl-utils-api.html#clojure.contrib.repl-utils/get-source", + "namespace":"clojure.contrib.repl-utils", + "arglists":[["x"]], + "doc": + "Returns a string of the source code for the given symbol, if it can\nfind it. This requires that the symbol resolve to a Var defined in\na namespace for which the .clj is in the classpath. Returns nil if\nit can't find the source. For most REPL usage, 'source' is more\nconvenient.\n\nExample: (get-source 'filter)", + "name":"get-source"}, + {"source-url": + "http://github.com/richhickey/clojure-contrib/blob/1f66365c555956a50f235e858b93365ece6cd4b6/src/clojure/contrib/repl_utils/javadoc.clj#L74", + "wiki-url": + "http://richhickey.github.com/clojure-contrib//repl-utils-api.html#clojure.contrib.repl-utils/javadoc", + "namespace":"clojure.contrib.repl-utils", + "arglists":[["class-or-object"]], + "doc": + "Opens a browser window displaying the javadoc for the argument.\nTries *local-javadocs* first, then *remote-javadocs*.", + "name":"javadoc"}, + {"source-url": + "http://github.com/richhickey/clojure-contrib/blob/e5b7819ef66410a87b8072417dc2f09ac4ddb03f/src/clojure/contrib/repl_utils.clj#L188", + "wiki-url": + "http://richhickey.github.com/clojure-contrib//repl-utils-api.html#clojure.contrib.repl-utils/run", + "namespace":"clojure.contrib.repl-utils", + "arglists":[["ns-name", "&", "args"]], + "doc": + "Loads the specified namespace and invokes its \"main\" function with\noptional args. ns-name is not evaluated.", + "name":"run"}, + {"source-url": + "http://github.com/richhickey/clojure-contrib/blob/e5b7819ef66410a87b8072417dc2f09ac4ddb03f/src/clojure/contrib/repl_utils.clj#L181", + "wiki-url": + "http://richhickey.github.com/clojure-contrib//repl-utils-api.html#clojure.contrib.repl-utils/run*", + "namespace":"clojure.contrib.repl-utils", + "arglists":[["ns-sym", "&", "args"]], + "doc": + "Loads the specified namespace and invokes its \"main\" function with\noptional args.", + "name":"run*"}, + {"source-url": + "http://github.com/richhickey/clojure-contrib/blob/e5b7819ef66410a87b8072417dc2f09ac4ddb03f/src/clojure/contrib/repl_utils.clj#L59", + "wiki-url": + "http://richhickey.github.com/clojure-contrib//repl-utils-api.html#clojure.contrib.repl-utils/show", + "namespace":"clojure.contrib.repl-utils", + "arglists":[["x"], ["x", "selector"]], + "doc": + "With one arg prints all static and instance members of x or (class x).\nEach member is listed with a number which can be given as 'selector'\nto return the member object -- the REPL will print more details for\nthat member.\n\nThe selector also may be a string or regex, in which case only\nmembers whose names match 'selector' as a case-insensitive regex\nwill be printed.\n\nFinally, the selector also may be a predicate, in which case only\nmembers for which the predicate returns true will be printed. The\npredicate will be passed a single argument, a map that includes the\n:text that will be printed and the :member object itself, as well as\nall the properies of the member object as translated by 'bean'.\n\nExamples: (show Integer) (show []) (show String 23) (show String \"case\")", + "name":"show"}, + {"source-url": + "http://github.com/richhickey/clojure-contrib/blob/e5b7819ef66410a87b8072417dc2f09ac4ddb03f/src/clojure/contrib/repl_utils.clj#L119", + "wiki-url": + "http://richhickey.github.com/clojure-contrib//repl-utils-api.html#clojure.contrib.repl-utils/source", + "namespace":"clojure.contrib.repl-utils", + "arglists":[["n"]], + "doc": + "Prints the source code for the given symbol, if it can find it.\nThis requires that the symbol resolve to a Var defined in a\nnamespace for which the .clj is in the classpath.\n\nExample: (source filter)", + "name":"source"}, + {"source-url": + "http://github.com/richhickey/clojure-contrib/blob/e5b7819ef66410a87b8072417dc2f09ac4ddb03f/src/clojure/contrib/repl_utils.clj#L135", + "wiki-url": + "http://richhickey.github.com/clojure-contrib//repl-utils-api.html#clojure.contrib.repl-utils/start-handling-break", + "namespace":"clojure.contrib.repl-utils", + "arglists":[[]], + "doc": + "Register INT signal handler. After calling this, Ctrl-C will cause\nall break-threads to be stopped. See 'add-break-thread!'", + "name":"start-handling-break"}, + {"source-url": + "http://github.com/richhickey/clojure-contrib/blob/1640c0433e35cf9a60e1483424c0a2a8ca56b730/src/clojure/contrib/seq_utils.clj#L179", + "wiki-url": + "http://richhickey.github.com/clojure-contrib//seq-utils-api.html#clojure.contrib.seq-utils/fill-queue", + "namespace":"clojure.contrib.seq-utils", + "arglists":[["filler-func", "&", "optseq"]], + "doc": + "filler-func will be called in another thread with a single arg\n'fill'. filler-func may call fill repeatedly with one arg each\ntime which will be pushed onto a queue, blocking if needed until\nthis is possible. fill-queue will return a lazy seq of the values\nfiller-func has pushed onto the queue, blocking if needed until each\nnext element becomes available. filler-func's return value is ignored.", + "name":"fill-queue"}, + {"source-url": + "http://github.com/richhickey/clojure-contrib/blob/1640c0433e35cf9a60e1483424c0a2a8ca56b730/src/clojure/contrib/seq_utils.clj#L170", + "wiki-url": + "http://richhickey.github.com/clojure-contrib//seq-utils-api.html#clojure.contrib.seq-utils/find-first", + "namespace":"clojure.contrib.seq-utils", + "arglists":[["pred", "coll"]], + "doc": + "Returns the first item of coll for which (pred item) returns logical true.\nConsumes sequences up to the first match, will consume the entire sequence\nand return nil if no match is found.", + "name":"find-first"}, + {"source-url": + "http://github.com/richhickey/clojure-contrib/blob/1640c0433e35cf9a60e1483424c0a2a8ca56b730/src/clojure/contrib/seq_utils.clj#L34", + "wiki-url": + "http://richhickey.github.com/clojure-contrib//seq-utils-api.html#clojure.contrib.seq-utils/flatten", + "namespace":"clojure.contrib.seq-utils", + "arglists":[["x"]], + "doc": + "Takes any nested combination of sequential things (lists, vectors,\netc.) and returns their contents as a single, flat sequence.\n(flatten nil) returns nil.", + "name":"flatten"}, + {"source-url": + "http://github.com/richhickey/clojure-contrib/blob/1640c0433e35cf9a60e1483424c0a2a8ca56b730/src/clojure/contrib/seq_utils.clj#L89", + "wiki-url": + "http://richhickey.github.com/clojure-contrib//seq-utils-api.html#clojure.contrib.seq-utils/frequencies", + "namespace":"clojure.contrib.seq-utils", + "arglists":[["coll"]], + "doc": + "Returns a map from distinct items in coll to the number of times\nthey appear.", + "name":"frequencies"}, + {"source-url": + "http://github.com/richhickey/clojure-contrib/blob/1640c0433e35cf9a60e1483424c0a2a8ca56b730/src/clojure/contrib/seq_utils.clj#L65", + "wiki-url": + "http://richhickey.github.com/clojure-contrib//seq-utils-api.html#clojure.contrib.seq-utils/group-by", + "namespace":"clojure.contrib.seq-utils", + "arglists":[["f", "coll"]], + "doc": + "Returns a sorted map of the elements of coll keyed by the result of\nf on each element. The value at each key will be a vector of the\ncorresponding elements, in the order they appeared in coll.", + "name":"group-by"}, + {"source-url": + "http://github.com/richhickey/clojure-contrib/blob/1640c0433e35cf9a60e1483424c0a2a8ca56b730/src/clojure/contrib/seq_utils.clj#L48", + "wiki-url": + "http://richhickey.github.com/clojure-contrib//seq-utils-api.html#clojure.contrib.seq-utils/includes?", + "namespace":"clojure.contrib.seq-utils", + "arglists":[["coll", "x"]], + "doc": + "Returns true if coll contains something equal (with =) to x,\nin linear time.", + "name":"includes?"}, + {"source-url": + "http://github.com/richhickey/clojure-contrib/blob/1640c0433e35cf9a60e1483424c0a2a8ca56b730/src/clojure/contrib/seq_utils.clj#L55", + "wiki-url": + "http://richhickey.github.com/clojure-contrib//seq-utils-api.html#clojure.contrib.seq-utils/indexed", + "namespace":"clojure.contrib.seq-utils", + "arglists":[["s"]], + "doc": + "Returns a lazy sequence of [index, item] pairs, where items come\nfrom 's' and indexes count up from zero.\n\n(indexed '(a b c d)) => ([0 a] [1 b] [2 c] [3 d])", + "name":"indexed"}, + {"source-url": + "http://github.com/richhickey/clojure-contrib/blob/1640c0433e35cf9a60e1483424c0a2a8ca56b730/src/clojure/contrib/seq_utils.clj#L135", + "wiki-url": + "http://richhickey.github.com/clojure-contrib//seq-utils-api.html#clojure.contrib.seq-utils/partition-all", + "namespace":"clojure.contrib.seq-utils", + "arglists":[["n", "coll"], ["n", "step", "coll"]], + "doc": + "Returns a lazy sequence of lists like clojure.core/partition, but may\ninclude lists with fewer than n items at the end.", + "name":"partition-all"}, + {"source-url": + "http://github.com/richhickey/clojure-contrib/blob/1640c0433e35cf9a60e1483424c0a2a8ca56b730/src/clojure/contrib/seq_utils.clj#L78", + "wiki-url": + "http://richhickey.github.com/clojure-contrib//seq-utils-api.html#clojure.contrib.seq-utils/partition-by", + "namespace":"clojure.contrib.seq-utils", + "arglists":[["f", "coll"]], + "doc": + "Applies f to each value in coll, splitting it each time f returns\na new value. Returns a lazy seq of lazy seqs.", + "name":"partition-by"}, + {"source-url": + "http://github.com/richhickey/clojure-contrib/blob/1640c0433e35cf9a60e1483424c0a2a8ca56b730/src/clojure/contrib/seq_utils.clj#L214", + "wiki-url": + "http://richhickey.github.com/clojure-contrib//seq-utils-api.html#clojure.contrib.seq-utils/positions", + "namespace":"clojure.contrib.seq-utils", + "arglists":[["pred", "coll"]], + "doc": + "Returns a lazy sequence containing the positions at which pred\nis true for items in coll.", + "name":"positions"}, + {"source-url": + "http://github.com/richhickey/clojure-contrib/blob/1640c0433e35cf9a60e1483424c0a2a8ca56b730/src/clojure/contrib/seq_utils.clj#L152", + "wiki-url": + "http://richhickey.github.com/clojure-contrib//seq-utils-api.html#clojure.contrib.seq-utils/rand-elt", + "namespace":"clojure.contrib.seq-utils", + "arglists":[["s"]], + "doc":"Return a random element of this seq", + "name":"rand-elt"}, + {"source-url": + "http://github.com/richhickey/clojure-contrib/blob/1640c0433e35cf9a60e1483424c0a2a8ca56b730/src/clojure/contrib/seq_utils.clj#L106", + "wiki-url": + "http://richhickey.github.com/clojure-contrib//seq-utils-api.html#clojure.contrib.seq-utils/rec-cat", + "namespace":"clojure.contrib.seq-utils", + "arglists":[["binding-name", "&", "exprs"]], + "doc": + "Similar to lazy-cat but binds the resulting sequence to the supplied \nbinding-name, allowing for recursive expressions.", + "name":"rec-cat"}, + {"source-url": + "http://github.com/richhickey/clojure-contrib/blob/1640c0433e35cf9a60e1483424c0a2a8ca56b730/src/clojure/contrib/seq_utils.clj#L99", + "wiki-url": + "http://richhickey.github.com/clojure-contrib//seq-utils-api.html#clojure.contrib.seq-utils/rec-seq", + "namespace":"clojure.contrib.seq-utils", + "arglists":[["binding-name", "&", "body"]], + "doc": + "Similar to lazy-seq but binds the resulting seq to the supplied \nbinding-name, allowing for recursive expressions.", + "name":"rec-seq"}, + {"source-url": + "http://github.com/richhickey/clojure-contrib/blob/1640c0433e35cf9a60e1483424c0a2a8ca56b730/src/clojure/contrib/seq_utils.clj#L115", + "wiki-url": + "http://richhickey.github.com/clojure-contrib//seq-utils-api.html#clojure.contrib.seq-utils/reductions", + "namespace":"clojure.contrib.seq-utils", + "arglists":[["f", "coll"], ["f", "init", "coll"]], + "doc": + "Returns a lazy seq of the intermediate values of the reduction (as\nper reduce) of coll by f, starting with init.", + "name":"reductions"}, + {"source-url": + "http://github.com/richhickey/clojure-contrib/blob/1640c0433e35cf9a60e1483424c0a2a8ca56b730/src/clojure/contrib/seq_utils.clj#L125", + "wiki-url": + "http://richhickey.github.com/clojure-contrib//seq-utils-api.html#clojure.contrib.seq-utils/rotations", + "namespace":"clojure.contrib.seq-utils", + "arglists":[["x"]], + "doc":"Returns a lazy seq of all rotations of a seq", + "name":"rotations"}, + {"source-url": + "http://github.com/richhickey/clojure-contrib/blob/1640c0433e35cf9a60e1483424c0a2a8ca56b730/src/clojure/contrib/seq_utils.clj#L42", + "wiki-url": + "http://richhickey.github.com/clojure-contrib//seq-utils-api.html#clojure.contrib.seq-utils/separate", + "namespace":"clojure.contrib.seq-utils", + "arglists":[["f", "s"]], + "doc": + "Returns a vector:\n[ (filter f s), (filter (complement f) s) ]", + "name":"separate"}, + {"source-url": + "http://github.com/richhickey/clojure-contrib/blob/1640c0433e35cf9a60e1483424c0a2a8ca56b730/src/clojure/contrib/seq_utils.clj#L159", + "wiki-url": + "http://richhickey.github.com/clojure-contrib//seq-utils-api.html#clojure.contrib.seq-utils/seq-on", + "namespace":"clojure.contrib.seq-utils", + "arglists":[["s"]], + "doc": + "Returns a seq on the object s. Works like the built-in seq but as\na multimethod that can have implementations for new classes and types.", + "name":"seq-on"}, + {"source-url": + "http://github.com/richhickey/clojure-contrib/blob/1640c0433e35cf9a60e1483424c0a2a8ca56b730/src/clojure/contrib/seq_utils.clj#L145", + "wiki-url": + "http://richhickey.github.com/clojure-contrib//seq-utils-api.html#clojure.contrib.seq-utils/shuffle", + "namespace":"clojure.contrib.seq-utils", + "arglists":[["coll"]], + "doc":"Return a random permutation of coll", + "name":"shuffle"}, + {"source-url": + "http://github.com/richhickey/clojure-contrib/blob/37dad8c37622669271357cfceec03e391cc10e17/src/clojure/contrib/server_socket.clj#L87", + "wiki-url": + "http://richhickey.github.com/clojure-contrib//server-socket-api.html#clojure.contrib.server-socket/create-repl-server", + "namespace":"clojure.contrib.server-socket", + "arglists": + [["port", "backlog", "bind-addr"], ["port", "backlog"], ["port"]], + "doc":"create a repl on a socket", + "name":"create-repl-server"}, + {"source-url": + "http://github.com/richhickey/clojure-contrib/blob/37dad8c37622669271357cfceec03e391cc10e17/src/clojure/contrib/server_socket.clj#L53", + "wiki-url": + "http://richhickey.github.com/clojure-contrib//server-socket-api.html#clojure.contrib.server-socket/create-server", + "namespace":"clojure.contrib.server-socket", + "arglists": + [["port", "fun", "backlog", "bind-addr"], + ["port", "fun", "backlog"], ["port", "fun"]], + "doc": + "Creates a server socket on port. Upon accept, a new thread is\ncreated which calls:\n\n(fun input-stream output-stream)\n\nOptional arguments support specifying a listen backlog and binding\nto a specific endpoint.", + "name":"create-server"}, + {"source-url": + "http://github.com/richhickey/clojure-contrib/blob/86e90011e274910c618a5592d21ba3ce290a6855/src/clojure/contrib/set.clj#L35", + "wiki-url": + "http://richhickey.github.com/clojure-contrib//set-api.html#clojure.contrib.set/proper-subset?", + "namespace":"clojure.contrib.set", + "arglists":[["set1", "set2"]], + "doc":"Is s1 a proper subset of s2?", + "name":"proper-subset?"}, + {"source-url": + "http://github.com/richhickey/clojure-contrib/blob/86e90011e274910c618a5592d21ba3ce290a6855/src/clojure/contrib/set.clj#L42", + "wiki-url": + "http://richhickey.github.com/clojure-contrib//set-api.html#clojure.contrib.set/proper-superset?", + "namespace":"clojure.contrib.set", + "arglists":[["set1", "set2"]], + "doc":"Is s1 a proper superset of s2?", + "name":"proper-superset?"}, + {"source-url": + "http://github.com/richhickey/clojure-contrib/blob/86e90011e274910c618a5592d21ba3ce290a6855/src/clojure/contrib/set.clj#L21", + "wiki-url": + "http://richhickey.github.com/clojure-contrib//set-api.html#clojure.contrib.set/subset?", + "namespace":"clojure.contrib.set", + "arglists":[["set1", "set2"]], + "doc":"Is set1 a subset of set2?", + "name":"subset?"}, + {"source-url": + "http://github.com/richhickey/clojure-contrib/blob/86e90011e274910c618a5592d21ba3ce290a6855/src/clojure/contrib/set.clj#L28", + "wiki-url": + "http://richhickey.github.com/clojure-contrib//set-api.html#clojure.contrib.set/superset?", + "namespace":"clojure.contrib.set", + "arglists":[["set1", "set2"]], + "doc":"Is set1 a superset of set2?", + "name":"superset?"}, + {"source-url": + "http://github.com/richhickey/clojure-contrib/blob/cc4e2ec2bf558f059330ebc97a031d7806a1e364/src/clojure/contrib/shell_out.clj#L83", + "wiki-url": + "http://richhickey.github.com/clojure-contrib//shell-out-api.html#clojure.contrib.shell-out/sh", + "namespace":"clojure.contrib.shell-out", + "arglists":[["&", "args"]], + "doc": + "Passes the given strings to Runtime.exec() to launch a sub-process.\n\nOptions are\n\n:in may be given followed by a String specifying text to be fed to the \n sub-process's stdin. \n:out option may be given followed by :bytes or a String. If a String \n is given, it will be used as a character encoding name (for \n example \"UTF-8\" or \"ISO-8859-1\") to convert the \n sub-process's stdout to a String which is returned.\n If :bytes is given, the sub-process's stdout will be stored in \n a byte array and returned. Defaults to UTF-8.\n:return-map\n when followed by boolean true, sh returns a map of\n :exit => sub-process's exit code\n :out => sub-process's stdout (as byte[] or String)\n :err => sub-process's stderr (as byte[] or String)\n when not given or followed by false, sh returns a single\n array or String of the sub-process's stdout followed by its\n stderr\n:env override the process env with a map (or the underlying Java\n String[] if you are a masochist).\n:dir override the process dir with a String or java.io.File.\n\nYou can bind :env or :dir for multiple operations using with-sh-env\nand with-sh-dir.", + "name":"sh"}, + {"source-url": + "http://github.com/richhickey/clojure-contrib/blob/86e90011e274910c618a5592d21ba3ce290a6855/src/clojure/contrib/singleton.clj#L28", + "wiki-url": + "http://richhickey.github.com/clojure-contrib//singleton-api.html#clojure.contrib.singleton/global-singleton", + "namespace":"clojure.contrib.singleton", + "arglists":[["f"]], "doc": "Returns a global singleton function. f is a function of no\narguments that creates and returns some object. The singleton\nfunction will call f just once, the first time it is needed, and\ncache the value for all subsequent calls.\n\nWarning: global singletons are often unsafe in multi-threaded code.\nConsider per-thread-singleton instead.", "name":"global-singleton"}, + {"source-url": + "http://github.com/richhickey/clojure-contrib/blob/86e90011e274910c618a5592d21ba3ce290a6855/src/clojure/contrib/singleton.clj#L41", + "wiki-url": + "http://richhickey.github.com/clojure-contrib//singleton-api.html#clojure.contrib.singleton/per-thread-singleton", + "namespace":"clojure.contrib.singleton", + "arglists":[["f"]], + "doc": + "Returns a per-thread singleton function. f is a function of no\narguments that creates and returns some object. The singleton\nfunction will call f only once for each thread, and cache its value\nfor subsequent calls from the same thread. This allows you to\nsafely and lazily initialize shared objects on a per-thread basis.\n\nWarning: due to a bug in JDK 5, it may not be safe to use a\nper-thread-singleton in the initialization function for another\nper-thread-singleton. See\nhttp://bugs.sun.com/bugdatabase/view_bug.do?bug_id=5025230", + "name":"per-thread-singleton"}, + {"source-url": + "http://github.com/richhickey/clojure-contrib/blob/be33acd87f190d9ec2ad756d8cb31c88abca7e5f/src/clojure/contrib/sql.clj#L32", + "wiki-url": + "http://richhickey.github.com/clojure-contrib//sql-api.html#clojure.contrib.sql/connection", + "namespace":"clojure.contrib.sql", + "arglists":[[]], + "doc": + "Returns the current database connection (or throws if there is none)", + "name":"connection"}, + {"source-url": + "http://github.com/richhickey/clojure-contrib/blob/be33acd87f190d9ec2ad756d8cb31c88abca7e5f/src/clojure/contrib/sql.clj#L105", + "wiki-url": + "http://richhickey.github.com/clojure-contrib//sql-api.html#clojure.contrib.sql/create-table", + "namespace":"clojure.contrib.sql", + "arglists":[["name", "&", "specs"]], + "doc": + "Creates a table on the open database connection given a table name and\nspecs. Each spec is either a column spec: a vector containing a column\nname and optionally a type and other constraints, or a table-level\nconstraint: a vector containing words that express the constraint. All\nwords used to describe the table may be supplied as strings or keywords.", + "name":"create-table"}, + {"source-url": + "http://github.com/richhickey/clojure-contrib/blob/be33acd87f190d9ec2ad756d8cb31c88abca7e5f/src/clojure/contrib/sql.clj#L159", + "wiki-url": + "http://richhickey.github.com/clojure-contrib//sql-api.html#clojure.contrib.sql/delete-rows", + "namespace":"clojure.contrib.sql", + "arglists":[["table", "where-params"]], + "doc": + "Deletes rows from a table. where-params is a vector containing a string\nproviding the (optionally parameterized) selection criteria followed by\nvalues for any parameters.", + "name":"delete-rows"}, + {"source-url": + "http://github.com/richhickey/clojure-contrib/blob/be33acd87f190d9ec2ad756d8cb31c88abca7e5f/src/clojure/contrib/sql.clj#L83", + "wiki-url": + "http://richhickey.github.com/clojure-contrib//sql-api.html#clojure.contrib.sql/do-commands", + "namespace":"clojure.contrib.sql", + "arglists":[["&", "commands"]], + "doc":"Executes SQL commands on the open database connection.", + "name":"do-commands"}, + {"source-url": + "http://github.com/richhickey/clojure-contrib/blob/be33acd87f190d9ec2ad756d8cb31c88abca7e5f/src/clojure/contrib/sql.clj#L92", + "wiki-url": + "http://richhickey.github.com/clojure-contrib//sql-api.html#clojure.contrib.sql/do-prepared", + "namespace":"clojure.contrib.sql", + "arglists":[["sql", "&", "param-groups"]], + "doc": + "Executes an (optionally parameterized) SQL prepared statement on the\nopen database connection. Each param-group is a seq of values for all of\nthe parameters.", + "name":"do-prepared"}, + {"source-url": + "http://github.com/richhickey/clojure-contrib/blob/be33acd87f190d9ec2ad756d8cb31c88abca7e5f/src/clojure/contrib/sql.clj#L121", + "wiki-url": + "http://richhickey.github.com/clojure-contrib//sql-api.html#clojure.contrib.sql/drop-table", + "namespace":"clojure.contrib.sql", + "arglists":[["name"]], + "doc": + "Drops a table on the open database connection given its name, a string\nor keyword", + "name":"drop-table"}, + {"source-url": + "http://github.com/richhickey/clojure-contrib/blob/be33acd87f190d9ec2ad756d8cb31c88abca7e5f/src/clojure/contrib/sql.clj#L31", + "wiki-url": + "http://richhickey.github.com/clojure-contrib//sql-api.html#clojure.contrib.sql/find-connection", + "namespace":"clojure.contrib.sql", + "arglists":[[]], + "doc": + "Returns the current database connection (or nil if there is none)", + "name":"find-connection"}, + {"source-url": + "http://github.com/richhickey/clojure-contrib/blob/be33acd87f190d9ec2ad756d8cb31c88abca7e5f/src/clojure/contrib/sql.clj#L152", + "wiki-url": + "http://richhickey.github.com/clojure-contrib//sql-api.html#clojure.contrib.sql/insert-records", + "namespace":"clojure.contrib.sql", + "arglists":[["table", "&", "records"]], + "doc": + "Inserts records into a table. records are maps from strings or\nkeywords (identifying columns) to values.", + "name":"insert-records"}, + {"source-url": + "http://github.com/richhickey/clojure-contrib/blob/be33acd87f190d9ec2ad756d8cb31c88abca7e5f/src/clojure/contrib/sql.clj#L146", + "wiki-url": + "http://richhickey.github.com/clojure-contrib//sql-api.html#clojure.contrib.sql/insert-rows", + "namespace":"clojure.contrib.sql", + "arglists":[["table", "&", "rows"]], + "doc": + "Inserts complete rows into a table. Each row is a vector of values for\neach of the table's columns in order.", + "name":"insert-rows"}, + {"source-url": + "http://github.com/richhickey/clojure-contrib/blob/be33acd87f190d9ec2ad756d8cb31c88abca7e5f/src/clojure/contrib/sql.clj#L128", + "wiki-url": + "http://richhickey.github.com/clojure-contrib//sql-api.html#clojure.contrib.sql/insert-values", + "namespace":"clojure.contrib.sql", + "arglists":[["table", "column-names", "&", "value-groups"]], + "doc": + "Inserts rows into a table with values for specified columns only.\ncolumn-names is a vector of strings or keywords identifying columns. Each\nvalue-group is a vector containing a values for each column in\norder. When inserting complete rows (all columns), consider using\ninsert-rows instead.", + "name":"insert-values"}, + {"source-url": + "http://github.com/richhickey/clojure-contrib/blob/be33acd87f190d9ec2ad756d8cb31c88abca7e5f/src/clojure/contrib/sql.clj#L77", + "wiki-url": + "http://richhickey.github.com/clojure-contrib//sql-api.html#clojure.contrib.sql/is-rollback-only", + "namespace":"clojure.contrib.sql", + "arglists":[[]], + "doc": + "Returns true if the outermost transaction will rollback rather than\ncommit when complete", + "name":"is-rollback-only"}, + {"source-url": + "http://github.com/richhickey/clojure-contrib/blob/be33acd87f190d9ec2ad756d8cb31c88abca7e5f/src/clojure/contrib/sql.clj#L71", + "wiki-url": + "http://richhickey.github.com/clojure-contrib//sql-api.html#clojure.contrib.sql/set-rollback-only", + "namespace":"clojure.contrib.sql", + "arglists":[[]], + "doc": + "Marks the outermost transaction such that it will rollback rather than\ncommit when complete", + "name":"set-rollback-only"}, + {"source-url": + "http://github.com/richhickey/clojure-contrib/blob/be33acd87f190d9ec2ad756d8cb31c88abca7e5f/src/clojure/contrib/sql.clj#L60", + "wiki-url": + "http://richhickey.github.com/clojure-contrib//sql-api.html#clojure.contrib.sql/transaction", + "namespace":"clojure.contrib.sql", + "arglists":[["&", "body"]], + "doc": + "Evaluates body as a transaction on the open database connection. Any\nnested transactions are absorbed into the outermost transaction. By\ndefault, all database updates are committed together as a group after\nevaluating the outermost body, or rolled back on any uncaught\nexception. If set-rollback-only is called within scope of the outermost\ntransaction, the entire transaction will be rolled back rather than\ncommitted when complete.", + "name":"transaction"}, + {"source-url": + "http://github.com/richhickey/clojure-contrib/blob/be33acd87f190d9ec2ad756d8cb31c88abca7e5f/src/clojure/contrib/sql.clj#L184", + "wiki-url": + "http://richhickey.github.com/clojure-contrib//sql-api.html#clojure.contrib.sql/update-or-insert-values", + "namespace":"clojure.contrib.sql", + "arglists":[["table", "where-params", "record"]], + "doc": + "Updates values on selected rows in a table, or inserts a new row when no\nexisting row matches the selection criteria. where-params is a vector\ncontaining a string providing the (optionally parameterized) selection\ncriteria followed by values for any parameters. record is a map from\nstrings or keywords (identifying columns) to updated values.", + "name":"update-or-insert-values"}, + {"source-url": + "http://github.com/richhickey/clojure-contrib/blob/be33acd87f190d9ec2ad756d8cb31c88abca7e5f/src/clojure/contrib/sql.clj#L170", + "wiki-url": + "http://richhickey.github.com/clojure-contrib//sql-api.html#clojure.contrib.sql/update-values", + "namespace":"clojure.contrib.sql", + "arglists":[["table", "where-params", "record"]], + "doc": + "Updates values on selected rows in a table. where-params is a vector\ncontaining a string providing the (optionally parameterized) selection\ncriteria followed by values for any parameters. record is a map from\nstrings or keywords (identifying columns) to updated values.", + "name":"update-values"}, + {"source-url": + "http://github.com/richhickey/clojure-contrib/blob/be33acd87f190d9ec2ad756d8cb31c88abca7e5f/src/clojure/contrib/sql.clj#L34", + "wiki-url": + "http://richhickey.github.com/clojure-contrib//sql-api.html#clojure.contrib.sql/with-connection", + "namespace":"clojure.contrib.sql", + "arglists":[["db-spec", "&", "body"]], + "doc": + "Evaluates body in the context of a new connection to a database then\ncloses the connection. db-spec is a map containing values for one of the\nfollowing parameter sets:\n\nFactory:\n :factory (required) a function of one argument, a map of params\n (others) (optional) passed to the factory function in a map\n\nDriverManager:\n :classname (required) a String, the jdbc driver class name\n :subprotocol (required) a String, the jdbc subprotocol\n :subname (required) a String, the jdbc subname\n (others) (optional) passed to the driver as properties.\n\nDataSource:\n :datasource (required) a javax.sql.DataSource\n :username (optional) a String\n :password (optional) a String, required if :username is supplied\n\nJNDI:\n :name (required) a String or javax.naming.Name\n :environment (optional) a java.util.Map", + "name":"with-connection"}, + {"source-url": + "http://github.com/richhickey/clojure-contrib/blob/be33acd87f190d9ec2ad756d8cb31c88abca7e5f/src/clojure/contrib/sql.clj#L197", + "wiki-url": + "http://richhickey.github.com/clojure-contrib//sql-api.html#clojure.contrib.sql/with-query-results", + "namespace":"clojure.contrib.sql", + "arglists":[["results", "sql-params", "&", "body"]], + "doc": + "Executes a query, then evaluates body with results bound to a seq of the\nresults. sql-params is a vector containing a string providing\nthe (optionally parameterized) SQL query followed by values for any\nparameters.", + "name":"with-query-results"}, + {"source-url": + "http://github.com/richhickey/clojure-contrib/blob/86e90011e274910c618a5592d21ba3ce290a6855/src/clojure/contrib/str_utils.clj#L96", + "wiki-url": + "http://richhickey.github.com/clojure-contrib//str-utils-api.html#clojure.contrib.str-utils/chomp", + "namespace":"clojure.contrib.str-utils", + "arglists":[["s"]], + "doc": + "Removes all trailing newline \\n or return \\r characters from\nstring. Note: String.trim() is similar and faster.", + "name":"chomp"}, + {"source-url": + "http://github.com/richhickey/clojure-contrib/blob/86e90011e274910c618a5592d21ba3ce290a6855/src/clojure/contrib/str_utils.clj#L91", + "wiki-url": + "http://richhickey.github.com/clojure-contrib//str-utils-api.html#clojure.contrib.str-utils/chop", + "namespace":"clojure.contrib.str-utils", + "arglists":[["s"]], + "doc":"Removes the last character of string.", + "name":"chop"}, + {"source-url": + "http://github.com/richhickey/clojure-contrib/blob/86e90011e274910c618a5592d21ba3ce290a6855/src/clojure/contrib/str_utils.clj#L50", + "wiki-url": + "http://richhickey.github.com/clojure-contrib//str-utils-api.html#clojure.contrib.str-utils/re-gsub", + "namespace":"clojure.contrib.str-utils", + "arglists":[["regex", "replacement", "string"]], + "doc": + "Replaces all instances of 'pattern' in 'string' with\n'replacement'. Like Ruby's 'String#gsub'.\n\nIf (ifn? replacment) is true, the replacement is called with the\nmatch.\n", + "name":"re-gsub"}, + {"source-url": + "http://github.com/richhickey/clojure-contrib/blob/86e90011e274910c618a5592d21ba3ce290a6855/src/clojure/contrib/str_utils.clj#L28", + "wiki-url": + "http://richhickey.github.com/clojure-contrib//str-utils-api.html#clojure.contrib.str-utils/re-partition", + "namespace":"clojure.contrib.str-utils", + "arglists":[["re", "string"]], + "doc": + "Splits the string into a lazy sequence of substrings, alternating\nbetween substrings that match the patthern and the substrings\nbetween the matches. The sequence always starts with the substring\nbefore the first match, or an empty string if the beginning of the\nstring matches.\n\nFor example: (re-partition #\"[a-z]+\" \"abc123def\")\n\nReturns: (\"\" \"abc\" \"123\" \"def\")", + "name":"re-partition"}, + {"source-url": + "http://github.com/richhickey/clojure-contrib/blob/86e90011e274910c618a5592d21ba3ce290a6855/src/clojure/contrib/str_utils.clj#L21", + "wiki-url": + "http://richhickey.github.com/clojure-contrib//str-utils-api.html#clojure.contrib.str-utils/re-split", + "namespace":"clojure.contrib.str-utils", + "arglists":[["pattern", "string"], ["pattern", "string", "limit"]], + "doc": + "Splits the string on instances of 'pattern'. Returns a sequence of\nstrings. Optional 'limit' argument is the maximum number of\nsplits. Like Perl's 'split'.", + "name":"re-split"}, + {"source-url": + "http://github.com/richhickey/clojure-contrib/blob/86e90011e274910c618a5592d21ba3ce290a6855/src/clojure/contrib/str_utils.clj#L66", + "wiki-url": + "http://richhickey.github.com/clojure-contrib//str-utils-api.html#clojure.contrib.str-utils/re-sub", + "namespace":"clojure.contrib.str-utils", + "arglists":[["regex", "replacement", "string"]], + "doc": + "Replaces the first instance of 'pattern' in 'string' with\n'replacement'. Like Ruby's 'String#sub'.\n\nIf (ifn? replacement) is true, the replacement is called with\nthe match.\n", + "name":"re-sub"}, + {"source-url": + "http://github.com/richhickey/clojure-contrib/blob/86e90011e274910c618a5592d21ba3ce290a6855/src/clojure/contrib/str_utils.clj#L84", + "wiki-url": + "http://richhickey.github.com/clojure-contrib//str-utils-api.html#clojure.contrib.str-utils/str-join", + "namespace":"clojure.contrib.str-utils", + "arglists":[["separator", "sequence"]], + "doc": + "Returns a string of all elements in 'sequence', separated by\n'separator'. Like Perl's 'join'.", + "name":"str-join"}, + {"source-url": + "http://github.com/richhickey/clojure-contrib/blob/4b4f6ab5bcab58c4219eb50395bd366daea3ecc3/src/clojure/contrib/str_utils2.clj#L102", + "wiki-url": + "http://richhickey.github.com/clojure-contrib//str-utils2-api.html#clojure.contrib.str-utils2/blank?", + "namespace":"clojure.contrib.str-utils2", + "arglists":[["s"]], + "doc":"True if s is nil, empty, or contains only whitespace.", + "name":"blank?"}, + {"source-url": + "http://github.com/richhickey/clojure-contrib/blob/4b4f6ab5bcab58c4219eb50395bd366daea3ecc3/src/clojure/contrib/str_utils2.clj#L128", + "wiki-url": + "http://richhickey.github.com/clojure-contrib//str-utils2-api.html#clojure.contrib.str-utils2/butlast", + "namespace":"clojure.contrib.str-utils2", + "arglists":[["s", "n"]], + "doc": + "Returns s without the last n characters. Returns an empty string\nif n is greater than the length of s.\n\nNote the argument order is the opposite of clojure.core/butlast;\nthis is to keep the string as the first argument for use with ->", + "name":"butlast"}, + {"source-url": + "http://github.com/richhickey/clojure-contrib/blob/4b4f6ab5bcab58c4219eb50395bd366daea3ecc3/src/clojure/contrib/str_utils2.clj#L285", + "wiki-url": + "http://richhickey.github.com/clojure-contrib//str-utils2-api.html#clojure.contrib.str-utils2/capitalize", + "namespace":"clojure.contrib.str-utils2", + "arglists":[["s"]], + "doc": + "Converts first character of the string to upper-case, all other\ncharacters to lower-case.", + "name":"capitalize"}, + {"source-url": + "http://github.com/richhickey/clojure-contrib/blob/4b4f6ab5bcab58c4219eb50395bd366daea3ecc3/src/clojure/contrib/str_utils2.clj#L258", + "wiki-url": + "http://richhickey.github.com/clojure-contrib//str-utils2-api.html#clojure.contrib.str-utils2/chomp", + "namespace":"clojure.contrib.str-utils2", + "arglists":[["s"]], + "doc": + "Removes all trailing newline \\n or return \\r characters from\nstring. Note: String.trim() is similar and faster.", + "name":"chomp"}, + {"source-url": + "http://github.com/richhickey/clojure-contrib/blob/4b4f6ab5bcab58c4219eb50395bd366daea3ecc3/src/clojure/contrib/str_utils2.clj#L249", + "wiki-url": + "http://richhickey.github.com/clojure-contrib//str-utils2-api.html#clojure.contrib.str-utils2/chop", + "namespace":"clojure.contrib.str-utils2", + "arglists":[["s"]], + "doc": + "Removes the last character of string, does nothing on a zero-length\nstring.", + "name":"chop"}, + {"source-url": + "http://github.com/richhickey/clojure-contrib/blob/4b4f6ab5bcab58c4219eb50395bd366daea3ecc3/src/clojure/contrib/str_utils2.clj#L77", + "wiki-url": + "http://richhickey.github.com/clojure-contrib//str-utils2-api.html#clojure.contrib.str-utils2/codepoints", + "namespace":"clojure.contrib.str-utils2", + "arglists":[["s"]], + "doc": + "Returns a sequence of integer Unicode code points in s. Handles\nUnicode supplementary characters (above U+FFFF) correctly.", + "name":"codepoints"}, + {"source-url": + "http://github.com/richhickey/clojure-contrib/blob/4b4f6ab5bcab58c4219eb50395bd366daea3ecc3/src/clojure/contrib/str_utils2.clj#L364", + "wiki-url": + "http://richhickey.github.com/clojure-contrib//str-utils2-api.html#clojure.contrib.str-utils2/contains?", + "namespace":"clojure.contrib.str-utils2", + "arglists":[["s", "substring"]], + "doc":"True if s contains the substring.", + "name":"contains?"}, + {"source-url": + "http://github.com/richhickey/clojure-contrib/blob/4b4f6ab5bcab58c4219eb50395bd366daea3ecc3/src/clojure/contrib/str_utils2.clj#L37", + "wiki-url": + "http://richhickey.github.com/clojure-contrib//str-utils2-api.html#clojure.contrib.str-utils2/dochars", + "namespace":"clojure.contrib.str-utils2", + "arglists":[["bindings", "&", "body"]], + "doc": + "bindings => [name string]\n\nRepeatedly executes body, with name bound to each character in\nstring. Does NOT handle Unicode supplementary characters (above\nU+FFFF).", + "name":"dochars"}, + {"source-url": + "http://github.com/richhickey/clojure-contrib/blob/4b4f6ab5bcab58c4219eb50395bd366daea3ecc3/src/clojure/contrib/str_utils2.clj#L53", + "wiki-url": + "http://richhickey.github.com/clojure-contrib//str-utils2-api.html#clojure.contrib.str-utils2/docodepoints", + "namespace":"clojure.contrib.str-utils2", + "arglists":[["bindings", "&", "body"]], + "doc": + "bindings => [name string]\n\nRepeatedly executes body, with name bound to the integer code point\nof each Unicode character in the string. Handles Unicode\nsupplementary characters (above U+FFFF) correctly.", + "name":"docodepoints"}, + {"source-url": + "http://github.com/richhickey/clojure-contrib/blob/4b4f6ab5bcab58c4219eb50395bd366daea3ecc3/src/clojure/contrib/str_utils2.clj#L117", + "wiki-url": + "http://richhickey.github.com/clojure-contrib//str-utils2-api.html#clojure.contrib.str-utils2/drop", + "namespace":"clojure.contrib.str-utils2", + "arglists":[["s", "n"]], + "doc": + "Drops first n characters from s. Returns an empty string if n is\ngreater than the length of s.\n\nNote the argument order is the opposite of clojure.core/drop; this\nis to keep the string as the first argument for use with ->", + "name":"drop"}, + {"source-url": + "http://github.com/richhickey/clojure-contrib/blob/4b4f6ab5bcab58c4219eb50395bd366daea3ecc3/src/clojure/contrib/str_utils2.clj#L90", + "wiki-url": + "http://richhickey.github.com/clojure-contrib//str-utils2-api.html#clojure.contrib.str-utils2/escape", + "namespace":"clojure.contrib.str-utils2", + "arglists":[["s", "cmap"]], + "doc": + "Returns a new String by applying cmap (a function or a map) to each\ncharacter in s. If cmap returns nil, the original character is\nadded to the output unchanged.", + "name":"escape"}, + {"source-url": + "http://github.com/richhickey/clojure-contrib/blob/4b4f6ab5bcab58c4219eb50395bd366daea3ecc3/src/clojure/contrib/str_utils2.clj#L369", + "wiki-url": + "http://richhickey.github.com/clojure-contrib//str-utils2-api.html#clojure.contrib.str-utils2/get", + "namespace":"clojure.contrib.str-utils2", + "arglists":[["s", "i"]], + "doc":"Gets the i'th character in string.", + "name":"get"}, + {"source-url": + "http://github.com/richhickey/clojure-contrib/blob/4b4f6ab5bcab58c4219eb50395bd366daea3ecc3/src/clojure/contrib/str_utils2.clj#L317", + "wiki-url": + "http://richhickey.github.com/clojure-contrib//str-utils2-api.html#clojure.contrib.str-utils2/grep", + "namespace":"clojure.contrib.str-utils2", + "arglists":[["re", "coll"]], + "doc": + "Filters elements of coll by a regular expression. The String\nrepresentation (with str) of each element is tested with re-find.", + "name":"grep"}, + {"source-url": + "http://github.com/richhickey/clojure-contrib/blob/4b4f6ab5bcab58c4219eb50395bd366daea3ecc3/src/clojure/contrib/str_utils2.clj#L243", + "wiki-url": + "http://richhickey.github.com/clojure-contrib//str-utils2-api.html#clojure.contrib.str-utils2/join", + "namespace":"clojure.contrib.str-utils2", + "arglists":[["separator", "coll"]], + "doc": + "Returns a string of all elements in coll, separated by\nseparator. Like Perl's join.", + "name":"join"}, + {"source-url": + "http://github.com/richhickey/clojure-contrib/blob/4b4f6ab5bcab58c4219eb50395bd366daea3ecc3/src/clojure/contrib/str_utils2.clj#L348", + "wiki-url": + "http://richhickey.github.com/clojure-contrib//str-utils2-api.html#clojure.contrib.str-utils2/lower-case", + "namespace":"clojure.contrib.str-utils2", + "arglists":[["s"]], + "doc":"Converts string to all lower-case.", + "name":"lower-case"}, + {"source-url": + "http://github.com/richhickey/clojure-contrib/blob/4b4f6ab5bcab58c4219eb50395bd366daea3ecc3/src/clojure/contrib/str_utils2.clj#L294", + "wiki-url": + "http://richhickey.github.com/clojure-contrib//str-utils2-api.html#clojure.contrib.str-utils2/ltrim", + "namespace":"clojure.contrib.str-utils2", + "arglists":[["s"]], + "doc":"Removes whitespace from the left side of string.", + "name":"ltrim"}, + {"source-url": + "http://github.com/richhickey/clojure-contrib/blob/4b4f6ab5bcab58c4219eb50395bd366daea3ecc3/src/clojure/contrib/str_utils2.clj#L310", + "wiki-url": + "http://richhickey.github.com/clojure-contrib//str-utils2-api.html#clojure.contrib.str-utils2/map-str", + "namespace":"clojure.contrib.str-utils2", + "arglists":[["f", "coll"]], + "doc": + "Apply f to each element of coll, concatenate all results into a\nString.", + "name":"map-str"}, + {"source-url": + "http://github.com/richhickey/clojure-contrib/blob/4b4f6ab5bcab58c4219eb50395bd366daea3ecc3/src/clojure/contrib/str_utils2.clj#L323", + "wiki-url": + "http://richhickey.github.com/clojure-contrib//str-utils2-api.html#clojure.contrib.str-utils2/partial", + "namespace":"clojure.contrib.str-utils2", + "arglists":[["f", "&", "args"]], + "doc": + "Like clojure.core/partial for functions that take their primary\nargument first.\n\nTakes a function f and its arguments, NOT INCLUDING the first\nargument. Returns a new function whose first argument will be the\nfirst argument to f.\n\nExample: (str-utils2/partial str-utils2/take 2)\n ;;=> (fn [s] (str-utils2/take s 2))", + "name":"partial"}, + {"source-url": + "http://github.com/richhickey/clojure-contrib/blob/4b4f6ab5bcab58c4219eb50395bd366daea3ecc3/src/clojure/contrib/str_utils2.clj#L222", + "wiki-url": + "http://richhickey.github.com/clojure-contrib//str-utils2-api.html#clojure.contrib.str-utils2/partition", + "namespace":"clojure.contrib.str-utils2", + "arglists":[["s", "re"]], + "doc": + "Splits the string into a lazy sequence of substrings, alternating\nbetween substrings that match the patthern and the substrings\nbetween the matches. The sequence always starts with the substring\nbefore the first match, or an empty string if the beginning of the\nstring matches.\n\nFor example: (partition \"abc123def\" #\"[a-z]+\")\nreturns: (\"\" \"abc\" \"123\" \"def\")", + "name":"partition"}, + {"source-url": + "http://github.com/richhickey/clojure-contrib/blob/4b4f6ab5bcab58c4219eb50395bd366daea3ecc3/src/clojure/contrib/str_utils2.clj#L146", + "wiki-url": + "http://richhickey.github.com/clojure-contrib//str-utils2-api.html#clojure.contrib.str-utils2/repeat", + "namespace":"clojure.contrib.str-utils2", + "arglists":[["s", "n"]], + "doc":"Returns a new String containing s repeated n times.", + "name":"repeat"}, + {"source-url": + "http://github.com/richhickey/clojure-contrib/blob/4b4f6ab5bcab58c4219eb50395bd366daea3ecc3/src/clojure/contrib/str_utils2.clj#L156", + "wiki-url": + "http://richhickey.github.com/clojure-contrib//str-utils2-api.html#clojure.contrib.str-utils2/replace", + "namespace":"clojure.contrib.str-utils2", + "arglists":[["string", "pattern", "replacement"]], + "doc": + "Replaces all instances of pattern in string with replacement. \n\nAllowed argument types for pattern and replacement are:\n 1. String and String\n 2. Character and Character\n 3. regex Pattern and String\n (Uses java.util.regex.Matcher.replaceAll)\n 4. regex Pattern and function\n (Calls function with re-groups of each match, uses return \n value as replacement.)", + "name":"replace"}, + {"source-url": + "http://github.com/richhickey/clojure-contrib/blob/4b4f6ab5bcab58c4219eb50395bd366daea3ecc3/src/clojure/contrib/str_utils2.clj#L192", + "wiki-url": + "http://richhickey.github.com/clojure-contrib//str-utils2-api.html#clojure.contrib.str-utils2/replace-first", + "namespace":"clojure.contrib.str-utils2", + "arglists":[["s", "pattern", "replacement"]], + "doc": + "Replaces the first instance of pattern in s with replacement.\n\nAllowed argument types for pattern and replacement are:\n 1. String and String\n 2. regex Pattern and String\n (Uses java.util.regex.Matcher.replaceAll)\n 3. regex Pattern and function", + "name":"replace-first"}, + {"source-url": + "http://github.com/richhickey/clojure-contrib/blob/4b4f6ab5bcab58c4219eb50395bd366daea3ecc3/src/clojure/contrib/str_utils2.clj#L151", + "wiki-url": + "http://richhickey.github.com/clojure-contrib//str-utils2-api.html#clojure.contrib.str-utils2/reverse", + "namespace":"clojure.contrib.str-utils2", + "arglists":[["s"]], + "doc":"Returns s with its characters reversed.", + "name":"reverse"}, + {"source-url": + "http://github.com/richhickey/clojure-contrib/blob/4b4f6ab5bcab58c4219eb50395bd366daea3ecc3/src/clojure/contrib/str_utils2.clj#L299", + "wiki-url": + "http://richhickey.github.com/clojure-contrib//str-utils2-api.html#clojure.contrib.str-utils2/rtrim", + "namespace":"clojure.contrib.str-utils2", + "arglists":[["s"]], + "doc":"Removes whitespace from the right side of string.", + "name":"rtrim"}, + {"source-url": + "http://github.com/richhickey/clojure-contrib/blob/4b4f6ab5bcab58c4219eb50395bd366daea3ecc3/src/clojure/contrib/str_utils2.clj#L353", + "wiki-url": + "http://richhickey.github.com/clojure-contrib//str-utils2-api.html#clojure.contrib.str-utils2/split", + "namespace":"clojure.contrib.str-utils2", + "arglists":[["s", "re"], ["s", "re", "limit"]], + "doc": + "Splits string on a regular expression. Optional argument limit is\nthe maximum number of splits.", + "name":"split"}, + {"source-url": + "http://github.com/richhickey/clojure-contrib/blob/4b4f6ab5bcab58c4219eb50395bd366daea3ecc3/src/clojure/contrib/str_utils2.clj#L304", + "wiki-url": + "http://richhickey.github.com/clojure-contrib//str-utils2-api.html#clojure.contrib.str-utils2/split-lines", + "namespace":"clojure.contrib.str-utils2", + "arglists":[["s"]], + "doc":"Splits s on \\n or \\r\\n.", + "name":"split-lines"}, + {"source-url": + "http://github.com/richhickey/clojure-contrib/blob/4b4f6ab5bcab58c4219eb50395bd366daea3ecc3/src/clojure/contrib/str_utils2.clj#L267", + "wiki-url": + "http://richhickey.github.com/clojure-contrib//str-utils2-api.html#clojure.contrib.str-utils2/swap-case", + "namespace":"clojure.contrib.str-utils2", + "arglists":[["s"]], + "doc": + "Changes upper case characters to lower case and vice-versa.\nHandles Unicode supplementary characters correctly. Uses the\nlocale-sensitive String.toUpperCase() and String.toLowerCase()\nmethods.", + "name":"swap-case"}, + {"source-url": + "http://github.com/richhickey/clojure-contrib/blob/4b4f6ab5bcab58c4219eb50395bd366daea3ecc3/src/clojure/contrib/str_utils2.clj#L139", + "wiki-url": + "http://richhickey.github.com/clojure-contrib//str-utils2-api.html#clojure.contrib.str-utils2/tail", + "namespace":"clojure.contrib.str-utils2", + "arglists":[["s", "n"]], + "doc":"Returns the last n characters of s.", + "name":"tail"}, + {"source-url": + "http://github.com/richhickey/clojure-contrib/blob/4b4f6ab5bcab58c4219eb50395bd366daea3ecc3/src/clojure/contrib/str_utils2.clj#L107", + "wiki-url": + "http://richhickey.github.com/clojure-contrib//str-utils2-api.html#clojure.contrib.str-utils2/take", + "namespace":"clojure.contrib.str-utils2", + "arglists":[["s", "n"]], + "doc": + "Take first n characters from s, up to the length of s.\n\nNote the argument order is the opposite of clojure.core/take; this\nis to keep the string as the first argument for use with ->", + "name":"take"}, + {"source-url": + "http://github.com/richhickey/clojure-contrib/blob/4b4f6ab5bcab58c4219eb50395bd366daea3ecc3/src/clojure/contrib/str_utils2.clj#L359", + "wiki-url": + "http://richhickey.github.com/clojure-contrib//str-utils2-api.html#clojure.contrib.str-utils2/trim", + "namespace":"clojure.contrib.str-utils2", + "arglists":[["s"]], + "doc":"Removes whitespace from both ends of string.", + "name":"trim"}, + {"source-url": + "http://github.com/richhickey/clojure-contrib/blob/4b4f6ab5bcab58c4219eb50395bd366daea3ecc3/src/clojure/contrib/str_utils2.clj#L343", + "wiki-url": + "http://richhickey.github.com/clojure-contrib//str-utils2-api.html#clojure.contrib.str-utils2/upper-case", + "namespace":"clojure.contrib.str-utils2", + "arglists":[["s"]], + "doc":"Converts string to all upper-case.", + "name":"upper-case"}, + {"source-url": + "http://github.com/richhickey/clojure-contrib/blob/09d39aca5a69a83f4326ffb0d4ba8f9fc15c9861/src/clojure/contrib/stream_utils.clj#L183", + "wiki-url": + "http://richhickey.github.com/clojure-contrib//stream-utils-api.html#clojure.contrib.stream-utils/defst", + "namespace":"clojure.contrib.stream-utils", + "arglists":[["name", "args", "streams", "&", "body"]], + "doc": + "Define the stream transformer name by body.\nThe non-stream arguments args and the stream arguments streams\nare given separately, with args being possibly empty.", + "name":"defst"}, + {"source-url": + "http://github.com/richhickey/clojure-contrib/blob/09d39aca5a69a83f4326ffb0d4ba8f9fc15c9861/src/clojure/contrib/stream_utils.clj#L73", + "wiki-url": + "http://richhickey.github.com/clojure-contrib//stream-utils-api.html#clojure.contrib.stream-utils/defstream", + "namespace":"clojure.contrib.stream-utils", + "arglists":[["type-tag", "args", "&", "body"]], + "doc": + "Define object of the given type as a stream whose implementation\nof stream-next is defined by args and body. This macro adds\na type-specific method for stream-next and derives type\nfrom stream-type.", + "name":"defstream"}, + {"source-url": + "http://github.com/richhickey/clojure-contrib/blob/09d39aca5a69a83f4326ffb0d4ba8f9fc15c9861/src/clojure/contrib/stream_utils.clj#L149", + "wiki-url": + "http://richhickey.github.com/clojure-contrib//stream-utils-api.html#clojure.contrib.stream-utils/pick", + "namespace":"clojure.contrib.stream-utils", + "arglists":[["n"]], + "doc": + "Return the next value of stream argument n inside a stream\ntransformer. When used inside of defst, the name of the stream\nargument can be used instead of its index n.", + "name":"pick"}, + {"source-url": + "http://github.com/richhickey/clojure-contrib/blob/09d39aca5a69a83f4326ffb0d4ba8f9fc15c9861/src/clojure/contrib/stream_utils.clj#L160", + "wiki-url": + "http://richhickey.github.com/clojure-contrib//stream-utils-api.html#clojure.contrib.stream-utils/pick-all", + "namespace":"clojure.contrib.stream-utils", + "arglists":[["streams"]], + "doc": + "Return a vector containing the next value of each stream argument\ninside a stream transformer.", + "name":"pick-all"}, + {"source-url": + "http://github.com/richhickey/clojure-contrib/blob/09d39aca5a69a83f4326ffb0d4ba8f9fc15c9861/src/clojure/contrib/stream_utils.clj#L201", + "wiki-url": + "http://richhickey.github.com/clojure-contrib//stream-utils-api.html#clojure.contrib.stream-utils/stream-drop", + "namespace":"clojure.contrib.stream-utils", + "arglists":[["n", "stream"]], + "doc": + "Return a stream containing all but the first n elements of stream.", + "name":"stream-drop"}, + {"source-url": + "http://github.com/richhickey/clojure-contrib/blob/09d39aca5a69a83f4326ffb0d4ba8f9fc15c9861/src/clojure/contrib/stream_utils.clj#L243", + "wiki-url": + "http://richhickey.github.com/clojure-contrib//stream-utils-api.html#clojure.contrib.stream-utils/stream-filter", + "namespace":"clojure.contrib.stream-utils", + "arglists":[["p", "stream"]], + "doc": + "Return a new stream that contrains the elements of stream\nthat satisfy the predicate p.", + "name":"stream-filter"}, + {"source-url": + "http://github.com/richhickey/clojure-contrib/blob/09d39aca5a69a83f4326ffb0d4ba8f9fc15c9861/src/clojure/contrib/stream_utils.clj#L271", + "wiki-url": + "http://richhickey.github.com/clojure-contrib//stream-utils-api.html#clojure.contrib.stream-utils/stream-flatten", + "namespace":"clojure.contrib.stream-utils", + "arglists":[["s"]], + "doc": + "Converts a stream of sequences into a stream of the elements of the\nsequences. Flattening is not recursive, only one level of nesting\nwill be removed.", + "name":"stream-flatten"}, + {"source-url": + "http://github.com/richhickey/clojure-contrib/blob/09d39aca5a69a83f4326ffb0d4ba8f9fc15c9861/src/clojure/contrib/stream_utils.clj#L135", + "wiki-url": + "http://richhickey.github.com/clojure-contrib//stream-utils-api.html#clojure.contrib.stream-utils/stream-m", + "namespace":"clojure.contrib.stream-utils", + "doc": + "Monad describing stream computations. The monadic values can be\nof any type handled by stream-next.", + "name":"stream-m"}, + {"source-url": + "http://github.com/richhickey/clojure-contrib/blob/09d39aca5a69a83f4326ffb0d4ba8f9fc15c9861/src/clojure/contrib/stream_utils.clj#L219", + "wiki-url": + "http://richhickey.github.com/clojure-contrib//stream-utils-api.html#clojure.contrib.stream-utils/stream-map", + "namespace":"clojure.contrib.stream-utils", + "arglists":[["f", "stream"]], + "doc": + "Return a new stream by mapping the function f on the given stream.", + "name":"stream-map"}, + {"source-url": + "http://github.com/richhickey/clojure-contrib/blob/09d39aca5a69a83f4326ffb0d4ba8f9fc15c9861/src/clojure/contrib/stream_utils.clj#L91", + "wiki-url": + "http://richhickey.github.com/clojure-contrib//stream-utils-api.html#clojure.contrib.stream-utils/stream-next", + "namespace":"clojure.contrib.stream-utils", + "arglists":[["stream-state"]], + "doc": + "Returns a vector [next-value new-state] where next-value is the next\nitem in the data stream defined by stream-state and new-state\nis the new state of the stream. At the end of the stream,\nnext-value and new-state are nil.", + "name":"stream-next"}, + {"source-url": + "http://github.com/richhickey/clojure-contrib/blob/09d39aca5a69a83f4326ffb0d4ba8f9fc15c9861/src/clojure/contrib/stream_utils.clj#L113", + "wiki-url": + "http://richhickey.github.com/clojure-contrib//stream-utils-api.html#clojure.contrib.stream-utils/stream-seq", + "namespace":"clojure.contrib.stream-utils", + "arglists":[["s"]], + "doc": + "Return a lazy seq on the stream. Also accessible via\nclojure.contrib.seq-utils/seq-on and\nclojure.contrib.generic.collection/seq for streams.", + "name":"stream-seq"}, + {"source-url": + "http://github.com/richhickey/clojure-contrib/blob/09d39aca5a69a83f4326ffb0d4ba8f9fc15c9861/src/clojure/contrib/stream_utils.clj#L69", + "wiki-url": + "http://richhickey.github.com/clojure-contrib//stream-utils-api.html#clojure.contrib.stream-utils/stream-type", + "namespace":"clojure.contrib.stream-utils", + "doc": + "The root type for the stream hierarchy. For each stream type,\nadd a derivation from this type.", + "name":"stream-type"}, + {"source-url": + "http://github.com/richhickey/clojure-contrib/blob/2c75edd4a1764b9453107e50feceb0fc185faae2/src/clojure/contrib/swing_utils.clj#L70", + "wiki-url": + "http://richhickey.github.com/clojure-contrib//swing-utils-api.html#clojure.contrib.swing-utils/action-translation-table", + "namespace":"clojure.contrib.swing-utils", + "doc":"Translation table for the make-action constructor.", + "name":"action-translation-table"}, + {"source-url": + "http://github.com/richhickey/clojure-contrib/blob/2c75edd4a1764b9453107e50feceb0fc185faae2/src/clojure/contrib/swing_utils.clj#L23", + "wiki-url": + "http://richhickey.github.com/clojure-contrib//swing-utils-api.html#clojure.contrib.swing-utils/add-action-listener", + "namespace":"clojure.contrib.swing-utils", + "arglists":[["component", "f", "&", "args"]], + "doc": + "Adds an ActionLister to component. When the action fires, f will be\ninvoked with the event as its first argument followed by args.\nReturns the listener.", + "name":"add-action-listener"}, + {"source-url": + "http://github.com/richhickey/clojure-contrib/blob/2c75edd4a1764b9453107e50feceb0fc185faae2/src/clojure/contrib/swing_utils.clj#L33", + "wiki-url": + "http://richhickey.github.com/clojure-contrib//swing-utils-api.html#clojure.contrib.swing-utils/add-key-typed-listener", + "namespace":"clojure.contrib.swing-utils", + "arglists":[["component", "f", "&", "args"]], + "doc": + "Adds a KeyListener to component that only responds to KeyTyped events.\nWhen a key is typed, f is invoked with the KeyEvent as its first argument\nfollowed by args. Returns the listener.", + "name":"add-key-typed-listener"}, + {"source-url": + "http://github.com/richhickey/clojure-contrib/blob/2c75edd4a1764b9453107e50feceb0fc185faae2/src/clojure/contrib/swing_utils.clj#L101", + "wiki-url": + "http://richhickey.github.com/clojure-contrib//swing-utils-api.html#clojure.contrib.swing-utils/add-menu-item", + "namespace":"clojure.contrib.swing-utils", + "arglists":[["parent", "item"]], + "doc": + "Adds a menu item to the parent according to the item description.\n The item description is a map of the following structure.\n\nEither:\n - one single :action specifying a javax.swing.Action to be associated\n with the item.\n - a specification suitable for make-action\n - a set of :name, :mnemonic and :items keys, specifying a submenu with\n the given sequence of item entries.\n - an empty map specifying a separator.", + "name":"add-menu-item"}, + {"source-url": + "http://github.com/richhickey/clojure-contrib/blob/2c75edd4a1764b9453107e50feceb0fc185faae2/src/clojure/contrib/swing_utils.clj#L58", + "wiki-url": + "http://richhickey.github.com/clojure-contrib//swing-utils-api.html#clojure.contrib.swing-utils/do-swing", + "namespace":"clojure.contrib.swing-utils", + "arglists":[["&", "body"]], + "doc": + "Executes body in the Swing event thread asynchronously. Returns\nimmediately after scheduling the execution.", + "name":"do-swing"}, + {"source-url": + "http://github.com/richhickey/clojure-contrib/blob/2c75edd4a1764b9453107e50feceb0fc185faae2/src/clojure/contrib/swing_utils.clj#L46", + "wiki-url": + "http://richhickey.github.com/clojure-contrib//swing-utils-api.html#clojure.contrib.swing-utils/do-swing*", + "namespace":"clojure.contrib.swing-utils", + "arglists":[["schedule", "thunk"]], + "doc": + "Runs thunk in the Swing event thread according to schedule:\n- :later => schedule the execution and return immediately\n- :now => wait until the execution completes.", + "name":"do-swing*"}, + {"source-url": + "http://github.com/richhickey/clojure-contrib/blob/2c75edd4a1764b9453107e50feceb0fc185faae2/src/clojure/contrib/swing_utils.clj#L64", + "wiki-url": + "http://richhickey.github.com/clojure-contrib//swing-utils-api.html#clojure.contrib.swing-utils/do-swing-and-wait", + "namespace":"clojure.contrib.swing-utils", + "arglists":[["&", "body"]], + "doc": + "Executes body in the Swing event thread synchronously. Returns\nafter the execution is complete.", + "name":"do-swing-and-wait"}, + {"source-url": + "http://github.com/richhickey/clojure-contrib/blob/2c75edd4a1764b9453107e50feceb0fc185faae2/src/clojure/contrib/swing_utils.clj#L80", + "wiki-url": + "http://richhickey.github.com/clojure-contrib//swing-utils-api.html#clojure.contrib.swing-utils/make-action", + "namespace":"clojure.contrib.swing-utils", + "arglists":[["spec"]], + "doc": + "Create an Action proxy from the given action spec. The standard keys\nrecognised are: :name, :accelerator, :command-key, :long-desc,\n:short-desc, :mnemonic and :icon - corresponding to the similar named\nAction properties. The :handler value is used in the actionPerformed\nmethod of the proxy to pass on the event.", + "name":"make-action"}, + {"source-url": + "http://github.com/richhickey/clojure-contrib/blob/2c75edd4a1764b9453107e50feceb0fc185faae2/src/clojure/contrib/swing_utils.clj#L142", + "wiki-url": + "http://richhickey.github.com/clojure-contrib//swing-utils-api.html#clojure.contrib.swing-utils/make-menubar", + "namespace":"clojure.contrib.swing-utils", + "arglists":[["menubar-items"]], + "doc": + "Create a menubar containing the given sequence of menu items. The menu\nitems are described by a map as is detailed in the docstring of the\nadd-menu-item function.", + "name":"make-menubar"}, + {"source-url": + "http://github.com/richhickey/clojure-contrib/blob/2c75edd4a1764b9453107e50feceb0fc185faae2/src/clojure/contrib/swing_utils.clj#L97", + "wiki-url": + "http://richhickey.github.com/clojure-contrib//swing-utils-api.html#clojure.contrib.swing-utils/menu-constructor-dispatch", + "namespace":"clojure.contrib.swing-utils", + "doc": + "An atom containing the dispatch set for the add-menu-item method.", + "name":"menu-constructor-dispatch"}, + {"source-url":null, + "wiki-url": + "http://richhickey.github.com/clojure-contrib//test-is-api.html#clojure.contrib.test-is/*load-tests*", + "namespace":"clojure.contrib.test-is", + "doc": + "True by default. If set to false, no test functions will\nbe created by deftest, set-test, or with-test. Use this to omit\ntests when compiling or loading production code.", + "name":"*load-tests*"}, + {"source-url":null, + "wiki-url": + "http://richhickey.github.com/clojure-contrib//test-is-api.html#clojure.contrib.test-is/*stack-trace-depth*", + "namespace":"clojure.contrib.test-is", + "doc": + "The maximum depth of stack traces to print when an Exception\nis thrown during a test. Defaults to nil, which means print the \ncomplete stack trace.", + "name":"*stack-trace-depth*"}, + {"source-url": + "http://github.com/richhickey/clojure-contrib/blob/cdbfc8de5723bc352ee4fb54bd3eeb4502835362/src/clojure/contrib/test_is.clj#L76", + "wiki-url": + "http://richhickey.github.com/clojure-contrib//test-is-api.html#clojure.contrib.test-is/apply-template", + "namespace":"clojure.contrib.test-is", + "arglists":[["expr", "values"]], + "doc": + "Replaces _1, _2, _3, etc. in expr with corresponding elements of\nvalues. Returns the modified expression. For use in macros.", + "name":"apply-template"}, + {"source-url": + "http://github.com/richhickey/clojure-contrib/blob/cdbfc8de5723bc352ee4fb54bd3eeb4502835362/src/clojure/contrib/test_is.clj#L104", + "wiki-url": + "http://richhickey.github.com/clojure-contrib//test-is-api.html#clojure.contrib.test-is/are", + "namespace":"clojure.contrib.test-is", + "arglists":[["expr", "&", "args"]], + "doc": + "Checks multiple assertions with a template expression.\nSee clojure.contrib.template/do-template for an explanation of\ntemplates.\n\nExample: (are (= _1 _2) \n 2 (+ 1 1)\n 4 (* 2 2))\nExpands to: \n (do (is (= 2 (+ 1 1)))\n (is (= 4 (* 2 2))))\n\nNote: This breaks some reporting features, such as line numbers.", + "name":"are"}, + {"source-url":null, + "wiki-url": + "http://richhickey.github.com/clojure-contrib//test-is-api.html#clojure.contrib.test-is/assert-any", + "namespace":"clojure.contrib.test-is", + "arglists":[["msg", "form"]], + "doc": + "Returns generic assertion code for any test, including macros, Java\nmethod calls, or isolated symbols.", + "name":"assert-any"}, + {"source-url":null, + "wiki-url": + "http://richhickey.github.com/clojure-contrib//test-is-api.html#clojure.contrib.test-is/assert-predicate", + "namespace":"clojure.contrib.test-is", + "arglists":[["msg", "form"]], + "doc": + "Returns generic assertion code for any functional predicate. The\n'expected' argument to 'report' will contains the original form, the\n'actual' argument will contain the form with all its sub-forms\nevaluated. If the predicate returns false, the 'actual' form will\nbe wrapped in (not...).", + "name":"assert-predicate"}, + {"source-url":null, + "wiki-url": + "http://richhickey.github.com/clojure-contrib//test-is-api.html#clojure.contrib.test-is/compose-fixtures", + "namespace":"clojure.contrib.test-is", + "arglists":[["f1", "f2"]], + "doc": + "Composes two fixture functions, creating a new fixture function\nthat combines their behavior.", + "name":"compose-fixtures"}, + {"source-url":null, + "wiki-url": + "http://richhickey.github.com/clojure-contrib//test-is-api.html#clojure.contrib.test-is/deftest", + "namespace":"clojure.contrib.test-is", + "arglists":[["name", "&", "body"]], + "doc": + "Defines a test function with no arguments. Test functions may call\nother tests, so tests may be composed. If you compose tests, you\nshould also define a function named test-ns-hook; run-tests will\ncall test-ns-hook instead of testing all vars.\n\nNote: Actually, the test body goes in the :test metadata on the var,\nand the real function (the value of the var) calls test-var on\nitself.\n\nWhen *load-tests* is false, deftest is ignored.", + "name":"deftest"}, + {"source-url":null, + "wiki-url": + "http://richhickey.github.com/clojure-contrib//test-is-api.html#clojure.contrib.test-is/deftest-", + "namespace":"clojure.contrib.test-is", + "arglists":[["name", "&", "body"]], + "doc":"Like deftest but creates a private var.", + "name":"deftest-"}, + {"source-url": + "http://github.com/richhickey/clojure-contrib/blob/cdbfc8de5723bc352ee4fb54bd3eeb4502835362/src/clojure/contrib/test_is.clj#L87", + "wiki-url": + "http://richhickey.github.com/clojure-contrib//test-is-api.html#clojure.contrib.test-is/do-template", + "namespace":"clojure.contrib.test-is", + "arglists":[["expr", "&", "args"]], + "doc": + "Repeatedly evaluates template expr (in a do block) using values in\nargs. args are grouped by the number of holes in the template.\nExample: (do-template (check _1 _2) :a :b :c :d)\nexpands to (do (check :a :b) (check :c :d))", + "name":"do-template"}, + {"source-url":null, + "wiki-url": + "http://richhickey.github.com/clojure-contrib//test-is-api.html#clojure.contrib.test-is/file-position", + "namespace":"clojure.contrib.test-is", + "arglists":[["n"]], + "doc": + "Returns a vector [filename line-number] for the nth call up the\nstack.", + "name":"file-position"}, + {"source-url": + "http://github.com/richhickey/clojure-contrib/blob/cdbfc8de5723bc352ee4fb54bd3eeb4502835362/src/clojure/contrib/test_is.clj#L51", + "wiki-url": + "http://richhickey.github.com/clojure-contrib//test-is-api.html#clojure.contrib.test-is/find-holes", + "namespace":"clojure.contrib.test-is", + "arglists":[["form"]], + "doc":"Recursively finds all symbols starting with _ in form.", + "name":"find-holes"}, + {"source-url": + "http://github.com/richhickey/clojure-contrib/blob/cdbfc8de5723bc352ee4fb54bd3eeb4502835362/src/clojure/contrib/test_is.clj#L57", + "wiki-url": + "http://richhickey.github.com/clojure-contrib//test-is-api.html#clojure.contrib.test-is/find-pure-exprs", + "namespace":"clojure.contrib.test-is", + "arglists":[["form"]], + "doc": + "Recursively finds all sub-expressions in form that do not contain\nany symbols starting with _", + "name":"find-pure-exprs"}, + {"source-url": + "http://github.com/richhickey/clojure-contrib/blob/cdbfc8de5723bc352ee4fb54bd3eeb4502835362/src/clojure/contrib/test_is.clj#L46", + "wiki-url": + "http://richhickey.github.com/clojure-contrib//test-is-api.html#clojure.contrib.test-is/find-symbols", + "namespace":"clojure.contrib.test-is", + "arglists":[["form"]], + "doc":"Recursively finds all symbols in form.", + "name":"find-symbols"}, + {"source-url": + "http://github.com/richhickey/clojure-contrib/blob/cdbfc8de5723bc352ee4fb54bd3eeb4502835362/src/clojure/contrib/test_is.clj#L65", + "wiki-url": + "http://richhickey.github.com/clojure-contrib//test-is-api.html#clojure.contrib.test-is/flatten-map", + "namespace":"clojure.contrib.test-is", + "arglists":[["m"]], + "doc":"Transforms a map into a vector like [key value key value].", + "name":"flatten-map"}, + {"source-url":null, + "wiki-url": + "http://richhickey.github.com/clojure-contrib//test-is-api.html#clojure.contrib.test-is/function?", + "namespace":"clojure.contrib.test-is", + "arglists":[["x"]], + "doc": + "Returns true if argument is a function or a symbol that resolves to\na function (not a macro).", + "name":"function?"}, + {"source-url":null, + "wiki-url": + "http://richhickey.github.com/clojure-contrib//test-is-api.html#clojure.contrib.test-is/get-possibly-unbound-var", + "namespace":"clojure.contrib.test-is", + "arglists":[["v"]], + "doc":"Like var-get but returns nil if the var is unbound.", + "name":"get-possibly-unbound-var"}, + {"source-url":null, + "wiki-url": + "http://richhickey.github.com/clojure-contrib//test-is-api.html#clojure.contrib.test-is/inc-report-counter", + "namespace":"clojure.contrib.test-is", + "arglists":[["name"]], + "doc": + "Increments the named counter in *report-counters*, a ref to a map.\nDoes nothing if *report-counters* is nil.", + "name":"inc-report-counter"}, + {"source-url":null, + "wiki-url": + "http://richhickey.github.com/clojure-contrib//test-is-api.html#clojure.contrib.test-is/is", + "namespace":"clojure.contrib.test-is", + "arglists":[["form"], ["form", "msg"]], + "doc": + "Generic assertion macro. 'form' is any predicate test.\n'msg' is an optional message to attach to the assertion.\n\nExample: (is (= 4 (+ 2 2)) \"Two plus two should be 4\")\n\nSpecial forms:\n\n(is (thrown? c body)) checks that an instance of c is thrown from\nbody, fails if not; then returns the thing thrown.\n\n(is (thrown-with-msg? c re body)) checks that an instance of c is\nthrown AND that the message on the exception matches (with\nre-matches) the regular expression re.", + "name":"is"}, + {"source-url":null, + "wiki-url": + "http://richhickey.github.com/clojure-contrib//test-is-api.html#clojure.contrib.test-is/join-fixtures", + "namespace":"clojure.contrib.test-is", + "arglists":[["fixtures"]], + "doc": + "Composes a collection of fixtures, in order. Always returns a valid\nfixture function, even if the collection is empty.", + "name":"join-fixtures"}, + {"source-url":null, + "wiki-url": + "http://richhickey.github.com/clojure-contrib//test-is-api.html#clojure.contrib.test-is/report", + "namespace":"clojure.contrib.test-is", + "doc": + "Generic reporting function, may be overridden to plug in\ndifferent report formats (e.g., TAP, JUnit). Assertions such as\n'is' call 'report' to indicate results. The argument given to\n'report' will be a map with a :type key. See the documentation at\nthe top of test_is.clj for more information on the types of\narguments for 'report'.", + "name":"report"}, + {"source-url":null, + "wiki-url": + "http://richhickey.github.com/clojure-contrib//test-is-api.html#clojure.contrib.test-is/run-all-tests", + "namespace":"clojure.contrib.test-is", + "arglists":[[], ["re"]], + "doc": + "Runs all tests in all namespaces; prints results.\nOptional argument is a regular expression; only namespaces with\nnames matching the regular expression (with re-matches) will be\ntested.", + "name":"run-all-tests"}, + {"source-url":null, + "wiki-url": + "http://richhickey.github.com/clojure-contrib//test-is-api.html#clojure.contrib.test-is/run-tests", + "namespace":"clojure.contrib.test-is", + "arglists":[[], ["&", "namespaces"]], + "doc": + "Runs all tests in the given namespaces; prints results.\nDefaults to current namespace if none given. Returns a map\nsummarizing test results.", + "name":"run-tests"}, + {"source-url":null, + "wiki-url": + "http://richhickey.github.com/clojure-contrib//test-is-api.html#clojure.contrib.test-is/set-test", + "namespace":"clojure.contrib.test-is", + "arglists":[["name", "&", "body"]], + "doc": + "Experimental.\nSets :test metadata of the named var to a fn with the given body.\nThe var must already exist. Does not modify the value of the var.\n\nWhen *load-tests* is false, set-test is ignored.", + "name":"set-test"}, + {"source-url":null, + "wiki-url": + "http://richhickey.github.com/clojure-contrib//test-is-api.html#clojure.contrib.test-is/successful?", + "namespace":"clojure.contrib.test-is", + "arglists":[["summary"]], + "doc": + "Returns true if the given test summary indicates all tests\nwere successful, false otherwise.", + "name":"successful?"}, + {"source-url": + "http://github.com/richhickey/clojure-contrib/blob/cdbfc8de5723bc352ee4fb54bd3eeb4502835362/src/clojure/contrib/test_is.clj#L71", + "wiki-url": + "http://richhickey.github.com/clojure-contrib//test-is-api.html#clojure.contrib.test-is/template?", + "namespace":"clojure.contrib.test-is", + "arglists":[["form"]], + "doc":"Returns true if form is a valid template expression.", + "name":"template?"}, + {"source-url":null, + "wiki-url": + "http://richhickey.github.com/clojure-contrib//test-is-api.html#clojure.contrib.test-is/test-all-vars", + "namespace":"clojure.contrib.test-is", + "arglists":[["ns"]], + "doc": + "Calls test-var on every var interned in the namespace, with fixtures.", + "name":"test-all-vars"}, + {"source-url":null, + "wiki-url": + "http://richhickey.github.com/clojure-contrib//test-is-api.html#clojure.contrib.test-is/test-ns", + "namespace":"clojure.contrib.test-is", + "arglists":[["ns"]], + "doc": + "If the namespace defines a function named test-ns-hook, calls that.\nOtherwise, calls test-all-vars on the namespace. 'ns' is a\nnamespace object or a symbol.\n\nInternally binds *report-counters* to a ref initialized to\n*inital-report-counters*. Returns the final, dereferenced state of\n*report-counters*.", + "name":"test-ns"}, + {"source-url":null, + "wiki-url": + "http://richhickey.github.com/clojure-contrib//test-is-api.html#clojure.contrib.test-is/test-var", + "namespace":"clojure.contrib.test-is", + "arglists":[["v"]], + "doc": + "If v has a function in its :test metadata, calls that function,\nwith *testing-vars* bound to (conj *testing-vars* v).", + "name":"test-var"}, + {"source-url":null, + "wiki-url": + "http://richhickey.github.com/clojure-contrib//test-is-api.html#clojure.contrib.test-is/testing", + "namespace":"clojure.contrib.test-is", + "arglists":[["string", "&", "body"]], + "doc": + "Adds a new string to the list of testing contexts. May be nested,\nbut must occur inside a test function (deftest).", + "name":"testing"}, + {"source-url":null, + "wiki-url": + "http://richhickey.github.com/clojure-contrib//test-is-api.html#clojure.contrib.test-is/testing-contexts-str", + "namespace":"clojure.contrib.test-is", + "arglists":[[]], + "doc": + "Returns a string representation of the current test context. Joins\nstrings in *testing-contexts* with spaces.", + "name":"testing-contexts-str"}, {"source-url":null, "wiki-url": - "http://richhickey.github.com/clojure-contrib//singleton-api.html#clojure.contrib.singleton/per-thread-singleton", - "namespace":"clojure.contrib.singleton", - "arglists":[["f"]], + "http://richhickey.github.com/clojure-contrib//test-is-api.html#clojure.contrib.test-is/testing-vars-str", + "namespace":"clojure.contrib.test-is", + "arglists":[[]], "doc": - "Returns a per-thread singleton function. f is a function of no\narguments that creates and returns some object. The singleton\nfunction will call f only once for each thread, and cache its value\nfor subsequent calls from the same thread. This allows you to\nsafely and lazily initialize shared objects on a per-thread basis.\n\nWarning: due to a bug in JDK 5, it may not be safe to use a\nper-thread-singleton in the initialization function for another\nper-thread-singleton. See\nhttp://bugs.sun.com/bugdatabase/view_bug.do?bug_id=5025230", - "name":"per-thread-singleton"}, + "Returns a string representation of the current test. Renders names\nin *testing-vars* as a list, then the source file and line of\ncurrent assertion.", + "name":"testing-vars-str"}, {"source-url":null, "wiki-url": - "http://richhickey.github.com/clojure-contrib//str-utils-api.html#clojure.contrib.str-utils/chomp", - "namespace":"clojure.contrib.str-utils", - "arglists":[["s"]], + "http://richhickey.github.com/clojure-contrib//test-is-api.html#clojure.contrib.test-is/try-expr", + "namespace":"clojure.contrib.test-is", + "arglists":[["msg", "form"]], "doc": - "Removes all trailing newline \\n or return \\r characters from\nstring. Note: String.trim() is similar and faster.", - "name":"chomp"}, + "Used by the 'is' macro to catch unexpected exceptions.\nYou don't call this.", + "name":"try-expr"}, {"source-url":null, "wiki-url": - "http://richhickey.github.com/clojure-contrib//str-utils-api.html#clojure.contrib.str-utils/chop", - "namespace":"clojure.contrib.str-utils", - "arglists":[["s"]], - "doc":"Removes the last character of string.", - "name":"chop"}, + "http://richhickey.github.com/clojure-contrib//test-is-api.html#clojure.contrib.test-is/use-fixtures", + "namespace":"clojure.contrib.test-is", + "doc": + "Wrap test runs in a fixture function to perform setup and\nteardown. Using a fixture-type of :each wraps every test\nindividually, while:once wraps the whole run in a single function.", + "name":"use-fixtures"}, {"source-url":null, "wiki-url": - "http://richhickey.github.com/clojure-contrib//str-utils-api.html#clojure.contrib.str-utils/re-gsub", - "namespace":"clojure.contrib.str-utils", - "arglists":[["regex", "replacement", "string"]], + "http://richhickey.github.com/clojure-contrib//test-is-api.html#clojure.contrib.test-is/with-test", + "namespace":"clojure.contrib.test-is", + "arglists":[["definition", "&", "body"]], "doc": - "Replaces all instances of 'pattern' in 'string' with\n'replacement'. Like Ruby's 'String#gsub'.\n\nIf (ifn? replacment) is true, the replacement is called with the\nmatch.\n", - "name":"re-gsub"}, + "Takes any definition form (that returns a Var) as the first argument.\nRemaining body goes in the :test metadata function for that Var.\n\nWhen *load-tests* is false, only evaluates the definition, ignoring\nthe tests.", + "name":"with-test"}, {"source-url":null, "wiki-url": - "http://richhickey.github.com/clojure-contrib//str-utils-api.html#clojure.contrib.str-utils/re-partition", - "namespace":"clojure.contrib.str-utils", - "arglists":[["re", "string"]], + "http://richhickey.github.com/clojure-contrib//test-is-api.html#clojure.contrib.test-is/with-test-out", + "namespace":"clojure.contrib.test-is", + "arglists":[["&", "body"]], + "doc":"Runs body with *out* bound to the value of *test-out*.", + "name":"with-test-out"}, + {"source-url": + "http://github.com/richhickey/clojure-contrib/blob/6dff158bdec5f06c33877c6c6550699d5e08ca71/src/clojure/contrib/trace.clj#L40", + "wiki-url": + "http://richhickey.github.com/clojure-contrib//trace-api.html#clojure.contrib.trace/*trace-depth*", + "namespace":"clojure.contrib.trace", + "doc":"Current stack depth of traced function calls.", + "name":"*trace-depth*"}, + {"source-url": + "http://github.com/richhickey/clojure-contrib/blob/6dff158bdec5f06c33877c6c6550699d5e08ca71/src/clojure/contrib/trace.clj#L75", + "wiki-url": + "http://richhickey.github.com/clojure-contrib//trace-api.html#clojure.contrib.trace/deftrace", + "namespace":"clojure.contrib.trace", + "arglists":[["name", "&", "definition"]], "doc": - "Splits the string into a lazy sequence of substrings, alternating\nbetween substrings that match the patthern and the substrings\nbetween the matches. The sequence always starts with the substring\nbefore the first match, or an empty string if the beginning of the\nstring matches.\n\nFor example: (re-partition #\"[a-z]+\" \"abc123def\")\n\nReturns: (\"\" \"abc\" \"123\" \"def\")", - "name":"re-partition"}, - {"source-url":null, + "Use in place of defn; traces each call/return of this fn, including\narguments. Nested calls to deftrace'd functions will print a\ntree-like structure.", + "name":"deftrace"}, + {"source-url": + "http://github.com/richhickey/clojure-contrib/blob/6dff158bdec5f06c33877c6c6550699d5e08ca71/src/clojure/contrib/trace.clj#L86", "wiki-url": - "http://richhickey.github.com/clojure-contrib//str-utils-api.html#clojure.contrib.str-utils/re-split", - "namespace":"clojure.contrib.str-utils", - "arglists":[["pattern", "string"], ["pattern", "string", "limit"]], + "http://richhickey.github.com/clojure-contrib//trace-api.html#clojure.contrib.trace/dotrace", + "namespace":"clojure.contrib.trace", + "arglists":[["fns", "&", "exprs"]], "doc": - "Splits the string on instances of 'pattern'. Returns a sequence of\nstrings. Optional 'limit' argument is the maximum number of\nsplits. Like Perl's 'split'.", - "name":"re-split"}, - {"source-url":null, + "Given a sequence of function identifiers, evaluate the body\nexpressions in an environment in which the identifiers are bound to\nthe traced functions. Does not work on inlined functions,\nsuch as clojure.core/+", + "name":"dotrace"}, + {"source-url": + "http://github.com/richhickey/clojure-contrib/blob/6dff158bdec5f06c33877c6c6550699d5e08ca71/src/clojure/contrib/trace.clj#L50", "wiki-url": - "http://richhickey.github.com/clojure-contrib//str-utils-api.html#clojure.contrib.str-utils/re-sub", - "namespace":"clojure.contrib.str-utils", - "arglists":[["regex", "replacement", "string"]], + "http://richhickey.github.com/clojure-contrib//trace-api.html#clojure.contrib.trace/trace", + "namespace":"clojure.contrib.trace", + "arglists":[["value"], ["name", "value"]], "doc": - "Replaces the first instance of 'pattern' in 'string' with\n'replacement'. Like Ruby's 'String#sub'.\n\nIf (ifn? replacement) is true, the replacement is called with\nthe match.\n", - "name":"re-sub"}, - {"source-url":null, + "Sends name (optional) and value to the tracer function, then\nreturns value. May be wrapped around any expression without\naffecting the result.", + "name":"trace"}, + {"source-url": + "http://github.com/richhickey/clojure-contrib/blob/6dff158bdec5f06c33877c6c6550699d5e08ca71/src/clojure/contrib/trace.clj#L64", "wiki-url": - "http://richhickey.github.com/clojure-contrib//str-utils-api.html#clojure.contrib.str-utils/str-join", - "namespace":"clojure.contrib.str-utils", - "arglists":[["separator", "sequence"]], + "http://richhickey.github.com/clojure-contrib//trace-api.html#clojure.contrib.trace/trace-fn-call", + "namespace":"clojure.contrib.trace", + "arglists":[["name", "f", "args"]], "doc": - "Returns a string of all elements in 'sequence', separated by\n'separator'. Like Perl's 'join'.", - "name":"str-join"}, - {"source-url":null, + "Traces a single call to a function f with args. 'name' is the\nsymbol name of the function.", + "name":"trace-fn-call"}, + {"source-url": + "http://github.com/richhickey/clojure-contrib/blob/6dff158bdec5f06c33877c6c6550699d5e08ca71/src/clojure/contrib/trace.clj#L59", "wiki-url": - "http://richhickey.github.com/clojure-contrib//str-utils2-api.html#clojure.contrib.str-utils2/blank?", - "namespace":"clojure.contrib.str-utils2", - "arglists":[["s"]], - "doc":"True if s is nil, empty, or contains only whitespace.", - "name":"blank?"}, - {"source-url":null, + "http://richhickey.github.com/clojure-contrib//trace-api.html#clojure.contrib.trace/trace-indent", + "namespace":"clojure.contrib.trace", + "arglists":[[]], + "doc":"Returns an indentation string based on *trace-depth*", + "name":"trace-indent"}, + {"source-url": + "http://github.com/richhickey/clojure-contrib/blob/6dff158bdec5f06c33877c6c6550699d5e08ca71/src/clojure/contrib/trace.clj#L44", "wiki-url": - "http://richhickey.github.com/clojure-contrib//str-utils2-api.html#clojure.contrib.str-utils2/butlast", - "namespace":"clojure.contrib.str-utils2", - "arglists":[["s", "n"]], + "http://richhickey.github.com/clojure-contrib//trace-api.html#clojure.contrib.trace/tracer", + "namespace":"clojure.contrib.trace", + "arglists":[["name", "value"]], "doc": - "Returns s without the last n characters. Returns an empty string\nif n is greater than the length of s.\n\nNote the argument order is the opposite of clojure.core/butlast;\nthis is to keep the string as the first argument for use with ->", - "name":"butlast"}, - {"source-url":null, + "This function is called by trace. Prints to standard output, but\nmay be rebound to do anything you like. 'name' is optional.", + "name":"tracer"}, + {"source-url": + "http://github.com/richhickey/clojure-contrib/blob/e5b7819ef66410a87b8072417dc2f09ac4ddb03f/src/clojure/contrib/types.clj#L128", + "wiki-url": + "http://richhickey.github.com/clojure-contrib//types-api.html#clojure.contrib.types/defadt", + "namespace":"clojure.contrib.types", + "arglists":[["type-tag", "&", "constructors"]], + "doc": + "Define an algebraic data type name by an exhaustive list of constructors.\nEach constructor can be a symbol (argument-free constructor) or a\nlist consisting of a tag symbol followed by the argument symbols.\nThe data type tag must be a keyword.", + "name":"defadt"}, + {"source-url": + "http://github.com/richhickey/clojure-contrib/blob/e5b7819ef66410a87b8072417dc2f09ac4ddb03f/src/clojure/contrib/types.clj#L54", + "wiki-url": + "http://richhickey.github.com/clojure-contrib//types-api.html#clojure.contrib.types/deftype", + "namespace":"clojure.contrib.types", + "arglists": + [["type-tag", "constructor-name", "docstring?", "attr-map?"], + ["type-tag", "constructor-name", "docstring?", "attr-map?", + "constructor"], + ["type-tag", "constructor-name", "docstring?", "attr-map?", + "constructor", "deconstructor"]], + "doc": + "Define a data type by a type tag (a namespace-qualified keyword)\nand a symbol naming the constructor function. Optionally, a\nconstructor and a deconstructor function can be given as well,\nthe defaults being clojure.core/identity and clojure.core/list.\nThe full constructor associated with constructor-name calls the\nconstructor function and attaches the type tag to its result\nas metadata. The deconstructor function must return the arguments\nto be passed to the constructor in order to create an equivalent\nobject. It is used for printing and matching.", + "name":"deftype"}, + {"source-url": + "http://github.com/richhickey/clojure-contrib/blob/e5b7819ef66410a87b8072417dc2f09ac4ddb03f/src/clojure/contrib/types.clj#L88", + "wiki-url": + "http://richhickey.github.com/clojure-contrib//types-api.html#clojure.contrib.types/deftype-", + "namespace":"clojure.contrib.types", + "arglists":[["type-tag", "constructor-name", "&", "optional"]], + "doc":"Same as deftype but the constructor is private.", + "name":"deftype-"}, + {"source-url": + "http://github.com/richhickey/clojure-contrib/blob/e5b7819ef66410a87b8072417dc2f09ac4ddb03f/src/clojure/contrib/types.clj#L241", + "wiki-url": + "http://richhickey.github.com/clojure-contrib//types-api.html#clojure.contrib.types/match", + "namespace":"clojure.contrib.types", + "arglists":[["value", "&", "clauses"]], + "doc": + "Given a value and a list of template-expr clauses, evaluate the first\nexpr whose template matches the value. There are four kinds of templates:\n1) Lists of the form (tag x1 x2 ...) match instances of types\n whose constructor has the same form as the list.\n2) Quoted lists of the form '(x1 x2 ...) match lists of the same\n length.\n3) Vectors of the form [x1 x2 ...] match vectors of the same length.\n4) Maps of the form {:key1 x1 :key2 x2 ...} match maps that have\n the same keys as the template, but which can have additional keys\n that are not part of the template.\nThe values x1, x2, ... can be symbols or non-symbol values. Non-symbols\nmust be equal to the corresponding values in the object to be matched.\nSymbols will be bound to the corresponding value in the object in the\nevaluation of expr. If the same symbol occurs more than once in a,\ntemplate the corresponding elements of the object must be equal\nfor the template to match.", + "name":"match"}, + {"source-url": + "http://github.com/richhickey/clojure-contrib/blob/f24f6412a1cee7015285856e5e4fc6ddc3974439/src/clojure/contrib/with_ns.clj#L20", + "wiki-url": + "http://richhickey.github.com/clojure-contrib//with-ns-api.html#clojure.contrib.with-ns/with-ns", + "namespace":"clojure.contrib.with-ns", + "arglists":[["ns", "&", "body"]], + "doc": + "Evaluates body in another namespace. ns is either a namespace\nobject or a symbol. This makes it possible to define functions in\nnamespaces other than the current one.", + "name":"with-ns"}, + {"source-url": + "http://github.com/richhickey/clojure-contrib/blob/f24f6412a1cee7015285856e5e4fc6ddc3974439/src/clojure/contrib/with_ns.clj#L28", + "wiki-url": + "http://richhickey.github.com/clojure-contrib//with-ns-api.html#clojure.contrib.with-ns/with-temp-ns", + "namespace":"clojure.contrib.with-ns", + "arglists":[["&", "body"]], + "doc": + "Evaluates body in an anonymous namespace, which is then immediately\nremoved. The temporary namespace will 'refer' clojure.core.", + "name":"with-temp-ns"}, + {"source-url": + "http://github.com/richhickey/clojure-contrib/blob/e5b7819ef66410a87b8072417dc2f09ac4ddb03f/src/clojure/contrib/zip_filter.clj#L65", + "wiki-url": + "http://richhickey.github.com/clojure-contrib//zip-filter-api.html#clojure.contrib.zip-filter/ancestors", + "namespace":"clojure.contrib.zip-filter", + "arglists":[["loc"]], + "doc": + "Returns a lazy sequence of all ancestors of location loc, starting\nwith loc and proceeding to loc's parent node and on through to the\nroot of the tree.", + "name":"ancestors"}, + {"source-url": + "http://github.com/richhickey/clojure-contrib/blob/e5b7819ef66410a87b8072417dc2f09ac4ddb03f/src/clojure/contrib/zip_filter.clj#L45", + "wiki-url": + "http://richhickey.github.com/clojure-contrib//zip-filter-api.html#clojure.contrib.zip-filter/children", + "namespace":"clojure.contrib.zip-filter", + "arglists":[["loc"]], + "doc": + "Returns a lazy sequence of all immediate children of location loc,\nleft-to-right.", + "name":"children"}, + {"source-url": + "http://github.com/richhickey/clojure-contrib/blob/e5b7819ef66410a87b8072417dc2f09ac4ddb03f/src/clojure/contrib/zip_filter.clj#L52", + "wiki-url": + "http://richhickey.github.com/clojure-contrib//zip-filter-api.html#clojure.contrib.zip-filter/children-auto", + "namespace":"clojure.contrib.zip-filter", + "arglists":[["loc"]], + "doc": + "Returns a lazy sequence of all immediate children of location loc,\nleft-to-right, marked so that a following tag= predicate will auto-descend.", + "name":"children-auto"}, + {"source-url": + "http://github.com/richhickey/clojure-contrib/blob/e5b7819ef66410a87b8072417dc2f09ac4ddb03f/src/clojure/contrib/zip_filter.clj#L60", + "wiki-url": + "http://richhickey.github.com/clojure-contrib//zip-filter-api.html#clojure.contrib.zip-filter/descendants", + "namespace":"clojure.contrib.zip-filter", + "arglists":[["loc"]], + "doc": + "Returns a lazy sequence of all descendants of location loc, in\ndepth-first order, left-to-right, starting with loc.", + "name":"descendants"}, + {"source-url": + "http://github.com/richhickey/clojure-contrib/blob/e5b7819ef66410a87b8072417dc2f09ac4ddb03f/src/clojure/contrib/zip_filter.clj#L33", + "wiki-url": + "http://richhickey.github.com/clojure-contrib//zip-filter-api.html#clojure.contrib.zip-filter/left-locs", + "namespace":"clojure.contrib.zip-filter", + "arglists":[["loc"]], + "doc": + "Returns a lazy sequence of locations to the left of loc, starting with loc.", + "name":"left-locs"}, + {"source-url": + "http://github.com/richhickey/clojure-contrib/blob/e5b7819ef66410a87b8072417dc2f09ac4ddb03f/src/clojure/contrib/zip_filter.clj#L37", + "wiki-url": + "http://richhickey.github.com/clojure-contrib//zip-filter-api.html#clojure.contrib.zip-filter/leftmost?", + "namespace":"clojure.contrib.zip-filter", + "arglists":[["loc"]], + "doc": + "Returns true if there are no more nodes to the left of location loc.", + "name":"leftmost?"}, + {"source-url": + "http://github.com/richhickey/clojure-contrib/blob/e5b7819ef66410a87b8072417dc2f09ac4ddb03f/src/clojure/contrib/zip_filter.clj#L29", + "wiki-url": + "http://richhickey.github.com/clojure-contrib//zip-filter-api.html#clojure.contrib.zip-filter/right-locs", + "namespace":"clojure.contrib.zip-filter", + "arglists":[["loc"]], + "doc": + "Returns a lazy sequence of locations to the right of loc, starting with loc.", + "name":"right-locs"}, + {"source-url": + "http://github.com/richhickey/clojure-contrib/blob/e5b7819ef66410a87b8072417dc2f09ac4ddb03f/src/clojure/contrib/zip_filter.clj#L41", + "wiki-url": + "http://richhickey.github.com/clojure-contrib//zip-filter-api.html#clojure.contrib.zip-filter/rightmost?", + "namespace":"clojure.contrib.zip-filter", + "arglists":[["loc"]], + "doc": + "Returns true if there are no more nodes to the right of location loc.", + "name":"rightmost?"}, + {"source-url": + "http://github.com/richhickey/clojure-contrib/blob/443409f56420f3dc7972131c34c189e63d28fdcb/src/clojure/contrib/condition/Condition.clj#L25", + "wiki-url": + "http://richhickey.github.com/clojure-contrib//condition-api.html#clojure.contrib.condition.Condition/-init", + "namespace":"clojure.contrib.condition.Condition", + "arglists":[["condition"]], + "doc": + "Constructs a Condition object with condition (a map) as its\nmetadata. Also initializes the superclass with the values at :message\nand :cause, if any, so they are also available via .getMessage and\n.getCause.", + "name":"-init"}, + {"source-url": + "http://github.com/richhickey/clojure-contrib/blob/443409f56420f3dc7972131c34c189e63d28fdcb/src/clojure/contrib/condition/Condition.clj#L40", + "wiki-url": + "http://richhickey.github.com/clojure-contrib//condition-api.html#clojure.contrib.condition.Condition/-meta", + "namespace":"clojure.contrib.condition.Condition", + "arglists":[["this"]], + "doc":"Returns this object's metadata, the condition", + "name":"-meta"}, + {"source-url": + "http://github.com/richhickey/clojure-contrib/blob/443409f56420f3dc7972131c34c189e63d28fdcb/src/clojure/contrib/condition/Condition.clj#L33", "wiki-url": - "http://richhickey.github.com/clojure-contrib//str-utils2-api.html#clojure.contrib.str-utils2/capitalize", - "namespace":"clojure.contrib.str-utils2", - "arglists":[["s"]], + "http://richhickey.github.com/clojure-contrib//condition-api.html#clojure.contrib.condition.Condition/-post-init", + "namespace":"clojure.contrib.condition.Condition", + "arglists":[["this", "condition"]], "doc": - "Converts first character of the string to upper-case, all other\ncharacters to lower-case.", - "name":"capitalize"}, - {"source-url":null, + "Adds :stack-trace to the condition. Drops the bottom 3 frames because\nthey are always the same: implementation details of Condition and raise.", + "name":"-post-init"}, + {"source-url": + "http://github.com/richhickey/clojure-contrib/blob/f087e3a7f8b2f2ca48c07db2a47724ce7b98dce7/src/clojure/contrib/datalog/database.clj#L85", "wiki-url": - "http://richhickey.github.com/clojure-contrib//str-utils2-api.html#clojure.contrib.str-utils2/chomp", - "namespace":"clojure.contrib.str-utils2", - "arglists":[["s"]], + "http://richhickey.github.com/clojure-contrib//datalog-api.html#clojure.contrib.datalog.database/add-index", + "namespace":"clojure.contrib.datalog.database", + "arglists":[["db", "name", "key"]], + "doc":"Adds an index to an empty relation named name", + "name":"add-index"}, + {"source-url": + "http://github.com/richhickey/clojure-contrib/blob/f087e3a7f8b2f2ca48c07db2a47724ce7b98dce7/src/clojure/contrib/datalog/database.clj#L80", + "wiki-url": + "http://richhickey.github.com/clojure-contrib//datalog-api.html#clojure.contrib.datalog.database/add-relation", + "namespace":"clojure.contrib.datalog.database", + "arglists":[["db", "name", "keys"]], + "doc":"Adds a relation to the database", + "name":"add-relation"}, + {"source-url": + "http://github.com/richhickey/clojure-contrib/blob/f087e3a7f8b2f2ca48c07db2a47724ce7b98dce7/src/clojure/contrib/datalog/database.clj#L171", + "wiki-url": + "http://richhickey.github.com/clojure-contrib//datalog-api.html#clojure.contrib.datalog.database/add-tuple", + "namespace":"clojure.contrib.datalog.database", + "arglists":[["db", "rel-name", "tuple"], ["rel", "tuple"]], "doc": - "Removes all trailing newline \\n or return \\r characters from\nstring. Note: String.trim() is similar and faster.", - "name":"chomp"}, - {"source-url":null, + "Two forms:\n\n[db relation-name tuple] adds tuple to the named relation. Returns\nthe new database.\n\n[rel tuple] adds to the relation object. Returns the new relation.", + "name":"add-tuple"}, + {"source-url": + "http://github.com/richhickey/clojure-contrib/blob/f087e3a7f8b2f2ca48c07db2a47724ce7b98dce7/src/clojure/contrib/datalog/database.clj#L206", "wiki-url": - "http://richhickey.github.com/clojure-contrib//str-utils2-api.html#clojure.contrib.str-utils2/chop", - "namespace":"clojure.contrib.str-utils2", - "arglists":[["s"]], + "http://richhickey.github.com/clojure-contrib//datalog-api.html#clojure.contrib.datalog.database/add-tuples", + "namespace":"clojure.contrib.datalog.database", + "arglists":[["db", "&", "tupls"]], "doc": - "Removes the last character of string, does nothing on a zero-length\nstring.", - "name":"chop"}, - {"source-url":null, + "Adds a collection of tuples to the db, as\n(add-tuples db\n [:rel-name :key-1 1 :key-2 2]\n [:rel-name :key-1 2 :key-2 3])", + "name":"add-tuples"}, + {"source-url": + "http://github.com/richhickey/clojure-contrib/blob/f087e3a7f8b2f2ca48c07db2a47724ce7b98dce7/src/clojure/contrib/datalog/database.clj#L252", "wiki-url": - "http://richhickey.github.com/clojure-contrib//str-utils2-api.html#clojure.contrib.str-utils2/codepoints", - "namespace":"clojure.contrib.str-utils2", - "arglists":[["s"]], + "http://richhickey.github.com/clojure-contrib//datalog-api.html#clojure.contrib.datalog.database/any-match?", + "namespace":"clojure.contrib.datalog.database", + "arglists":[["db", "rn", "pt"]], "doc": - "Returns a sequence of integer Unicode code points in s. Handles\nUnicode supplementary characters (above U+FFFF) correctly.", - "name":"codepoints"}, - {"source-url":null, + "Finds if there are any matching records for the partial tuple", + "name":"any-match?"}, + {"source-url": + "http://github.com/richhickey/clojure-contrib/blob/f087e3a7f8b2f2ca48c07db2a47724ce7b98dce7/src/clojure/contrib/datalog/database.clj#L143", "wiki-url": - "http://richhickey.github.com/clojure-contrib//str-utils2-api.html#clojure.contrib.str-utils2/contains?", - "namespace":"clojure.contrib.str-utils2", - "arglists":[["s", "substring"]], - "doc":"True if s contains the substring.", - "name":"contains?"}, - {"source-url":null, + "http://richhickey.github.com/clojure-contrib//datalog-api.html#clojure.contrib.datalog.database/database-counts", + "namespace":"clojure.contrib.datalog.database", + "arglists":[["db"]], + "doc":"Returns a map with the count of elements in each relation.", + "name":"database-counts"}, + {"source-url": + "http://github.com/richhickey/clojure-contrib/blob/f087e3a7f8b2f2ca48c07db2a47724ce7b98dce7/src/clojure/contrib/datalog/database.clj#L276", "wiki-url": - "http://richhickey.github.com/clojure-contrib//str-utils2-api.html#clojure.contrib.str-utils2/dochars", - "namespace":"clojure.contrib.str-utils2", - "arglists":[["bindings", "&", "body"]], + "http://richhickey.github.com/clojure-contrib//datalog-api.html#clojure.contrib.datalog.database/database-merge", + "namespace":"clojure.contrib.datalog.database", + "arglists":[["dbs"]], + "doc":"Merges databases together", + "name":"database-merge"}, + {"source-url": + "http://github.com/richhickey/clojure-contrib/blob/f087e3a7f8b2f2ca48c07db2a47724ce7b98dce7/src/clojure/contrib/datalog/database.clj#L281", + "wiki-url": + "http://richhickey.github.com/clojure-contrib//datalog-api.html#clojure.contrib.datalog.database/database-merge-parallel", + "namespace":"clojure.contrib.datalog.database", + "arglists":[["dbs"]], + "doc":"Merges databases together in parallel", + "name":"database-merge-parallel"}, + {"source-url": + "http://github.com/richhickey/clojure-contrib/blob/f087e3a7f8b2f2ca48c07db2a47724ce7b98dce7/src/clojure/contrib/datalog/database.clj#L75", + "wiki-url": + "http://richhickey.github.com/clojure-contrib//datalog-api.html#clojure.contrib.datalog.database/datalog-relation", + "namespace":"clojure.contrib.datalog.database", + "arglists":[["schema", "data", "indexes"]], + "doc":"Creates a relation", + "name":"datalog-relation"}, + {"source-url": + "http://github.com/richhickey/clojure-contrib/blob/f087e3a7f8b2f2ca48c07db2a47724ce7b98dce7/src/clojure/contrib/datalog/database.clj#L95", + "wiki-url": + "http://richhickey.github.com/clojure-contrib//datalog-api.html#clojure.contrib.datalog.database/ensure-relation", + "namespace":"clojure.contrib.datalog.database", + "arglists":[["db", "name", "keys", "indexes"]], + "doc":"If the database lacks the named relation, add it", + "name":"ensure-relation"}, + {"source-url": + "http://github.com/richhickey/clojure-contrib/blob/f087e3a7f8b2f2ca48c07db2a47724ce7b98dce7/src/clojure/contrib/datalog/database.clj#L129", + "wiki-url": + "http://richhickey.github.com/clojure-contrib//datalog-api.html#clojure.contrib.datalog.database/get-relation", + "namespace":"clojure.contrib.datalog.database", + "arglists":[["db", "rel-name"]], + "doc":"Get a relation object by name", + "name":"get-relation"}, + {"source-url": + "http://github.com/richhickey/clojure-contrib/blob/f087e3a7f8b2f2ca48c07db2a47724ce7b98dce7/src/clojure/contrib/datalog/database.clj#L108", + "wiki-url": + "http://richhickey.github.com/clojure-contrib//datalog-api.html#clojure.contrib.datalog.database/make-database", + "namespace":"clojure.contrib.datalog.database", + "arglists":[["&", "commands"]], "doc": - "bindings => [name string]\n\nRepeatedly executes body, with name bound to each character in\nstring. Does NOT handle Unicode supplementary characters (above\nU+FFFF).", - "name":"dochars"}, - {"source-url":null, + "Makes a database, like this\n(make-database\n (relation :fred [:mary :sue])\n (index :fred :mary)\n (relation :sally [:jen :becky])\n (index :sally :jen)\n (index :sally :becky))", + "name":"make-database"}, + {"source-url": + "http://github.com/richhickey/clojure-contrib/blob/f087e3a7f8b2f2ca48c07db2a47724ce7b98dce7/src/clojure/contrib/datalog/database.clj#L266", "wiki-url": - "http://richhickey.github.com/clojure-contrib//str-utils2-api.html#clojure.contrib.str-utils2/docodepoints", - "namespace":"clojure.contrib.str-utils2", - "arglists":[["bindings", "&", "body"]], + "http://richhickey.github.com/clojure-contrib//datalog-api.html#clojure.contrib.datalog.database/merge-relations", + "namespace":"clojure.contrib.datalog.database", + "arglists":[["r1", "r2"]], + "doc":"Merges two relations", + "name":"merge-relations"}, + {"source-url": + "http://github.com/richhickey/clojure-contrib/blob/f087e3a7f8b2f2ca48c07db2a47724ce7b98dce7/src/clojure/contrib/datalog/database.clj#L189", + "wiki-url": + "http://richhickey.github.com/clojure-contrib//datalog-api.html#clojure.contrib.datalog.database/remove-tuple", + "namespace":"clojure.contrib.datalog.database", + "arglists":[["db", "rel-name", "tuple"], ["rel", "tuple"]], "doc": - "bindings => [name string]\n\nRepeatedly executes body, with name bound to the integer code point\nof each Unicode character in the string. Handles Unicode\nsupplementary characters (above U+FFFF) correctly.", - "name":"docodepoints"}, - {"source-url":null, + "Two forms:\n\n[db relation-name tuple] removes the tuple from the named relation,\nreturns a new database.\n\n[rel tuple] removes the tuple from the relation. Returns the new\nrelation.", + "name":"remove-tuple"}, + {"source-url": + "http://github.com/richhickey/clojure-contrib/blob/f087e3a7f8b2f2ca48c07db2a47724ce7b98dce7/src/clojure/contrib/datalog/database.clj#L134", "wiki-url": - "http://richhickey.github.com/clojure-contrib//str-utils2-api.html#clojure.contrib.str-utils2/drop", - "namespace":"clojure.contrib.str-utils2", - "arglists":[["s", "n"]], + "http://richhickey.github.com/clojure-contrib//datalog-api.html#clojure.contrib.datalog.database/replace-relation", + "namespace":"clojure.contrib.datalog.database", + "arglists":[["db", "rel-name", "rel"]], "doc": - "Drops first n characters from s. Returns an empty string if n is\ngreater than the length of s.\n\nNote the argument order is the opposite of clojure.core/drop; this\nis to keep the string as the first argument for use with ->", - "name":"drop"}, - {"source-url":null, + "Add or replace a fully constructed relation object to the database.", + "name":"replace-relation"}, + {"source-url": + "http://github.com/richhickey/clojure-contrib/blob/f087e3a7f8b2f2ca48c07db2a47724ce7b98dce7/src/clojure/contrib/datalog/database.clj#L247", "wiki-url": - "http://richhickey.github.com/clojure-contrib//str-utils2-api.html#clojure.contrib.str-utils2/escape", - "namespace":"clojure.contrib.str-utils2", - "arglists":[["s", "cmap"]], + "http://richhickey.github.com/clojure-contrib//datalog-api.html#clojure.contrib.datalog.database/select", + "namespace":"clojure.contrib.datalog.database", + "arglists":[["db", "rn", "pt"]], "doc": - "Returns a new String by applying cmap (a function or a map) to each\ncharacter in s. If cmap returns nil, the original character is\nadded to the output unchanged.", - "name":"escape"}, - {"source-url":null, + "finds all matching tuples to the partial tuple (pt) in the relation named (rn)", + "name":"select"}, + {"source-url": + "http://github.com/richhickey/clojure-contrib/blob/245fc9ec4499219bfb66f3fe4789b884b418c7b2/src/clojure/contrib/datalog/literals.clj#L254", "wiki-url": - "http://richhickey.github.com/clojure-contrib//str-utils2-api.html#clojure.contrib.str-utils2/get", - "namespace":"clojure.contrib.str-utils2", - "arglists":[["s", "i"]], - "doc":"Gets the i'th character in string.", - "name":"get"}, - {"source-url":null, + "http://richhickey.github.com/clojure-contrib//datalog-api.html#clojure.contrib.datalog.literals/adorned-literal", + "namespace":"clojure.contrib.datalog.literals", + "doc": + "When passed a set of bound columns, returns the adorned literal", + "name":"adorned-literal"}, + {"source-url": + "http://github.com/richhickey/clojure-contrib/blob/245fc9ec4499219bfb66f3fe4789b884b418c7b2/src/clojure/contrib/datalog/literals.clj#L133", "wiki-url": - "http://richhickey.github.com/clojure-contrib//str-utils2-api.html#clojure.contrib.str-utils2/grep", - "namespace":"clojure.contrib.str-utils2", - "arglists":[["re", "coll"]], + "http://richhickey.github.com/clojure-contrib//datalog-api.html#clojure.contrib.datalog.literals/build-atom", + "namespace":"clojure.contrib.datalog.literals", + "arglists":[["f", "type"]], "doc": - "Filters elements of coll by a regular expression. The String\nrepresentation (with str) of each element is tested with re-find.", - "name":"grep"}, - {"source-url":null, + "Returns an unevaluated expression (to be used in a macro) of an\natom.", + "name":"build-atom"}, + {"source-url": + "http://github.com/richhickey/clojure-contrib/blob/245fc9ec4499219bfb66f3fe4789b884b418c7b2/src/clojure/contrib/datalog/literals.clj#L128", "wiki-url": - "http://richhickey.github.com/clojure-contrib//str-utils2-api.html#clojure.contrib.str-utils2/join", - "namespace":"clojure.contrib.str-utils2", - "arglists":[["separator", "coll"]], + "http://richhickey.github.com/clojure-contrib//datalog-api.html#clojure.contrib.datalog.literals/build-literal", + "namespace":"clojure.contrib.datalog.literals", "doc": - "Returns a string of all elements in coll, separated by\nseparator. Like Perl's join.", - "name":"join"}, - {"source-url":null, + "(Returns an unevaluated expression (to be used in macros) of a\nliteral.", + "name":"build-literal"}, + {"source-url": + "http://github.com/richhickey/clojure-contrib/blob/245fc9ec4499219bfb66f3fe4789b884b418c7b2/src/clojure/contrib/datalog/literals.clj#L303", "wiki-url": - "http://richhickey.github.com/clojure-contrib//str-utils2-api.html#clojure.contrib.str-utils2/lower-case", - "namespace":"clojure.contrib.str-utils2", + "http://richhickey.github.com/clojure-contrib//datalog-api.html#clojure.contrib.datalog.literals/build-seed-bindings", + "namespace":"clojure.contrib.datalog.literals", "arglists":[["s"]], - "doc":"Converts string to all lower-case.", - "name":"lower-case"}, - {"source-url":null, + "doc": + "Given a seed literal, already adorned and in magic form, convert\nits bound constants to new variables.", + "name":"build-seed-bindings"}, + {"source-url": + "http://github.com/richhickey/clojure-contrib/blob/245fc9ec4499219bfb66f3fe4789b884b418c7b2/src/clojure/contrib/datalog/literals.clj#L320", "wiki-url": - "http://richhickey.github.com/clojure-contrib//str-utils2-api.html#clojure.contrib.str-utils2/ltrim", - "namespace":"clojure.contrib.str-utils2", - "arglists":[["s"]], - "doc":"Removes whitespace from the left side of string.", - "name":"ltrim"}, - {"source-url":null, + "http://richhickey.github.com/clojure-contrib//datalog-api.html#clojure.contrib.datalog.literals/delta-literal", + "namespace":"clojure.contrib.datalog.literals", + "arglists":[["l"]], + "doc":"Given a literal l, return a delta version", + "name":"delta-literal"}, + {"source-url": + "http://github.com/richhickey/clojure-contrib/blob/245fc9ec4499219bfb66f3fe4789b884b418c7b2/src/clojure/contrib/datalog/literals.clj#L164", "wiki-url": - "http://richhickey.github.com/clojure-contrib//str-utils2-api.html#clojure.contrib.str-utils2/map-str", - "namespace":"clojure.contrib.str-utils2", - "arglists":[["f", "coll"]], - "doc": - "Apply f to each element of coll, concatenate all results into a\nString.", - "name":"map-str"}, - {"source-url":null, + "http://richhickey.github.com/clojure-contrib//datalog-api.html#clojure.contrib.datalog.literals/display-literal", + "namespace":"clojure.contrib.datalog.literals", + "doc":"Converts a struct representing a literal to a normal list", + "name":"display-literal"}, + {"source-url": + "http://github.com/richhickey/clojure-contrib/blob/245fc9ec4499219bfb66f3fe4789b884b418c7b2/src/clojure/contrib/datalog/literals.clj#L271", "wiki-url": - "http://richhickey.github.com/clojure-contrib//str-utils2-api.html#clojure.contrib.str-utils2/partial", - "namespace":"clojure.contrib.str-utils2", - "arglists":[["f", "&", "args"]], - "doc": - "Like clojure.core/partial for functions that take their primary\nargument first.\n\nTakes a function f and its arguments, NOT INCLUDING the first\nargument. Returns a new function whose first argument will be the\nfirst argument to f.\n\nExample: (str-utils2/partial str-utils2/take 2)\n ;;=> (fn [s] (str-utils2/take s 2))", - "name":"partial"}, - {"source-url":null, + "http://richhickey.github.com/clojure-contrib//datalog-api.html#clojure.contrib.datalog.literals/get-adorned-bindings", + "namespace":"clojure.contrib.datalog.literals", + "arglists":[["pred"]], + "doc":"Get the bindings from this adorned literal.", + "name":"get-adorned-bindings"}, + {"source-url": + "http://github.com/richhickey/clojure-contrib/blob/245fc9ec4499219bfb66f3fe4789b884b418c7b2/src/clojure/contrib/datalog/literals.clj#L276", "wiki-url": - "http://richhickey.github.com/clojure-contrib//str-utils2-api.html#clojure.contrib.str-utils2/partition", - "namespace":"clojure.contrib.str-utils2", - "arglists":[["s", "re"]], - "doc": - "Splits the string into a lazy sequence of substrings, alternating\nbetween substrings that match the patthern and the substrings\nbetween the matches. The sequence always starts with the substring\nbefore the first match, or an empty string if the beginning of the\nstring matches.\n\nFor example: (partition \"abc123def\" #\"[a-z]+\")\nreturns: (\"\" \"abc\" \"123\" \"def\")", - "name":"partition"}, - {"source-url":null, + "http://richhickey.github.com/clojure-contrib//datalog-api.html#clojure.contrib.datalog.literals/get-base-predicate", + "namespace":"clojure.contrib.datalog.literals", + "arglists":[["pred"]], + "doc":"Get the base predicate from this predicate.", + "name":"get-base-predicate"}, + {"source-url": + "http://github.com/richhickey/clojure-contrib/blob/245fc9ec4499219bfb66f3fe4789b884b418c7b2/src/clojure/contrib/datalog/literals.clj#L202", "wiki-url": - "http://richhickey.github.com/clojure-contrib//str-utils2-api.html#clojure.contrib.str-utils2/repeat", - "namespace":"clojure.contrib.str-utils2", - "arglists":[["s", "n"]], - "doc":"Returns a new String containing s repeated n times.", - "name":"repeat"}, - {"source-url":null, + "http://richhickey.github.com/clojure-contrib//datalog-api.html#clojure.contrib.datalog.literals/get-cs-from-vs", + "namespace":"clojure.contrib.datalog.literals", + "doc":"From a set of vars, get the columns", + "name":"get-cs-from-vs"}, + {"source-url": + "http://github.com/richhickey/clojure-contrib/blob/245fc9ec4499219bfb66f3fe4789b884b418c7b2/src/clojure/contrib/datalog/literals.clj#L219", "wiki-url": - "http://richhickey.github.com/clojure-contrib//str-utils2-api.html#clojure.contrib.str-utils2/replace", - "namespace":"clojure.contrib.str-utils2", - "arglists":[["string", "pattern", "replacement"]], + "http://richhickey.github.com/clojure-contrib//datalog-api.html#clojure.contrib.datalog.literals/get-self-bound-cs", + "namespace":"clojure.contrib.datalog.literals", + "doc":"Get the columns that are bound withing the literal.", + "name":"get-self-bound-cs"}, + {"source-url": + "http://github.com/richhickey/clojure-contrib/blob/245fc9ec4499219bfb66f3fe4789b884b418c7b2/src/clojure/contrib/datalog/literals.clj#L187", + "wiki-url": + "http://richhickey.github.com/clojure-contrib//datalog-api.html#clojure.contrib.datalog.literals/get-vs-from-cs", + "namespace":"clojure.contrib.datalog.literals", + "doc":"From a set of columns, return the vars", + "name":"get-vs-from-cs"}, + {"source-url": + "http://github.com/richhickey/clojure-contrib/blob/245fc9ec4499219bfb66f3fe4789b884b418c7b2/src/clojure/contrib/datalog/literals.clj#L361", + "wiki-url": + "http://richhickey.github.com/clojure-contrib//datalog-api.html#clojure.contrib.datalog.literals/join-literal", + "namespace":"clojure.contrib.datalog.literals", "doc": - "Replaces all instances of pattern in string with replacement. \n\nAllowed argument types for pattern and replacement are:\n 1. String and String\n 2. Character and Character\n 3. regex Pattern and String\n (Uses java.util.regex.Matcher.replaceAll)\n 4. regex Pattern and function\n (Calls function with re-groups of each match, uses return \n value as replacement.)", - "name":"replace"}, - {"source-url":null, + "Given a database (db), a literal (lit) and a seq of bindings (bs),\nreturn a new seq of bindings by joining this literal.", + "name":"join-literal"}, + {"source-url": + "http://github.com/richhickey/clojure-contrib/blob/245fc9ec4499219bfb66f3fe4789b884b418c7b2/src/clojure/contrib/datalog/literals.clj#L236", "wiki-url": - "http://richhickey.github.com/clojure-contrib//str-utils2-api.html#clojure.contrib.str-utils2/replace-first", - "namespace":"clojure.contrib.str-utils2", - "arglists":[["s", "pattern", "replacement"]], + "http://richhickey.github.com/clojure-contrib//datalog-api.html#clojure.contrib.datalog.literals/literal-appropriate?", + "namespace":"clojure.contrib.datalog.literals", "doc": - "Replaces the first instance of pattern in s with replacement.\n\nAllowed argument types for pattern and replacement are:\n 1. String and String\n 2. regex Pattern and String\n (Uses java.util.regex.Matcher.replaceAll)\n 3. regex Pattern and function", - "name":"replace-first"}, - {"source-url":null, + "When passed a set of bound vars, determines if this literal can be\nused during this point of a SIP computation.", + "name":"literal-appropriate?"}, + {"source-url": + "http://github.com/richhickey/clojure-contrib/blob/245fc9ec4499219bfb66f3fe4789b884b418c7b2/src/clojure/contrib/datalog/literals.clj#L48", "wiki-url": - "http://richhickey.github.com/clojure-contrib//str-utils2-api.html#clojure.contrib.str-utils2/reverse", - "namespace":"clojure.contrib.str-utils2", - "arglists":[["s"]], - "doc":"Returns s with its characters reversed.", - "name":"reverse"}, - {"source-url":null, + "http://richhickey.github.com/clojure-contrib//datalog-api.html#clojure.contrib.datalog.literals/literal-columns", + "namespace":"clojure.contrib.datalog.literals", + "doc":"Return the column names this applies to", + "name":"literal-columns"}, + {"source-url": + "http://github.com/richhickey/clojure-contrib/blob/245fc9ec4499219bfb66f3fe4789b884b418c7b2/src/clojure/contrib/datalog/literals.clj#L296", "wiki-url": - "http://richhickey.github.com/clojure-contrib//str-utils2-api.html#clojure.contrib.str-utils2/rtrim", - "namespace":"clojure.contrib.str-utils2", - "arglists":[["s"]], - "doc":"Removes whitespace from the right side of string.", - "name":"rtrim"}, - {"source-url":null, + "http://richhickey.github.com/clojure-contrib//datalog-api.html#clojure.contrib.datalog.literals/literal-magic?", + "namespace":"clojure.contrib.datalog.literals", + "arglists":[["lit"]], + "doc":"Is this literal magic?", + "name":"literal-magic?"}, + {"source-url": + "http://github.com/richhickey/clojure-contrib/blob/245fc9ec4499219bfb66f3fe4789b884b418c7b2/src/clojure/contrib/datalog/literals.clj#L44", "wiki-url": - "http://richhickey.github.com/clojure-contrib//str-utils2-api.html#clojure.contrib.str-utils2/split", - "namespace":"clojure.contrib.str-utils2", - "arglists":[["s", "re"], ["s", "re", "limit"]], + "http://richhickey.github.com/clojure-contrib//datalog-api.html#clojure.contrib.datalog.literals/literal-predicate", + "namespace":"clojure.contrib.datalog.literals", "doc": - "Splits string on a regular expression. Optional argument limit is\nthe maximum number of splits.", - "name":"split"}, - {"source-url":null, - "wiki-url": - "http://richhickey.github.com/clojure-contrib//str-utils2-api.html#clojure.contrib.str-utils2/split-lines", - "namespace":"clojure.contrib.str-utils2", - "arglists":[["s"]], - "doc":"Splits s on \\n or \\r\\n.", - "name":"split-lines"}, - {"source-url":null, + "Return the predicate/relation this conditional operates over", + "name":"literal-predicate"}, + {"source-url": + "http://github.com/richhickey/clojure-contrib/blob/245fc9ec4499219bfb66f3fe4789b884b418c7b2/src/clojure/contrib/datalog/literals.clj#L52", "wiki-url": - "http://richhickey.github.com/clojure-contrib//str-utils2-api.html#clojure.contrib.str-utils2/swap-case", - "namespace":"clojure.contrib.str-utils2", - "arglists":[["s"]], - "doc": - "Changes upper case characters to lower case and vice-versa.\nHandles Unicode supplementary characters correctly. Uses the\nlocale-sensitive String.toUpperCase() and String.toLowerCase()\nmethods.", - "name":"swap-case"}, - {"source-url":null, + "http://richhickey.github.com/clojure-contrib//datalog-api.html#clojure.contrib.datalog.literals/literal-vars", + "namespace":"clojure.contrib.datalog.literals", + "doc":"Returns the logic vars used by this literal", + "name":"literal-vars"}, + {"source-url": + "http://github.com/richhickey/clojure-contrib/blob/245fc9ec4499219bfb66f3fe4789b884b418c7b2/src/clojure/contrib/datalog/literals.clj#L286", "wiki-url": - "http://richhickey.github.com/clojure-contrib//str-utils2-api.html#clojure.contrib.str-utils2/tail", - "namespace":"clojure.contrib.str-utils2", - "arglists":[["s", "n"]], - "doc":"Returns the last n characters of s.", - "name":"tail"}, - {"source-url":null, + "http://richhickey.github.com/clojure-contrib//datalog-api.html#clojure.contrib.datalog.literals/magic-literal", + "namespace":"clojure.contrib.datalog.literals", + "arglists":[["l"]], + "doc":"Create a magic version of this adorned predicate.", + "name":"magic-literal"}, + {"source-url": + "http://github.com/richhickey/clojure-contrib/blob/245fc9ec4499219bfb66f3fe4789b884b418c7b2/src/clojure/contrib/datalog/literals.clj#L314", "wiki-url": - "http://richhickey.github.com/clojure-contrib//str-utils2-api.html#clojure.contrib.str-utils2/take", - "namespace":"clojure.contrib.str-utils2", - "arglists":[["s", "n"]], - "doc": - "Take first n characters from s, up to the length of s.\n\nNote the argument order is the opposite of clojure.core/take; this\nis to keep the string as the first argument for use with ->", - "name":"take"}, - {"source-url":null, + "http://richhickey.github.com/clojure-contrib//datalog-api.html#clojure.contrib.datalog.literals/negated-literal", + "namespace":"clojure.contrib.datalog.literals", + "arglists":[["l"]], + "doc":"Given a literal l, return a negated version", + "name":"negated-literal"}, + {"source-url": + "http://github.com/richhickey/clojure-contrib/blob/245fc9ec4499219bfb66f3fe4789b884b418c7b2/src/clojure/contrib/datalog/literals.clj#L112", "wiki-url": - "http://richhickey.github.com/clojure-contrib//str-utils2-api.html#clojure.contrib.str-utils2/trim", - "namespace":"clojure.contrib.str-utils2", - "arglists":[["s"]], - "doc":"Removes whitespace from both ends of string.", - "name":"trim"}, - {"source-url":null, + "http://richhickey.github.com/clojure-contrib//datalog-api.html#clojure.contrib.datalog.literals/negated?", + "namespace":"clojure.contrib.datalog.literals", + "arglists":[["l"]], + "doc":"Is this literal a negated literal?", + "name":"negated?"}, + {"source-url": + "http://github.com/richhickey/clojure-contrib/blob/245fc9ec4499219bfb66f3fe4789b884b418c7b2/src/clojure/contrib/datalog/literals.clj#L60", "wiki-url": - "http://richhickey.github.com/clojure-contrib//str-utils2-api.html#clojure.contrib.str-utils2/upper-case", - "namespace":"clojure.contrib.str-utils2", - "arglists":[["s"]], - "doc":"Converts string to all upper-case.", - "name":"upper-case"}, - {"source-url":null, + "http://richhickey.github.com/clojure-contrib//datalog-api.html#clojure.contrib.datalog.literals/negative-vars", + "namespace":"clojure.contrib.datalog.literals", + "doc":"Returns the logic vars used in a negative position", + "name":"negative-vars"}, + {"source-url": + "http://github.com/richhickey/clojure-contrib/blob/245fc9ec4499219bfb66f3fe4789b884b418c7b2/src/clojure/contrib/datalog/literals.clj#L56", "wiki-url": - "http://richhickey.github.com/clojure-contrib//swing-utils-api.html#clojure.contrib.swing-utils/action-translation-table", - "namespace":"clojure.contrib.swing-utils", - "doc":"Translation table for the make-action constructor.", - "name":"action-translation-table"}, - {"source-url":null, + "http://richhickey.github.com/clojure-contrib//datalog-api.html#clojure.contrib.datalog.literals/positive-vars", + "namespace":"clojure.contrib.datalog.literals", + "doc":"Returns the logic vars used in a positive position", + "name":"positive-vars"}, + {"source-url": + "http://github.com/richhickey/clojure-contrib/blob/245fc9ec4499219bfb66f3fe4789b884b418c7b2/src/clojure/contrib/datalog/literals.clj#L117", "wiki-url": - "http://richhickey.github.com/clojure-contrib//swing-utils-api.html#clojure.contrib.swing-utils/add-action-listener", - "namespace":"clojure.contrib.swing-utils", - "arglists":[["component", "f", "&", "args"]], - "doc": - "Adds an ActionLister to component. When the action fires, f will be\ninvoked with the event as its first argument followed by args.\nReturns the listener.", - "name":"add-action-listener"}, - {"source-url":null, + "http://richhickey.github.com/clojure-contrib//datalog-api.html#clojure.contrib.datalog.literals/positive?", + "namespace":"clojure.contrib.datalog.literals", + "arglists":[["l"]], + "doc":"Is this a positive literal?", + "name":"positive?"}, + {"source-url": + "http://github.com/richhickey/clojure-contrib/blob/245fc9ec4499219bfb66f3fe4789b884b418c7b2/src/clojure/contrib/datalog/literals.clj#L393", "wiki-url": - "http://richhickey.github.com/clojure-contrib//swing-utils-api.html#clojure.contrib.swing-utils/add-key-typed-listener", - "namespace":"clojure.contrib.swing-utils", - "arglists":[["component", "f", "&", "args"]], + "http://richhickey.github.com/clojure-contrib//datalog-api.html#clojure.contrib.datalog.literals/project-literal", + "namespace":"clojure.contrib.datalog.literals", + "arglists":[["db", "lit", "bs"], ["db", "lit", "bs", "var?"]], "doc": - "Adds a KeyListener to component that only responds to KeyTyped events.\nWhen a key is typed, f is invoked with the KeyEvent as its first argument\nfollowed by args. Returns the listener.", - "name":"add-key-typed-listener"}, - {"source-url":null, + "Project a stream of bindings onto a literal/relation. Returns a new\ndb.", + "name":"project-literal"}, + {"source-url": + "http://github.com/richhickey/clojure-contrib/blob/7dfd0d90b11f00de5ad1ad30c690a4f12d426c3b/src/clojure/contrib/datalog/magic.clj#L26", "wiki-url": - "http://richhickey.github.com/clojure-contrib//swing-utils-api.html#clojure.contrib.swing-utils/add-menu-item", - "namespace":"clojure.contrib.swing-utils", - "arglists":[["parent", "item"]], + "http://richhickey.github.com/clojure-contrib//datalog-api.html#clojure.contrib.datalog.magic/adorn-query", + "namespace":"clojure.contrib.datalog.magic", + "arglists":[["q"]], + "doc":"Adorn a query", + "name":"adorn-query"}, + {"source-url": + "http://github.com/richhickey/clojure-contrib/blob/7dfd0d90b11f00de5ad1ad30c690a4f12d426c3b/src/clojure/contrib/datalog/magic.clj#L31", + "wiki-url": + "http://richhickey.github.com/clojure-contrib//datalog-api.html#clojure.contrib.datalog.magic/adorn-rules-set", + "namespace":"clojure.contrib.datalog.magic", + "arglists":[["rs", "q"]], "doc": - "Adds a menu item to the parent according to the item description.\n The item description is a map of the following structure.\n\nEither:\n - one single :action specifying a javax.swing.Action to be associated\n with the item.\n - a specification suitable for make-action\n - a set of :name, :mnemonic and :items keys, specifying a submenu with\n the given sequence of item entries.\n - an empty map specifying a separator.", - "name":"add-menu-item"}, - {"source-url":null, + "Adorns the given rules-set for the given query. (rs) is a\nrules-set, (q) is an adorned query.", + "name":"adorn-rules-set"}, + {"source-url": + "http://github.com/richhickey/clojure-contrib/blob/7dfd0d90b11f00de5ad1ad30c690a4f12d426c3b/src/clojure/contrib/datalog/magic.clj#L78", "wiki-url": - "http://richhickey.github.com/clojure-contrib//swing-utils-api.html#clojure.contrib.swing-utils/do-swing", - "namespace":"clojure.contrib.swing-utils", - "arglists":[["&", "body"]], + "http://richhickey.github.com/clojure-contrib//datalog-api.html#clojure.contrib.datalog.magic/build-partial-tuple", + "namespace":"clojure.contrib.datalog.magic", + "arglists":[["q", "bindings"]], "doc": - "Executes body in the Swing event thread asynchronously. Returns\nimmediately after scheduling the execution.", - "name":"do-swing"}, - {"source-url":null, + "Given a query and a set of bindings, build a partial tuple needed\nto extract the relation from the database.", + "name":"build-partial-tuple"}, + {"source-url": + "http://github.com/richhickey/clojure-contrib/blob/7dfd0d90b11f00de5ad1ad30c690a4f12d426c3b/src/clojure/contrib/datalog/magic.clj#L98", "wiki-url": - "http://richhickey.github.com/clojure-contrib//swing-utils-api.html#clojure.contrib.swing-utils/do-swing*", - "namespace":"clojure.contrib.swing-utils", - "arglists":[["schedule", "thunk"]], + "http://richhickey.github.com/clojure-contrib//datalog-api.html#clojure.contrib.datalog.magic/magic-transform", + "namespace":"clojure.contrib.datalog.magic", + "arglists":[["rs"], ["rs", "i-preds"]], "doc": - "Runs thunk in the Swing event thread according to schedule:\n- :later => schedule the execution and return immediately\n- :now => wait until the execution completes.", - "name":"do-swing*"}, - {"source-url":null, + "Return a magic transformation of an adorned rules-set (rs). The\n(i-preds) are the predicates of the intension database. These\ndefault to the predicates within the rules-set.", + "name":"magic-transform"}, + {"source-url": + "http://github.com/richhickey/clojure-contrib/blob/7dfd0d90b11f00de5ad1ad30c690a4f12d426c3b/src/clojure/contrib/datalog/magic.clj#L90", "wiki-url": - "http://richhickey.github.com/clojure-contrib//swing-utils-api.html#clojure.contrib.swing-utils/do-swing-and-wait", - "namespace":"clojure.contrib.swing-utils", - "arglists":[["&", "body"]], + "http://richhickey.github.com/clojure-contrib//datalog-api.html#clojure.contrib.datalog.magic/seed-predicate-for-insertion", + "namespace":"clojure.contrib.datalog.magic", + "arglists":[["q"]], "doc": - "Executes body in the Swing event thread synchronously. Returns\nafter the execution is complete.", - "name":"do-swing-and-wait"}, - {"source-url":null, + "Given a query, return the predicate to use for database insertion.", + "name":"seed-predicate-for-insertion"}, + {"source-url": + "http://github.com/richhickey/clojure-contrib/blob/7dfd0d90b11f00de5ad1ad30c690a4f12d426c3b/src/clojure/contrib/datalog/magic.clj#L63", "wiki-url": - "http://richhickey.github.com/clojure-contrib//swing-utils-api.html#clojure.contrib.swing-utils/make-action", - "namespace":"clojure.contrib.swing-utils", - "arglists":[["spec"]], + "http://richhickey.github.com/clojure-contrib//datalog-api.html#clojure.contrib.datalog.magic/seed-relation", + "namespace":"clojure.contrib.datalog.magic", + "arglists":[["q"]], "doc": - "Create an Action proxy from the given action spec. The standard keys\nrecognised are: :name, :accelerator, :command-key, :long-desc,\n:short-desc, :mnemonic and :icon - corresponding to the similar named\nAction properties. The :handler value is used in the actionPerformed\nmethod of the proxy to pass on the event.", - "name":"make-action"}, - {"source-url":null, + "Given a magic form of a query, give back the literal form of its seed\nrelation", + "name":"seed-relation"}, + {"source-url": + "http://github.com/richhickey/clojure-contrib/blob/7dfd0d90b11f00de5ad1ad30c690a4f12d426c3b/src/clojure/contrib/datalog/magic.clj#L71", "wiki-url": - "http://richhickey.github.com/clojure-contrib//swing-utils-api.html#clojure.contrib.swing-utils/make-menubar", - "namespace":"clojure.contrib.swing-utils", - "arglists":[["menubar-items"]], + "http://richhickey.github.com/clojure-contrib//datalog-api.html#clojure.contrib.datalog.magic/seed-rule", + "namespace":"clojure.contrib.datalog.magic", + "arglists":[["q"]], + "doc":"Given an adorned query, give back its seed rule", + "name":"seed-rule"}, + {"source-url": + "http://github.com/richhickey/clojure-contrib/blob/7dfd0d90b11f00de5ad1ad30c690a4f12d426c3b/src/clojure/contrib/datalog/rules.clj#L66", + "wiki-url": + "http://richhickey.github.com/clojure-contrib//datalog-api.html#clojure.contrib.datalog.rules/<-", + "namespace":"clojure.contrib.datalog.rules", + "arglists":[["hd", "&", "body"]], "doc": - "Create a menubar containing the given sequence of menu items. The menu\nitems are described by a map as is detailed in the docstring of the\nadd-menu-item function.", - "name":"make-menubar"}, - {"source-url":null, + "Build a datalog rule. Like this:\n\n(<- (:head :x ?x :y ?y) (:body-1 :x ?x :y ?y) (:body-2 :z ?z) (not! :body-3 :x ?x) (if > ?y ?z))", + "name":"<-"}, + {"source-url": + "http://github.com/richhickey/clojure-contrib/blob/7dfd0d90b11f00de5ad1ad30c690a4f12d426c3b/src/clojure/contrib/datalog/rules.clj#L84", "wiki-url": - "http://richhickey.github.com/clojure-contrib//swing-utils-api.html#clojure.contrib.swing-utils/menu-constructor-dispatch", - "namespace":"clojure.contrib.swing-utils", + "http://richhickey.github.com/clojure-contrib//datalog-api.html#clojure.contrib.datalog.rules/?-", + "namespace":"clojure.contrib.datalog.rules", + "arglists":[["&", "q"]], + "doc":"Define a datalog query", + "name":"?-"}, + {"source-url": + "http://github.com/richhickey/clojure-contrib/blob/7dfd0d90b11f00de5ad1ad30c690a4f12d426c3b/src/clojure/contrib/datalog/rules.clj#L161", + "wiki-url": + "http://richhickey.github.com/clojure-contrib//datalog-api.html#clojure.contrib.datalog.rules/all-predicates", + "namespace":"clojure.contrib.datalog.rules", + "arglists":[["rs"]], + "doc":"Given a rules-set, return all defined predicates", + "name":"all-predicates"}, + {"source-url": + "http://github.com/richhickey/clojure-contrib/blob/7dfd0d90b11f00de5ad1ad30c690a4f12d426c3b/src/clojure/contrib/datalog/rules.clj#L182", + "wiki-url": + "http://richhickey.github.com/clojure-contrib//datalog-api.html#clojure.contrib.datalog.rules/apply-rule", + "namespace":"clojure.contrib.datalog.rules", + "arglists":[["db", "rule"], ["db-1", "db-2", "rule"]], "doc": - "An atom containing the dispatch set for the add-menu-item method.", - "name":"menu-constructor-dispatch"}, + "Apply the rule against db-1, adding the results to the appropriate\nrelation in db-2. The relation will be created if needed.", + "name":"apply-rule"}, {"source-url": - "http://github.com/richhickey/clojure-contrib/blob/607389029cfec50f32b73c00a6f66d0a1dbcda23/src/clj/clojure/test.clj#L239", + "http://github.com/richhickey/clojure-contrib/blob/7dfd0d90b11f00de5ad1ad30c690a4f12d426c3b/src/clojure/contrib/datalog/rules.clj#L98", "wiki-url": - "http://richhickey.github.com/clojure-contrib//test-is-api.html#clojure.contrib.test-is/*load-tests*", - "namespace":"clojure.contrib.test-is", + "http://richhickey.github.com/clojure-contrib//datalog-api.html#clojure.contrib.datalog.rules/compute-sip", + "namespace":"clojure.contrib.datalog.rules", + "arglists":[["bindings", "i-preds", "rule"]], "doc": - "True by default. If set to false, no test functions will\nbe created by deftest, set-test, or with-test. Use this to omit\ntests when compiling or loading production code.", - "name":"*load-tests*"}, + "Given a set of bound column names, return an adorned sip for this\nrule. A set of intensional predicates should be provided to\ndetermine what should be adorned.", + "name":"compute-sip"}, {"source-url": - "http://github.com/richhickey/clojure-contrib/blob/607389029cfec50f32b73c00a6f66d0a1dbcda23/src/clj/clojure/test.clj#L245", + "http://github.com/richhickey/clojure-contrib/blob/7dfd0d90b11f00de5ad1ad30c690a4f12d426c3b/src/clojure/contrib/datalog/rules.clj#L37", "wiki-url": - "http://richhickey.github.com/clojure-contrib//test-is-api.html#clojure.contrib.test-is/*stack-trace-depth*", - "namespace":"clojure.contrib.test-is", + "http://richhickey.github.com/clojure-contrib//datalog-api.html#clojure.contrib.datalog.rules/display-query", + "namespace":"clojure.contrib.datalog.rules", + "arglists":[["query"]], + "doc":"Return a query in a readable format.", + "name":"display-query"}, + {"source-url": + "http://github.com/richhickey/clojure-contrib/blob/7dfd0d90b11f00de5ad1ad30c690a4f12d426c3b/src/clojure/contrib/datalog/rules.clj#L30", + "wiki-url": + "http://richhickey.github.com/clojure-contrib//datalog-api.html#clojure.contrib.datalog.rules/display-rule", + "namespace":"clojure.contrib.datalog.rules", + "arglists":[["rule"]], + "doc":"Return the rule in a readable format.", + "name":"display-rule"}, + {"source-url": + "http://github.com/richhickey/clojure-contrib/blob/7dfd0d90b11f00de5ad1ad30c690a4f12d426c3b/src/clojure/contrib/datalog/rules.clj#L45", + "wiki-url": + "http://richhickey.github.com/clojure-contrib//datalog-api.html#clojure.contrib.datalog.rules/is-safe?", + "namespace":"clojure.contrib.datalog.rules", + "arglists":[["rule"]], + "doc":"Is the rule safe according to the datalog protocol?", + "name":"is-safe?"}, + {"source-url": + "http://github.com/richhickey/clojure-contrib/blob/7dfd0d90b11f00de5ad1ad30c690a4f12d426c3b/src/clojure/contrib/datalog/rules.clj#L127", + "wiki-url": + "http://richhickey.github.com/clojure-contrib//datalog-api.html#clojure.contrib.datalog.rules/make-rules-set", + "namespace":"clojure.contrib.datalog.rules", + "arglists":[["rs"]], "doc": - "The maximum depth of stack traces to print when an Exception\nis thrown during a test. Defaults to nil, which means print the \ncomplete stack trace.", - "name":"*stack-trace-depth*"}, - {"source-url":null, + "Given an existing set of rules, make it a 'rules-set' for\nprinting.", + "name":"make-rules-set"}, + {"source-url": + "http://github.com/richhickey/clojure-contrib/blob/7dfd0d90b11f00de5ad1ad30c690a4f12d426c3b/src/clojure/contrib/datalog/rules.clj#L166", "wiki-url": - "http://richhickey.github.com/clojure-contrib//test-is-api.html#clojure.contrib.test-is/apply-template", - "namespace":"clojure.contrib.test-is", - "arglists":[["expr", "values"]], + "http://richhickey.github.com/clojure-contrib//datalog-api.html#clojure.contrib.datalog.rules/non-base-rules", + "namespace":"clojure.contrib.datalog.rules", + "arglists":[["rs"]], "doc": - "Replaces _1, _2, _3, etc. in expr with corresponding elements of\nvalues. Returns the modified expression. For use in macros.", - "name":"apply-template"}, - {"source-url":null, + "Return a collection of rules that depend, somehow, on other rules", + "name":"non-base-rules"}, + {"source-url": + "http://github.com/richhickey/clojure-contrib/blob/7dfd0d90b11f00de5ad1ad30c690a4f12d426c3b/src/clojure/contrib/datalog/rules.clj#L151", "wiki-url": - "http://richhickey.github.com/clojure-contrib//test-is-api.html#clojure.contrib.test-is/are", - "namespace":"clojure.contrib.test-is", - "arglists":[["expr", "&", "args"]], + "http://richhickey.github.com/clojure-contrib//datalog-api.html#clojure.contrib.datalog.rules/predicate-map", + "namespace":"clojure.contrib.datalog.rules", + "arglists":[["rs"]], "doc": - "Checks multiple assertions with a template expression.\nSee clojure.contrib.template/do-template for an explanation of\ntemplates.\n\nExample: (are (= _1 _2) \n 2 (+ 1 1)\n 4 (* 2 2))\nExpands to: \n (do (is (= 2 (+ 1 1)))\n (is (= 4 (* 2 2))))\n\nNote: This breaks some reporting features, such as line numbers.", - "name":"are"}, + "Given a rules-set, return a map of rules keyed by their predicates.\nEach value will be a set of rules.", + "name":"predicate-map"}, {"source-url": - "http://github.com/richhickey/clojure-contrib/blob/607389029cfec50f32b73c00a6f66d0a1dbcda23/src/clj/clojure/test.clj#L404", + "http://github.com/richhickey/clojure-contrib/blob/7dfd0d90b11f00de5ad1ad30c690a4f12d426c3b/src/clojure/contrib/datalog/rules.clj#L79", "wiki-url": - "http://richhickey.github.com/clojure-contrib//test-is-api.html#clojure.contrib.test-is/assert-any", - "namespace":"clojure.contrib.test-is", - "arglists":[["msg", "form"]], + "http://richhickey.github.com/clojure-contrib//datalog-api.html#clojure.contrib.datalog.rules/return-rule-data", + "namespace":"clojure.contrib.datalog.rules", + "arglists":[["rule"]], + "doc":"Returns an untypted rule that will be fully printed", + "name":"return-rule-data"}, + {"source-url": + "http://github.com/richhickey/clojure-contrib/blob/7dfd0d90b11f00de5ad1ad30c690a4f12d426c3b/src/clojure/contrib/datalog/rules.clj#L135", + "wiki-url": + "http://richhickey.github.com/clojure-contrib//datalog-api.html#clojure.contrib.datalog.rules/rules-set", + "namespace":"clojure.contrib.datalog.rules", + "arglists":[["&", "rules"]], + "doc":"Given a collection of rules return a rules set", + "name":"rules-set"}, + {"source-url": + "http://github.com/richhickey/clojure-contrib/blob/7dfd0d90b11f00de5ad1ad30c690a4f12d426c3b/src/clojure/contrib/datalog/softstrat.clj#L115", + "wiki-url": + "http://richhickey.github.com/clojure-contrib//datalog-api.html#clojure.contrib.datalog.softstrat/build-soft-strat-work-plan", + "namespace":"clojure.contrib.datalog.softstrat", + "arglists":[["rs", "q"]], + "doc":"Return a work plan for the given rules-set and query", + "name":"build-soft-strat-work-plan"}, + {"source-url": + "http://github.com/richhickey/clojure-contrib/blob/7dfd0d90b11f00de5ad1ad30c690a4f12d426c3b/src/clojure/contrib/datalog/softstrat.clj#L121", + "wiki-url": + "http://richhickey.github.com/clojure-contrib//datalog-api.html#clojure.contrib.datalog.softstrat/get-all-relations", + "namespace":"clojure.contrib.datalog.softstrat", + "arglists":[["ws"]], "doc": - "Returns generic assertion code for any test, including macros, Java\nmethod calls, or isolated symbols.", - "name":"assert-any"}, + "Return a set of all relation names defined in this workplan", + "name":"get-all-relations"}, {"source-url": - "http://github.com/richhickey/clojure-contrib/blob/607389029cfec50f32b73c00a6f66d0a1dbcda23/src/clj/clojure/test.clj#L386", + "http://github.com/richhickey/clojure-contrib/blob/82f5ad11ff5d75f19de6bf5cfcf33b571592c89e/src/clojure/contrib/datalog/util.clj#L33", "wiki-url": - "http://richhickey.github.com/clojure-contrib//test-is-api.html#clojure.contrib.test-is/assert-predicate", - "namespace":"clojure.contrib.test-is", - "arglists":[["msg", "form"]], + "http://richhickey.github.com/clojure-contrib//datalog-api.html#clojure.contrib.datalog.util/is-query-var?", + "namespace":"clojure.contrib.datalog.util", + "arglists":[["sym"]], + "doc":"Is this a query variable: e.g. a symbol prefixed with ??", + "name":"is-query-var?"}, + {"source-url": + "http://github.com/richhickey/clojure-contrib/blob/82f5ad11ff5d75f19de6bf5cfcf33b571592c89e/src/clojure/contrib/datalog/util.clj#L25", + "wiki-url": + "http://richhickey.github.com/clojure-contrib//datalog-api.html#clojure.contrib.datalog.util/is-var?", + "namespace":"clojure.contrib.datalog.util", + "arglists":[["sym"]], + "doc":"Is this a logic variable: e.g. a symbol prefixed with a ?", + "name":"is-var?"}, + {"source-url": + "http://github.com/richhickey/clojure-contrib/blob/82f5ad11ff5d75f19de6bf5cfcf33b571592c89e/src/clojure/contrib/datalog/util.clj#L49", + "wiki-url": + "http://richhickey.github.com/clojure-contrib//datalog-api.html#clojure.contrib.datalog.util/keys-to-vals", + "namespace":"clojure.contrib.datalog.util", + "arglists":[["m", "ks"]], "doc": - "Returns generic assertion code for any functional predicate. The\n'expected' argument to 'report' will contains the original form, the\n'actual' argument will contain the form with all its sub-forms\nevaluated. If the predicate returns false, the 'actual' form will\nbe wrapped in (not...).", - "name":"assert-predicate"}, + "Given a map and a collection of keys, return the collection of vals", + "name":"keys-to-vals"}, {"source-url": - "http://github.com/richhickey/clojure-contrib/blob/607389029cfec50f32b73c00a6f66d0a1dbcda23/src/clj/clojure/test.clj#L618", + "http://github.com/richhickey/clojure-contrib/blob/82f5ad11ff5d75f19de6bf5cfcf33b571592c89e/src/clojure/contrib/datalog/util.clj#L41", "wiki-url": - "http://richhickey.github.com/clojure-contrib//test-is-api.html#clojure.contrib.test-is/compose-fixtures", - "namespace":"clojure.contrib.test-is", - "arglists":[["f1", "f2"]], + "http://richhickey.github.com/clojure-contrib//datalog-api.html#clojure.contrib.datalog.util/map-values", + "namespace":"clojure.contrib.datalog.util", + "arglists":[["f", "hash"]], + "doc":"Like map, but works over the values of a hash map", + "name":"map-values"}, + {"source-url": + "http://github.com/richhickey/clojure-contrib/blob/82f5ad11ff5d75f19de6bf5cfcf33b571592c89e/src/clojure/contrib/datalog/util.clj#L62", + "wiki-url": + "http://richhickey.github.com/clojure-contrib//datalog-api.html#clojure.contrib.datalog.util/preduce", + "namespace":"clojure.contrib.datalog.util", + "arglists":[["f", "data"]], "doc": - "Composes two fixture functions, creating a new fixture function\nthat combines their behavior.", - "name":"compose-fixtures"}, + "Similar to merge-with, but the contents of each key are merged in\nparallel using f.\n\nf - a function of 2 arguments.\ndata - a collection of hashes.", + "name":"preduce"}, {"source-url": - "http://github.com/richhickey/clojure-contrib/blob/607389029cfec50f32b73c00a6f66d0a1dbcda23/src/clj/clojure/test.clj#L557", + "http://github.com/richhickey/clojure-contrib/blob/82f5ad11ff5d75f19de6bf5cfcf33b571592c89e/src/clojure/contrib/datalog/util.clj#L54", "wiki-url": - "http://richhickey.github.com/clojure-contrib//test-is-api.html#clojure.contrib.test-is/deftest", - "namespace":"clojure.contrib.test-is", - "arglists":[["name", "&", "body"]], + "http://richhickey.github.com/clojure-contrib//datalog-api.html#clojure.contrib.datalog.util/reverse-map", + "namespace":"clojure.contrib.datalog.util", + "arglists":[["m"]], + "doc":"Reverse the keys/values of a map", + "name":"reverse-map"}, + {"source-url": + "http://github.com/richhickey/clojure-contrib/blob/82f5ad11ff5d75f19de6bf5cfcf33b571592c89e/src/clojure/contrib/datalog/util.clj#L82", + "wiki-url": + "http://richhickey.github.com/clojure-contrib//datalog-api.html#clojure.contrib.datalog.util/trace-datalog", + "namespace":"clojure.contrib.datalog.util", + "arglists":[["&", "body"]], "doc": - "Defines a test function with no arguments. Test functions may call\nother tests, so tests may be composed. If you compose tests, you\nshould also define a function named test-ns-hook; run-tests will\ncall test-ns-hook instead of testing all vars.\n\nNote: Actually, the test body goes in the :test metadata on the var,\nand the real function (the value of the var) calls test-var on\nitself.\n\nWhen *load-tests* is false, deftest is ignored.", - "name":"deftest"}, + "If *test-datalog* is set to true, run the enclosed commands", + "name":"trace-datalog"}, {"source-url": - "http://github.com/richhickey/clojure-contrib/blob/607389029cfec50f32b73c00a6f66d0a1dbcda23/src/clj/clojure/test.clj#L573", + "http://github.com/richhickey/clojure-contrib/blob/df27c0a710440e2fef44f799dc5933f29ced44e1/src/clojure/contrib/miglayout/example.clj#L40", "wiki-url": - "http://richhickey.github.com/clojure-contrib//test-is-api.html#clojure.contrib.test-is/deftest-", - "namespace":"clojure.contrib.test-is", - "arglists":[["name", "&", "body"]], - "doc":"Like deftest but creates a private var.", - "name":"deftest-"}, - {"source-url":null, + "http://richhickey.github.com/clojure-contrib//miglayout-api.html#clojure.contrib.miglayout.example/converter-ui", + "namespace":"clojure.contrib.miglayout.example", + "arglists":[[]], + "doc":"Lays out and shows a Temperature Converter UI", + "name":"converter-ui"}, + {"source-url": + "http://github.com/richhickey/clojure-contrib/blob/df27c0a710440e2fef44f799dc5933f29ced44e1/src/clojure/contrib/miglayout/example.clj#L24", "wiki-url": - "http://richhickey.github.com/clojure-contrib//test-is-api.html#clojure.contrib.test-is/do-template", - "namespace":"clojure.contrib.test-is", - "arglists":[["expr", "&", "args"]], + "http://richhickey.github.com/clojure-contrib//miglayout-api.html#clojure.contrib.miglayout.example/fahrenheit", + "namespace":"clojure.contrib.miglayout.example", + "arglists":[["celsius"]], "doc": - "Repeatedly evaluates template expr (in a do block) using values in\nargs. args are grouped by the number of holes in the template.\nExample: (do-template (check _1 _2) :a :b :c :d)\nexpands to (do (check :a :b) (check :c :d))", - "name":"do-template"}, + "Converts a Celsius temperature to Fahrenheit. Input and output are\nstrings. Returns \"input?\" if the input can't be parsed as a Double.", + "name":"fahrenheit"}, {"source-url": - "http://github.com/richhickey/clojure-contrib/blob/607389029cfec50f32b73c00a6f66d0a1dbcda23/src/clj/clojure/test.clj#L275", + "http://github.com/richhickey/clojure-contrib/blob/df27c0a710440e2fef44f799dc5933f29ced44e1/src/clojure/contrib/miglayout/example.clj#L57", "wiki-url": - "http://richhickey.github.com/clojure-contrib//test-is-api.html#clojure.contrib.test-is/file-position", - "namespace":"clojure.contrib.test-is", - "arglists":[["n"]], + "http://richhickey.github.com/clojure-contrib//miglayout-api.html#clojure.contrib.miglayout.example/main", + "namespace":"clojure.contrib.miglayout.example", + "arglists":[[]], + "doc":"Invokes converter-ui in the AWT Event thread", + "name":"main"}, + {"source-url": + "http://github.com/richhickey/clojure-contrib/blob/8bce6fb2d0a9b66aa1fd145f3dfd62833d8ad330/src/clojure/contrib/miglayout/internal.clj#L94", + "wiki-url": + "http://richhickey.github.com/clojure-contrib//miglayout-api.html#clojure.contrib.miglayout.internal/add-components", + "namespace":"clojure.contrib.miglayout.internal", + "arglists":[["container", "components"]], + "doc":"Adds components with constraints to a container", + "name":"add-components"}, + {"source-url": + "http://github.com/richhickey/clojure-contrib/blob/8bce6fb2d0a9b66aa1fd145f3dfd62833d8ad330/src/clojure/contrib/miglayout/internal.clj#L59", + "wiki-url": + "http://richhickey.github.com/clojure-contrib//miglayout-api.html#clojure.contrib.miglayout.internal/component?", + "namespace":"clojure.contrib.miglayout.internal", + "arglists":[["x"]], + "doc":"Returns true if x is a java.awt.Component", + "name":"component?"}, + {"source-url": + "http://github.com/richhickey/clojure-contrib/blob/8bce6fb2d0a9b66aa1fd145f3dfd62833d8ad330/src/clojure/contrib/miglayout/internal.clj#L64", + "wiki-url": + "http://richhickey.github.com/clojure-contrib//miglayout-api.html#clojure.contrib.miglayout.internal/constraint?", + "namespace":"clojure.contrib.miglayout.internal", + "arglists":[["x"]], + "doc":"Returns true if x is not a keyword-item or component", + "name":"constraint?"}, + {"source-url": + "http://github.com/richhickey/clojure-contrib/blob/8bce6fb2d0a9b66aa1fd145f3dfd62833d8ad330/src/clojure/contrib/miglayout/internal.clj#L114", + "wiki-url": + "http://richhickey.github.com/clojure-contrib//miglayout-api.html#clojure.contrib.miglayout.internal/do-layout", + "namespace":"clojure.contrib.miglayout.internal", + "arglists": + [["container", "layout", "column", "row", "components"]], "doc": - "Returns a vector [filename line-number] for the nth call up the\nstack.", - "name":"file-position"}, - {"source-url":null, + "Attaches a MigLayout layout manager to container and adds components\nwith constraints", + "name":"do-layout"}, + {"source-url": + "http://github.com/richhickey/clojure-contrib/blob/8bce6fb2d0a9b66aa1fd145f3dfd62833d8ad330/src/clojure/contrib/miglayout/internal.clj#L32", "wiki-url": - "http://richhickey.github.com/clojure-contrib//test-is-api.html#clojure.contrib.test-is/find-holes", - "namespace":"clojure.contrib.test-is", - "arglists":[["form"]], - "doc":"Recursively finds all symbols starting with _ in form.", - "name":"find-holes"}, - {"source-url":null, + "http://richhickey.github.com/clojure-contrib//miglayout-api.html#clojure.contrib.miglayout.internal/format-constraint", + "namespace":"clojure.contrib.miglayout.internal", + "arglists":[["c"]], + "doc": + "Returns a vector of vectors representing one or more constraints\nseparated by commas. Constraints may be specified in Clojure using\nstrings, keywords, vectors, maps, and/or sets.", + "name":"format-constraint"}, + {"source-url": + "http://github.com/richhickey/clojure-contrib/blob/8bce6fb2d0a9b66aa1fd145f3dfd62833d8ad330/src/clojure/contrib/miglayout/internal.clj#L47", "wiki-url": - "http://richhickey.github.com/clojure-contrib//test-is-api.html#clojure.contrib.test-is/find-pure-exprs", - "namespace":"clojure.contrib.test-is", - "arglists":[["form"]], + "http://richhickey.github.com/clojure-contrib//miglayout-api.html#clojure.contrib.miglayout.internal/format-constraints", + "namespace":"clojure.contrib.miglayout.internal", + "arglists":[["&", "constraints"]], "doc": - "Recursively finds all sub-expressions in form that do not contain\nany symbols starting with _", - "name":"find-pure-exprs"}, - {"source-url":null, + "Returns a string representing all the constraints for one keyword-item\nor component formatted for miglayout.", + "name":"format-constraints"}, + {"source-url": + "http://github.com/richhickey/clojure-contrib/blob/8bce6fb2d0a9b66aa1fd145f3dfd62833d8ad330/src/clojure/contrib/miglayout/internal.clj#L109", "wiki-url": - "http://richhickey.github.com/clojure-contrib//test-is-api.html#clojure.contrib.test-is/find-symbols", - "namespace":"clojure.contrib.test-is", - "arglists":[["form"]], - "doc":"Recursively finds all symbols in form.", - "name":"find-symbols"}, - {"source-url":null, + "http://richhickey.github.com/clojure-contrib//miglayout-api.html#clojure.contrib.miglayout.internal/get-components", + "namespace":"clojure.contrib.miglayout.internal", + "arglists":[["container"]], + "doc": + "Returns a map from id to component for all components with an id", + "name":"get-components"}, + {"source-url": + "http://github.com/richhickey/clojure-contrib/blob/8bce6fb2d0a9b66aa1fd145f3dfd62833d8ad330/src/clojure/contrib/miglayout/internal.clj#L88", "wiki-url": - "http://richhickey.github.com/clojure-contrib//test-is-api.html#clojure.contrib.test-is/flatten-map", - "namespace":"clojure.contrib.test-is", - "arglists":[["m"]], - "doc":"Transforms a map into a vector like [key value key value].", - "name":"flatten-map"}, + "http://richhickey.github.com/clojure-contrib//miglayout-api.html#clojure.contrib.miglayout.internal/parse-component-constraint", + "namespace":"clojure.contrib.miglayout.internal", + "arglists":[["constraint"]], + "doc":"Parses a component constraint string returning a CC object", + "name":"parse-component-constraint"}, {"source-url": - "http://github.com/richhickey/clojure-contrib/blob/607389029cfec50f32b73c00a6f66d0a1dbcda23/src/clj/clojure/test.clj#L375", + "http://github.com/richhickey/clojure-contrib/blob/8bce6fb2d0a9b66aa1fd145f3dfd62833d8ad330/src/clojure/contrib/miglayout/internal.clj#L71", "wiki-url": - "http://richhickey.github.com/clojure-contrib//test-is-api.html#clojure.contrib.test-is/function?", - "namespace":"clojure.contrib.test-is", - "arglists":[["x"]], + "http://richhickey.github.com/clojure-contrib//miglayout-api.html#clojure.contrib.miglayout.internal/parse-item-constraints", + "namespace":"clojure.contrib.miglayout.internal", + "arglists":[["&", "args"]], "doc": - "Returns true if argument is a function or a symbol that resolves to\na function (not a macro).", - "name":"function?"}, + "Iterates over args and builds a map containing values associated with\n:keywords and :components. The value for :keywords is a map from keyword\nitems to constraints strings. The value for :components is a vector of\nvectors each associating a component with its constraints string.", + "name":"parse-item-constraints"}, {"source-url": - "http://github.com/richhickey/clojure-contrib/blob/607389029cfec50f32b73c00a6f66d0a1dbcda23/src/clj/clojure/test.clj#L368", + "http://github.com/richhickey/clojure-contrib/blob/8bce6fb2d0a9b66aa1fd145f3dfd62833d8ad330/src/clojure/contrib/miglayout/test.clj#L32", "wiki-url": - "http://richhickey.github.com/clojure-contrib//test-is-api.html#clojure.contrib.test-is/get-possibly-unbound-var", - "namespace":"clojure.contrib.test-is", - "arglists":[["v"]], - "doc":"Like var-get but returns nil if the var is unbound.", - "name":"get-possibly-unbound-var"}, + "http://richhickey.github.com/clojure-contrib//miglayout-api.html#clojure.contrib.miglayout.test/label", + "namespace":"clojure.contrib.miglayout.test", + "arglists":[["text"]], + "doc":"Returns a swing label", + "name":"label"}, {"source-url": - "http://github.com/richhickey/clojure-contrib/blob/607389029cfec50f32b73c00a6f66d0a1dbcda23/src/clj/clojure/test.clj#L300", + "http://github.com/richhickey/clojure-contrib/blob/8bce6fb2d0a9b66aa1fd145f3dfd62833d8ad330/src/clojure/contrib/miglayout/test.clj#L43", "wiki-url": - "http://richhickey.github.com/clojure-contrib//test-is-api.html#clojure.contrib.test-is/inc-report-counter", - "namespace":"clojure.contrib.test-is", - "arglists":[["name"]], + "http://richhickey.github.com/clojure-contrib//miglayout-api.html#clojure.contrib.miglayout.test/sep", + "namespace":"clojure.contrib.miglayout.test", + "arglists":[[]], + "doc":"Returns a swing separator", + "name":"sep"}, + {"source-url": + "http://github.com/richhickey/clojure-contrib/blob/8bce6fb2d0a9b66aa1fd145f3dfd62833d8ad330/src/clojure/contrib/miglayout/test.clj#L37", + "wiki-url": + "http://richhickey.github.com/clojure-contrib//miglayout-api.html#clojure.contrib.miglayout.test/text-field", + "namespace":"clojure.contrib.miglayout.test", + "arglists":[[], ["width"]], + "doc":"Returns a swing text field", + "name":"text-field"}, + {"source-url": + "http://github.com/richhickey/clojure-contrib/blob/a4a4a534d7dddc1d58fc93a216192bf4bb7b20ff/src/clojure/contrib/mock.clj#L216", + "wiki-url": + "http://richhickey.github.com/clojure-contrib//mock-api.html#clojure.contrib.mock.test-adapter/calls", + "namespace":"clojure.contrib.mock.test-adapter", + "arglists":[["val"], ["val", "expectation-hash"]], "doc": - "Increments the named counter in *report-counters*, a ref to a map.\nDoes nothing if *report-counters* is nil.", - "name":"inc-report-counter"}, + "Creates or associates to an existing expectation hash the :calls key with a\nfunction that will be called with the given arguments. The return value from\nthis function will be returned returned by the expected function. If both this\nand returns are specified, the return value of \"calls\" will have precedence.\nUsage:\n(calls some-fn expectation-hash?)", + "name":"calls"}, {"source-url": - "http://github.com/richhickey/clojure-contrib/blob/607389029cfec50f32b73c00a6f66d0a1dbcda23/src/clj/clojure/test.clj#L501", + "http://github.com/richhickey/clojure-contrib/blob/a4a4a534d7dddc1d58fc93a216192bf4bb7b20ff/src/clojure/contrib/mock.clj#L228", "wiki-url": - "http://richhickey.github.com/clojure-contrib//test-is-api.html#clojure.contrib.test-is/is", - "namespace":"clojure.contrib.test-is", - "arglists":[["form"], ["form", "msg"]], + "http://richhickey.github.com/clojure-contrib//mock-api.html#clojure.contrib.mock.test-adapter/has-args", + "namespace":"clojure.contrib.mock.test-adapter", + "arglists": + [["arg-pred-forms"], ["arg-pred-forms", "expect-hash-form"]], "doc": - "Generic assertion macro. 'form' is any predicate test.\n'msg' is an optional message to attach to the assertion.\n\nExample: (is (= 4 (+ 2 2)) \"Two plus two should be 4\")\n\nSpecial forms:\n\n(is (thrown? c body)) checks that an instance of c is thrown from\nbody, fails if not; then returns the thing thrown.\n\n(is (thrown-with-msg? c re body)) checks that an instance of c is\nthrown AND that the message on the exception matches (with\nre-matches) the regular expression re.", - "name":"is"}, + "Creates or associates to an existing expectation hash the :has-args key with\na value corresponding to a function that will either return true if its\nargument expectations are met or throw an exception with the details of the\nfirst failed argument it encounters.\nOnly specify as many predicates as you are interested in verifying. The rest\nof the values are safely ignored.\nUsage:\n(has-args [arg-pred-1 arg-pred-2 ... arg-pred-n] expectation-hash?)", + "name":"has-args"}, {"source-url": - "http://github.com/richhickey/clojure-contrib/blob/607389029cfec50f32b73c00a6f66d0a1dbcda23/src/clj/clojure/test.clj#L624", + "http://github.com/richhickey/clojure-contrib/blob/a4a4a534d7dddc1d58fc93a216192bf4bb7b20ff/src/clojure/contrib/mock.clj#L105", "wiki-url": - "http://richhickey.github.com/clojure-contrib//test-is-api.html#clojure.contrib.test-is/join-fixtures", - "namespace":"clojure.contrib.test-is", - "arglists":[["fixtures"]], + "http://richhickey.github.com/clojure-contrib//mock-api.html#clojure.contrib.mock.test-adapter/has-matching-signature?", + "namespace":"clojure.contrib.mock.test-adapter", + "arglists":[["fn-name", "args"]], "doc": - "Composes a collection of fixtures, in order. Always returns a valid\nfixture function, even if the collection is empty.", - "name":"join-fixtures"}, + "Calls no-matching-function-signature if no match is found for the given\nfunction. If no argslist meta data is available for the function, it is\nnot called.", + "name":"has-matching-signature?"}, {"source-url": - "http://github.com/richhickey/clojure-contrib/blob/607389029cfec50f32b73c00a6f66d0a1dbcda23/src/clj/clojure/test.clj#L312", + "http://github.com/richhickey/clojure-contrib/blob/a4a4a534d7dddc1d58fc93a216192bf4bb7b20ff/src/clojure/contrib/mock.clj#L116", "wiki-url": - "http://richhickey.github.com/clojure-contrib//test-is-api.html#clojure.contrib.test-is/report", - "namespace":"clojure.contrib.test-is", + "http://richhickey.github.com/clojure-contrib//mock-api.html#clojure.contrib.mock.test-adapter/make-arg-checker", + "namespace":"clojure.contrib.mock.test-adapter", + "arglists":[["arg-preds", "arg-pred-forms"]], "doc": - "Generic reporting function, may be overridden to plug in\ndifferent report formats (e.g., TAP, JUnit). Assertions such as\n'is' call 'report' to indicate results. The argument given to\n'report' will be a map with a :type key. See the documentation at\nthe top of test_is.clj for more information on the types of\narguments for 'report'.", - "name":"report"}, + "Creates the argument verifying function for a replaced dependency within\nthe expectation bound scope. These functions take the additional argument\nof the name of the replaced function, then the rest of their args. It is\ndesigned to be called from the mock function generated in the first argument\nof the mock info object created by make-mock.", + "name":"make-arg-checker"}, {"source-url": - "http://github.com/richhickey/clojure-contrib/blob/607389029cfec50f32b73c00a6f66d0a1dbcda23/src/clj/clojure/test.clj#L695", + "http://github.com/richhickey/clojure-contrib/blob/a4a4a534d7dddc1d58fc93a216192bf4bb7b20ff/src/clojure/contrib/mock.clj#L131", "wiki-url": - "http://richhickey.github.com/clojure-contrib//test-is-api.html#clojure.contrib.test-is/run-all-tests", - "namespace":"clojure.contrib.test-is", - "arglists":[[], ["re"]], + "http://richhickey.github.com/clojure-contrib//mock-api.html#clojure.contrib.mock.test-adapter/make-count-checker", + "namespace":"clojure.contrib.mock.test-adapter", + "arglists":[["pred", "pred-form"]], "doc": - "Runs all tests in all namespaces; prints results.\nOptional argument is a regular expression; only namespaces with\nnames matching the regular expression (with re-matches) will be\ntested.", - "name":"run-all-tests"}, + "creates the count checker that is invoked at the end of an expectation, after\nthe code under test has all been executed. The function returned takes the\nname of the associated dependency and the invocation count as arguments.", + "name":"make-count-checker"}, {"source-url": - "http://github.com/richhickey/clojure-contrib/blob/607389029cfec50f32b73c00a6f66d0a1dbcda23/src/clj/clojure/test.clj#L684", + "http://github.com/richhickey/clojure-contrib/blob/a4a4a534d7dddc1d58fc93a216192bf4bb7b20ff/src/clojure/contrib/mock.clj#L150", "wiki-url": - "http://richhickey.github.com/clojure-contrib//test-is-api.html#clojure.contrib.test-is/run-tests", - "namespace":"clojure.contrib.test-is", - "arglists":[[], ["&", "namespaces"]], + "http://richhickey.github.com/clojure-contrib//mock-api.html#clojure.contrib.mock.test-adapter/make-mock", + "namespace":"clojure.contrib.mock.test-adapter", + "arglists":[["fn-name", "expectation-hash"]], "doc": - "Runs all tests in the given namespaces; prints results.\nDefaults to current namespace if none given. Returns a map\nsummarizing test results.", - "name":"run-tests"}, + "creates a vector containing the following information for the named function:\n1. dependent function replacement - verifies signature, calls arg checker,\nincreases count, returns return value.\n2. an atom containing the invocation count\n3. the invocation count checker function\n4. a symbol of the name of the function being replaced.", + "name":"make-mock"}, {"source-url": - "http://github.com/richhickey/clojure-contrib/blob/607389029cfec50f32b73c00a6f66d0a1dbcda23/src/clj/clojure/test.clj#L581", + "http://github.com/richhickey/clojure-contrib/blob/a4a4a534d7dddc1d58fc93a216192bf4bb7b20ff/src/clojure/contrib/mock/test_adapter.clj#L19", "wiki-url": - "http://richhickey.github.com/clojure-contrib//test-is-api.html#clojure.contrib.test-is/set-test", - "namespace":"clojure.contrib.test-is", - "arglists":[["name", "&", "body"]], + "http://richhickey.github.com/clojure-contrib//mock-api.html#clojure.contrib.mock.test-adapter/report-problem", + "namespace":"clojure.contrib.mock.test-adapter", + "arglists":[["fn-name", "expected", "actual", "msg"]], "doc": - "Experimental.\nSets :test metadata of the named var to a fn with the given body.\nThe var must already exist. Does not modify the value of the var.\n\nWhen *load-tests* is false, set-test is ignored.", - "name":"set-test"}, + "This function is designed to be used in a binding macro to override\nthe report-problem function in clojure.contrib.mock. Instead of printing\nthe error to the console, the error is logged via clojure.test.", + "name":"report-problem"}, {"source-url": - "http://github.com/richhickey/clojure-contrib/blob/607389029cfec50f32b73c00a6f66d0a1dbcda23/src/clj/clojure/test.clj#L703", + "http://github.com/richhickey/clojure-contrib/blob/a4a4a534d7dddc1d58fc93a216192bf4bb7b20ff/src/clojure/contrib/mock.clj#L205", "wiki-url": - "http://richhickey.github.com/clojure-contrib//test-is-api.html#clojure.contrib.test-is/successful?", - "namespace":"clojure.contrib.test-is", - "arglists":[["summary"]], + "http://richhickey.github.com/clojure-contrib//mock-api.html#clojure.contrib.mock.test-adapter/returns", + "namespace":"clojure.contrib.mock.test-adapter", + "arglists":[["val"], ["val", "expectation-hash"]], "doc": - "Returns true if the given test summary indicates all tests\nwere successful, false otherwise.", - "name":"successful?"}, - {"source-url":null, + "Creates or associates to an existing expectation hash the :returns key with\na value to be returned by the expectation after a successful invocation\nmatching its expected arguments (if applicable).\nUsage:\n(returns ret-value expectation-hash?)", + "name":"returns"}, + {"source-url": + "http://github.com/richhickey/clojure-contrib/blob/a4a4a534d7dddc1d58fc93a216192bf4bb7b20ff/src/clojure/contrib/mock.clj#L246", "wiki-url": - "http://richhickey.github.com/clojure-contrib//test-is-api.html#clojure.contrib.test-is/template?", - "namespace":"clojure.contrib.test-is", - "arglists":[["form"]], - "doc":"Returns true if form is a valid template expression.", - "name":"template?"}, + "http://richhickey.github.com/clojure-contrib//mock-api.html#clojure.contrib.mock.test-adapter/times", + "namespace":"clojure.contrib.mock.test-adapter", + "arglists":[["times-fn"], ["times-fn", "expectation-hash"]], + "doc": + "Creates or associates to an existing expectation hash the :times key with a\nvalue corresponding to a predicate function which expects an integer value.\nThis function can either be specified as the first argument to times or can be\nthe result of calling times with an integer argument, in which case the\npredicate will default to being an exact match. This predicate is called at\nthe end of an expect expression to validate that an expected dependency\nfunction was called the expected number of times.\nUsage:\n(times n)\n(times #(> n %))\n(times n expectation-hash)", + "name":"times"}, {"source-url": - "http://github.com/richhickey/clojure-contrib/blob/607389029cfec50f32b73c00a6f66d0a1dbcda23/src/clj/clojure/test.clj#L649", + "http://github.com/richhickey/clojure-contrib/blob/a4a4a534d7dddc1d58fc93a216192bf4bb7b20ff/src/clojure/contrib/mock.clj#L175", "wiki-url": - "http://richhickey.github.com/clojure-contrib//test-is-api.html#clojure.contrib.test-is/test-all-vars", - "namespace":"clojure.contrib.test-is", - "arglists":[["ns"]], + "http://richhickey.github.com/clojure-contrib//mock-api.html#clojure.contrib.mock.test-adapter/validate-counts", + "namespace":"clojure.contrib.mock.test-adapter", + "arglists":[["mock-data"]], "doc": - "Calls test-var on every var interned in the namespace, with fixtures.", - "name":"test-all-vars"}, + "given the sequence of all mock data for the expectation, simply calls the\ncount checker for each dependency.", + "name":"validate-counts"}, + {"source-url": + "http://github.com/richhickey/clojure-contrib/blob/e20e8effe977640592b1f285d6c666492d74df00/src/clojure/contrib/pprint/examples/json.clj#L28", + "wiki-url": + "http://richhickey.github.com/clojure-contrib//pprint-api.html#clojure.contrib.pprint.examples.json/dispatch-json", + "namespace":"clojure.contrib.pprint.examples.json", + "arglists":[["x"]], + "doc":"The dispatch function for printing objects as JSON", + "name":"dispatch-json"}, + {"source-url": + "http://github.com/richhickey/clojure-contrib/blob/e20e8effe977640592b1f285d6c666492d74df00/src/clojure/contrib/pprint/examples/json.clj#L96", + "wiki-url": + "http://richhickey.github.com/clojure-contrib//pprint-api.html#clojure.contrib.pprint.examples.json/json-str", + "namespace":"clojure.contrib.pprint.examples.json", + "arglists":[["x"]], + "doc":"Converts x to a JSON-formatted string.", + "name":"json-str"}, {"source-url": - "http://github.com/richhickey/clojure-contrib/blob/607389029cfec50f32b73c00a6f66d0a1dbcda23/src/clj/clojure/test.clj#L660", + "http://github.com/richhickey/clojure-contrib/blob/e20e8effe977640592b1f285d6c666492d74df00/src/clojure/contrib/pprint/examples/json.clj#L87", "wiki-url": - "http://richhickey.github.com/clojure-contrib//test-is-api.html#clojure.contrib.test-is/test-ns", - "namespace":"clojure.contrib.test-is", - "arglists":[["ns"]], + "http://richhickey.github.com/clojure-contrib//pprint-api.html#clojure.contrib.pprint.examples.json/print-json", + "namespace":"clojure.contrib.pprint.examples.json", + "arglists":[["x"]], "doc": - "If the namespace defines a function named test-ns-hook, calls that.\nOtherwise, calls test-all-vars on the namespace. 'ns' is a\nnamespace object or a symbol.\n\nInternally binds *report-counters* to a ref initialized to\n*inital-report-counters*. Returns the final, dereferenced state of\n*report-counters*.", - "name":"test-ns"}, + "Prints x as JSON. Nil becomes JSON null. Keywords become\nstrings, without the leading colon. Maps become JSON objects, all\nother collection types become JSON arrays. Java arrays become JSON\narrays. Unicode characters in strings are escaped as \\uXXXX.\nNumbers print as with pr.", + "name":"print-json"}, {"source-url": - "http://github.com/richhickey/clojure-contrib/blob/607389029cfec50f32b73c00a6f66d0a1dbcda23/src/clj/clojure/test.clj#L635", + "http://github.com/richhickey/clojure-contrib/blob/2f7ddf7205bbd47ace5d2240c66a4686de18d7e7/src/clojure/contrib/pprint/examples/xml.clj#L27", "wiki-url": - "http://richhickey.github.com/clojure-contrib//test-is-api.html#clojure.contrib.test-is/test-var", - "namespace":"clojure.contrib.test-is", - "arglists":[["v"]], + "http://richhickey.github.com/clojure-contrib//pprint-api.html#clojure.contrib.pprint.examples.xml/*html-compatible*", + "namespace":"clojure.contrib.pprint.examples.xml", "doc": - "If v has a function in its :test metadata, calls that function,\nwith *testing-vars* bound to (conj *testing-vars* v).", - "name":"test-var"}, + "If true, empty tags will have a space before the closing />", + "name":"*html-compatible*"}, {"source-url": - "http://github.com/richhickey/clojure-contrib/blob/607389029cfec50f32b73c00a6f66d0a1dbcda23/src/clj/clojure/test.clj#L534", + "http://github.com/richhickey/clojure-contrib/blob/2f7ddf7205bbd47ace5d2240c66a4686de18d7e7/src/clojure/contrib/pprint/examples/xml.clj#L31", "wiki-url": - "http://richhickey.github.com/clojure-contrib//test-is-api.html#clojure.contrib.test-is/testing", - "namespace":"clojure.contrib.test-is", - "arglists":[["string", "&", "body"]], + "http://richhickey.github.com/clojure-contrib//pprint-api.html#clojure.contrib.pprint.examples.xml/*prxml-indent*", + "namespace":"clojure.contrib.pprint.examples.xml", + "doc":"The number of spaces to indent sub-tags.", + "name":"*prxml-indent*"}, + {"source-url": + "http://github.com/richhickey/clojure-contrib/blob/2f7ddf7205bbd47ace5d2240c66a4686de18d7e7/src/clojure/contrib/pprint/examples/xml.clj#L92", + "wiki-url": + "http://richhickey.github.com/clojure-contrib//pprint-api.html#clojure.contrib.pprint.examples.xml/prxml", + "namespace":"clojure.contrib.pprint.examples.xml", + "arglists":[["&", "args"]], "doc": - "Adds a new string to the list of testing contexts. May be nested,\nbut must occur inside a test function (deftest).", - "name":"testing"}, + "Print XML to *out*. Vectors become XML tags: the first item is the\ntag name; optional second item is a map of attributes.\n\nSequences are processed recursively, so you can use map and other\nsequence functions inside prxml.\n\n (prxml [:p {:class \"greet\"} [:i \"Ladies & gentlemen\"]])\n ; =>

Ladies & gentlemen

\n\nPSEUDO-TAGS: some keywords have special meaning:\n\n :raw! do not XML-escape contents\n :comment! create an XML comment\n :decl! create an XML declaration, with attributes\n :cdata! create a CDATA section\n :doctype! create a DOCTYPE!\n\n (prxml [:p [:raw! \"here & gone\"]])\n ; =>

here & gone

\n\n (prxml [:decl! {:version \"1.1\"}])\n ; => ", + "name":"prxml"}, {"source-url": - "http://github.com/richhickey/clojure-contrib/blob/607389029cfec50f32b73c00a6f66d0a1dbcda23/src/clj/clojure/test.clj#L294", + "http://github.com/richhickey/clojure-contrib/blob/be33acd87f190d9ec2ad756d8cb31c88abca7e5f/src/clojure/contrib/sql/internal.clj#L38", "wiki-url": - "http://richhickey.github.com/clojure-contrib//test-is-api.html#clojure.contrib.test-is/testing-contexts-str", - "namespace":"clojure.contrib.test-is", + "http://richhickey.github.com/clojure-contrib//sql-api.html#clojure.contrib.sql.internal/connection*", + "namespace":"clojure.contrib.sql.internal", "arglists":[[]], "doc": - "Returns a string representation of the current test context. Joins\nstrings in *testing-contexts* with spaces.", - "name":"testing-contexts-str"}, + "Returns the current database connection (or throws if there is none)", + "name":"connection*"}, {"source-url": - "http://github.com/richhickey/clojure-contrib/blob/607389029cfec50f32b73c00a6f66d0a1dbcda23/src/clj/clojure/test.clj#L282", + "http://github.com/richhickey/clojure-contrib/blob/be33acd87f190d9ec2ad756d8cb31c88abca7e5f/src/clojure/contrib/sql/internal.clj#L33", "wiki-url": - "http://richhickey.github.com/clojure-contrib//test-is-api.html#clojure.contrib.test-is/testing-vars-str", - "namespace":"clojure.contrib.test-is", + "http://richhickey.github.com/clojure-contrib//sql-api.html#clojure.contrib.sql.internal/find-connection*", + "namespace":"clojure.contrib.sql.internal", "arglists":[[]], "doc": - "Returns a string representation of the current test. Renders names\nin *testing-vars* as a list, then the source file and line of\ncurrent assertion.", - "name":"testing-vars-str"}, + "Returns the current database connection (or nil if there is none)", + "name":"find-connection*"}, {"source-url": - "http://github.com/richhickey/clojure-contrib/blob/607389029cfec50f32b73c00a6f66d0a1dbcda23/src/clj/clojure/test.clj#L486", + "http://github.com/richhickey/clojure-contrib/blob/be33acd87f190d9ec2ad756d8cb31c88abca7e5f/src/clojure/contrib/sql/internal.clj#L51", "wiki-url": - "http://richhickey.github.com/clojure-contrib//test-is-api.html#clojure.contrib.test-is/try-expr", - "namespace":"clojure.contrib.test-is", - "arglists":[["msg", "form"]], + "http://richhickey.github.com/clojure-contrib//sql-api.html#clojure.contrib.sql.internal/get-connection", + "namespace":"clojure.contrib.sql.internal", + "arglists": + [[{"keys": + ["factory", "classname", "subprotocol", "subname", "datasource", + "username", "password", "name", "environment"], + "as":"db-spec"}]], "doc": - "Used by the 'is' macro to catch unexpected exceptions.\nYou don't call this.", - "name":"try-expr"}, + "Creates a connection to a database. db-spec is a map containing values\nfor one of the following parameter sets:\n\nFactory:\n :factory (required) a function of one argument, a map of params\n (others) (optional) passed to the factory function in a map\n\nDriverManager:\n :classname (required) a String, the jdbc driver class name\n :subprotocol (required) a String, the jdbc subprotocol\n :subname (required) a String, the jdbc subname\n (others) (optional) passed to the driver as properties.\n\nDataSource:\n :datasource (required) a javax.sql.DataSource\n :username (optional) a String\n :password (optional) a String, required if :username is supplied\n\nJNDI:\n :name (required) a String or javax.naming.Name\n :environment (optional) a java.util.Map", + "name":"get-connection"}, {"source-url": - "http://github.com/richhickey/clojure-contrib/blob/607389029cfec50f32b73c00a6f66d0a1dbcda23/src/clj/clojure/test.clj#L601", + "http://github.com/richhickey/clojure-contrib/blob/be33acd87f190d9ec2ad756d8cb31c88abca7e5f/src/clojure/contrib/sql/internal.clj#L107", "wiki-url": - "http://richhickey.github.com/clojure-contrib//test-is-api.html#clojure.contrib.test-is/use-fixtures", - "namespace":"clojure.contrib.test-is", - "doc": - "Wrap test runs in a fixture function to perform setup and\nteardown. Using a fixture-type of :each wraps every test\nindividually, while:once wraps the whole run in a single function.", - "name":"use-fixtures"}, + "http://richhickey.github.com/clojure-contrib//sql-api.html#clojure.contrib.sql.internal/print-sql-exception", + "namespace":"clojure.contrib.sql.internal", + "arglists":[["stream", "exception"]], + "doc":"Prints the contents of an SQLException to stream", + "name":"print-sql-exception"}, {"source-url": - "http://github.com/richhickey/clojure-contrib/blob/607389029cfec50f32b73c00a6f66d0a1dbcda23/src/clj/clojure/test.clj#L545", + "http://github.com/richhickey/clojure-contrib/blob/be33acd87f190d9ec2ad756d8cb31c88abca7e5f/src/clojure/contrib/sql/internal.clj#L121", "wiki-url": - "http://richhickey.github.com/clojure-contrib//test-is-api.html#clojure.contrib.test-is/with-test", - "namespace":"clojure.contrib.test-is", - "arglists":[["definition", "&", "body"]], + "http://richhickey.github.com/clojure-contrib//sql-api.html#clojure.contrib.sql.internal/print-sql-exception-chain", + "namespace":"clojure.contrib.sql.internal", + "arglists":[["stream", "exception"]], + "doc":"Prints a chain of SQLExceptions to stream", + "name":"print-sql-exception-chain"}, + {"source-url": + "http://github.com/richhickey/clojure-contrib/blob/be33acd87f190d9ec2ad756d8cb31c88abca7e5f/src/clojure/contrib/sql/internal.clj#L129", + "wiki-url": + "http://richhickey.github.com/clojure-contrib//sql-api.html#clojure.contrib.sql.internal/print-update-counts", + "namespace":"clojure.contrib.sql.internal", + "arglists":[["stream", "exception"]], "doc": - "Takes any definition form (that returns a Var) as the first argument.\nRemaining body goes in the :test metadata function for that Var.\n\nWhen *load-tests* is false, only evaluates the definition, ignoring\nthe tests.", - "name":"with-test"}, + "Prints the update counts from a BatchUpdateException to stream", + "name":"print-update-counts"}, {"source-url": - "http://github.com/richhickey/clojure-contrib/blob/607389029cfec50f32b73c00a6f66d0a1dbcda23/src/clj/clojure/test.clj#L265", + "http://github.com/richhickey/clojure-contrib/blob/be33acd87f190d9ec2ad756d8cb31c88abca7e5f/src/clojure/contrib/sql/internal.clj#L44", "wiki-url": - "http://richhickey.github.com/clojure-contrib//test-is-api.html#clojure.contrib.test-is/with-test-out", - "namespace":"clojure.contrib.test-is", - "arglists":[["&", "body"]], - "doc":"Runs body with *out* bound to the value of *test-out*.", - "name":"with-test-out"}, - {"source-url":null, + "http://richhickey.github.com/clojure-contrib//sql-api.html#clojure.contrib.sql.internal/rollback", + "namespace":"clojure.contrib.sql.internal", + "arglists":[[], ["val"]], + "doc":"Accessor for the rollback flag on the current connection", + "name":"rollback"}, + {"source-url": + "http://github.com/richhickey/clojure-contrib/blob/be33acd87f190d9ec2ad756d8cb31c88abca7e5f/src/clojure/contrib/sql/internal.clj#L138", "wiki-url": - "http://richhickey.github.com/clojure-contrib//trace-api.html#clojure.contrib.trace/*trace-depth*", - "namespace":"clojure.contrib.trace", - "doc":"Current stack depth of traced function calls.", - "name":"*trace-depth*"}, - {"source-url":null, + "http://richhickey.github.com/clojure-contrib//sql-api.html#clojure.contrib.sql.internal/throw-rollback", + "namespace":"clojure.contrib.sql.internal", + "arglists":[["e"]], + "doc":"Sets rollback and throws a wrapped exception", + "name":"throw-rollback"}, + {"source-url": + "http://github.com/richhickey/clojure-contrib/blob/be33acd87f190d9ec2ad756d8cb31c88abca7e5f/src/clojure/contrib/sql/internal.clj#L144", "wiki-url": - "http://richhickey.github.com/clojure-contrib//trace-api.html#clojure.contrib.trace/deftrace", - "namespace":"clojure.contrib.trace", - "arglists":[["name", "&", "definition"]], + "http://richhickey.github.com/clojure-contrib//sql-api.html#clojure.contrib.sql.internal/transaction*", + "namespace":"clojure.contrib.sql.internal", + "arglists":[["func"]], "doc": - "Use in place of defn; traces each call/return of this fn, including\narguments. Nested calls to deftrace'd functions will print a\ntree-like structure.", - "name":"deftrace"}, - {"source-url":null, + "Evaluates func as a transaction on the open database connection. Any\nnested transactions are absorbed into the outermost transaction. By\ndefault, all database updates are committed together as a group after\nevaluating the outermost body, or rolled back on any uncaught\nexception. If rollback is set within scope of the outermost transaction,\nthe entire transaction will be rolled back rather than committed when\ncomplete.", + "name":"transaction*"}, + {"source-url": + "http://github.com/richhickey/clojure-contrib/blob/be33acd87f190d9ec2ad756d8cb31c88abca7e5f/src/clojure/contrib/sql/internal.clj#L98", "wiki-url": - "http://richhickey.github.com/clojure-contrib//trace-api.html#clojure.contrib.trace/dotrace", - "namespace":"clojure.contrib.trace", - "arglists":[["fns", "&", "exprs"]], + "http://richhickey.github.com/clojure-contrib//sql-api.html#clojure.contrib.sql.internal/with-connection*", + "namespace":"clojure.contrib.sql.internal", + "arglists":[["db-spec", "func"]], "doc": - "Given a sequence of function identifiers, evaluate the body\nexpressions in an environment in which the identifiers are bound to\nthe traced functions. Does not work on inlined functions,\nsuch as clojure.core/+", - "name":"dotrace"}, - {"source-url":null, + "Evaluates func in the context of a new connection to a database then\ncloses the connection.", + "name":"with-connection*"}, + {"source-url": + "http://github.com/richhickey/clojure-contrib/blob/be33acd87f190d9ec2ad756d8cb31c88abca7e5f/src/clojure/contrib/sql/internal.clj#L178", "wiki-url": - "http://richhickey.github.com/clojure-contrib//trace-api.html#clojure.contrib.trace/trace", - "namespace":"clojure.contrib.trace", - "arglists":[["value"], ["name", "value"]], + "http://richhickey.github.com/clojure-contrib//sql-api.html#clojure.contrib.sql.internal/with-query-results*", + "namespace":"clojure.contrib.sql.internal", + "arglists":[[["sql", "&", "params", "as", "sql-params"], "func"]], "doc": - "Sends name (optional) and value to the tracer function, then\nreturns value. May be wrapped around any expression without\naffecting the result.", - "name":"trace"}, - {"source-url":null, + "Executes a query, then evaluates func passing in a seq of the results as\nan argument. The first argument is a vector containing the (optionally\nparameterized) sql query string followed by values for any parameters.", + "name":"with-query-results*"}, + {"source-url": + "http://github.com/richhickey/clojure-contrib/blob/3ce0c3bd3178fc8de29d4e22646764aa07583673/src/clojure/contrib/sql/test.clj#L24", "wiki-url": - "http://richhickey.github.com/clojure-contrib//trace-api.html#clojure.contrib.trace/trace-fn-call", - "namespace":"clojure.contrib.trace", - "arglists":[["name", "f", "args"]], - "doc": - "Traces a single call to a function f with args. 'name' is the\nsymbol name of the function.", - "name":"trace-fn-call"}, - {"source-url":null, + "http://richhickey.github.com/clojure-contrib//sql-api.html#clojure.contrib.sql.test/create-fruit", + "namespace":"clojure.contrib.sql.test", + "arglists":[[]], + "doc":"Create a table", + "name":"create-fruit"}, + {"source-url": + "http://github.com/richhickey/clojure-contrib/blob/3ce0c3bd3178fc8de29d4e22646764aa07583673/src/clojure/contrib/sql/test.clj#L177", "wiki-url": - "http://richhickey.github.com/clojure-contrib//trace-api.html#clojure.contrib.trace/trace-indent", - "namespace":"clojure.contrib.trace", + "http://richhickey.github.com/clojure-contrib//sql-api.html#clojure.contrib.sql.test/db-batchupdate-exception", + "namespace":"clojure.contrib.sql.test", "arglists":[[]], - "doc":"Returns an indentation string based on *trace-depth*", - "name":"trace-indent"}, - {"source-url":null, + "doc":"Demonstrate a batch update exception", + "name":"db-batchupdate-exception"}, + {"source-url": + "http://github.com/richhickey/clojure-contrib/blob/3ce0c3bd3178fc8de29d4e22646764aa07583673/src/clojure/contrib/sql/test.clj#L150", "wiki-url": - "http://richhickey.github.com/clojure-contrib//trace-api.html#clojure.contrib.trace/tracer", - "namespace":"clojure.contrib.trace", - "arglists":[["name", "value"]], + "http://richhickey.github.com/clojure-contrib//sql-api.html#clojure.contrib.sql.test/db-exception", + "namespace":"clojure.contrib.sql.test", + "arglists":[[]], "doc": - "This function is called by trace. Prints to standard output, but\nmay be rebound to do anything you like. 'name' is optional.", - "name":"tracer"}, - {"source-url":null, + "Demonstrate rolling back a partially completed transaction on exception", + "name":"db-exception"}, + {"source-url": + "http://github.com/richhickey/clojure-contrib/blob/3ce0c3bd3178fc8de29d4e22646764aa07583673/src/clojure/contrib/sql/test.clj#L140", "wiki-url": - "http://richhickey.github.com/clojure-contrib//types-api.html#clojure.contrib.types/defadt", - "namespace":"clojure.contrib.types", - "arglists":[["type-tag", "&", "constructors"]], - "doc": - "Define an algebraic data type name by an exhaustive list of constructors.\nEach constructor can be a symbol (argument-free constructor) or a\nlist consisting of a tag symbol followed by the argument symbols.\nThe data type tag must be a keyword.", - "name":"defadt"}, - {"source-url":null, + "http://richhickey.github.com/clojure-contrib//sql-api.html#clojure.contrib.sql.test/db-get-tables", + "namespace":"clojure.contrib.sql.test", + "arglists":[[]], + "doc":"Demonstrate getting table info", + "name":"db-get-tables"}, + {"source-url": + "http://github.com/richhickey/clojure-contrib/blob/3ce0c3bd3178fc8de29d4e22646764aa07583673/src/clojure/contrib/sql/test.clj#L135", "wiki-url": - "http://richhickey.github.com/clojure-contrib//types-api.html#clojure.contrib.types/deftype", - "namespace":"clojure.contrib.types", - "arglists": - [["type-tag", "constructor-name", "docstring?", "attr-map?"], - ["type-tag", "constructor-name", "docstring?", "attr-map?", - "constructor"], - ["type-tag", "constructor-name", "docstring?", "attr-map?", - "constructor", "deconstructor"]], + "http://richhickey.github.com/clojure-contrib//sql-api.html#clojure.contrib.sql.test/db-grade-a", + "namespace":"clojure.contrib.sql.test", + "arglists":[[]], "doc": - "Define a data type by a type tag (a namespace-qualified keyword)\nand a symbol naming the constructor function. Optionally, a\nconstructor and a deconstructor function can be given as well,\nthe defaults being clojure.core/identity and clojure.core/list.\nThe full constructor associated with constructor-name calls the\nconstructor function and attaches the type tag to its result\nas metadata. The deconstructor function must return the arguments\nto be passed to the constructor in order to create an equivalent\nobject. It is used for printing and matching.", - "name":"deftype"}, - {"source-url":null, + "Print rows describing all grade a fruit (grade between 90 and 100)", + "name":"db-grade-a"}, + {"source-url": + "http://github.com/richhickey/clojure-contrib/blob/3ce0c3bd3178fc8de29d4e22646764aa07583673/src/clojure/contrib/sql/test.clj#L123", "wiki-url": - "http://richhickey.github.com/clojure-contrib//types-api.html#clojure.contrib.types/deftype-", - "namespace":"clojure.contrib.types", - "arglists":[["type-tag", "constructor-name", "&", "optional"]], - "doc":"Same as deftype but the constructor is private.", - "name":"deftype-"}, - {"source-url":null, + "http://richhickey.github.com/clojure-contrib//sql-api.html#clojure.contrib.sql.test/db-grade-range", + "namespace":"clojure.contrib.sql.test", + "arglists":[["min", "max"]], + "doc":"Print rows describing fruit that are within a grade range", + "name":"db-grade-range"}, + {"source-url": + "http://github.com/richhickey/clojure-contrib/blob/3ce0c3bd3178fc8de29d4e22646764aa07583673/src/clojure/contrib/sql/test.clj#L80", "wiki-url": - "http://richhickey.github.com/clojure-contrib//types-api.html#clojure.contrib.types/match", - "namespace":"clojure.contrib.types", - "arglists":[["value", "&", "clauses"]], - "doc": - "Given a value and a list of template-expr clauses, evaluate the first\nexpr whose template matches the value. There are four kinds of templates:\n1) Lists of the form (tag x1 x2 ...) match instances of types\n whose constructor has the same form as the list.\n2) Quoted lists of the form '(x1 x2 ...) match lists of the same\n length.\n3) Vectors of the form [x1 x2 ...] match vectors of the same length.\n4) Maps of the form {:key1 x1 :key2 x2 ...} match maps that have\n the same keys as the template, but which can have additional keys\n that are not part of the template.\nThe values x1, x2, ... can be symbols or non-symbol values. Non-symbols\nmust be equal to the corresponding values in the object to be matched.\nSymbols will be bound to the corresponding value in the object in the\nevaluation of expr. If the same symbol occurs more than once in a,\ntemplate the corresponding elements of the object must be equal\nfor the template to match.", - "name":"match"}, - {"source-url":null, + "http://richhickey.github.com/clojure-contrib//sql-api.html#clojure.contrib.sql.test/db-read", + "namespace":"clojure.contrib.sql.test", + "arglists":[[]], + "doc":"Read the entire fruit table", + "name":"db-read"}, + {"source-url": + "http://github.com/richhickey/clojure-contrib/blob/3ce0c3bd3178fc8de29d4e22646764aa07583673/src/clojure/contrib/sql/test.clj#L115", "wiki-url": - "http://richhickey.github.com/clojure-contrib//with-ns-api.html#clojure.contrib.with-ns/with-ns", - "namespace":"clojure.contrib.with-ns", - "arglists":[["ns", "&", "body"]], - "doc": - "Evaluates body in another namespace. ns is either a namespace\nobject or a symbol. This makes it possible to define functions in\nnamespaces other than the current one.", - "name":"with-ns"}, - {"source-url":null, + "http://richhickey.github.com/clojure-contrib//sql-api.html#clojure.contrib.sql.test/db-read-all", + "namespace":"clojure.contrib.sql.test", + "arglists":[[]], + "doc":"Return all the rows of the fruit table as a vector", + "name":"db-read-all"}, + {"source-url": + "http://github.com/richhickey/clojure-contrib/blob/3ce0c3bd3178fc8de29d4e22646764aa07583673/src/clojure/contrib/sql/test.clj#L186", "wiki-url": - "http://richhickey.github.com/clojure-contrib//with-ns-api.html#clojure.contrib.with-ns/with-temp-ns", - "namespace":"clojure.contrib.with-ns", - "arglists":[["&", "body"]], - "doc": - "Evaluates body in an anonymous namespace, which is then immediately\nremoved. The temporary namespace will 'refer' clojure.core.", - "name":"with-temp-ns"}, - {"source-url":null, + "http://richhickey.github.com/clojure-contrib//sql-api.html#clojure.contrib.sql.test/db-rollback", + "namespace":"clojure.contrib.sql.test", + "arglists":[[]], + "doc":"Demonstrate a rollback-only trasaction", + "name":"db-rollback"}, + {"source-url": + "http://github.com/richhickey/clojure-contrib/blob/3ce0c3bd3178fc8de29d4e22646764aa07583673/src/clojure/contrib/sql/test.clj#L165", "wiki-url": - "http://richhickey.github.com/clojure-contrib//zip-filter-api.html#clojure.contrib.zip-filter/ancestors", - "namespace":"clojure.contrib.zip-filter", - "arglists":[["loc"]], - "doc": - "Returns a lazy sequence of all ancestors of location loc, starting\nwith loc and proceeding to loc's parent node and on through to the\nroot of the tree.", - "name":"ancestors"}, - {"source-url":null, + "http://richhickey.github.com/clojure-contrib//sql-api.html#clojure.contrib.sql.test/db-sql-exception", + "namespace":"clojure.contrib.sql.test", + "arglists":[[]], + "doc":"Demonstrate an sql exception", + "name":"db-sql-exception"}, + {"source-url": + "http://github.com/richhickey/clojure-contrib/blob/3ce0c3bd3178fc8de29d4e22646764aa07583673/src/clojure/contrib/sql/test.clj#L97", "wiki-url": - "http://richhickey.github.com/clojure-contrib//zip-filter-api.html#clojure.contrib.zip-filter/children", - "namespace":"clojure.contrib.zip-filter", - "arglists":[["loc"]], - "doc": - "Returns a lazy sequence of all immediate children of location loc,\nleft-to-right.", - "name":"children"}, - {"source-url":null, + "http://richhickey.github.com/clojure-contrib//sql-api.html#clojure.contrib.sql.test/db-update", + "namespace":"clojure.contrib.sql.test", + "arglists":[[]], + "doc":"Update two fruits as a transaction", + "name":"db-update"}, + {"source-url": + "http://github.com/richhickey/clojure-contrib/blob/3ce0c3bd3178fc8de29d4e22646764aa07583673/src/clojure/contrib/sql/test.clj#L89", "wiki-url": - "http://richhickey.github.com/clojure-contrib//zip-filter-api.html#clojure.contrib.zip-filter/children-auto", - "namespace":"clojure.contrib.zip-filter", - "arglists":[["loc"]], + "http://richhickey.github.com/clojure-contrib//sql-api.html#clojure.contrib.sql.test/db-update-appearance-cost", + "namespace":"clojure.contrib.sql.test", + "arglists":[["name", "appearance", "cost"]], + "doc":"Update the appearance and cost of the named fruit", + "name":"db-update-appearance-cost"}, + {"source-url": + "http://github.com/richhickey/clojure-contrib/blob/3ce0c3bd3178fc8de29d4e22646764aa07583673/src/clojure/contrib/sql/test.clj#L106", + "wiki-url": + "http://richhickey.github.com/clojure-contrib//sql-api.html#clojure.contrib.sql.test/db-update-or-insert", + "namespace":"clojure.contrib.sql.test", + "arglists":[["record"]], + "doc":"Updates or inserts a fruit", + "name":"db-update-or-insert"}, + {"source-url": + "http://github.com/richhickey/clojure-contrib/blob/3ce0c3bd3178fc8de29d4e22646764aa07583673/src/clojure/contrib/sql/test.clj#L68", + "wiki-url": + "http://richhickey.github.com/clojure-contrib//sql-api.html#clojure.contrib.sql.test/db-write", + "namespace":"clojure.contrib.sql.test", + "arglists":[[]], + "doc":"Write initial values to the database as a transaction", + "name":"db-write"}, + {"source-url": + "http://github.com/richhickey/clojure-contrib/blob/3ce0c3bd3178fc8de29d4e22646764aa07583673/src/clojure/contrib/sql/test.clj#L34", + "wiki-url": + "http://richhickey.github.com/clojure-contrib//sql-api.html#clojure.contrib.sql.test/drop-fruit", + "namespace":"clojure.contrib.sql.test", + "arglists":[[]], + "doc":"Drop a table", + "name":"drop-fruit"}, + {"source-url": + "http://github.com/richhickey/clojure-contrib/blob/3ce0c3bd3178fc8de29d4e22646764aa07583673/src/clojure/contrib/sql/test.clj#L60", + "wiki-url": + "http://richhickey.github.com/clojure-contrib//sql-api.html#clojure.contrib.sql.test/insert-records-fruit", + "namespace":"clojure.contrib.sql.test", + "arglists":[[]], "doc": - "Returns a lazy sequence of all immediate children of location loc,\nleft-to-right, marked so that a following tag= predicate will auto-descend.", - "name":"children-auto"}, - {"source-url":null, + "Insert records, maps from keys specifying columns to values", + "name":"insert-records-fruit"}, + {"source-url": + "http://github.com/richhickey/clojure-contrib/blob/3ce0c3bd3178fc8de29d4e22646764aa07583673/src/clojure/contrib/sql/test.clj#L41", "wiki-url": - "http://richhickey.github.com/clojure-contrib//zip-filter-api.html#clojure.contrib.zip-filter/descendants", - "namespace":"clojure.contrib.zip-filter", - "arglists":[["loc"]], + "http://richhickey.github.com/clojure-contrib//sql-api.html#clojure.contrib.sql.test/insert-rows-fruit", + "namespace":"clojure.contrib.sql.test", + "arglists":[[]], + "doc":"Insert complete rows", + "name":"insert-rows-fruit"}, + {"source-url": + "http://github.com/richhickey/clojure-contrib/blob/3ce0c3bd3178fc8de29d4e22646764aa07583673/src/clojure/contrib/sql/test.clj#L51", + "wiki-url": + "http://richhickey.github.com/clojure-contrib//sql-api.html#clojure.contrib.sql.test/insert-values-fruit", + "namespace":"clojure.contrib.sql.test", + "arglists":[[]], + "doc":"Insert rows with values for only specific columns", + "name":"insert-values-fruit"}, + {"source-url": + "http://github.com/richhickey/clojure-contrib/blob/81b9e71effbaf6aa2945cd684802d87c762cdcdd/src/clojure/contrib/zip_filter/xml.clj#L18", + "wiki-url": + "http://richhickey.github.com/clojure-contrib//zip-filter-api.html#clojure.contrib.zip-filter.xml/attr", + "namespace":"clojure.contrib.zip-filter.xml", + "arglists":[["attrname"], ["loc", "attrname"]], "doc": - "Returns a lazy sequence of all descendants of location loc, in\ndepth-first order, left-to-right, starting with loc.", - "name":"descendants"}, - {"source-url":null, + "Returns the xml attribute named attrname, of the xml node at location loc.", + "name":"attr"}, + {"source-url": + "http://github.com/richhickey/clojure-contrib/blob/81b9e71effbaf6aa2945cd684802d87c762cdcdd/src/clojure/contrib/zip_filter/xml.clj#L23", "wiki-url": - "http://richhickey.github.com/clojure-contrib//zip-filter-api.html#clojure.contrib.zip-filter/left-locs", - "namespace":"clojure.contrib.zip-filter", - "arglists":[["loc"]], + "http://richhickey.github.com/clojure-contrib//zip-filter-api.html#clojure.contrib.zip-filter.xml/attr=", + "namespace":"clojure.contrib.zip-filter.xml", + "arglists":[["attrname", "attrval"]], "doc": - "Returns a lazy sequence of locations to the left of loc, starting with loc.", - "name":"left-locs"}, - {"source-url":null, + "Returns a query predicate that matches a node when it has an\nattribute named attrname whose value is attrval.", + "name":"attr="}, + {"source-url": + "http://github.com/richhickey/clojure-contrib/blob/81b9e71effbaf6aa2945cd684802d87c762cdcdd/src/clojure/contrib/zip_filter/xml.clj#L51", "wiki-url": - "http://richhickey.github.com/clojure-contrib//zip-filter-api.html#clojure.contrib.zip-filter/leftmost?", - "namespace":"clojure.contrib.zip-filter", - "arglists":[["loc"]], + "http://richhickey.github.com/clojure-contrib//zip-filter-api.html#clojure.contrib.zip-filter.xml/seq-test", + "namespace":"clojure.contrib.zip-filter.xml", + "arglists":[["preds"]], "doc": - "Returns true if there are no more nodes to the left of location loc.", - "name":"leftmost?"}, - {"source-url":null, + "Returns a query predicate that matches a node when its xml content\nmatches the query expresions given.", + "name":"seq-test"}, + {"source-url": + "http://github.com/richhickey/clojure-contrib/blob/81b9e71effbaf6aa2945cd684802d87c762cdcdd/src/clojure/contrib/zip_filter/xml.clj#L28", "wiki-url": - "http://richhickey.github.com/clojure-contrib//zip-filter-api.html#clojure.contrib.zip-filter/right-locs", - "namespace":"clojure.contrib.zip-filter", - "arglists":[["loc"]], + "http://richhickey.github.com/clojure-contrib//zip-filter-api.html#clojure.contrib.zip-filter.xml/tag=", + "namespace":"clojure.contrib.zip-filter.xml", + "arglists":[["tagname"]], "doc": - "Returns a lazy sequence of locations to the right of loc, starting with loc.", - "name":"right-locs"}, - {"source-url":null, + "Returns a query predicate that matches a node when its is a tag\nnamed tagname.", + "name":"tag="}, + {"source-url": + "http://github.com/richhickey/clojure-contrib/blob/81b9e71effbaf6aa2945cd684802d87c762cdcdd/src/clojure/contrib/zip_filter/xml.clj#L38", "wiki-url": - "http://richhickey.github.com/clojure-contrib//zip-filter-api.html#clojure.contrib.zip-filter/rightmost?", - "namespace":"clojure.contrib.zip-filter", + "http://richhickey.github.com/clojure-contrib//zip-filter-api.html#clojure.contrib.zip-filter.xml/text", + "namespace":"clojure.contrib.zip-filter.xml", "arglists":[["loc"]], "doc": - "Returns true if there are no more nodes to the right of location loc.", - "name":"rightmost?"}, - {"source-url":null, + "Returns the textual contents of the given location, similar to\nxpaths's value-of", + "name":"text"}, + {"source-url": + "http://github.com/richhickey/clojure-contrib/blob/81b9e71effbaf6aa2945cd684802d87c762cdcdd/src/clojure/contrib/zip_filter/xml.clj#L46", "wiki-url": - "http://richhickey.github.com/clojure-contrib//condition-api.html#clojure.contrib.condition.Condition/-init", - "namespace":"clojure.contrib.condition.Condition", - "arglists":[["condition"]], + "http://richhickey.github.com/clojure-contrib//zip-filter-api.html#clojure.contrib.zip-filter.xml/text=", + "namespace":"clojure.contrib.zip-filter.xml", + "arglists":[["s"]], "doc": - "Constructs a Condition object with condition (a map) as its\nmetadata. Also initializes the superclass with the values at :message\nand :cause, if any, so they are also available via .getMessage and\n.getCause.", - "name":"-init"}, - {"source-url":null, + "Returns a query predicate that matches a node when its textual\ncontent equals s.", + "name":"text="}, + {"source-url": + "http://github.com/richhickey/clojure-contrib/blob/81b9e71effbaf6aa2945cd684802d87c762cdcdd/src/clojure/contrib/zip_filter/xml.clj#L57", "wiki-url": - "http://richhickey.github.com/clojure-contrib//condition-api.html#clojure.contrib.condition.Condition/-meta", - "namespace":"clojure.contrib.condition.Condition", - "arglists":[["this"]], - "doc":"Returns this object's metadata, the condition", - "name":"-meta"}, - {"source-url":null, + "http://richhickey.github.com/clojure-contrib//zip-filter-api.html#clojure.contrib.zip-filter.xml/xml->", + "namespace":"clojure.contrib.zip-filter.xml", + "arglists":[["loc", "&", "preds"]], + "doc": + "The loc is passed to the first predicate. If the predicate returns\na collection, each value of the collection is passed to the next\npredicate. If it returns a location, the location is passed to the\nnext predicate. If it returns true, the input location is passed to\nthe next predicate. If it returns false or nil, the next predicate\nis not called.\n\nThis process is repeated, passing the processed results of each\npredicate to the next predicate. xml-> returns the final sequence.\nThe entire chain is evaluated lazily.\n\nThere are also special predicates: keywords are converted to tag=,\nstrings to text=, and vectors to sub-queries that return true if\nthey match.\n\nSee the footer of zip-query.clj for examples.", + "name":"xml->"}, + {"source-url": + "http://github.com/richhickey/clojure-contrib/blob/81b9e71effbaf6aa2945cd684802d87c762cdcdd/src/clojure/contrib/zip_filter/xml.clj#L80", "wiki-url": - "http://richhickey.github.com/clojure-contrib//condition-api.html#clojure.contrib.condition.Condition/-post-init", - "namespace":"clojure.contrib.condition.Condition", - "arglists":[["this", "condition"]], + "http://richhickey.github.com/clojure-contrib//zip-filter-api.html#clojure.contrib.zip-filter.xml/xml1->", + "namespace":"clojure.contrib.zip-filter.xml", + "arglists":[["loc", "&", "preds"]], "doc": - "Adds :stack-trace to the condition. Drops the bottom 3 frames because\nthey are always the same: implementation details of Condition and raise.", - "name":"-post-init"}]} \ No newline at end of file + "Returns the first item from loc based on the query predicates\ngiven. See xml->", + "name":"xml1->"}]} \ No newline at end of file diff --git a/apply-macro-api.html b/apply-macro-api.html index a8b75349..342c51c0 100644 --- a/apply-macro-api.html +++ b/apply-macro-api.html @@ -92,7 +92,7 @@ apply. ;; Expands to: (and true true false) - + Source diff --git a/base64-api.html b/base64-api.html index 6f71dddd..53872ee4 100644 --- a/base64-api.html +++ b/base64-api.html @@ -92,7 +92,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


@@ -105,7 +105,7 @@ the maximum number of characters per line, nil for no line breaks. encoding is UTF-8 and line-length is nil. - + Source
diff --git a/branch-1.1.x/accumulators-api.html b/branch-1.1.x/accumulators-api.html index b8a6eef7..c9ab9540 100644 --- a/branch-1.1.x/accumulators-api.html +++ b/branch-1.1.x/accumulators-api.html @@ -40,7 +40,7 @@ namespace. API Index
Namespaces: @@ -53,7 +53,43 @@ namespace.

Table of Contents

@@ -73,7 +109,202 @@ accumulators.

Public Variables and Functions

- +
+
+
+

add

+ multimethod
+
Usage: (add acc item)
+
+
Add item to the accumulator acc. The exact meaning of adding an
+an item depends on the type of the accumulator.
+ + + Source +
+
+
+

add-items

+ function
+
Usage: (add-items acc items)
+
+
Add all elements of a collection coll to the accumulator acc.
+ + + Source +
+
+
+

combine

+ multimethod
+
Usage: (combine & accs)
+
+
Combine the values of the accumulators acc1 and acc2 into a
+single accumulator of the same type.
+ + + Source +
+
+
+

empty-counter

+ var
+

+  
An empty counter accumulator. Its value is a map that stores for
+every item the number of times it was added.
+ + + Source +
+
+
+

empty-counter-with-total

+ var
+

+  
An empty counter-with-total accumulator. It works like the counter
+accumulator, except that the total number of items added is stored as the
+value of the key :total.
+ + + Source +
+
+
+

empty-list

+ var
+

+  
An empty list accumulator. Adding an item appends it at the beginning.
+ + + Source +
+
+
+

empty-map

+ var
+

+  
An empty map accumulator. Items to be added must be [key value] pairs.
+ + + Source +
+
+
+

empty-maximum

+ var
+

+  
An empty maximum accumulator. Only numbers can be added.
+ + + Source +
+
+
+

empty-mean-variance

+ var
+

+  
An empty mean-variance accumulator, combining sample mean and
+sample variance. Only numbers can be added.
+ + + Source +
+
+
+

empty-min-max

+ var
+

+  
An empty min-max accumulator, combining minimum and maximum.
+Only numbers can be added.
+ + + Source +
+
+
+

empty-minimum

+ var
+

+  
An empty minimum accumulator. Only numbers can be added.
+ + + Source +
+
+
+

empty-product

+ var
+

+  
An empty sum accumulator. Only numbers can be added.
+ + + Source +
+
+
+

empty-queue

+ var
+

+  
An empty queue accumulator. Adding an item appends it at the end.
+ + + Source +
+
+
+

empty-set

+ var
+

+  
An empty set accumulator.
+ + + Source +
+
+
+

empty-string

+ var
+

+  
An empty string accumulator. Adding an item (string or character)
+appends it at the end.
+ + + Source +
+
+
+

empty-sum

+ var
+

+  
An empty sum accumulator. Only numbers can be added.
+ + + Source +
+
+
+

empty-tuple

+ function
+
Usage: (empty-tuple empty-accumulators)
+
+
Returns an accumulator tuple with the supplied empty-accumulators
+as its value. Accumulator tuples consist of several accumulators that
+work in parallel. Added items must be sequences whose number of elements
+matches the number of sub-accumulators.
+ + + Source +
+
+
+

empty-vector

+ var
+

+  
An empty vector accumulator. Adding an item appends it at the end.
+ + + Source +
diff --git a/branch-1.1.x/agent-utils-api.html b/branch-1.1.x/agent-utils-api.html index 439754b6..7d4b8b1b 100644 --- a/branch-1.1.x/agent-utils-api.html +++ b/branch-1.1.x/agent-utils-api.html @@ -40,7 +40,7 @@ namespace. API Index
Namespaces: @@ -89,7 +89,7 @@ Example: (capture-and-send [*out*] a f b c) - + Source diff --git a/branch-1.1.x/api-index.html b/branch-1.1.x/api-index.html index 886d1c7d..728bb0bb 100644 --- a/branch-1.1.x/api-index.html +++ b/branch-1.1.x/api-index.html @@ -40,7 +40,7 @@ namespace. API Index
Namespaces: @@ -82,12 +82,21 @@ Shortcuts:
  *allow-direct-logging*       var           logging            A boolean indicating whether direct logging (as op...
  *append-to-writer*           var           duck-streams       If true, writer and spit will open files in append...
+ 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..
  action-translation-table     var           swing-utils        Translation table for the make-action constructor..
+ add                          multimethod   accumulators       Add item to the accumulator acc. The exact meaning...
  add-action-listener          function      swing-utils        Adds an ActionLister to component. When the action...
+ add-break-thread!            function      repl-utils         Add the given thread to break-threads so that it w...
+ add-cell-watcher             function      dataflow           Adds a watcher to a cell to respond to changes of ...
+ add-cells                    function      dataflow           Given a collection of cells, add them to the dataf...
+ add-items                    function      accumulators       Add all elements of a collection coll to the accum...
  add-key-typed-listener       function      swing-utils        Adds a KeyListener to component that only responds...
+ add-local-javadoc            function      repl-utils         Adds to the list of local Javadoc paths..
  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...
+ add-remote-javadoc           function      repl-utils         Adds to the list of remote Javadoc URLs.  package-...
  agent-write!                 function      logging            Writes the message immediately, and ignores the fi...
  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...
@@ -98,15 +107,21 @@ Shortcuts:
append-writer function duck-streams 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-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-str function java-utils Like clojure.core/str, but if an argument is a key... as-url multimethod java-utils 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.. + attribute-info function jmx Get the MBeanAttributeInfo for an attribute. + attribute-names function jmx All attribute names available on an MBean..

B

@@ -115,37 +130,69 @@ Shortcuts:
*byte-array-type* var duck-streams 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... + break-threads var repl-utils Threads to stop when Ctrl-C is pressed. See 'add-... + 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... + build-source-cell function dataflow Builds a source cell. + 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 ... + bytes function http.agent Returns a Java byte array of the content returned ...

C

- *connection*                 var           jmx                The connection to be used for JMX ops. Defaults to...
+ *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...
+ calls                        function      mock               Creates or associates to an existing expectation h...
  capitalize                   function      str-utils2         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                         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...
+ 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...
  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 ...
  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...
  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...
  conj                         multimethod   generic.collection Returns a new collection resulting from adding all...
+ conjugate                    multimethod   generic.math-functions Return the conjugate of x..
+ 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...
+ 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...
+ create-table                 function      sql                Creates a table on the open database connection gi...
 

D

@@ -158,9 +205,14 @@ Shortcuts:
deferror macro error-kit Define a new error type. defhinted macro def Defines a var with a type hint matching the class ... defmacro- macro def Same as defmacro but yields a private definition. + defmethod* macro generic.arithmetic Define a method implementation for the multimethod... + defmonad macro monads Define a named monad by defining the monad operati... + defmonadfn macro monads Like defn, but for functions that use monad operat... defn-memo macro def Just like defn, but memoizes the function using cl... defnk macro def Define a function accepting keyword arguments. Sym... defonce- macro def Same as defonce but yields a private definition. + defst macro stream-utils Define the stream transformer name by body. The no... + defstream macro stream-utils Define object of the given type as a stream whose ... 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... @@ -175,67 +227,129 @@ Shortcuts:
defvar- macro def Same as defvar but yields a private definition. delete-file function java-utils Delete file f. Raise an exception if it fails unle... 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... + dir macro ns-utils Prints a sorted directory of public vars in a name... + discrete function probabilities.monte-carlo A discrete distribution, defined by a map d... + display-cell multimethod dataflow A 'readable' form of the cell. dissoc multimethod generic.collection Returns a new collection in which the entries corr... dissoc-in function core Dissociates an entry from a nested associative str... + dist-m var probabilities.finite-distributions Monad describing computations on f... + do-commands function sql Executes SQL commands on the open database connect... do-not-handle macro error-kit Use in a tail position of a 'handle' form to indic... + do-prepared function sql Executes an (optionally parameterized) SQL prepare... 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... docodepoints macro str-utils2 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-table function sql Drops a table on the open database connection give...

E

  *enable-profiling*           var           profile            Set this to false before loading/compiling to omit...
+ emit                         function      lazy-xml           Prints an <?xml?> declaration line, and then calls...
+ emit-element                 function      lazy-xml           Recursively prints as XML text the element struct ...
  empty                        multimethod   generic.collection Returns an empty collection of the same kind as th...
+ empty-counter                var           accumulators       An empty counter accumulator. Its value is a map t...
+ empty-counter-with-total     var           accumulators       An empty counter-with-total accumulator. It works ...
+ empty-list                   var           accumulators       An empty list accumulator. Adding an item appends ...
+ empty-map                    var           accumulators       An empty map accumulator. Items to be added must b...
+ empty-maximum                var           accumulators       An empty maximum accumulator. Only numbers can be ...
+ empty-mean-variance          var           accumulators       An empty mean-variance accumulator, combining samp...
+ empty-min-max                var           accumulators       An empty min-max accumulator, combining minimum an...
+ empty-minimum                var           accumulators       An empty minimum accumulator. Only numbers can be ...
+ empty-product                var           accumulators       An empty sum accumulator. Only numbers can be adde...
+ empty-queue                  var           accumulators       An empty queue accumulator. Adding an item appends...
+ empty-set                    var           accumulators       An empty set accumulator..
+ empty-string                 var           accumulators       An empty string accumulator. Adding an item (strin...
+ empty-sum                    var           accumulators       An empty sum accumulator. Only numbers can be adde...
+ empty-tuple                  function      accumulators       Returns an accumulator tuple with the supplied emp...
+ empty-vector                 var           accumulators       An empty vector accumulator. Adding an item append...
  enabled?                     macro         logging            Returns true if the specific logging level is enab...
  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 ...
  escape                       function      str-utils2         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...
+ expression-info              function      repl-utils         Uses the Clojure compiler to analyze the given s-e...
  expt                         multimethod   math               (expt base pow) is base to the pow power. Returns ...
 

F

- fatal                        macro         logging            Logs a message at the fatal level..
+ *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..
  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      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...
  filenames-in-jar             function      jar                Returns a sequence of Strings naming the non-direc...
  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-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-javadoc-url             function      repl-utils         Searches for a URL for the given class name.  Trie...
+ 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-utils          Takes any nested combination of sequential things ...
  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                        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-utils          Returns a map from distinct items in coll to the n...
+ 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...
+ generate-documentation       function      gen-html-docs      Returns a string which is the HTML documentation f...
+ generate-documentation-to-file function    gen-html-docs      Calls generate-documentation on the libraries name...
  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-cell                     function      dataflow           Get the single cell named by name.
+ get-cells                    function      dataflow           Get all the cells named by name.
  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                   function      repl-utils         Returns a string of the source code for the given ...
+ 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-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.
+ get-values                   function      dataflow           Gets a collection of values from the df by name.
  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...
@@ -246,12 +360,22 @@ Shortcuts:

H

- handle                       function      error-kit          Special form to be used inside a 'with-handler'.  ...
+ *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'.  ...
+ 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...
+ 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-write!                  var           logging            Implementation-specific write of a log message. En...
@@ -261,19 +385,25 @@ Shortcuts:
includes? function seq-utils Returns true if coll contains something equal (wit... indexed function seq-utils Returns a lazy sequence of [index, item] pairs, wh... info macro logging Logs a message at the info level.. + insert-records function sql Inserts records into a table. records are maps fro... + insert-rows function sql Inserts complete rows into a table. Each row is a ... + 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...

J

  *json-keyword-keys*          var           json.read          If true, JSON object keys will be converted to key...
  jar-file?                    function      jar                Returns true if file is a normal file with a .jar ...
+ javadoc                      function      repl-utils         Opens a browser window displaying the javadoc for ...
  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-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.write         Converts x to a JSON-formatted string..
 
@@ -284,9 +414,11 @@ Shortcuts:

L

  *load-tests*                 var           test-is            True by default.  If set to false, no test functio...
+ *local-javadocs*             var           repl-utils         Ref to a list of local paths for Javadoc-generated...
  *logging-agent*              var           logging            The default agent used for performing logging durn...
  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.
  lcm                          function      math               (lcm a b) returns the least common multiple of a a...
  least                        function      greatest-least     Return the smallest element..
  least-by                     function      greatest-least     Return the argument for which f yields the smalles...
@@ -294,41 +426,78 @@ Shortcuts:
leftmost? function zip-filter Returns true if there are no more nodes to the lef... letfn- macro macros OBSOLETE: use clojure.core/letfn A variant of let ... lex-permutations function combinatorics Fast lexicographic permutation generator for a seq... + log multimethod generic.math-functions Return the log of x.. log macro logging Logs a message, either directly or via an agent. A... 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-uncapture! function logging Restores System.out and System.err to their origin... + lognormal function probabilities.monte-carlo Transform a sequence of uniform random numb... lower-case function str-utils2 Converts string to all lower-case.. ltrim function str-utils2 Removes whitespace from the left side of string..

M

- macrolet                     macro         macro-utils        Define local macros that are used in the expansion...
+ m-chain                      var           monads             Chains together monadic computation steps that are...
+ m-fmap                       var           monads             Bind the monadic value m to the function returning...
+ m-join                       var           monads             Converts a monadic value containing a monadic valu...
+ m-lift                       macro         monads             Converts a function f of n arguments into a functi...
+ m-map                        var           monads             'Executes' the sequence of monadic values resultin...
+ m-reduce                     var           monads             Return the reduction of (m-lift 2 f) over the list...
+ m-seq                        var           monads             'Executes' the monadic values in ms and returns a ...
+ m-until                      var           monads             While (p x) is false, replace x by the value retur...
+ m-when                       macro         monads             If test is logical true, return monadic value m-ex...
+ m-when-not                   macro         monads             If test if logical false, return monadic value m-e...
+ macrolet                     macro         macro-utils        Define local macros that are used in the expansion...
  make-action                  function      swing-utils        Create an Action proxy from the given action spec....
+ make-arg-checker             function      mock               Creates the argument verifying function for a repl...
+ make-count-checker           function      mock               creates the count checker that is invoked at the e...
+ 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..
  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...
  match                        macro         types              Given a value and a list of template-expr clauses,...
  maybe-atomize                function      jmx                Convert a list of length 1 into its contents, leav...
  maybe-keywordize             function      jmx                Convert a string key to a keyword, leaving other t...
+ maybe-m                      var           monads             Monad describing computations with possible failur...
+ maybe-t                      function      monads             Monad transformer that transforms a monad m into a...
+ 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...
+ miglayout                    function      miglayout          Adds java.awt.Components to a javax.swing.JCompone...
  mmap                         function      mmap               Memory-map the file named f.  Returns a ByteBuffer...
+ monad                        macro         monads             Define a monad by defining the monad operations. T...
+ monad-transformer            macro         monads             Define a monad transforer in terms of the monad op...
 

N

- name-with-attributes         function      def                To be used in macro definitions. Handles optional ...
+ n-sphere                     function      probabilities.monte-carlo Return a uniform distribution of n-dimensio...
+ name-with-attributes         function      def                To be used in macro definitions. Handles optional ...
  new-by-name                  function      core               Constructs a Java object whose class is specified ...
+ normal                       function      probabilities.monte-carlo Transform a sequence urs of uniform random ...
+ normal-box-muller            function      probabilities.monte-carlo Transform a sequence of uniform random numb...
+ normalize                    function      probabilities.finite-distributions Convert a weight map (e.g. a map o...
+ ns-decl?                     function      find-namespaces    Returns true if form is a (ns ...) declaration..
+ ns-vars                      function      ns-utils           Returns a sorted seq of symbols naming public vars...
 

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

P

@@ -342,14 +511,20 @@ Shortcuts:
*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-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-all function seq-utils Returns a lazy sequence of lists like clojure.core... partition-by function seq-utils Applies f to each value in coll, splitting it each... 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 ... 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.... @@ -358,39 +533,66 @@ Shortcuts:
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. + print-dir function ns-utils Prints a sorted directory of public vars in a name... + print-docs function ns-utils Prints documentation for the public vars in a name... print-json multimethod json.write Prints x as JSON. Nil becomes JSON null. Keyword... print-repl-info function repl-ln Prints info about the current repl. + print-stack-trace function condition Prints a stack trace for a condition or Throwable.... print-summary function profile Prints a table of the results returned by summariz... + println function monadic-io-streams Print obj followed by a newline. + prob function probabilities.finite-distributions Return the probability that the pr... prof macro profile If *enable-profiling* is true, wraps body in profi... 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...

Q

-
+ qsym macro generic.arithmetic Create the qualified symbol corresponding to sym i... +

R

- raise                        macro         error-kit          Raise an error of the type err-name, constructed w...
+ *remote-javadocs*            var           repl-utils         Ref to a map from package name prefixes to URLs fo...
+ raise                        macro         condition          Raises a condition. With no arguments, re-raises t...
+ 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-utils          Return a random element of this seq.
+ 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-exceptions              var           jmx                Exceptions that might be thrown if you try to read...
+ read-file-ns-decl            function      find-namespaces    Attempts to read a (ns ...) declaration from file,...
  read-json                    function      json.read          Read one JSON record from s, which may be a String...
+ 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      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-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....
  rec-cat                      macro         seq-utils          Similar to lazy-cat but binds the resulting sequen...
  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-utils          Returns a lazy seq of the intermediate values of t...
+ reject                       function      probabilities.monte-carlo Return the distribution that results from r...
  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...
  repl                         function      repl-ln            A repl that supports line numbers. For definitions...
@@ -399,48 +601,98 @@ Shortcuts:
replace multimethod str-utils2 Replaces all instances of pattern in string with r... replace-first multimethod str-utils2 Replaces the first instance of pattern in s with r... 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-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-utils Returns a lazy seq of all rotations of a seq. + round multimethod generic.math-functions Return the round of x.. round multimethod math (round n) rounds to the nearest integer. round alw... rtrim function str-utils2 Removes whitespace from the right side of string.. + run macro repl-utils Loads the specified namespace and invokes its "mai... + run* function repl-utils Loads the specified namespace and invokes its "mai... 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

- *stack-trace-depth*          var           test-is            The maximum depth of stack traces to print when an...
+ *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-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-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...
+ sample-sum                   function      probabilities.monte-carlo Return the distribution of the sum over n s...
  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          multimethod   http.connection    Transmits a request entity body..
  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-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-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-out          Passes the given strings to Runtime.exec() to laun...
+ show                         function      repl-utils         With one arg prints all static and instance member...
  shuffle                      function      seq-utils          Return a random permutation of coll.
+ sin                          multimethod   generic.math-functions Return the sin of x..
+ skip-chars                   function      monadic-io-streams Skip n characters.
  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..
+ source                       macro         repl-utils         Prints the source code for the given symbol, if it...
+ source-cell?                 function      dataflow           Is this cell a source cell?.
  spit                         function      duck-streams       Opposite of slurp.  Opens f with writer, writes co...
  split                        function      str-utils2         Splits string on a regular expression.  Optional a...
  split-lines                  function      str-utils2         Splits s on \n or \r\n..
  spy                          macro         logging            Evaluates expr and outputs 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                         multimethod   math               Square root, but returns exact number if possible..
+ stack-trace-info             multimethod   condition          Returns header, stack-trace, and cause info from c...
+ start-handling-break         function      repl-utils         Register INT signal handler.  After calling this, ...
+ 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...
+ stream-m                     var           stream-utils       Monad describing stream computations. The monadic ...
+ stream-map                   multimethod   stream-utils       Return a new stream by mapping the function f on t...
+ stream-next                  multimethod   stream-utils       Returns a vector [next-value new-state] where next...
  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.
+ 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?.
@@ -453,6 +705,7 @@ Shortcuts:
*trace-depth* var trace Current stack depth of traced function calls.. tail function str-utils2 Returns the last n characters of s.. take function str-utils2 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-... @@ -465,12 +718,14 @@ Shortcuts:
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... trace macro logging Logs a message at the trace level.. 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... 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.. try-expr macro test-is Used by the 'is' macro to catch unexpected excepti... @@ -478,40 +733,58 @@ Shortcuts:

U

- upper-case                   function      str-utils2         Converts string to all upper-case..
+ uniform                      function      probabilities.finite-distributions Return a distribution in which eac...
+ update-or-insert-values      function      sql                Updates values on selected rows in a table, or ins...
+ update-state                 function      monads             Return a state-monad function that replaces the cu...
+ 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..
  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

-
+ validate-counts function mock given the sequence of all mock data for the expect... + vars macro ns-utils Returns a sorted seq of symbols naming public vars... +

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..
+ with-command-line            macro         command-line       Bind locals to command-line args..
  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-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-writer              macro         duck-streams       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-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-lines                  function      duck-streams       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..
  writer                       multimethod   duck-streams       Attempts to coerce its argument into an open java....
+ writer-m                     function      monads             Monad describing computations that accumulate data...
 

X

@@ -524,12 +797,23 @@ Shortcuts:

Z

-
+ zero? multimethod generic.comparison Return true of x is zero.. + zipf function probabilities.finite-distributions Returns the Zipf distribution in w... +

Other

- -?>                          macro         core               Same as clojure.core/-> but returns nil as soon as...
+ *                            multimethod   generic.arithmetic Return the product of all arguments. The minimal i...
+ +                            multimethod   generic.arithmetic Return the sum of all arguments. The minimal imple...
+ -                            multimethod   generic.arithmetic Return the difference of the first argument and th...
+ -?>                          macro         core               Same as clojure.core/-> but returns nil as soon as...
  .?.                          macro         core               Same as clojure.core/.. but returns nil as soon as...
+ /                            multimethod   generic.arithmetic Return the quotient of the first argument and the ...
+ <                            multimethod   generic.comparison Return true if each argument is smaller than the f...
+ <=                           multimethod   generic.comparison Return true if each arguments is smaller than or e...
+ =                            multimethod   generic.comparison Return true if all arguments are equal. The minima...
+ >                            multimethod   generic.comparison Return true if each argument is larger than the fo...
+ >=                           multimethod   generic.comparison Return true if each argument is larger than or equ...
 
+ + + + +
+ + +
+
+
+
+ +

API for javadoc.browse + (1.1.x branch)

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

Overview

+
Start a web browser from Clojure
+ + +
+

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

open-url-in-swing

+ function
+
Usage: (open-url-in-swing url)
+
+
Opens url (a string) in a Swing window.
+ + + Source +
+ + +
+
+
+
+
+ +
+
Logo & site design by Tom Hickey.
+ Clojure auto-documentation system by Tom Faulhaber.
+
+ + + + \ No newline at end of file diff --git a/branch-1.1.x/jmx-api.html b/branch-1.1.x/jmx-api.html index 9e26a529..8d455d30 100644 --- a/branch-1.1.x/jmx-api.html +++ b/branch-1.1.x/jmx-api.html @@ -40,7 +40,7 @@ namespace. API Index
Namespaces: @@ -57,6 +57,10 @@ namespace. *connection*
as-object-name +
+ attribute-info +
+ attribute-names
build-attribute-info
@@ -71,6 +75,28 @@ namespace. maybe-atomize
maybe-keywordize +
+ mbean +
+ mbean-names +
+ op-param-types +
+ operation +
+ operation-names +
+ operations +
+ raw-read +
+ read +
+ read-exceptions +
+ read-supported +
+ readable?
with-connection
@@ -161,7 +187,7 @@ in the ref:
The connection to be used for JMX ops. Defaults to the local process.
- + Source


@@ -172,7 +198,29 @@ in the ref:
Interpret an object as a JMX ObjectName.
+ Source +
+
+
+

attribute-info

+ function
+
Usage: (attribute-info object-name attr-name)
+
+
Get the MBeanAttributeInfo for an attribute
+ + + Source +
+
+
+

attribute-names

+ function
+
Usage: (attribute-names n)
+
+
All attribute names available on an MBean.
+ + Source


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


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


@@ -206,7 +254,7 @@ in the ref: Handles CompositeData, TabularData, maps, and atoms. - + Source


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


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


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


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

mbean

+ function
+
Usage: (mbean n)
+
+
Like clojure.core/bean, but for JMX beans. Returns a read-only map of
+a JMX bean's attributes. If an attribute it not supported, value is
+set to the exception thrown.
+ + + Source +
+
+
+

mbean-names

+ function
+
Usage: (mbean-names n)
+
+
Finds all MBeans matching a name on the current *connection*.
+ + + Source +
+
+
+

op-param-types

+ function
+
Usage: (op-param-types n op)
+
+
The parameter types (as class name strings) for operation op on n. Used for invoke.
+ + + Source +
+
+
+

operation

+ function
+
Usage: (operation n op)
+
+
The MBeanOperationInfo for operation op on mbean n. Used for invoke.
+ + + Source +
+
+
+

operation-names

+ function
+
Usage: (operation-names n)
+
+
All operation names available on an MBean.
+ + + Source +
+
+
+

operations

+ function
+
Usage: (operations n)
+
+
All oeprations available on an MBean.
+ + + Source +
+
+
+

raw-read

+ function
+
Usage: (raw-read n attr)
+
+
Read an mbean property. Returns low-level Java object model for composites, tabulars, etc.
+Most callers should use read.
+ + Source +
+
+
+

read

+ var
+

+  
Read an mbean property.
+ + + Source +
+
+
+

read-exceptions

+ var
+

+  
Exceptions that might be thrown if you try to read an unsupported attribute.
+by testing agains jconsole and Tomcat. This is dreadful and ad-hoc but I did not
+want to swallow all exceptions.
+ + + Source +
+
+
+

read-supported

+ function
+
Usage: (read-supported n attr)
+
+
Calls read to read an mbean property, *returning* unsupported operation exceptions instead of throwing them.
+Used to keep mbean from blowing up. Note that some terribly-behaved mbeans use java.lang.InternalError to
+indicate an unsupported operation!
+ + + Source +
+
+
+

readable?

+ function
+
Usage: (readable? n attr)
+
+
Is attribute readable?
+ + + Source


@@ -264,7 +438,7 @@ simplify keys in the tabular data API.
Execute body with JMX connection specified by opts (:port).
- + Source
diff --git a/branch-1.1.x/json.read-api.html b/branch-1.1.x/json.read-api.html index 65095795..313ecdac 100644 --- a/branch-1.1.x/json.read-api.html +++ b/branch-1.1.x/json.read-api.html @@ -40,7 +40,7 @@ namespace. API Index
Namespaces: @@ -102,7 +102,7 @@ instead of strings. Defaults to false. There are no checks that the strings form valid keywords. - + Source


@@ -116,7 +116,7 @@ the strings form valid keywords. java.io.PushbackReader. - + Source
diff --git a/branch-1.1.x/json.write-api.html b/branch-1.1.x/json.write-api.html index 0a9b406c..40ebff24 100644 --- a/branch-1.1.x/json.write-api.html +++ b/branch-1.1.x/json.write-api.html @@ -40,7 +40,7 @@ namespace. API Index
Namespaces: @@ -116,7 +116,7 @@ Within strings, all non-ASCII characters are hexadecimal escaped.
Converts x to a JSON-formatted string.
- + Source


@@ -131,7 +131,7 @@ arrays. Unicode characters in strings are escaped as \uXXXX. Numbers print as with pr. - + Source
diff --git a/branch-1.1.x/lazy-seqs-api.html b/branch-1.1.x/lazy-seqs-api.html index 4770933a..dd00d4d0 100644 --- a/branch-1.1.x/lazy-seqs-api.html +++ b/branch-1.1.x/lazy-seqs-api.html @@ -40,7 +40,7 @@ namespace. API Index
Namespaces: @@ -106,7 +106,7 @@ by Stephen C. Gilardi
Returns a lazy sequence of all the Fibonacci numbers.
- + Source


@@ -117,7 +117,7 @@ by Stephen C. Gilardi
Returns a lazy sequence of all the powers of 2
- + Source


@@ -127,7 +127,7 @@ by Stephen C. Gilardi
Lazy sequence of all the prime numbers.
- + Source
diff --git a/branch-1.1.x/lazy-xml-api.html b/branch-1.1.x/lazy-xml-api.html index 98599bdf..115bbf47 100644 --- a/branch-1.1.x/lazy-xml-api.html +++ b/branch-1.1.x/lazy-xml-api.html @@ -40,7 +40,7 @@ namespace. API Index
Namespaces: @@ -53,7 +53,15 @@ namespace.

Table of Contents

@@ -72,7 +80,76 @@ by Chris Houser

Public Variables and Functions

- +
+
+
+

emit

+ function
+
Usage: (emit x & opts)
+
+
Prints an <?xml?> declaration line, and then calls emit-element
+ + + Source +
+
+
+

emit-element

+ function
+
Usage: (emit-element e & opts)
+
+
Recursively prints as XML text the element struct e.  To have it
+print extra whitespace like clojure.xml/emit, use the :pad true
+option.
+ + + Source +
+
+
+

parse-seq

+ function
+
Usage: (parse-seq s)
+       (parse-seq s startparse)
+       (parse-seq s startparse queue-size)
+
+
Parses the source s, which can be a File, InputStream or String
+naming a URI. Returns a lazy sequence of maps with two or more of
+the keys :type, :name, :attrs, and :str. Other SAX-compatible
+parsers can be supplied by passing startparse, a fn taking a source
+and a ContentHandler and returning a parser. If a parser is
+specified, it will be run in a separate thread and be allowed to get
+ahead by queue-size items, which defaults to maxint.  If no parser
+is specified and org.xmlpull.v1.XmlPullParser is in the classpath,
+this superior pull parser will be used.
+ + + Source +
+
+
+

parse-trim

+ function
+
Usage: (parse-trim s)
+       (parse-trim s startparse queue-size)
+
+
Parses the source s, which can be a File, InputStream or String
+naming a URI. Returns a lazy tree of the clojure.xml/element
+struct-map, which has the keys :tag, :attrs, and :content and
+accessor fns tag, attrs, and content, with the whitespace trimmed
+from around each content string. This format is compatible with what
+clojure.xml/parse produces, except :content is a lazy seq instead of
+a vector.  Other SAX-compatible parsers can be supplied by passing
+startparse, a fn taking a source and a ContentHandler and returning
+a parser. If a parser is specified, it will be run in a separate
+thread and be allowed to get ahead by queue-size items, which
+defaults to maxing.  If no parser is specified and
+org.xmlpull.v1.XmlPullParser is in the classpath, this superior pull
+parser will be used.
+ + + Source +
diff --git a/branch-1.1.x/logging-api.html b/branch-1.1.x/logging-api.html index 06130fbd..a279240b 100644 --- a/branch-1.1.x/logging-api.html +++ b/branch-1.1.x/logging-api.html @@ -40,7 +40,7 @@ namespace. API Index
Namespaces: @@ -153,7 +153,7 @@ needs to be specified to namespace the output. allowed when not operating from within a transaction. Defaults to true. - + Source


@@ -163,7 +163,7 @@ allowed when not operating from within a transaction. Defaults to true.
The name of the logging implementation used.
- + Source


@@ -174,7 +174,7 @@ allowed when not operating from within a transaction. Defaults to true. direct logging is disabled. - + Source


@@ -186,7 +186,7 @@ direct logging is disabled. logging agent. End-users should never need to call this function. - + Source


@@ -198,7 +198,7 @@ logging agent. End-users should never need to call this function.
Logs a message at the debug level.
- + Source


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


@@ -224,7 +224,7 @@ whether the log should be written to.
Logs a message at the error level.
- + Source


@@ -236,7 +236,7 @@ whether the log should be written to.
Logs a message at the fatal level.
- + Source


@@ -247,7 +247,7 @@ whether the log should be written to. should not need to call this function. - + Source


@@ -258,7 +258,7 @@ should not need to call this function. not need to call this function. - + Source


@@ -269,7 +269,7 @@ not need to call this function. call this function. - + Source


@@ -281,7 +281,7 @@ call this function.
Logs a message at the info level.
- + Source


@@ -295,7 +295,7 @@ call this function. convenience macros. - + Source


@@ -309,7 +309,7 @@ be used to namespace all redirected logging. NOTE: this will not redirect output of *out* or *err*; for that, use with-logs. - + Source


@@ -321,7 +321,7 @@ output of *out* or *err*; for that, use with-logs. to invoke this function. - + Source


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


@@ -344,7 +344,7 @@ to invoke this function. the result of expr. - + Source


@@ -356,7 +356,7 @@ the result of expr.
Logs a message at the trace level.
- + Source


@@ -368,7 +368,7 @@ the result of expr.
Logs a message at the warn level.
- + Source


@@ -381,7 +381,7 @@ the result of expr. namespace all redirected logging. - + Source
diff --git a/branch-1.1.x/macro-utils-api.html b/branch-1.1.x/macro-utils-api.html index cc572454..28be87f2 100644 --- a/branch-1.1.x/macro-utils-api.html +++ b/branch-1.1.x/macro-utils-api.html @@ -40,7 +40,7 @@ namespace. API Index
Namespaces: @@ -111,7 +111,7 @@ Clojure's built-in macro expansion system, they can be used only inside a with-symbol-macros form. - + Source


@@ -124,7 +124,7 @@ symbols in params (a vector) by the corresponding parameters given in the macro call. - + Source


@@ -136,7 +136,7 @@ given in the macro call. syntax is the same as for letfn forms. - + Source


@@ -147,7 +147,7 @@ syntax is the same as for letfn forms.
Like clojure.core/macroexpand, but takes into account symbol macros.
- + Source


@@ -158,7 +158,7 @@ syntax is the same as for letfn forms.
Like clojure.core/macroexpand-1, but takes into account symbol macros.
- + Source


@@ -169,7 +169,7 @@ syntax is the same as for letfn forms.
Perform a full recursive macro expansion of a form.
- + Source


@@ -181,7 +181,7 @@ syntax is the same as for letfn forms. The syntax is the same as for let forms. - + Source


@@ -192,7 +192,7 @@ The syntax is the same as for let forms.
Fully expand exprs, including symbol macros.
- + Source
diff --git a/branch-1.1.x/macros-api.html b/branch-1.1.x/macros-api.html index 4465a730..966a8b11 100644 --- a/branch-1.1.x/macros-api.html +++ b/branch-1.1.x/macros-api.html @@ -40,7 +40,7 @@ namespace. API Index
Namespaces: @@ -88,7 +88,7 @@ by Konrad Hinsen
Evaluate the constant expression expr at compile time.
- + Source


@@ -102,7 +102,7 @@ of name/args/body triples, with (letfn [name args body] ...) being equivalent to (let [name (fn name args body)] ...). - + Source


@@ -120,7 +120,7 @@ the default value ['clojure.core] is used. The symbol *ns* can be used to refer to the current namespace. - + Source
diff --git a/branch-1.1.x/map-utils-api.html b/branch-1.1.x/map-utils-api.html index 77292d6d..a26bc26f 100644 --- a/branch-1.1.x/map-utils-api.html +++ b/branch-1.1.x/map-utils-api.html @@ -40,7 +40,7 @@ namespace. API Index
Namespaces: @@ -95,7 +95,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


@@ -106,7 +106,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


@@ -117,7 +117,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


@@ -128,7 +128,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
diff --git a/branch-1.1.x/math-api.html b/branch-1.1.x/math-api.html index 26ddc78a..87c935ac 100644 --- a/branch-1.1.x/math-api.html +++ b/branch-1.1.x/math-api.html @@ -40,7 +40,7 @@ namespace. API Index
Namespaces: @@ -140,7 +140,7 @@ exact-integer-sqrt - Implements a math function from the R6RS Scheme
(abs n) is the absolute value of n
- + Source


@@ -152,7 +152,7 @@ exact-integer-sqrt - Implements a math function from the R6RS Scheme If n is an exact number, ceil returns an integer, otherwise a double. - + Source


@@ -164,7 +164,7 @@ 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


@@ -176,7 +176,7 @@ For example, (exact-integer-sqrt 15) is [3 6] because 15 = 3^2+6. Returns an exact number if the base is an exact number and the power is an integer, otherwise returns a double. - + Source


@@ -188,7 +188,7 @@ Returns an exact number if the base is an exact number and the power is an integ If n is an exact number, floor returns an integer, otherwise a double. - + Source


@@ -199,7 +199,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


@@ -210,7 +210,7 @@ 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


@@ -222,7 +222,7 @@ If n is an exact number, floor returns an integer, otherwise a double. round always returns an integer. Rounds up for values exactly in between two integers. - + Source


@@ -233,7 +233,7 @@ round always returns an integer. Rounds up for values exactly in between two in
Square root, but returns exact number if possible.
- + Source
diff --git a/branch-1.1.x/miglayout-api.html b/branch-1.1.x/miglayout-api.html index ba9f5561..50f9b3df 100644 --- a/branch-1.1.x/miglayout-api.html +++ b/branch-1.1.x/miglayout-api.html @@ -40,7 +40,7 @@ namespace. API Index
Namespaces: @@ -53,7 +53,53 @@ namespace.

Table of Contents

Overview - +
+ components +
+ miglayout +
+
+
@@ -78,7 +124,237 @@ Example:

Public Variables and Functions

+
+
+
+

components

+ function
+
Usage: (components container)
+
+
Returns a map from id (a keyword) to component for all components with
+an id constraint set
+ + + Source +
+
+
+

miglayout

+ function
+
Usage: (miglayout container & args)
+
+
Adds java.awt.Components to a javax.swing.JComponent with constraints
+formatted for the MiGLayout layout manager.
+
+Arguments: container [item constraint*]*
+
+  - container: the container for the specified components, its layout
+    manager will be set to a new instance of MigLayout
+
+  - an inline series of items and constraints--each item may be followed
+    by zero or more constraints.
+
+Item:
+
+  - An item is either a Component or one of the keywords :layout
+   :column or :row. Constraints for a keyword item affect the entire
+    layout.
+
+Constraint: string, keyword, vector, map, or set
+
+  - A string specifies one or more constraints each with zero or more
+    arguments.
+  - A keyword specifies a single constraint without arguments
+  - A vector specifies a single constraint with one or more arguments
+  - A map specifies one or more constraints as keys, each mapped to a
+    single argument
+  - A set groups two or more constraints, each a string, keyword,
+    vector, map, or set
 
+Any items marked with an "id" constraint will be included in a map from
+id to component attached to the container. The map can be retrieved using
+clojure.contrib.miglayout/components.
+ + + Source +
+

miglayout.example

+

+
+
+
+
+
+

converter-ui

+ function
+
Usage: (converter-ui)
+
+
Lays out and shows a Temperature Converter UI
+ + + Source +
+
+

fahrenheit

+ function
+
Usage: (fahrenheit celsius)
+
+
Converts a Celsius temperature to Fahrenheit. Input and output are
+strings. Returns "input?" if the input can't be parsed as a Double.
+ + + Source +
+
+

main

+ function
+
Usage: (main)
+
+
Invokes converter-ui in the AWT Event thread
+ + + Source +
+

miglayout.internal

+

+
+
+
+
+
+

add-components

+ function
+
Usage: (add-components container components)
+
+
Adds components with constraints to a container
+ + + Source +
+
+

component?

+ function
+
Usage: (component? x)
+
+
Returns true if x is a java.awt.Component
+ + + Source +
+
+

constraint?

+ function
+
Usage: (constraint? x)
+
+
Returns true if x is not a keyword-item or component
+ + + Source +
+
+

do-layout

+ function
+
Usage: (do-layout container layout column row components)
+
+
Attaches a MigLayout layout manager to container and adds components
+with constraints
+ + + Source +
+
+

format-constraint

+ function
+
Usage: (format-constraint c)
+
+
Returns a vector of vectors representing one or more constraints
+separated by commas. Constraints may be specified in Clojure using
+strings, keywords, vectors, maps, and/or sets.
+ + + Source +
+
+

format-constraints

+ function
+
Usage: (format-constraints & constraints)
+
+
Returns a string representing all the constraints for one keyword-item
+or component formatted for miglayout.
+ + + Source +
+
+

get-components

+ function
+
Usage: (get-components container)
+
+
Returns a map from id to component for all components with an id
+ + + Source +
+
+

parse-component-constraint

+ function
+
Usage: (parse-component-constraint constraint)
+
+
Parses a component constraint string returning a CC object
+ + + Source +
+
+

parse-item-constraints

+ function
+
Usage: (parse-item-constraints & args)
+
+
Iterates over args and builds a map containing values associated with
+:keywords and :components. The value for :keywords is a map from keyword
+items to constraints strings. The value for :components is a vector of
+vectors each associating a component with its constraints string.
+ + + Source +
+

miglayout.test

+

+
+
+
+
+
+

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 +
diff --git a/branch-1.1.x/mmap-api.html b/branch-1.1.x/mmap-api.html index 21aa5954..a63053f3 100644 --- a/branch-1.1.x/mmap-api.html +++ b/branch-1.1.x/mmap-api.html @@ -40,7 +40,7 @@ namespace. API Index
Namespaces: @@ -89,7 +89,7 @@ mmaped file for "normal" activies -- slurp, load-file, etc.
Returns an InputStream for a ByteBuffer, such as returned by mmap.
- + Source


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


@@ -111,7 +111,7 @@ mmaped file for "normal" activies -- slurp, load-file, etc.
Reads the file named by f and returns it as a string.
- + Source
diff --git a/branch-1.1.x/mock-api.html b/branch-1.1.x/mock-api.html index 02f7ddec..56efea5d 100644 --- a/branch-1.1.x/mock-api.html +++ b/branch-1.1.x/mock-api.html @@ -40,7 +40,7 @@ namespace. API Index
Namespaces: @@ -53,7 +53,51 @@ namespace.

Table of Contents

@@ -72,7 +116,319 @@ by Unknown

Public Variables and Functions

+
+
+
+

calls

+ function
+
Usage: (calls val)
+       (calls val expectation-hash)
+
+
Creates or associates to an existing expectation hash the :calls key with a
+function that will be called with the given arguments. The return value from
+this function will be returned returned by the expected function. If both this
+and returns are specified, the return value of "calls" will have precedence.
+Usage:
+(calls some-fn expectation-hash?)
+ + + Source +
+
+
+

expect

+ macro
+
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,
+temporary stubs are used, which can verify function parameters and call counts.
+Return values can also be specified as needed.
+Usage:
+(expect [dep-fn (has-args [arg-pred1] (times n (returns x)))]
+  (function-under-test a b c))
+ + + Source +
+
+
+

has-args

+ macro
+
Usage: (has-args arg-pred-forms)
+       (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
+argument expectations are met or throw an exception with the details of the
+first failed argument it encounters.
+Only specify as many predicates as you are interested in verifying. The rest
+of the values are safely ignored.
+Usage:
+(has-args [arg-pred-1 arg-pred-2 ... arg-pred-n] expectation-hash?)
+ + + Source +
+
+
+

has-matching-signature?

+ function
+
Usage: (has-matching-signature? fn-name args)
+
+
Calls no-matching-function-signature if no match is found for the given
+function. If no argslist meta data is available for the function, it is
+not called.
+ + + Source +
+
+
+

make-arg-checker

+ function
+
Usage: (make-arg-checker arg-preds arg-pred-forms)
+
+
Creates the argument verifying function for a replaced dependency within
+the expectation bound scope. These functions take the additional argument
+of the name of the replaced function, then the rest of their args. It is
+designed to be called from the mock function generated in the first argument
+of the mock info object created by make-mock.
+ + + Source +
+
+
+

make-count-checker

+ function
+
Usage: (make-count-checker pred pred-form)
+
+
creates the count checker that is invoked at the end of an expectation, after
+the code under test has all been executed. The function returned takes the
+name of the associated dependency and the invocation count as arguments.
+ + + Source +
+
+
+

make-mock

+ function
+
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,
+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 +
+
+
+

returns

+ function
+
Usage: (returns val)
+       (returns val expectation-hash)
+
+
Creates or associates to an existing expectation hash the :returns key with
+a value to be returned by the expectation after a successful invocation
+matching its expected arguments (if applicable).
+Usage:
+(returns ret-value expectation-hash?)
+ + + Source +
+
+
+

times

+ macro
+
Usage: (times times-fn)
+       (times times-fn expectation-hash)
+
+
Creates or associates to an existing expectation hash the :times key with a
+value corresponding to a predicate function which expects an integer value.
+This function can either be specified as the first argument to times or can be
+the result of calling times with an integer argument, in which case the
+predicate will default to being an exact match.  This predicate is called at
+the end of an expect expression to validate that an expected dependency
+function was called the expected number of times.
+Usage:
+(times n)
+(times #(> n %))
+(times n expectation-hash)
+ + + Source +
+
+
+

validate-counts

+ function
+
Usage: (validate-counts mock-data)
+
+
given the sequence of all mock data for the expectation, simply calls the
+count checker for each dependency.
+ + + Source +
+

mock.test-adapter

+

+
 
+
+
+
+

calls

+ function
+
Usage: (calls val)
+       (calls val expectation-hash)
+
+
Creates or associates to an existing expectation hash the :calls key with a
+function that will be called with the given arguments. The return value from
+this function will be returned returned by the expected function. If both this
+and returns are specified, the return value of "calls" will have precedence.
+Usage:
+(calls some-fn expectation-hash?)
+ + + Source +
+
+

has-args

+ macro
+
Usage: (has-args arg-pred-forms)
+       (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
+argument expectations are met or throw an exception with the details of the
+first failed argument it encounters.
+Only specify as many predicates as you are interested in verifying. The rest
+of the values are safely ignored.
+Usage:
+(has-args [arg-pred-1 arg-pred-2 ... arg-pred-n] expectation-hash?)
+ + + Source +
+
+

has-matching-signature?

+ function
+
Usage: (has-matching-signature? fn-name args)
+
+
Calls no-matching-function-signature if no match is found for the given
+function. If no argslist meta data is available for the function, it is
+not called.
+ + + Source +
+
+

make-arg-checker

+ function
+
Usage: (make-arg-checker arg-preds arg-pred-forms)
+
+
Creates the argument verifying function for a replaced dependency within
+the expectation bound scope. These functions take the additional argument
+of the name of the replaced function, then the rest of their args. It is
+designed to be called from the mock function generated in the first argument
+of the mock info object created by make-mock.
+ + + Source +
+
+

make-count-checker

+ function
+
Usage: (make-count-checker pred pred-form)
+
+
creates the count checker that is invoked at the end of an expectation, after
+the code under test has all been executed. The function returned takes the
+name of the associated dependency and the invocation count as arguments.
+ + + Source +
+
+

make-mock

+ function
+
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,
+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

+ function
+
Usage: (report-problem fn-name expected actual msg)
+
+
This function is designed to be used in a binding macro to override
+the report-problem function in clojure.contrib.mock. Instead of printing
+the error to the console, the error is logged via clojure.test.
+ + + Source +
+
+

returns

+ function
+
Usage: (returns val)
+       (returns val expectation-hash)
+
+
Creates or associates to an existing expectation hash the :returns key with
+a value to be returned by the expectation after a successful invocation
+matching its expected arguments (if applicable).
+Usage:
+(returns ret-value expectation-hash?)
+ + + Source +
+
+

times

+ macro
+
Usage: (times times-fn)
+       (times times-fn expectation-hash)
+
+
Creates or associates to an existing expectation hash the :times key with a
+value corresponding to a predicate function which expects an integer value.
+This function can either be specified as the first argument to times or can be
+the result of calling times with an integer argument, in which case the
+predicate will default to being an exact match.  This predicate is called at
+the end of an expect expression to validate that an expected dependency
+function was called the expected number of times.
+Usage:
+(times n)
+(times #(> n %))
+(times n expectation-hash)
+ + + Source +
+
+

validate-counts

+ function
+
Usage: (validate-counts mock-data)
+
+
given the sequence of all mock data for the expectation, simply calls the
+count checker for each dependency.
+ + + Source +
diff --git a/branch-1.1.x/monadic-io-streams-api.html b/branch-1.1.x/monadic-io-streams-api.html index 894f51c8..93616326 100644 --- a/branch-1.1.x/monadic-io-streams-api.html +++ b/branch-1.1.x/monadic-io-streams-api.html @@ -40,7 +40,7 @@ namespace. API Index
Namespaces: @@ -53,7 +53,29 @@ namespace.

Table of Contents

@@ -79,7 +101,142 @@ monadic statement sequence.

Public Variables and Functions

- +
+
+
+

flush

+ function
+
Usage: (flush)
+
+
Flush
+ + + Source +
+
+
+

print

+ function
+
Usage: (print obj)
+
+
Print obj
+ + + Source +
+
+
+

println

+ function
+
Usage: (println)
+       (println obj)
+
+
Print obj followed by a newline
+ + + Source +
+
+
+

read-char

+ function
+
Usage: (read-char)
+
+
Read a single character
+ + + Source +
+
+
+

read-line

+ function
+
Usage: (read-line)
+
+
Read a single line
+ + + Source +
+
+
+

read-lines

+ function
+
Usage: (read-lines)
+
+
Read all lines and return them in a vector
+ + + Source +
+
+
+

skip-chars

+ function
+
Usage: (skip-chars n)
+
+
Skip n characters
+ + + Source +
+
+
+

with-io-streams

+ function
+
Usage: (with-io-streams io-specs statement)
+
+
Open one or more streams as specified by io-spec, run a monadic
+I/O statement on them, and close the streams. io-spec is
+a binding-like vector in which each stream is specified by
+three element: a keyword by which the stream can be referred to,
+the stream mode (:read or :write), and a stream specification as
+accepted by clojure.contrib.duck-streams/reader (mode :read) or
+clojure.contrib.duck-streams/writer (mode :write). The statement
+is run on a state which is a map from keywords to corresponding
+streams. Single-stream monadic I/O statements must be wrapped
+with clojure.contrib.monads/with-state-field.
+ + + Source +
+
+
+

with-reader

+ function
+
Usage: (with-reader reader-spec statement)
+
+
Create a reader from reader-spec, run the monadic I/O statement
+on it, and close the reader. reader-spec can be any object accepted
+by clojure.contrib.duck-streams/reader.
+ + + Source +
+
+
+

with-writer

+ function
+
Usage: (with-writer writer-spec statement)
+
+
Create a writer from writer-spec, run the monadic I/O statement
+on it, and close the writer. writer-spec can be any object accepted
+by clojure.contrib.duck-streams/writer.
+ + + Source +
+
+
+

write

+ function
+
Usage: (write text)
+
+
Write text (a string)
+ + + Source +
diff --git a/branch-1.1.x/monads-api.html b/branch-1.1.x/monads-api.html index 8f86714c..45f72e10 100644 --- a/branch-1.1.x/monads-api.html +++ b/branch-1.1.x/monads-api.html @@ -40,7 +40,7 @@ namespace. API Index
Namespaces: @@ -53,7 +53,79 @@ namespace.

Table of Contents

@@ -88,7 +160,466 @@ functions.

Public Variables and Functions

- +
+
+
+

call-cc

+ function
+
Usage: (call-cc f)
+
+
A computation in the cont monad that calls function f with a single
+argument representing the current continuation. The function f should
+return a continuation (which becomes the return value of call-cc),
+or call the passed-in current continuation to terminate.
+ + + Source +
+
+
+

cont-m

+ var
+

+  
Monad describing computations in continuation-passing style. The monadic
+values are functions that are called with a single argument representing
+the continuation of the computation, to which they pass their result.
+ + + Source +
+
+
+

defmonad

+ macro
+
Usage: (defmonad name doc-string operations)
+       (defmonad name operations)
+
+
Define a named monad by defining the monad operations. The definitions
+are written like bindings to the monad operations m-bind and
+m-result (required) and m-zero and m-plus (optional).
+ + + Source +
+
+
+

defmonadfn

+ macro
+
Usage: (defmonadfn name docstring? attr-map? args expr)
+       (defmonadfn name docstring? attr-map? (args expr) ...)
+
+
Like defn, but for functions that use monad operations and are used inside
+a with-monad block.
+ + + Source +
+
+
+

domonad

+ macro
+
Usage: (domonad steps expr)
+       (domonad name steps expr)
+
+
Monad comprehension. Takes the name of a monad, a vector of steps
+given as binding-form/monadic-expression pairs, and a result value
+specified by expr. The monadic-expression terms can use the binding
+variables of the previous steps.
+If the monad contains a definition of m-zero, the step list can also
+contain conditions of the form :when p, where the predicate p can
+contain the binding variables from all previous steps.
+A clause of the form :let [binding-form expr ...], where the bindings
+are given as a vector as for the use in let, establishes additional
+bindings that can be used in the following steps.
+ + + Source +
+
+
+

fetch-state

+ function
+
Usage: (fetch-state)
+
+
Return a state-monad function that returns the current state and does not
+modify it.
+ + + Source +
+
+
+

fetch-val

+ function
+
Usage: (fetch-val key)
+
+
Return a state-monad function that assumes the state to be a map and
+returns the value corresponding to the given key. The state is not modified.
+ + + Source +
+
+
+

identity-m

+ var
+

+  
Monad describing plain computations. This monad does in fact nothing
+at all. It is useful for testing, for combination with monad
+transformers, and for code that is parameterized with a monad.
+ + + Source +
+
+
+

m-chain

+ var
+

+  
Chains together monadic computation steps that are each functions
+of one parameter. Each step is called with the result of the previous
+step as its argument. (m-chain (step1 step2)) is equivalent to
+(fn [x] (domonad [r1 (step1 x) r2 (step2 r1)] r2)).
+ + + Source +
+
+
+

m-fmap

+ var
+

+  
Bind the monadic value m to the function returning (f x) for argument x
+ + + Source +
+
+
+

m-join

+ var
+

+  
Converts a monadic value containing a monadic value into a 'simple'
+monadic value.
+ + + Source +
+
+
+

m-lift

+ macro
+
Usage: (m-lift n f)
+
+
Converts a function f of n arguments into a function of n
+monadic arguments returning a monadic value.
+ + + Source +
+
+
+

m-map

+ var
+

+  
'Executes' the sequence of monadic values resulting from mapping
+f onto the values xs. f must return a monadic value.
+ + + Source +
+
+
+

m-reduce

+ var
+

+  
Return the reduction of (m-lift 2 f) over the list of monadic values mvs
+with initial value (m-result val).
+ + + Source +
+
+
+

m-seq

+ var
+

+  
'Executes' the monadic values in ms and returns a sequence of the
+basic values contained in them.
+ + + Source +
+
+
+

m-until

+ var
+

+  
While (p x) is false, replace x by the value returned by the
+monadic computation (f x). Return (m-result x) for the first
+x for which (p x) is true.
+ + + Source +
+
+
+

m-when

+ macro
+
Usage: (m-when test m-expr)
+
+
If test is logical true, return monadic value m-expr, else return
+(m-result nil).
+ + + Source +
+
+
+

m-when-not

+ macro
+
Usage: (m-when-not test m-expr)
+
+
If test if logical false, return monadic value m-expr, else return
+(m-result nil).
+ + + Source +
+
+
+

maybe-m

+ var
+

+  
Monad describing computations with possible failures. Failure is
+represented by nil, any other value is considered valid. As soon as
+a step returns nil, the whole computation will yield nil as well.
+ + + Source +
+
+
+

maybe-t

+ function
+
Usage: (maybe-t m)
+       (maybe-t m nothing)
+       (maybe-t m nothing which-m-plus)
+
+
Monad transformer that transforms a monad m into a monad in which
+the base values can be invalid (represented by nothing, which defaults
+to nil). The third argument chooses if m-zero and m-plus are inherited
+from the base monad (use :m-plus-from-base) or adopt maybe-like
+behaviour (use :m-plus-from-transformer). The default is :m-plus-from-base
+if the base monad m has a definition for m-plus, and
+:m-plus-from-transformer otherwise.
+ + + Source +
+
+
+

monad

+ macro
+
Usage: (monad operations)
+
+
Define a monad by defining the monad operations. The definitions
+are written like bindings to the monad operations m-bind and
+m-result (required) and m-zero and m-plus (optional).
+ + + Source +
+
+
+

monad-transformer

+ macro
+
Usage: (monad-transformer base which-m-plus operations)
+
+
Define a monad transforer in terms of the monad operations and the base
+monad. The argument which-m-plus chooses if m-zero and m-plus are taken
+from the base monad or from the transformer.
+ + + Source +
+
+
+

run-cont

+ function
+
Usage: (run-cont c)
+
+
Execute the computation c in the cont monad and return its result.
+ + + Source +
+
+
+

sequence-m

+ var
+

+  
Monad describing multi-valued computations, i.e. computations
+that can yield multiple values. Any object implementing the seq
+protocol can be used as a monadic value.
+ + + Source +
+
+
+

sequence-t

+ function
+
Usage: (sequence-t m)
+       (sequence-t m which-m-plus)
+
+
Monad transformer that transforms a monad m into a monad in which
+the base values are sequences. The argument which-m-plus chooses
+if m-zero and m-plus are inherited from the base monad
+(use :m-plus-from-base) or adopt sequence-like
+behaviour (use :m-plus-from-transformer). The default is :m-plus-from-base
+if the base monad m has a definition for m-plus, and
+:m-plus-from-transformer otherwise.
+ + + Source +
+
+
+

set-m

+ var
+

+  
Monad describing multi-valued computations, like sequence-m,
+but returning sets of results instead of sequences of results.
+ + + Source +
+
+
+

set-state

+ function
+
Usage: (set-state s)
+
+
Return a state-monad function that replaces the current state by s and
+returns the previous state.
+ + + Source +
+
+
+

set-val

+ function
+
Usage: (set-val key val)
+
+
Return a state-monad function that assumes the state to be a map and
+replaces the value associated with key by val. The old value is returned.
+ + + Source +
+
+
+

state-m

+ var
+

+  
Monad describing stateful computations. The monadic values have the
+structure (fn [old-state] [result new-state]).
+ + + Source +
+
+
+

state-m-until

+ function
+
Usage: (state-m-until p f x)
+
+
An optimized implementation of m-until for the state monad that
+replaces recursion by a loop.
+ + + Source +
+
+
+

state-t

+ function
+
Usage: (state-t m)
+
+
Monad transformer that transforms a monad m into a monad of stateful
+computations that have the base monad type as their result.
+ + + Source +
+
+
+

update-state

+ function
+
Usage: (update-state f)
+
+
Return a state-monad function that replaces the current state by the
+result of f applied to the current state and that returns the old state.
+ + + Source +
+
+
+

update-val

+ function
+
Usage: (update-val key f)
+
+
Return a state-monad function that assumes the state to be a map and
+replaces the value associated with the given key by the return value
+of f applied to the old value. The old value is returned.
+ + + Source +
+
+
+

with-monad

+ macro
+
Usage: (with-monad monad & exprs)
+
+
Evaluates an expression after replacing the keywords defining the
+monad operations by the functions associated with these keywords
+in the monad definition given by name.
+ + + Source +
+
+
+

with-state-field

+ function
+
Usage: (with-state-field key statement)
+
+
Returns a state-monad function that expects a map as its state and
+runs statement (another state-monad function) on the state defined by
+the map entry corresponding to key. The map entry is updated with the
+new state returned by statement.
+ + + Source +
+
+
+

writer-m

+ function
+
Usage: (writer-m empty-accumulator)
+
+
Monad describing computations that accumulate data on the side, e.g. for
+logging. The monadic values have the structure [value log]. Any of the
+accumulators from clojure.contrib.accumulators can be used for storing the
+log data. Its empty value is passed as a parameter.
+ + + Source +
diff --git a/branch-1.1.x/ns-utils-api.html b/branch-1.1.x/ns-utils-api.html index 4aa9e1ef..028fa131 100644 --- a/branch-1.1.x/ns-utils-api.html +++ b/branch-1.1.x/ns-utils-api.html @@ -40,7 +40,7 @@ namespace. API Index
Namespaces: @@ -53,7 +53,23 @@ namespace.

Table of Contents

Overview - +
+ dir +
+ docs +
+ get-ns +
+ immigrate +
+ ns-vars +
+ print-dir +
+ print-docs +
+ vars +

@@ -72,7 +88,101 @@ by Stephen C. Gilardi

Public Variables and Functions

- +
+
+
+

dir

+ macro
+
Usage: (dir nsname)
+
+
Prints a sorted directory of public vars in a namespace
+ + + Source +
+
+
+

docs

+ macro
+
Usage: (docs nsname)
+
+
Prints documentation for the public vars in a namespace
+ + + Source +
+
+
+

get-ns

+ function
+
Usage: (get-ns ns-sym)
+
+
Returns the namespace named by ns-sym or throws if the
+namespace does not exist
+ + + Source +
+
+
+

immigrate

+ function
+
Usage: (immigrate & ns-names)
+
+
Create a public var in this namespace for each public var in the
+namespaces named by ns-names. The created vars have the same name, root
+binding, and metadata as the original except that their :ns metadata
+value is this namespace.
+ + + Source +
+
+
+

ns-vars

+ function
+
Usage: (ns-vars ns)
+
+
Returns a sorted seq of symbols naming public vars in
+a namespace
+ + + Source +
+
+
+

print-dir

+ function
+
Usage: (print-dir ns)
+
+
Prints a sorted directory of public vars in a namespace
+ + + Source +
+
+
+

print-docs

+ function
+
Usage: (print-docs ns)
+
+
Prints documentation for the public vars in a namespace
+ + + Source +
+
+
+

vars

+ macro
+
Usage: (vars nsname)
+
+
Returns a sorted seq of symbols naming public vars in
+a namespace
+ + + Source +
diff --git a/branch-1.1.x/pprint-api.html b/branch-1.1.x/pprint-api.html index 789fbfd8..223f015d 100644 --- a/branch-1.1.x/pprint-api.html +++ b/branch-1.1.x/pprint-api.html @@ -40,7 +40,7 @@ namespace. API Index
Namespaces: @@ -54,6 +54,8 @@ namespace. @@ -139,6 +163,17 @@ documentation on the the clojure-contrib web site on github.

Public Variables and Functions

+
+
+

*code-dispatch*

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


*print-base*

@@ -147,7 +182,7 @@ documentation on the the clojure-contrib web site on github.
The base to use for printing integers and rationals.
- + Source


@@ -157,7 +192,7 @@ documentation on the the clojure-contrib web site on github.
Mark circular structures (N.B. This is not yet used)
- + Source


@@ -167,7 +202,7 @@ documentation on the the clojure-contrib web site on github.
Maximum number of lines to print in a pretty print instance (N.B. This is not yet used)
- + Source


@@ -179,7 +214,7 @@ miser style add newlines in more places to try to keep lines short allowing for levels of nesting. - + Source


@@ -190,7 +225,7 @@ levels of nesting. to modify. - + Source


@@ -200,7 +235,7 @@ to modify.
Bind to true if you want write to use pretty printing
- + Source


@@ -212,7 +247,7 @@ or 16, then the radix specifier used is #b, #o, or #x, respectively. Otherwise t radix specifier is in the form #XXr where XX is the decimal value of *print-base* - + Source


@@ -224,7 +259,7 @@ Set it to nil to have pprint let the line be arbitrarily long. This will ignore non-mandatory newlines. - + Source


@@ -234,7 +269,7 @@ non-mandatory newlines.
Mark repeated structures rather than repeat them (N.B. This is not yet used)
- + Source


@@ -245,7 +280,18 @@ non-mandatory newlines. 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.
+ + Source


@@ -282,7 +328,63 @@ 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


@@ -294,7 +396,7 @@ and in the Common Lisp HyperSpec at exactly equivalent to (pprint *1). - + Source


@@ -307,7 +409,7 @@ exactly equivalent to (pprint *1). print the object to the currently bound value of *out*. - + Source


@@ -323,7 +425,7 @@ the current column position. n is an offset. Output is sent to *out* which must be a pretty printing writer. - + Source


@@ -339,7 +441,7 @@ Before the body, the caller can optionally specify options: :prefix, :per-line-p and :suffix. - + Source


@@ -353,7 +455,7 @@ newline is :linear, :miser, :fill, or :mandatory. Output is sent to *out* which must be a pretty printing writer. - + Source


@@ -372,7 +474,7 @@ Output is sent to *out* which must be a pretty printing writer. THIS FUNCTION IS NOT YET IMPLEMENTED. - + Source


@@ -388,7 +490,7 @@ For example functions, see *simple-dispatch* and *code-dispatch* in clojure.contrib.pprint.dispatch.clj. - + Source


@@ -399,7 +501,7 @@ clojure.contrib.pprint.dispatch.clj.
Installs a function as a new method of multimethod associated with dispatch-value. 
- + Source


@@ -410,7 +512,7 @@ clojure.contrib.pprint.dispatch.clj.
Execute body with the pretty print dispatch function bound to function.
- + Source


@@ -441,7 +543,7 @@ The following keyword arguments can be passed with values: * = not yet supported - + Source


@@ -461,7 +563,7 @@ already know that the pretty printer will have set up their environment appropri Normal library clients should use the standard "write" interface. - + Source

pprint.examples.json

Pretty printing JavaScript Object Notation (JSON) generator.
@@ -474,13 +576,96 @@ This is an example of using a pretty printer dispatch function to generate JSON
     JSON Home Page
   

- +
+
+

dispatch-json

+ multimethod
+
Usage: (dispatch-json x)
+
+
The dispatch function for printing objects as JSON
+ + + Source +
+
+

json-str

+ function
+
Usage: (json-str x)
+
+
Converts x to a JSON-formatted string.
+ + + Source +
+
+

print-json

+ function
+
Usage: (print-json x)
+
+
Prints x as JSON.  Nil becomes JSON null.  Keywords become
+strings, without the leading colon.  Maps become JSON objects, all
+other collection types become JSON arrays.  Java arrays become JSON
+arrays.  Unicode characters in strings are escaped as \uXXXX.
+Numbers print as with pr.
+ + + Source +

pprint.examples.xml

A version of prxml that uses a pretty print dispatch function.

+
+
+

*html-compatible*

+ var
+

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

*prxml-indent*

+ var
+

+  
The number of spaces to indent sub-tags.
+ + + Source +
+
+

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"?>
+ + + Source +
diff --git a/branch-1.1.x/probabilities.finite-distributions-api.html b/branch-1.1.x/probabilities.finite-distributions-api.html index 2d70e5fd..43f6a8f7 100644 --- a/branch-1.1.x/probabilities.finite-distributions-api.html +++ b/branch-1.1.x/probabilities.finite-distributions-api.html @@ -40,7 +40,7 @@ namespace. API Index
Namespaces: @@ -53,7 +53,29 @@ namespace.

Table of Contents

@@ -74,7 +96,141 @@ distributions.

Public Variables and Functions

- +
+
+
+

certainly

+ function
+
Usage: (certainly v)
+
+
Returns a distribution in which the single value v has probability 1.
+ + + Source +
+
+
+

choose

+ function
+
Usage: (choose & choices)
+
+
Construct a distribution from an explicit list of probabilities
+and values. They are given in the form of a vector of probability-value
+pairs. In the last pair, the probability can be given by the keyword
+:else, which stands for 1 minus the total of the other probabilities.
+ + + Source +
+
+
+

cond-dist-m

+ var
+

+  
Variant of the dist monad that can handle undefined values.
+ + + Source +
+
+
+

cond-prob

+ function
+
Usage: (cond-prob pred dist)
+
+
Returns the conditional probability for the values in dist that satisfy
+the predicate pred.
+ + + Source +
+
+
+

dist-m

+ var
+

+  
Monad describing computations on fuzzy quantities, represented by a finite
+probability distribution for the possible values. A distribution is
+represented by a map from values to probabilities.
+ + + Source +
+
+
+

join-with

+ function
+
Usage: (join-with f dist1 dist2)
+
+
Returns the distribution of (f x y) with x from dist1 and y from dist2.
+ + + Source +
+
+
+

make-distribution

+ function
+
Usage: (make-distribution coll f)
+
+
Returns the distribution in which each element x of the collection
+has a probability proportional to (f x)
+ + + Source +
+
+
+

normalize

+ function
+
Usage: (normalize weights)
+
+
Convert a weight map (e.g. a map of counter values) to a distribution
+by multiplying with a normalization factor. If the map has a key
+:total, its value is assumed to be the sum over all the other values and
+it is used for normalization. Otherwise, the sum is calculated
+explicitly. The :total key is removed from the resulting distribution.
+ + + Source +
+
+
+

prob

+ function
+
Usage: (prob pred dist)
+
+
Return the probability that the predicate pred is satisfied in the
+distribution dist, i.e. the sum of the probabilities of the values
+that satisfy pred.
+ + + Source +
+
+
+

uniform

+ function
+
Usage: (uniform coll)
+
+
Return a distribution in which each of the elements of coll
+has the same probability.
+ + + Source +
+
+
+

zipf

+ function
+
Usage: (zipf s n)
+
+
Returns the Zipf distribution in which the numbers k=1..n have
+probabilities proportional to 1/k^s.
+ + + Source +
diff --git a/branch-1.1.x/probabilities.monte-carlo-api.html b/branch-1.1.x/probabilities.monte-carlo-api.html index ddc470c2..df89eb2b 100644 --- a/branch-1.1.x/probabilities.monte-carlo-api.html +++ b/branch-1.1.x/probabilities.monte-carlo-api.html @@ -40,7 +40,7 @@ namespace. API Index
Namespaces: @@ -53,7 +53,33 @@ namespace.

Table of Contents

@@ -88,7 +114,167 @@ composed using operations defined in clojure.contrib.monads.

Public Variables and Functions

- +
+
+
+

discrete

+ function
+
Usage: (discrete dist)
+
+
A discrete distribution, defined by a map dist mapping values
+to probabilities. The sum of probabilities must be one.
+ + + Source +
+
+
+

exponential

+ function
+
Usage: (exponential lambda)
+
+
Transform a sequence of uniform random numbers in the interval [0, 1)
+into a sequence of exponential random numbers with parameter lambda.
+ + + Source +
+
+
+

lognormal

+ function
+
Usage: (lognormal mu sigma)
+
+
Transform a sequence of uniform random numbesr in the interval [0, 1)
+into a sequence of lognormal random numbers with mean mu and standard
+deviation sigma.
+ + + Source +
+
+
+

n-sphere

+ function
+
Usage: (n-sphere n r)
+
+
Return a uniform distribution of n-dimensional vectors inside an
+n-sphere of radius r.
+ + + Source +
+
+
+

normal

+ function
+
Usage: (normal mu sigma)
+
+
Transform a sequence urs of uniform random number in the interval [0, 1)
+into a sequence of normal random numbers with mean mu and standard
+deviation sigma.
+ + + Source +
+
+
+

normal-box-muller

+ function
+
Usage: (normal-box-muller mu sigma)
+
+
Transform a sequence of uniform random numbers in the interval [0, 1)
+into a sequence of normal random numbers with mean mu and standard
+deviation sigma.
+ + + Source +
+
+
+

random-stream

+ function
+
Usage: (random-stream distribution random-stream-state)
+
+
Define a random stream by a distribution and the state of a
+random number stream with uniform distribution in [0, 1).
+ + + Source +
+
+
+

reject

+ function
+
Usage: (reject p dist)
+
+
Return the distribution that results from rejecting the values from
+dist that do not satisfy predicate p.
+ + + Source +
+
+
+

sample

+ function
+
Usage: (sample n dist)
+
+
Return the distribution of samples of length n from the
+distribution dist
+ + + Source +
+
+
+

sample-mean

+ function
+
Usage: (sample-mean n dist)
+
+
Return the distribution of the mean over n samples from the
+distribution dist
+ + + Source +
+
+
+

sample-mean-variance

+ function
+
Usage: (sample-mean-variance n dist)
+
+
Return the distribution of the mean-and-variance (a vector containing
+the mean and the variance) over n samples from the distribution dist
+ + + Source +
+
+
+

sample-reduce

+ function
+
Usage: (sample-reduce f n dist)
+       (sample-reduce f val n dist)
+
+
Returns the distribution of the reduction of f over n samples from the
+distribution dist.
+ + + Source +
+
+
+

sample-sum

+ function
+
Usage: (sample-sum n dist)
+
+
Return the distribution of the sum over n samples from the
+distribution dist.
+ + + Source +
diff --git a/branch-1.1.x/probabilities.random-numbers-api.html b/branch-1.1.x/probabilities.random-numbers-api.html index 1a8146f8..a5a9c99f 100644 --- a/branch-1.1.x/probabilities.random-numbers-api.html +++ b/branch-1.1.x/probabilities.random-numbers-api.html @@ -40,7 +40,7 @@ namespace. API Index
Namespaces: @@ -53,7 +53,11 @@ namespace.

Table of Contents

Overview - +
+ lcg +
+ rand-stream +

@@ -81,7 +85,30 @@ linear congruential generator.

Public Variables and Functions

- +
+
+
+

lcg

+ function
+
Usage: (lcg modulus multiplier increment seed)
+
+
Create a linear congruential generator
+ + + Source +
+
+
+

rand-stream

+ var
+

+  
A random number stream based on clojure.core/rand. Note that this
+generator uses an internal mutable state. The state is thus not stored
+in the stream object and cannot be restored.
+ + + Source +
diff --git a/branch-1.1.x/profile-api.html b/branch-1.1.x/profile-api.html index 5b678224..ffb27e78 100644 --- a/branch-1.1.x/profile-api.html +++ b/branch-1.1.x/profile-api.html @@ -40,7 +40,7 @@ namespace. API Index
Namespaces: @@ -114,7 +114,7 @@ under the JVM. See the function documentation for more details. profiling code. - + Source


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


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


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


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


@@ -185,7 +185,7 @@ names (keywords), and values are lists of elapsed time, in nanoseconds. - + Source
diff --git a/branch-1.1.x/prxml-api.html b/branch-1.1.x/prxml-api.html index e0f91249..8340acfb 100644 --- a/branch-1.1.x/prxml-api.html +++ b/branch-1.1.x/prxml-api.html @@ -40,7 +40,7 @@ namespace. API Index
Namespaces: @@ -53,7 +53,13 @@ namespace.

Table of Contents

@@ -73,7 +79,60 @@ for details.

Public Variables and Functions

+
+
+
+

*html-compatible*

+ var
+

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

*prxml-indent*

+ var
+

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

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"?>
+ + + Source +
diff --git a/branch-1.1.x/repl-ln-api.html b/branch-1.1.x/repl-ln-api.html index 3d23f92b..cb924ed5 100644 --- a/branch-1.1.x/repl-ln-api.html +++ b/branch-1.1.x/repl-ln-api.html @@ -40,7 +40,7 @@ namespace. API Index
Namespaces: @@ -97,7 +97,7 @@ input stream.
Prints info about the current repl
- + Source


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


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


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


@@ -162,7 +162,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


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


@@ -198,7 +198,7 @@ System/out, and System/err using UTF-8 encoding. Also supports all the options provided by clojure.contrib.repl-ln/repl. - + Source
diff --git a/branch-1.1.x/repl-utils-api.html b/branch-1.1.x/repl-utils-api.html index d1b08b42..89810492 100644 --- a/branch-1.1.x/repl-utils-api.html +++ b/branch-1.1.x/repl-utils-api.html @@ -40,7 +40,7 @@ namespace. API Index
Namespaces: @@ -53,7 +53,37 @@ namespace.

Table of Contents

@@ -72,7 +102,212 @@ by Chris Houser, Christophe Grand, Stephen Gilardi

Public Variables and Functions

+
+
+
+

*local-javadocs*

+ var
+

+  
Ref to a list of local paths for Javadoc-generated HTML
+files.
+ + + Source +
+
+
+

*remote-javadocs*

+ var
+

+  
Ref to a map from package name prefixes to URLs for remote
+Javadocs.
+ + + Source +
+
+
+

add-break-thread!

+ function
+
Usage: (add-break-thread!)
+       (add-break-thread! t)
+
+
Add the given thread to break-threads so that it will be stopped
+any time the user presses Ctrl-C.  Calls start-handling-break for
+you.  Adds the current thread if none is given.
+ + + Source +
+
+
+

add-local-javadoc

+ function
+
Usage: (add-local-javadoc path)
+
+
Adds to the list of local Javadoc paths.
+ + + Source +
+
+
+

add-remote-javadoc

+ function
+
Usage: (add-remote-javadoc package-prefix url)
+
+
Adds to the list of remote Javadoc URLs.  package-prefix is the
+beginning of the package name that has docs at this URL.
+ + + Source +
+
+
+

break-threads

+ var
+

+  
Threads to stop when Ctrl-C is pressed.  See 'add-break-thread!'
+ + + Source +
+
+
+

expression-info

+ function
+
Usage: (expression-info expr)
+
+
Uses the Clojure compiler to analyze the given s-expr.  Returns
+a map with keys :class and :primitive? indicating what the compiler
+concluded about the return value of the expression.  Returns nil if
+not type info can be determined at compile-time.
+
+Example: (expression-info '(+ (int 5) (float 10)))
+Returns: {:class float, :primitive? true}
+ + + Source +
+
+
+

find-javadoc-url

+ function
+
Usage: (find-javadoc-url classname)
+
+
Searches for a URL for the given class name.  Tries
+*local-javadocs* first, then *remote-javadocs*.  Returns a string.
+ + + Source +
+
+
+

get-source

+ function
+
Usage: (get-source x)
+
+
Returns a string of the source code for the given symbol, if it can
+find it.  This requires that the symbol resolve to a Var defined in
+a namespace for which the .clj is in the classpath.  Returns nil if
+it can't find the source.  For most REPL usage, 'source' is more
+convenient.
+
+Example: (get-source 'filter)
+ + + Source +
+
+
+

javadoc

+ function
+
Usage: (javadoc class-or-object)
+
+
Opens a browser window displaying the javadoc for the argument.
+Tries *local-javadocs* first, then *remote-javadocs*.
+ + + Source +
+
+
+

run

+ macro
+
Usage: (run ns-name & args)
+
+
Loads the specified namespace and invokes its "main" function with
+optional args. ns-name is not evaluated.
+ + + Source +
+
+
+

run*

+ function
+
Usage: (run* ns-sym & args)
+
+
Loads the specified namespace and invokes its "main" function with
+optional args.
+ + + Source +
+
+
+

show

+ function
+
Usage: (show x)
+       (show x selector)
+
+
With one arg prints all static and instance members of x or (class x).
+Each member is listed with a number which can be given as 'selector'
+to return the member object -- the REPL will print more details for
+that member.
+
+The selector also may be a string or regex, in which case only
+members whose names match 'selector' as a case-insensitive regex
+will be printed.
 
+Finally, the selector also may be a predicate, in which case only
+members for which the predicate returns true will be printed.  The
+predicate will be passed a single argument, a map that includes the
+:text that will be printed and the :member object itself, as well as
+all the properies of the member object as translated by 'bean'.
+
+Examples: (show Integer)  (show [])  (show String 23)  (show String "case")
+ + + Source +
+
+
+

source

+ macro
+
Usage: (source n)
+
+
Prints the source code for the given symbol, if it can find it.
+This requires that the symbol resolve to a Var defined in a
+namespace for which the .clj is in the classpath.
+
+Example: (source filter)
+ + + Source +
+
+
+

start-handling-break

+ function
+
Usage: (start-handling-break)
+
+
Register INT signal handler.  After calling this, Ctrl-C will cause
+all break-threads to be stopped.  See 'add-break-thread!'
+ + + Source +
diff --git a/branch-1.1.x/seq-utils-api.html b/branch-1.1.x/seq-utils-api.html index 45ea019b..20ee6ee5 100644 --- a/branch-1.1.x/seq-utils-api.html +++ b/branch-1.1.x/seq-utils-api.html @@ -40,7 +40,7 @@ namespace. API Index
Namespaces: @@ -123,7 +123,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


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


@@ -149,7 +149,7 @@ etc.) and returns their contents as a single, flat sequence. (flatten nil) returns nil. - + Source


@@ -161,7 +161,7 @@ etc.) and returns their contents as a single, flat sequence. they appear. - + Source


@@ -174,7 +174,7 @@ f on each element. The value at each key will be a vector of the corresponding elements, in the order they appeared in coll. - + Source


@@ -186,7 +186,7 @@ corresponding elements, in the order they appeared in coll. in linear time. - + Source


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


@@ -213,7 +213,7 @@ from 's' and indexes count up from zero. include lists with fewer than n items at the end. - + Source


@@ -225,7 +225,7 @@ include lists with fewer than n items at the end. a new value. Returns a lazy seq of lazy seqs. - + Source


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


@@ -248,7 +248,7 @@ is true for items in coll.
Return a random element of this seq
- + Source


@@ -260,7 +260,7 @@ is true for items in coll. binding-name, allowing for recursive expressions. - + Source


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


@@ -285,7 +285,7 @@ binding-name, allowing for recursive expressions. per reduce) of coll by f, starting with init. - + Source


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


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


@@ -320,7 +320,7 @@ per reduce) of coll by f, starting with init. a multimethod that can have implementations for new classes and types. - + Source


@@ -331,7 +331,7 @@ a multimethod that can have implementations for new classes and types.
Return a random permutation of coll
- + Source
diff --git a/branch-1.1.x/server-socket-api.html b/branch-1.1.x/server-socket-api.html index 76fb9ff9..85865578 100644 --- a/branch-1.1.x/server-socket-api.html +++ b/branch-1.1.x/server-socket-api.html @@ -40,7 +40,7 @@ namespace. API Index
Namespaces: @@ -88,7 +88,7 @@ by Craig McDaniel
create a repl on a socket
- + Source


@@ -107,7 +107,7 @@ Optional arguments support specifying a listen backlog and binding to a specific endpoint. - + Source
diff --git a/branch-1.1.x/set-api.html b/branch-1.1.x/set-api.html index 7e3fa7a8..7e470e16 100644 --- a/branch-1.1.x/set-api.html +++ b/branch-1.1.x/set-api.html @@ -40,7 +40,7 @@ namespace. API Index
Namespaces: @@ -90,7 +90,7 @@ by Jason Wolfe
Is s1 a proper subset of s2?
- + Source


@@ -101,7 +101,7 @@ by Jason Wolfe
Is s1 a proper superset of s2?
- + Source


@@ -112,7 +112,7 @@ by Jason Wolfe
Is set1 a subset of set2?
- + Source


@@ -123,7 +123,7 @@ by Jason Wolfe
Is set1 a superset of set2?
- + Source
diff --git a/branch-1.1.x/shell-out-api.html b/branch-1.1.x/shell-out-api.html index f8064b18..46ef0324 100644 --- a/branch-1.1.x/shell-out-api.html +++ b/branch-1.1.x/shell-out-api.html @@ -40,7 +40,7 @@ namespace. API Index
Namespaces: @@ -110,7 +110,7 @@ You can bind :env or :dir for multiple operations using with-sh-env and with-sh-dir. - + Source diff --git a/branch-1.1.x/singleton-api.html b/branch-1.1.x/singleton-api.html index 69fb3313..0185bea2 100644 --- a/branch-1.1.x/singleton-api.html +++ b/branch-1.1.x/singleton-api.html @@ -40,7 +40,7 @@ namespace. API Index
Namespaces: @@ -92,7 +92,7 @@ Warning: global singletons are often unsafe in multi-threaded code. Consider per-thread-singleton instead. - + Source


@@ -112,7 +112,7 @@ per-thread-singleton. See http://bugs.sun.com/bugdatabase/view_bug.do?bug_id=5025230 - + Source
diff --git a/branch-1.1.x/sql-api.html b/branch-1.1.x/sql-api.html index 72cb67cc..7829b8bd 100644 --- a/branch-1.1.x/sql-api.html +++ b/branch-1.1.x/sql-api.html @@ -40,7 +40,7 @@ namespace. API Index
Namespaces: @@ -53,7 +53,107 @@ namespace.

Table of Contents

@@ -78,8 +178,581 @@ See clojure.contrib.sql.test for an example

Public Variables and Functions

+
+
+
+

connection

+ function
+
Usage: (connection)
+
+
Returns the current database connection (or throws if there is none)
+ + + Source +
+
+
+

create-table

+ function
+
Usage: (create-table name & specs)
+
+
Creates a table on the open database connection given a table name and
+specs. Each spec is either a column spec: a vector containing a column
+name and optionally a type and other constraints, or a table-level
+constraint: a vector containing words that express the constraint. All
+words used to describe the table may be supplied as strings or keywords.
+ + + Source +
+
+
+

delete-rows

+ function
+
Usage: (delete-rows table where-params)
+
+
Deletes rows from a table. where-params is a vector containing a string
+providing the (optionally parameterized) selection criteria followed by
+values for any parameters.
+ + + Source +
+
+
+

do-commands

+ function
+
Usage: (do-commands & commands)
+
+
Executes SQL commands on the open database connection.
+ + + Source +
+
+
+

do-prepared

+ function
+
Usage: (do-prepared sql & param-groups)
+
+
Executes an (optionally parameterized) SQL prepared statement on the
+open database connection. Each param-group is a seq of values for all of
+the parameters.
+ + + Source +
+
+
+

drop-table

+ function
+
Usage: (drop-table name)
+
+
Drops a table on the open database connection given its name, a string
+or keyword
+ + + Source +
+
+
+

find-connection

+ function
+
Usage: (find-connection)
+
+
Returns the current database connection (or nil if there is none)
+ + + Source +
+
+
+

insert-records

+ function
+
Usage: (insert-records table & records)
+
+
Inserts records into a table. records are maps from strings or
+keywords (identifying columns) to values.
+ + + Source +
+
+
+

insert-rows

+ function
+
Usage: (insert-rows table & rows)
+
+
Inserts complete rows into a table. Each row is a vector of values for
+each of the table's columns in order.
+ + + Source +
+
+
+

insert-values

+ function
+
Usage: (insert-values table column-names & value-groups)
+
+
Inserts rows into a table with values for specified columns only.
+column-names is a vector of strings or keywords identifying columns. Each
+value-group is a vector containing a values for each column in
+order. When inserting complete rows (all columns), consider using
+insert-rows instead.
+ + + Source +
+
+
+

is-rollback-only

+ function
+
Usage: (is-rollback-only)
+
+
Returns true if the outermost transaction will rollback rather than
+commit when complete
+ + + Source +
+
+
+

set-rollback-only

+ function
+
Usage: (set-rollback-only)
+
+
Marks the outermost transaction such that it will rollback rather than
+commit when complete
+ + + Source +
+
+
+

transaction

+ macro
+
Usage: (transaction & body)
+
+
Evaluates body as a transaction on the open database connection. Any
+nested transactions are absorbed into the outermost transaction. By
+default, all database updates are committed together as a group after
+evaluating the outermost body, or rolled back on any uncaught
+exception. If set-rollback-only is called within scope of the outermost
+transaction, the entire transaction will be rolled back rather than
+committed when complete.
+ + + Source +
+
+
+

update-or-insert-values

+ function
+
Usage: (update-or-insert-values table where-params record)
+
+
Updates values on selected rows in a table, or inserts a new row when no
+existing row matches the selection criteria. where-params is a vector
+containing a string providing the (optionally parameterized) selection
+criteria followed by values for any parameters. record is a map from
+strings or keywords (identifying columns) to updated values.
+ + + Source +
+
+
+

update-values

+ function
+
Usage: (update-values table where-params record)
+
+
Updates values on selected rows in a table. where-params is a vector
+containing a string providing the (optionally parameterized) selection
+criteria followed by values for any parameters. record is a map from
+strings or keywords (identifying columns) to updated values.
+ + + Source +
+
+
+

with-connection

+ macro
+
Usage: (with-connection db-spec & body)
+
+
Evaluates body in the context of a new connection to a database then
+closes the connection. db-spec is a map containing values for one of the
+following parameter sets:
+
+Factory:
+  :factory     (required) a function of one argument, a map of params
+  (others)     (optional) passed to the factory function in a map
+
+DriverManager:
+  :classname   (required) a String, the jdbc driver class name
+  :subprotocol (required) a String, the jdbc subprotocol
+  :subname     (required) a String, the jdbc subname
+  (others)     (optional) passed to the driver as properties.
+
+DataSource:
+  :datasource  (required) a javax.sql.DataSource
+  :username    (optional) a String
+  :password    (optional) a String, required if :username is supplied
+
+JNDI:
+  :name        (required) a String or javax.naming.Name
+  :environment (optional) a java.util.Map
+ + + Source +
+
+
+

with-query-results

+ macro
+
Usage: (with-query-results results sql-params & body)
+
+
Executes a query, then evaluates body with results bound to a seq of the
+results. sql-params is a vector containing a string providing
+the (optionally parameterized) SQL query followed by values for any
+parameters.
+ + + Source +
+

sql.internal

+

 
 
+
+
+
+

connection*

+ function
+
Usage: (connection*)
+
+
Returns the current database connection (or throws if there is none)
+ + + Source +
+
+

find-connection*

+ function
+
Usage: (find-connection*)
+
+
Returns the current database connection (or nil if there is none)
+ + + Source +
+
+

get-connection

+ function
+
Usage: (get-connection {:keys [factory classname subprotocol subname datasource username password name environment], :as db-spec})
+
+
Creates a connection to a database. db-spec is a map containing values
+for one of the following parameter sets:
+
+Factory:
+  :factory     (required) a function of one argument, a map of params
+  (others)     (optional) passed to the factory function in a map
+
+DriverManager:
+  :classname   (required) a String, the jdbc driver class name
+  :subprotocol (required) a String, the jdbc subprotocol
+  :subname     (required) a String, the jdbc subname
+  (others)     (optional) passed to the driver as properties.
+
+DataSource:
+  :datasource  (required) a javax.sql.DataSource
+  :username    (optional) a String
+  :password    (optional) a String, required if :username is supplied
+
+JNDI:
+  :name        (required) a String or javax.naming.Name
+  :environment (optional) a java.util.Map
+ + + Source +
+
+

print-sql-exception

+ function
+
Usage: (print-sql-exception stream exception)
+
+
Prints the contents of an SQLException to stream
+ + + Source +
+
+

print-sql-exception-chain

+ function
+
Usage: (print-sql-exception-chain stream exception)
+
+
Prints a chain of SQLExceptions to stream
+ + + Source +
+
+

print-update-counts

+ function
+
Usage: (print-update-counts stream exception)
+
+
Prints the update counts from a BatchUpdateException to stream
+ + + Source +
+
+

rollback

+ function
+
Usage: (rollback)
+       (rollback val)
+
+
Accessor for the rollback flag on the current connection
+ + + Source +
+
+

throw-rollback

+ function
+
Usage: (throw-rollback e)
+
+
Sets rollback and throws a wrapped exception
+ + + Source +
+
+

transaction*

+ function
+
Usage: (transaction* func)
+
+
Evaluates func as a transaction on the open database connection. Any
+nested transactions are absorbed into the outermost transaction. By
+default, all database updates are committed together as a group after
+evaluating the outermost body, or rolled back on any uncaught
+exception. If rollback is set within scope of the outermost transaction,
+the entire transaction will be rolled back rather than committed when
+complete.
+ + + Source +
+
+

with-connection*

+ function
+
Usage: (with-connection* db-spec func)
+
+
Evaluates func in the context of a new connection to a database then
+closes the connection.
+ + + Source +
+
+

with-query-results*

+ function
+
Usage: (with-query-results* [sql & params :as sql-params] func)
+
+
Executes a query, then evaluates func passing in a seq of the results as
+an argument. The first argument is a vector containing the (optionally
+parameterized) sql query string followed by values for any parameters.
+ + + Source +
+

sql.test

+

+
+
+
+
+
+

create-fruit

+ function
+
Usage: (create-fruit)
+
+
Create a table
+ + + Source +
+
+

db-batchupdate-exception

+ function
+
Usage: (db-batchupdate-exception)
+
+
Demonstrate a batch update exception
+ + + Source +
+
+

db-exception

+ function
+
Usage: (db-exception)
+
+
Demonstrate rolling back a partially completed transaction on exception
+ + + Source +
+
+

db-get-tables

+ function
+
Usage: (db-get-tables)
+
+
Demonstrate getting table info
+ + + Source +
+
+

db-grade-a

+ function
+
Usage: (db-grade-a)
+
+
Print rows describing all grade a fruit (grade between 90 and 100)
+ + + Source +
+
+

db-grade-range

+ function
+
Usage: (db-grade-range min max)
+
+
Print rows describing fruit that are within a grade range
+ + + Source +
+
+

db-read

+ function
+
Usage: (db-read)
+
+
Read the entire fruit table
+ + + Source +
+
+

db-read-all

+ function
+
Usage: (db-read-all)
+
+
Return all the rows of the fruit table as a vector
+ + + Source +
+
+

db-rollback

+ function
+
Usage: (db-rollback)
+
+
Demonstrate a rollback-only trasaction
+ + + Source +
+
+

db-sql-exception

+ function
+
Usage: (db-sql-exception)
+
+
Demonstrate an sql exception
+ + + Source +
+
+

db-update

+ function
+
Usage: (db-update)
+
+
Update two fruits as a transaction
+ + + Source +
+
+

db-update-appearance-cost

+ function
+
Usage: (db-update-appearance-cost name appearance cost)
+
+
Update the appearance and cost of the named fruit
+ + + Source +
+
+

db-update-or-insert

+ function
+
Usage: (db-update-or-insert record)
+
+
Updates or inserts a fruit
+ + + Source +
+
+

db-write

+ function
+
Usage: (db-write)
+
+
Write initial values to the database as a transaction
+ + + Source +
+
+

drop-fruit

+ function
+
Usage: (drop-fruit)
+
+
Drop a table
+ + + Source +
+
+

insert-records-fruit

+ function
+
Usage: (insert-records-fruit)
+
+
Insert records, maps from keys specifying columns to values
+ + + Source +
+
+

insert-rows-fruit

+ function
+
Usage: (insert-rows-fruit)
+
+
Insert complete rows
+ + + Source +
+
+

insert-values-fruit

+ function
+
Usage: (insert-values-fruit)
+
+
Insert rows with values for only specific columns
+ + + Source +
+ diff --git a/branch-1.1.x/str-utils-api.html b/branch-1.1.x/str-utils-api.html index 42e6851c..cae8590f 100644 --- a/branch-1.1.x/str-utils-api.html +++ b/branch-1.1.x/str-utils-api.html @@ -40,7 +40,7 @@ namespace. API Index
Namespaces: @@ -97,7 +97,7 @@ by Stuart Sierra
string. Note: String.trim() is similar and faster. - + Source


@@ -108,7 +108,7 @@ string. Note: String.trim() is similar and faster.
Removes the last character of string.
- + Source


@@ -124,7 +124,7 @@ match. - + Source


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


@@ -157,7 +157,7 @@ strings. Optional 'limit' argument is the maximum number of splits. Like Perl's 'split'. - + Source


@@ -173,7 +173,7 @@ the match. - + Source


@@ -185,7 +185,7 @@ the match. 'separator'. Like Perl's 'join'. - + Source
diff --git a/branch-1.1.x/str-utils2-api.html b/branch-1.1.x/str-utils2-api.html index a40f4ffe..78e82f1c 100644 --- a/branch-1.1.x/str-utils2-api.html +++ b/branch-1.1.x/str-utils2-api.html @@ -40,7 +40,7 @@ namespace. API Index
Namespaces: @@ -158,7 +158,7 @@ Some ideas are borrowed from
True if s is nil, empty, or contains only whitespace.
- + Source


@@ -173,7 +173,7 @@ 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


@@ -185,7 +185,7 @@ this is to keep the string as the first argument for use with -> characters to lower-case. - + Source


@@ -197,7 +197,7 @@ characters to lower-case. string. Note: String.trim() is similar and faster. - + Source


@@ -209,7 +209,7 @@ string. Note: String.trim() is similar and faster. string. - + Source


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


@@ -232,7 +232,7 @@ Unicode supplementary characters (above U+FFFF) correctly.
True if s contains the substring.
- + Source


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


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


@@ -277,7 +277,7 @@ 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


@@ -290,7 +290,7 @@ character in s. If cmap returns nil, the original character is added to the output unchanged. - + Source


@@ -301,7 +301,7 @@ added to the output unchanged.
Gets the i'th character in string.
- + Source


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


@@ -325,7 +325,7 @@ representation (with str) of each element is tested with re-find. separator. Like Perl's join. - + Source


@@ -336,7 +336,7 @@ separator. Like Perl's join.
Converts string to all lower-case.
- + Source


@@ -347,7 +347,7 @@ separator. Like Perl's join.
Removes whitespace from the left side of string.
- + Source


@@ -359,7 +359,7 @@ separator. Like Perl's join. String. - + Source


@@ -378,7 +378,7 @@ Example: (str-utils2/partial str-utils2/take 2) ;;=> (fn [s] (str-utils2/take s 2)) - + Source


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


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


@@ -427,7 +427,7 @@ Allowed argument types for pattern and replacement are: value as replacement.) - + Source


@@ -444,7 +444,7 @@ Allowed argument types for pattern and replacement are: 3. regex Pattern and function - + Source


@@ -455,7 +455,7 @@ Allowed argument types for pattern and replacement are:
Returns s with its characters reversed.
- + Source


@@ -466,7 +466,7 @@ Allowed argument types for pattern and replacement are:
Removes whitespace from the right side of string.
- + Source


@@ -479,7 +479,7 @@ Allowed argument types for pattern and replacement are: the maximum number of splits. - + Source


@@ -490,7 +490,7 @@ the maximum number of splits.
Splits s on \n or \r\n.
- + Source


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


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


@@ -529,7 +529,7 @@ 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


@@ -540,7 +540,7 @@ is to keep the string as the first argument for use with ->
Removes whitespace from both ends of string.
- + Source


@@ -551,7 +551,7 @@ is to keep the string as the first argument for use with ->
Converts string to all upper-case.
- + Source
diff --git a/branch-1.1.x/stream-utils-api.html b/branch-1.1.x/stream-utils-api.html index 071990dd..90a5aaf7 100644 --- a/branch-1.1.x/stream-utils-api.html +++ b/branch-1.1.x/stream-utils-api.html @@ -40,7 +40,7 @@ namespace. API Index
Namespaces: @@ -53,7 +53,31 @@ namespace.

Table of Contents

@@ -112,7 +136,155 @@ next value of all stream arguments in the form of a vector.

Public Variables and Functions

- +
+
+
+

defst

+ macro
+
Usage: (defst name args streams & body)
+
+
Define the stream transformer name by body.
+The non-stream arguments args and the stream arguments streams
+are given separately, with args being possibly empty.
+ + + Source +
+
+
+

defstream

+ macro
+
Usage: (defstream type-tag args & body)
+
+
Define object of the given type as a stream whose implementation
+of stream-next is defined by args and body. This macro adds
+a type-specific method for stream-next and derives type
+from stream-type.
+ + + Source +
+
+
+

pick

+ function
+
Usage: (pick n)
+
+
Return the next value of stream argument n inside a stream
+transformer. When used inside of defst, the name of the stream
+argument can be used instead of its index n.
+ + + Source +
+
+
+

pick-all

+ function
+
Usage: (pick-all streams)
+
+
Return a vector containing the next value of each stream argument
+inside a stream transformer.
+ + + Source +
+
+
+

stream-drop

+ function
+
Usage: (stream-drop n stream)
+
+
Return a stream containing all but the first n elements of stream.
+ + + Source +
+
+
+

stream-filter

+ multimethod
+
Usage: (stream-filter p stream)
+
+
Return a new stream that contrains the elements of stream
+that satisfy the predicate p.
+ + + Source +
+
+
+

stream-flatten

+ function
+
Usage: (stream-flatten s)
+
+
Converts a stream of sequences into a stream of the elements of the
+sequences. Flattening is not recursive, only one level of nesting
+will be removed.
+ + + Source +
+
+
+

stream-m

+ var
+

+  
Monad describing stream computations. The monadic values can be
+of any type handled by stream-next.
+ + + Source +
+
+
+

stream-map

+ multimethod
+
Usage: (stream-map f stream)
+
+
Return a new stream by mapping the function f on the given stream.
+ + + Source +
+
+
+

stream-next

+ multimethod
+
Usage: (stream-next stream-state)
+
+
Returns a vector [next-value new-state] where next-value is the next
+item in the data stream defined by stream-state and new-state
+is the new state of the stream. At the end of the stream,
+next-value and new-state are nil.
+ + + Source +
+
+
+

stream-seq

+ function
+
Usage: (stream-seq s)
+
+
Return a lazy seq on the stream. Also accessible via
+clojure.contrib.seq-utils/seq-on and
+clojure.contrib.generic.collection/seq for streams.
+ + + Source +
+
+
+

stream-type

+ var
+

+  
The root type for the stream hierarchy. For each stream type,
+add a derivation from this type.
+ + + Source +
diff --git a/branch-1.1.x/swing-utils-api.html b/branch-1.1.x/swing-utils-api.html index 0802edeb..501033ca 100644 --- a/branch-1.1.x/swing-utils-api.html +++ b/branch-1.1.x/swing-utils-api.html @@ -40,7 +40,7 @@ namespace. API Index
Namespaces: @@ -101,7 +101,7 @@ by Unknown
Translation table for the make-action constructor.
- + Source


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


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


@@ -147,7 +147,7 @@ Either: - an empty map specifying a separator. - + Source


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


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


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


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


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


@@ -222,7 +222,7 @@ add-menu-item function.
An atom containing the dispatch set for the add-menu-item method.
- + Source
diff --git a/branch-1.1.x/test-is-api.html b/branch-1.1.x/test-is-api.html index e4500a23..ee7629f3 100644 --- a/branch-1.1.x/test-is-api.html +++ b/branch-1.1.x/test-is-api.html @@ -40,7 +40,7 @@ namespace. API Index
Namespaces: @@ -169,7 +169,7 @@ be created by deftest, set-test, or with-test. Use this to omit tests when compiling or loading production code. - Source +


@@ -181,7 +181,7 @@ is thrown during a test. Defaults to nil, which means print the complete stack trace. - Source +


@@ -193,7 +193,7 @@ complete stack trace. values. Returns the modified expression. For use in macros. - + Source


@@ -215,7 +215,7 @@ Expands to: Note: This breaks some reporting features, such as line numbers. - + Source


@@ -227,7 +227,7 @@ Note: This breaks some reporting features, such as line numbers. method calls, or isolated symbols. - Source +


@@ -242,7 +242,7 @@ evaluated. If the predicate returns false, the 'actual' form will be wrapped in (not...). - Source +


@@ -254,7 +254,7 @@ be wrapped in (not...). that combines their behavior. - Source +


@@ -274,7 +274,7 @@ itself. When *load-tests* is false, deftest is ignored. - Source +


@@ -285,7 +285,7 @@ When *load-tests* is false, deftest is ignored.
Like deftest but creates a private var.
- Source +


@@ -299,7 +299,7 @@ Example: (do-template (check _1 _2) :a :b :c :d) expands to (do (check :a :b) (check :c :d)) - + Source


@@ -311,7 +311,7 @@ expands to (do (check :a :b) (check :c :d)) stack. - Source +


@@ -322,7 +322,7 @@ stack.
Recursively finds all symbols starting with _ in form.
- + Source


@@ -334,7 +334,7 @@ stack. any symbols starting with _ - + Source


@@ -345,7 +345,7 @@ any symbols starting with _
Recursively finds all symbols in form.
- + Source


@@ -356,7 +356,7 @@ any symbols starting with _
Transforms a map into a vector like [key value key value].
- + Source


@@ -368,7 +368,7 @@ any symbols starting with _ a function (not a macro). - Source +


@@ -379,7 +379,7 @@ a function (not a macro).
Like var-get but returns nil if the var is unbound.
- Source +


@@ -391,7 +391,7 @@ a function (not a macro). Does nothing if *report-counters* is nil. - Source +


@@ -415,7 +415,7 @@ thrown AND that the message on the exception matches (with re-matches) the regular expression re. - Source +


@@ -427,7 +427,7 @@ re-matches) the regular expression re. fixture function, even if the collection is empty. - Source +


@@ -442,7 +442,7 @@ the top of test_is.clj for more information on the types of arguments for 'report'. - Source +


@@ -457,7 +457,7 @@ names matching the regular expression (with re-matches) will be tested. - Source +


@@ -471,7 +471,7 @@ Defaults to current namespace if none given. Returns a map summarizing test results. - Source +


@@ -486,7 +486,7 @@ The var must already exist. Does not modify the value of the var. When *load-tests* is false, set-test is ignored. - Source +


@@ -498,7 +498,7 @@ When *load-tests* is false, set-test is ignored. were successful, false otherwise. - Source +


@@ -509,7 +509,7 @@ were successful, false otherwise.
Returns true if form is a valid template expression.
- + Source


@@ -520,7 +520,7 @@ were successful, false otherwise.
Calls test-var on every var interned in the namespace, with fixtures.
- Source +


@@ -537,7 +537,7 @@ Internally binds *report-counters* to a ref initialized to *report-counters*. - Source +


@@ -549,7 +549,7 @@ Internally binds *report-counters* to a ref initialized to with *testing-vars* bound to (conj *testing-vars* v). - Source +


@@ -561,7 +561,7 @@ with *testing-vars* bound to (conj *testing-vars* v). but must occur inside a test function (deftest). - Source +


@@ -573,7 +573,7 @@ but must occur inside a test function (deftest). strings in *testing-contexts* with spaces. - Source +


@@ -586,7 +586,7 @@ in *testing-vars* as a list, then the source file and line of current assertion. - Source +


@@ -598,7 +598,7 @@ current assertion. You don't call this. - Source +


@@ -610,7 +610,7 @@ teardown. Using a fixture-type of :each wraps every test individually, while:once wraps the whole run in a single function. - Source +


@@ -625,7 +625,7 @@ When *load-tests* is false, only evaluates the definition, ignoring the tests. - Source +


@@ -636,7 +636,7 @@ the tests.
Runs body with *out* bound to the value of *test-out*.
- Source +
diff --git a/branch-1.1.x/trace-api.html b/branch-1.1.x/trace-api.html index d3a5596f..e94096fe 100644 --- a/branch-1.1.x/trace-api.html +++ b/branch-1.1.x/trace-api.html @@ -40,7 +40,7 @@ namespace. API Index
Namespaces: @@ -96,7 +96,7 @@ code is doing.
Current stack depth of traced function calls.
- + Source


@@ -109,7 +109,7 @@ arguments. Nested calls to deftrace'd functions will print a tree-like structure. - + Source


@@ -123,7 +123,7 @@ the traced functions. Does not work on inlined functions, such as clojure.core/+ - + Source


@@ -137,7 +137,7 @@ returns value. May be wrapped around any expression without affecting the result. - + Source


@@ -149,7 +149,7 @@ affecting the result. symbol name of the function. - + Source


@@ -160,7 +160,7 @@ symbol name of the function.
Returns an indentation string based on *trace-depth*
- + Source


@@ -172,7 +172,7 @@ symbol name of the function. may be rebound to do anything you like. 'name' is optional. - + Source
diff --git a/branch-1.1.x/types-api.html b/branch-1.1.x/types-api.html index 8830fea1..544144f7 100644 --- a/branch-1.1.x/types-api.html +++ b/branch-1.1.x/types-api.html @@ -40,7 +40,7 @@ namespace. API Index
Namespaces: @@ -93,7 +93,7 @@ list consisting of a tag symbol followed by the argument symbols. The data type tag must be a keyword. - + Source


@@ -114,7 +114,7 @@ to be passed to the constructor in order to create an equivalent object. It is used for printing and matching. - + Source


@@ -125,7 +125,7 @@ object. It is used for printing and matching.
Same as deftype but the constructor is private.
- + Source


@@ -151,7 +151,7 @@ template the corresponding elements of the object must be equal for the template to match. - + Source
diff --git a/branch-1.1.x/with-ns-api.html b/branch-1.1.x/with-ns-api.html index 11bf54bc..38c6b2bf 100644 --- a/branch-1.1.x/with-ns-api.html +++ b/branch-1.1.x/with-ns-api.html @@ -40,7 +40,7 @@ namespace. API Index
Namespaces: @@ -88,7 +88,7 @@ object or a symbol. This makes it possible to define functions in namespaces other than the current one. - + Source


@@ -100,7 +100,7 @@ namespaces other than the current one. removed. The temporary namespace will 'refer' clojure.core. - + Source
diff --git a/branch-1.1.x/zip-filter-api.html b/branch-1.1.x/zip-filter-api.html index ed987fe8..bfbc819e 100644 --- a/branch-1.1.x/zip-filter-api.html +++ b/branch-1.1.x/zip-filter-api.html @@ -40,7 +40,7 @@ namespace. API Index
Namespaces: @@ -71,6 +71,26 @@ namespace. rightmost?
+
+ zip-filter.xml +
+ attr +
+ attr= +
+ seq-test +
+ tag= +
+ text +
+ text= +
+ xml-> +
+ xml1-> +
+
@@ -101,7 +121,7 @@ with loc and proceeding to loc's parent node and on through to the root of the tree. - + Source


@@ -113,7 +133,7 @@ root of the tree. left-to-right. - + Source


@@ -125,7 +145,7 @@ left-to-right. left-to-right, marked so that a following tag= predicate will auto-descend. - + Source


@@ -137,7 +157,7 @@ left-to-right, marked so that a following tag= predicate will auto-descend. - + Source


@@ -148,7 +168,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


@@ -159,7 +179,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


@@ -170,7 +190,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


@@ -181,7 +201,115 @@ 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

+

+
+
+
+
+
+

attr

+ function
+
Usage: (attr attrname)
+       (attr loc attrname)
+
+
Returns the xml attribute named attrname, of the xml node at location loc.
+ + + Source +
+
+

attr=

+ function
+
Usage: (attr= attrname attrval)
+
+
Returns a query predicate that matches a node when it has an
+attribute named attrname whose value is attrval.
+ + + Source +
+
+

seq-test

+ function
+
Usage: (seq-test preds)
+
+
Returns a query predicate that matches a node when its xml content
+matches the query expresions given.
+ + + Source +
+
+

tag=

+ function
+
Usage: (tag= tagname)
+
+
Returns a query predicate that matches a node when its is a tag
+named tagname.
+ + + Source +
+
+

text

+ function
+
Usage: (text loc)
+
+
Returns the textual contents of the given location, similar to
+xpaths's value-of
+ + + Source +
+
+

text=

+ function
+
Usage: (text= s)
+
+
Returns a query predicate that matches a node when its textual
+content equals s.
+ + + Source +
+
+

xml->

+ function
+
Usage: (xml-> loc & preds)
+
+
The loc is passed to the first predicate.  If the predicate returns
+a collection, each value of the collection is passed to the next
+predicate.  If it returns a location, the location is passed to the
+next predicate.  If it returns true, the input location is passed to
+the next predicate.  If it returns false or nil, the next predicate
+is not called.
+
+This process is repeated, passing the processed results of each
+predicate to the next predicate.  xml-> returns the final sequence.
+The entire chain is evaluated lazily.
+
+There are also special predicates: keywords are converted to tag=,
+strings to text=, and vectors to sub-queries that return true if
+they match.
+
+See the footer of zip-query.clj for examples.
+ + + Source +
+
+

xml1->

+ function
+
Usage: (xml1-> loc & preds)
+
+
Returns the first item from loc based on the query predicates
+given.  See xml->
+ + Source
diff --git a/combinatorics-api.html b/combinatorics-api.html index 94986906..1c4c1297 100644 --- a/combinatorics-api.html +++ b/combinatorics-api.html @@ -96,7 +96,7 @@ for a longer description.)
All the ways to take one item from each sequence
- + Source


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


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


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


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


@@ -151,7 +151,7 @@ for a longer description.)
All the subsets of items
- + Source
diff --git a/command-line-api.html b/command-line-api.html index ea79bf32..174c9d91 100644 --- a/command-line-api.html +++ b/command-line-api.html @@ -84,7 +84,7 @@ by Chris Houser
Bind locals to command-line args.
- + Source diff --git a/cond-api.html b/cond-api.html index 7c6d46cb..cac8986f 100644 --- a/cond-api.html +++ b/cond-api.html @@ -91,7 +91,7 @@ refer to any parts of binding-form in the expr. (cond-let binding-form) returns nil. - + Source diff --git a/condition-api.html b/condition-api.html index 84425565..21988d75 100644 --- a/condition-api.html +++ b/condition-api.html @@ -123,7 +123,7 @@ Based on an idea from Chouser: traces - + Source


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


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


@@ -179,7 +179,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


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

-meta

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

-post-init

@@ -230,7 +230,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
diff --git a/core-api.html b/core-api.html index 85f250c1..d4fb659c 100644 --- a/core-api.html +++ b/core-api.html @@ -100,7 +100,7 @@ Examples : - + Source


@@ -116,7 +116,7 @@ Examples : - + Source


@@ -132,7 +132,7 @@ Examples : - + Source


@@ -145,7 +145,7 @@ nested structure. keys is a sequence of keys. Any empty maps that result will not be present in the new structure. - + Source


@@ -156,7 +156,7 @@ will not be present in the new structure.
Constructs a Java object whose class is specified by a String.
- + Source


@@ -167,7 +167,7 @@ will not be present in the new structure.
Returns true if (seq x) will succeed, false otherwise.
- + Source
diff --git a/dataflow-api.html b/dataflow-api.html index 7515ee49..2efcebb5 100644 --- a/dataflow-api.html +++ b/dataflow-api.html @@ -125,7 +125,7 @@ value. This is implemented using Clojure's add-watch to the underlying ref, and shared its sematics - + Source


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


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


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


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


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


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


@@ -226,7 +226,7 @@ Which will perform the validation
A 'readable' form of the cell
- + Source


@@ -236,7 +236,7 @@ Which will perform the validation
Evaluate a dataflow cell.  Return [changed, old val]
- + Source


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


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


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


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


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


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


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


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


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


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


@@ -361,7 +361,7 @@ dataflow by binding the new values. Each name must be of a source cell - + Source
diff --git a/datalog-api.html b/datalog-api.html index a1dae0c2..3c8c3398 100644 --- a/datalog-api.html +++ b/datalog-api.html @@ -253,7 +253,7 @@ by Jeffrey Straszheim
used to execute the query. - + Source


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

datalog.database


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

add-relation

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

add-tuple

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

add-tuples

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

any-match?

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

database-counts

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

database-merge

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

database-merge-parallel

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

datalog-relation

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

ensure-relation

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

get-relation

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

make-database

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

merge-relations

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

remove-tuple

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

replace-relation

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

select

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

datalog.literals


@@ -479,7 +479,7 @@ relation.
 atom.
   
   
-  
+  Source
 

build-literal

@@ -500,7 +500,7 @@ literal. its bound constants to new variables. - + Source

delta-literal

@@ -510,7 +510,7 @@ its bound constants to new variables.
Given a literal l, return a delta version
- + Source

display-literal

@@ -529,7 +529,7 @@ its bound constants to new variables.
Get the bindings from this adorned literal.
- + Source

get-base-predicate

@@ -539,7 +539,7 @@ its bound constants to new variables.
Get the base predicate from this predicate.
- + Source

get-cs-from-vs

@@ -605,7 +605,7 @@ used during this point of a SIP computation.
Is this literal magic?
- + Source

literal-predicate

@@ -633,7 +633,7 @@ used during this point of a SIP computation.
Create a magic version of this adorned predicate.
- + Source

negated-literal

@@ -643,7 +643,7 @@ used during this point of a SIP computation.
Given a literal l, return a negated version
- + Source

negated?

@@ -653,7 +653,7 @@ used during this point of a SIP computation.
Is this literal a negated literal?
- + Source

negative-vars

@@ -681,7 +681,7 @@ used during this point of a SIP computation.
Is this a positive literal?
- + Source

project-literal

@@ -693,7 +693,7 @@ used during this point of a SIP computation. db. - + Source

datalog.magic


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

adorn-rules-set

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

build-partial-tuple

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

magic-transform

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

seed-predicate-for-insertion

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

seed-relation

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

seed-rule

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

datalog.rules


@@ -793,7 +793,7 @@ relation
 (<- (:head :x ?x :y ?y) (:body-1 :x ?x :y ?y) (:body-2 :z ?z) (not! :body-3 :x ?x) (if > ?y ?z))
   
   
-  
+  Source
 

?-

@@ -803,7 +803,7 @@ relation
Define a datalog query
- + Source

all-predicates

@@ -813,7 +813,7 @@ relation
Given a rules-set, return all defined predicates
- + Source

apply-rule

@@ -825,7 +825,7 @@ relation relation in db-2. The relation will be created if needed. - + Source

compute-sip

@@ -837,7 +837,7 @@ rule. A set of intensional predicates should be provided to determine what should be adorned. - + Source

display-query

@@ -847,7 +847,7 @@ determine what should be adorned.
Return a query in a readable format.
- + Source

display-rule

@@ -857,7 +857,7 @@ determine what should be adorned.
Return the rule in a readable format.
- + Source

is-safe?

@@ -867,7 +867,7 @@ determine what should be adorned.
Is the rule safe according to the datalog protocol?
- + Source

make-rules-set

@@ -878,7 +878,7 @@ determine what should be adorned. printing. - + Source

non-base-rules

@@ -888,7 +888,7 @@ printing.
Return a collection of rules that depend, somehow, on other rules
- + Source

predicate-map

@@ -899,7 +899,7 @@ printing. Each value will be a set of rules. - + Source

return-rule-data

@@ -909,7 +909,7 @@ Each value will be a set of rules.
Returns an untypted rule that will be fully printed
- + Source

rules-set

@@ -919,7 +919,7 @@ Each value will be a set of rules.
Given a collection of rules return a rules set
- + Source

datalog.softstrat


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

get-all-relations

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

datalog.util


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

is-var?

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

keys-to-vals

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

map-values

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

preduce

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

reverse-map

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

trace-datalog

@@ -1025,7 +1025,7 @@ data - a collection of hashes.
If *test-datalog* is set to true, run the enclosed commands
- + Source
diff --git a/def-api.html b/def-api.html index 5f5563dc..035e7d75 100644 --- a/def-api.html +++ b/def-api.html @@ -109,7 +109,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


@@ -122,7 +122,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


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


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


@@ -160,7 +160,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


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


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


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


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


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


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


@@ -249,7 +249,7 @@ with its extended metadata map and the list of unprocessed macro arguments. - + Source
diff --git a/duck-streams-api.html b/duck-streams-api.html index 4f71c349..c4c048cb 100644 --- a/duck-streams-api.html +++ b/duck-streams-api.html @@ -131,7 +131,7 @@ or "just-give-me-a-stream", but ducks are funnier. Defaults to false. Use append-writer or append-spit. - + Source


@@ -142,7 +142,7 @@ Defaults to false. Use append-writer or append-spit. copying streams. - + Source


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


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


@@ -174,7 +174,7 @@ Default is UTF-8.
Like spit but appends to file.
- + Source


@@ -186,7 +186,7 @@ Default is UTF-8. that are already open. - + Source


@@ -204,7 +204,7 @@ Does not close any streams except those it opens itself Writing a File fails if the parent directory does not exist. - + Source


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


@@ -228,7 +228,7 @@ the path with the user.home system property.
Creates all parent directories of file.
- + Source


@@ -240,7 +240,7 @@ the path with the user.home system property. Note: In Java, you cannot change the current working directory. - + Source


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


@@ -272,7 +272,7 @@ Should be used inside with-open to ensure the Reader is properly closed. - + Source


@@ -283,7 +283,7 @@ closed.
Like clojure.core/slurp but opens f with reader.
- + Source


@@ -295,7 +295,7 @@ closed. closes f. - + Source


@@ -308,7 +308,7 @@ a String, File, InputStream, or Reader. If the argument is already a byte array, returns it. - + Source


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


@@ -330,7 +330,7 @@ a byte array, returns it.
Like with-out-writer but appends to file.
- + Source


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


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


@@ -375,7 +375,7 @@ Should be used inside with-open to ensure the Writer is properly closed. - + Source
diff --git a/error-kit-api.html b/error-kit-api.html index 2e491fe8..e73ab357 100644 --- a/error-kit-api.html +++ b/error-kit-api.html @@ -106,7 +106,7 @@ in this with-handler's dynamic scope, when this 'continue-name' is given to a 'continue' form. - + Source


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


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


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


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


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


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


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


@@ -211,7 +211,7 @@ in a dynamic context that includes all of the following 'handle' and 'bind-continue' forms. - + Source
diff --git a/except-api.html b/except-api.html index cbcda777..6f6f1a5b 100644 --- a/except-api.html +++ b/except-api.html @@ -99,7 +99,7 @@ formatted using clojure.core/format. format. - + Source


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


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


@@ -144,7 +144,7 @@ clojure.core/format. All arguments are optional: format. - + Source
diff --git a/fcase-api.html b/fcase-api.html index 4c3f3ae8..b61efd01 100644 --- a/fcase-api.html +++ b/fcase-api.html @@ -102,7 +102,7 @@ expression. Optional last expression is executed if none of the test expressions match. - + Source


@@ -136,7 +136,7 @@ order. For a large number of case expressions it may be more efficient to use a hash lookup. - + Source


@@ -149,7 +149,7 @@ is true if any item in the sequence is equal (tested with '=') to the test value. - + Source


@@ -161,7 +161,7 @@ the test value. 'instance?'. - + Source


@@ -173,7 +173,7 @@ the test value. with re-find. - + Source
diff --git a/find-namespaces-api.html b/find-namespaces-api.html index c984385c..a3314395 100644 --- a/find-namespaces-api.html +++ b/find-namespaces-api.html @@ -110,7 +110,7 @@ by Stuart Sierra
Returns true if file is a normal file with a .clj extension.
- + Source


@@ -121,7 +121,7 @@ by Stuart Sierra
Returns a sequence of filenames ending in .clj found in the JAR file.
- + Source


@@ -132,7 +132,7 @@ by Stuart Sierra
Returns true if form is a (comment ...)
- + Source


@@ -144,7 +144,7 @@ by Stuart Sierra
Returns a sequence of File objects, in breadth-first sort order. - + Source


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


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


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


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


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


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


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


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


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


@@ -270,7 +270,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
diff --git a/fnmap-api.html b/fnmap-api.html index 998ab97a..94a6b722 100644 --- a/fnmap-api.html +++ b/fnmap-api.html @@ -97,7 +97,7 @@ map for m. All other map operations are passed through to the internal map. - + Source diff --git a/gen-html-docs-api.html b/gen-html-docs-api.html index d9093298..6ac612c2 100644 --- a/gen-html-docs-api.html +++ b/gen-html-docs-api.html @@ -89,7 +89,7 @@ named by libs. Libs is a vector of symbols identifying Clojure libraries. - + Source


@@ -101,7 +101,7 @@ libraries. emits the generated HTML to the path named by path. - + Source
diff --git a/generic.arithmetic-api.html b/generic.arithmetic-api.html index 0547695c..adf456f9 100644 --- a/generic.arithmetic-api.html +++ b/generic.arithmetic-api.html @@ -159,7 +159,7 @@ form with dispatch value [::my-type ::my-type]. Required for implementing the division function from another namespace. - + Source


@@ -172,7 +172,7 @@ Required to access the division function from another namespace, e.g. as (qsym clojure.contrib.generic.arithmetic /). - + Source
diff --git a/generic.comparison-api.html b/generic.comparison-api.html index d7cd74be..611b7a34 100644 --- a/generic.comparison-api.html +++ b/generic.comparison-api.html @@ -185,7 +185,7 @@ is provided in terms of <. is uses generic comparison functions implementable for any data type. - + Source


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


diff --git a/generic.math-functions-api.html b/generic.math-functions-api.html index 3dcaac60..123a9ea1 100644 --- a/generic.math-functions-api.html +++ b/generic.math-functions-api.html @@ -148,7 +148,7 @@ defined for any type. is less than eps. - + Source


diff --git a/graph-api.html b/graph-api.html index 0d61a51d..e9b87e34 100644 --- a/graph-api.html +++ b/graph-api.html @@ -110,7 +110,7 @@ by Jeffrey Straszheim
For each node n, add the edge n->n if not already present.
- + Source


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


@@ -140,7 +140,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


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


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


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


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


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


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


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


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


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


@@ -262,7 +262,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


@@ -279,7 +279,7 @@ cycles in the graph. If you have code that depends on such behavior, call (-> g transitive-closure add-loops) - + Source
diff --git a/greatest-least-api.html b/greatest-least-api.html index d0fd06a6..3e100744 100644 --- a/greatest-least-api.html +++ b/greatest-least-api.html @@ -98,7 +98,7 @@ by Vincent Foley
Returns all the greatest elements.
- + Source


@@ -109,7 +109,7 @@ by Vincent Foley
Return all the elements for which f yields the greatest value.
- + Source


@@ -120,7 +120,7 @@ by Vincent Foley
Returns all the least elements.
- + Source


@@ -131,7 +131,7 @@ by Vincent Foley
Return all the elements for which f yields the least value.
- + Source


@@ -142,7 +142,7 @@ by Vincent Foley
Return the greatest argument.
- + Source


@@ -153,7 +153,7 @@ by Vincent Foley
Return the argument for which f yields the greatest value.
- + Source


@@ -164,7 +164,7 @@ by Vincent Foley
Return the smallest element.
- + Source


@@ -175,7 +175,7 @@ by Vincent Foley
Return the argument for which f yields the smallest value.
- + Source
diff --git a/http.agent-api.html b/http.agent-api.html index 0ca49b57..544664e1 100644 --- a/http.agent-api.html +++ b/http.agent-api.html @@ -169,7 +169,7 @@ body in a java.io.ByteArrayOutputStream, which can later be retrieved with the 'stream', 'string', and 'bytes' functions. - + Source


@@ -181,7 +181,7 @@ retrieved with the 'stream', 'string', and 'bytes' functions. nil if the content is not yet available. - + Source


@@ -192,7 +192,7 @@ nil if the content is not yet available.
Returns true if the HTTP response code was in the 400-499 range.
- + Source


@@ -203,7 +203,7 @@ nil if the content is not yet available.
Returns true if the HTTP request/response has completed.
- + Source


@@ -215,7 +215,7 @@ nil if the content is not yet available. the 500-599 range. - + Source


@@ -228,7 +228,7 @@ to keywords in all lower-case Header values are strings. If a header appears more than once, only the last value is returned. - + Source


@@ -241,7 +241,7 @@ header appears more than once, only the last value is returned. HTTP status line. - + Source


@@ -299,7 +299,7 @@ response stream in a memory buffer. - + Source


@@ -311,7 +311,7 @@ response stream in a memory buffer. request, or nil if the response has not yet been received. - + Source


@@ -322,7 +322,7 @@ request, or nil if the response has not yet been received.
Returns the HTTP method name used by this HTTP agent, as a String.
- + Source


@@ -337,7 +337,7 @@ redirects will be followed automatically and a the agent will never return a 3xx response code. - + Source


@@ -351,7 +351,7 @@ Note: if the request body was an InputStream or a Reader, it will no longer be usable. - + Source


@@ -362,7 +362,7 @@ longer be usable.
Returns the request headers specified for this HTTP agent.
- + Source


@@ -373,7 +373,7 @@ longer be usable.
Returns the URI/URL requested by this HTTP agent, as a String.
- + Source


@@ -386,7 +386,7 @@ agent; blocks until the HTTP request is completed. The default handler function returns a ByteArrayOutputStream. - + Source


@@ -397,7 +397,7 @@ handler function returns a ByteArrayOutputStream.
Returns true if the HTTP response code was in the 500-599 range.
- + Source


@@ -410,7 +410,7 @@ request, as an Integer, or nil if the status has not yet been received. - + Source


@@ -426,7 +426,7 @@ If the default handler function was used, this function returns a ByteArrayInputStream on the buffered response body. - + Source


@@ -443,7 +443,7 @@ headers, or clojure.contrib.io/*default-encoding* if it is not specified. - + Source


@@ -454,7 +454,7 @@ not specified.
Returns true if the HTTP response code was in the 200-299 range.
- + Source
diff --git a/http.connection-api.html b/http.connection-api.html index 512bc79a..e1f285bb 100644 --- a/http.connection-api.html +++ b/http.connection-api.html @@ -86,7 +86,7 @@ by Unknown
Opens an HttpURLConnection at the URL, handled by as-url.
- + Source


@@ -96,7 +96,7 @@ by Unknown
Transmits a request entity body.
- + Source
diff --git a/import-static-api.html b/import-static-api.html index cefcca97..3d36c655 100644 --- a/import-static-api.html +++ b/import-static-api.html @@ -97,7 +97,7 @@ been imported. Static methods are defined as MACROS, not first-class fns. - + Source diff --git a/index.html b/index.html index 5741c8bd..68237c30 100644 --- a/index.html +++ b/index.html @@ -373,39 +373,70 @@ namespace.

An Overview of the clojure-contrib API (master branch)


-

An Overview of the Clojure Core API

-
-This is API documentation for the latest committed checkin of the Clojure core. -

Important Clojure resources

+
The user contributions library, clojure.contrib, is a collection +of namespaces each of which implements features that we believe may be useful to +a large part of the clojure community. +

+This library was created by Rich Hickey but has been populated and is maintained by a +group of volunteers who are excited about the success of the Clojure language and +want to do our part to help it along. The current list of contributors is available +on the +clojure-contrib GitHub source page. +

+More contributions (and contributors) are welcome. If you wish to contribute, you will need +to sign a contributor agreement (which allows Clojure and clojure.contrib to proceed +without entanglements, see contributing +for more info). +

+The best way to start is to share a project you've written with the google group and gauge +the interest in adding it to contrib. (Publishing it in an open source form on google code, +github or some other easy-to-access place in the net will also help.) After general +discussion, Rich Hickey makes the final determination about what gets added to +clojure.contrib. +

+Some parts of clojure.contrib may migrate into clojure.core if they prove to be so +generally useful that they justify being everywhere. (For example, condp started out +as an extension in contrib, but was moved to core by popular acclamation.) +

+The exact role of clojure.contrib and the future of the Clojure environment (standard +libraries, dependency models, packaging systems, etc.) +is the subject of pretty much continuous discussion +in the clojure google group and in #clojure on freenode. Feel free to join that +discussion and help shape the ways Clojure is extended. +

+Like Clojure itself, clojure.contrib is made available under the +Eclipse Public License (EPL). +clojure.contrib is copyright 2008-2009 Rich Hickey and the various contributors. +

+

Important clojure-contrib resources



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


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


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


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


@@ -201,7 +201,7 @@ Default is UTF-8. that are already open. - + Source


@@ -212,7 +212,7 @@ that are already open.
Like spit but appends to file.
- + Source


@@ -224,7 +224,7 @@ that are already open. that are already open. - + Source


@@ -235,7 +235,7 @@ that are already open.
Coerces argument (URL, URI, or String) to a java.net.URL.
- + Source


@@ -253,7 +253,7 @@ Does not close any streams except those it opens itself Writing a File fails if the parent directory does not exist. - + Source


@@ -264,7 +264,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


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


@@ -289,7 +289,7 @@ Raise an exception if any deletion fails unless silently is true.
Returns a java.io.File from string or file args.
- + Source


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


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


@@ -371,7 +371,7 @@ properly closed. Note: In Java, you cannot change the current working directory. - + Source


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


@@ -432,7 +432,7 @@ Building block for clojure.contrib.java/file.
Like clojure.core/slurp but opens f with reader.
- + Source


@@ -444,7 +444,7 @@ Building block for clojure.contrib.java/file. closes f. - + Source


@@ -457,7 +457,7 @@ a String, File, InputStream, or Reader. If the argument is already a byte array, returns it. - + Source


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


@@ -479,7 +479,7 @@ a byte array, returns it.
Like with-out-writer but appends to file.
- + Source


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


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


diff --git a/jar-api.html b/jar-api.html index 4a1ba72c..522b5c6c 100644 --- a/jar-api.html +++ b/jar-api.html @@ -87,7 +87,7 @@ by Stuart Sierra
the JAR file. - + Source


@@ -98,7 +98,7 @@ the JAR file.
Returns true if file is a normal file with a .jar or .JAR extension.
- + Source
diff --git a/java-utils-api.html b/java-utils-api.html index b08574a4..d7f097d1 100644 --- a/java-utils-api.html +++ b/java-utils-api.html @@ -131,7 +131,7 @@ for clojure.contrib.java-utils/file, which you should prefer in most cases. - + Source


@@ -143,7 +143,7 @@ in most cases. Uses as-str to convert both keys and values into strings. - + Source


@@ -168,7 +168,7 @@ Example: (as-str {:foo :bar}) ;;=> "{:foo :bar}" - + Source


@@ -179,7 +179,7 @@ Example:
Coerces argument (URL, URI, or String) to a java.net.URL.
- + Source


@@ -190,7 +190,7 @@ Example:
Delete file f. Raise an exception if it fails unless silently is true.
- + Source


@@ -202,7 +202,7 @@ Example: Raise an exception if any deletion fails unless silently is true. - + Source


@@ -215,7 +215,7 @@ Raise an exception if any deletion fails unless silently is true.
Returns a java.io.File from string or file args.
- + Source


@@ -227,7 +227,7 @@ Raise an exception if any deletion fails unless silently is true.
Get a system property.
- + Source


@@ -238,7 +238,7 @@ Raise an exception if any deletion fails unless silently is true.
Read properties from file-able.
- + Source


@@ -249,7 +249,7 @@ Raise an exception if any deletion fails unless silently is true. Building block for clojure.contrib.java-utils/file. - + Source


@@ -260,7 +260,7 @@ Building block for clojure.contrib.java-utils/file.
Set some system properties. Nil clears a property.
- + Source


@@ -271,7 +271,7 @@ Building block for clojure.contrib.java-utils/file.
Access to private or protected field.
- + Source


@@ -285,7 +285,7 @@ obj is nil for static methods, the instance object otherwise the method name is given as a symbol or a keyword (something Named) - + Source


@@ -300,7 +300,7 @@ sets the properties back to their original values. Values of nil are translated to a clearing of the property. - + Source


@@ -312,7 +312,7 @@ translated to a clearing of the property.
Write properties to file-able.
- + Source
diff --git a/jmx-api.html b/jmx-api.html index 89febba2..06c19a47 100644 --- a/jmx-api.html +++ b/jmx-api.html @@ -185,7 +185,7 @@ in the ref:
The connection to be used for JMX ops. Defaults to the local process.
- + Source


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


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


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


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


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


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


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


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


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


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


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


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


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


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


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


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


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


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


@@ -428,7 +428,7 @@ include an optional :environment key which is passed as the environment arg to JMXConnectorFactory/connect. - + Source
diff --git a/json-api.html b/json-api.html index 57b1a461..9a142090 100644 --- a/json-api.html +++ b/json-api.html @@ -97,7 +97,7 @@ To read JSON, use read-json.
Converts x to a JSON-formatted string.
- + Source


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


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


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


diff --git a/lazy-seqs-api.html b/lazy-seqs-api.html index a8d565e2..5966baf5 100644 --- a/lazy-seqs-api.html +++ b/lazy-seqs-api.html @@ -108,7 +108,7 @@ by Stephen C. Gilardi
Returns a lazy sequence of all the Fibonacci numbers.
- + Source


@@ -119,7 +119,7 @@ by Stephen C. Gilardi
Returns a lazy sequence of all the powers of 2
- + Source


@@ -129,7 +129,7 @@ by Stephen C. Gilardi
Lazy sequence of all the prime numbers.
- + Source
diff --git a/lazy-xml-api.html b/lazy-xml-api.html index fe2b004d..afb24292 100644 --- a/lazy-xml-api.html +++ b/lazy-xml-api.html @@ -96,7 +96,7 @@ is specified and org.xmlpull.v1.XmlPullParser is in the classpath, this superior pull parser will be used. - + Source


@@ -120,7 +120,7 @@ org.xmlpull.v1.XmlPullParser is in the classpath, this superior pull parser will be used. - + Source
diff --git a/logging-api.html b/logging-api.html index 61b6b0e4..a9f72a6c 100644 --- a/logging-api.html +++ b/logging-api.html @@ -151,7 +151,7 @@ needs to be specified to namespace the output. allowed when not operating from within a transaction. Defaults to true. - + Source


@@ -161,7 +161,7 @@ allowed when not operating from within a transaction. Defaults to true.
The name of the logging implementation used.
- + Source


@@ -172,7 +172,7 @@ allowed when not operating from within a transaction. Defaults to true. direct logging is disabled. - + Source


@@ -184,7 +184,7 @@ direct logging is disabled.
Logs a message at the debug level.
- + Source


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


@@ -210,7 +210,7 @@ whether the log should be written to.
Logs a message at the error level.
- + Source


@@ -222,7 +222,7 @@ whether the log should be written to.
Logs a message at the fatal level.
- + Source


@@ -233,7 +233,7 @@ whether the log should be written to. should not need to call this. - + Source


@@ -244,7 +244,7 @@ should not need to call this. not need to call this. - + Source


@@ -255,7 +255,7 @@ not need to call this. call this. - + Source


@@ -267,7 +267,7 @@ call this.
Logs a message at the info level.
- + Source


@@ -281,7 +281,7 @@ call this. convenience macros. - + Source


@@ -295,7 +295,7 @@ be used to namespace all redirected logging. NOTE: this will not redirect output of *out* or *err*; for that, use with-logs. - + Source


@@ -307,7 +307,7 @@ output of *out* or *err*; for that, use with-logs. to invoke this. - + Source


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


@@ -330,7 +330,7 @@ to invoke this. the result of expr. - + Source


@@ -342,7 +342,7 @@ the result of expr.
Logs a message at the trace level.
- + Source


@@ -354,7 +354,7 @@ the result of expr.
Logs a message at the warn level.
- + Source


@@ -367,7 +367,7 @@ the result of expr. namespace all redirected logging. - + Source
diff --git a/macro-utils-api.html b/macro-utils-api.html index a98e100a..bf108bec 100644 --- a/macro-utils-api.html +++ b/macro-utils-api.html @@ -111,7 +111,7 @@ Clojure's built-in macro expansion system, they can be used only inside a with-symbol-macros form. - + Source


@@ -124,7 +124,7 @@ symbols in params (a vector) by the corresponding parameters given in the macro call. - + Source


@@ -136,7 +136,7 @@ given in the macro call. syntax is the same as for letfn forms. - + Source


@@ -147,7 +147,7 @@ syntax is the same as for letfn forms.
Like clojure.core/macroexpand, but takes into account symbol macros.
- + Source


@@ -158,7 +158,7 @@ syntax is the same as for letfn forms.
Like clojure.core/macroexpand-1, but takes into account symbol macros.
- + Source


@@ -169,7 +169,7 @@ syntax is the same as for letfn forms.
Perform a full recursive macro expansion of a form.
- + Source


@@ -181,7 +181,7 @@ syntax is the same as for letfn forms. The syntax is the same as for let forms. - + Source


@@ -192,7 +192,7 @@ The syntax is the same as for let forms.
Fully expand exprs, including symbol macros.
- + Source
diff --git a/macros-api.html b/macros-api.html index 1e955db0..86e00e95 100644 --- a/macros-api.html +++ b/macros-api.html @@ -88,7 +88,7 @@ by Konrad Hinsen
Evaluate the constant expression expr at compile time.
- + Source


@@ -102,7 +102,7 @@ of name/args/body triples, with (letfn [name args body] ...) being equivalent to (let [name (fn name args body)] ...). - + Source


@@ -120,7 +120,7 @@ the default value ['clojure.core] is used. The symbol *ns* can be used to refer to the current namespace. - + Source
diff --git a/map-utils-api.html b/map-utils-api.html index 7697c356..379c424b 100644 --- a/map-utils-api.html +++ b/map-utils-api.html @@ -95,7 +95,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


@@ -106,7 +106,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


@@ -117,7 +117,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


@@ -128,7 +128,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
diff --git a/math-api.html b/math-api.html index 4146a9aa..99328648 100644 --- a/math-api.html +++ b/math-api.html @@ -140,7 +140,7 @@ exact-integer-sqrt - Implements a math function from the R6RS Scheme
(abs n) is the absolute value of n
- + Source


@@ -152,7 +152,7 @@ exact-integer-sqrt - Implements a math function from the R6RS Scheme If n is an exact number, ceil returns an integer, otherwise a double. - + Source


@@ -164,7 +164,7 @@ 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


@@ -176,7 +176,7 @@ For example, (exact-integer-sqrt 15) is [3 6] because 15 = 3^2+6. Returns an exact number if the base is an exact number and the power is an integer, otherwise returns a double. - + Source


@@ -188,7 +188,7 @@ Returns an exact number if the base is an exact number and the power is an integ If n is an exact number, floor returns an integer, otherwise a double. - + Source


@@ -199,7 +199,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


@@ -210,7 +210,7 @@ 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


@@ -222,7 +222,7 @@ If n is an exact number, floor returns an integer, otherwise a double. round always returns an integer. Rounds up for values exactly in between two integers. - + Source


@@ -233,7 +233,7 @@ round always returns an integer. Rounds up for values exactly in between two in
Square root, but returns exact number if possible.
- + Source
diff --git a/miglayout-api.html b/miglayout-api.html index d78cbe53..3ac22082 100644 --- a/miglayout-api.html +++ b/miglayout-api.html @@ -125,7 +125,7 @@ Example: an id constraint set - + Source


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

miglayout.example


@@ -182,7 +182,7 @@ clojure.contrib.miglayout/components.
   
Lays out and shows a Temperature Converter UI
- + Source

fahrenheit

@@ -193,7 +193,7 @@ clojure.contrib.miglayout/components. strings. Returns "input?" if the input can't be parsed as a Double. - + Source

main

@@ -203,7 +203,7 @@ strings. Returns "input?" if the input can't be parsed as a Double.
Invokes converter-ui in the AWT Event thread
- + Source

miglayout.internal


@@ -219,7 +219,7 @@ strings. Returns "input?" if the input can't be parsed as a Double.
   
Adds components with constraints to a container
- + Source

component?

@@ -229,7 +229,7 @@ strings. Returns "input?" if the input can't be parsed as a Double.
Returns true if x is a java.awt.Component
- + Source

constraint?

@@ -239,7 +239,7 @@ strings. Returns "input?" if the input can't be parsed as a Double.
Returns true if x is not a keyword-item or component
- + Source

do-layout

@@ -250,7 +250,7 @@ strings. Returns "input?" if the input can't be parsed as a Double. with constraints - + Source

format-constraint

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

format-constraints

@@ -273,7 +273,7 @@ strings, keywords, vectors, maps, and/or sets. or component formatted for miglayout. - + Source

get-components

@@ -283,7 +283,7 @@ or component formatted for miglayout.
Returns a map from id to component for all components with an id
- + Source

parse-component-constraint

@@ -293,7 +293,7 @@ or component formatted for miglayout.
Parses a component constraint string returning a CC object
- + Source

parse-item-constraints

@@ -306,7 +306,7 @@ items to constraints strings. The value for :components is a vector of vectors each associating a component with its constraints string. - + Source
diff --git a/mmap-api.html b/mmap-api.html index 30a28f40..878a5eca 100644 --- a/mmap-api.html +++ b/mmap-api.html @@ -89,7 +89,7 @@ mmaped file for "normal" activies -- slurp, load-file, etc.
Returns an InputStream for a ByteBuffer, such as returned by mmap.
- + Source


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


@@ -111,7 +111,7 @@ mmaped file for "normal" activies -- slurp, load-file, etc.
Reads the file named by f and returns it as a string.
- + Source
diff --git a/mock-api.html b/mock-api.html index a572094e..bc5c868e 100644 --- a/mock-api.html +++ b/mock-api.html @@ -380,7 +380,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

diff --git a/monadic-io-streams-api.html b/monadic-io-streams-api.html index 842ffaed..90567d36 100644 --- a/monadic-io-streams-api.html +++ b/monadic-io-streams-api.html @@ -111,7 +111,7 @@ monadic statement sequence.
Flush
- + Source


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


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


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


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


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


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


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


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


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


@@ -235,7 +235,7 @@ by clojure.contrib.io/writer.
Write text (a string)
- + Source
diff --git a/monads-api.html b/monads-api.html index b68bb52e..ac9a7f27 100644 --- a/monads-api.html +++ b/monads-api.html @@ -173,7 +173,7 @@ return a continuation (which becomes the return value of call-cc), or call the passed-in current continuation to terminate. - + Source


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


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


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


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


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


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


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


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


@@ -292,7 +292,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


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


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


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


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


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


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


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


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


@@ -396,7 +396,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


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


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


@@ -441,7 +441,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


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


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


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


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


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


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


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


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


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


@@ -564,7 +564,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


@@ -577,7 +577,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


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


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


@@ -618,7 +618,7 @@ accumulators from clojure.contrib.accumulators can be used for storing the log data. Its empty value is passed as a parameter. - + Source
diff --git a/ns-utils-api.html b/ns-utils-api.html index ce4e4b4d..826b492f 100644 --- a/ns-utils-api.html +++ b/ns-utils-api.html @@ -98,7 +98,7 @@ by Stephen C. Gilardi
Prints a sorted directory of public vars in a namespace
- + Source


@@ -109,7 +109,7 @@ by Stephen C. Gilardi
Prints documentation for the public vars in a namespace
- + Source


@@ -121,7 +121,7 @@ by Stephen C. Gilardi
namespace does not exist - + Source


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


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


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


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


@@ -181,7 +181,7 @@ a namespace a namespace - + Source
diff --git a/pprint-api.html b/pprint-api.html index ff69b3da..f10218b8 100644 --- a/pprint-api.html +++ b/pprint-api.html @@ -182,7 +182,7 @@ documentation on the the clojure-contrib web site on github.
The base to use for printing integers and rationals.
- + Source


@@ -192,7 +192,7 @@ documentation on the the clojure-contrib web site on github.
Mark circular structures (N.B. This is not yet used)
- + Source


@@ -202,7 +202,7 @@ documentation on the the clojure-contrib web site on github.
Maximum number of lines to print in a pretty print instance (N.B. This is not yet used)
- + Source


@@ -214,7 +214,7 @@ miser style add newlines in more places to try to keep lines short allowing for levels of nesting. - + Source


@@ -225,7 +225,7 @@ levels of nesting. to modify. - + Source


@@ -235,7 +235,7 @@ to modify.
Bind to true if you want write to use pretty printing
- + Source


@@ -247,7 +247,7 @@ or 16, then the radix specifier used is #b, #o, or #x, respectively. Otherwise t radix specifier is in the form #XXr where XX is the decimal value of *print-base* - + Source


@@ -259,7 +259,7 @@ Set it to nil to have pprint let the line be arbitrarily long. This will ignore non-mandatory newlines. - + Source


@@ -269,7 +269,7 @@ non-mandatory newlines.
Mark repeated structures rather than repeat them (N.B. This is not yet used)
- + Source


@@ -280,7 +280,7 @@ non-mandatory newlines. pretty printing the results of macro expansions - + Source


@@ -328,7 +328,7 @@ and in the Common Lisp HyperSpec at http://www.lispworks.com/documentation/HyperSpec/Body/22_c.htm - + Source


@@ -341,7 +341,7 @@ 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


@@ -356,7 +356,7 @@ 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


@@ -372,7 +372,7 @@ 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


@@ -384,7 +384,7 @@ format-in can be either a control string or a previously compiled format. N.B. Only works on ColumnWriters right now. - + Source


@@ -396,7 +396,7 @@ N.B. Only works on ColumnWriters right now. exactly equivalent to (pprint *1). - + Source


@@ -409,7 +409,7 @@ exactly equivalent to (pprint *1). print the object to the currently bound value of *out*. - + Source


@@ -425,7 +425,7 @@ the current column position. n is an offset. Output is sent to *out* which must be a pretty printing writer. - + Source


@@ -441,7 +441,7 @@ Before the body, the caller can optionally specify options: :prefix, :per-line-p and :suffix. - + Source


@@ -455,7 +455,7 @@ newline is :linear, :miser, :fill, or :mandatory. Output is sent to *out* which must be a pretty printing writer. - + Source


@@ -474,7 +474,7 @@ Output is sent to *out* which must be a pretty printing writer. THIS FUNCTION IS NOT YET IMPLEMENTED. - + Source


@@ -490,7 +490,7 @@ For example functions, see *simple-dispatch* and *code-dispatch* in clojure.contrib.pprint.dispatch.clj. - + Source


@@ -501,7 +501,7 @@ clojure.contrib.pprint.dispatch.clj.
Installs a function as a new method of multimethod associated with dispatch-value. 
- + Source


@@ -512,7 +512,7 @@ clojure.contrib.pprint.dispatch.clj.
Execute body with the pretty print dispatch function bound to function.
- + Source


@@ -543,7 +543,7 @@ The following keyword arguments can be passed with values: * = not yet supported - + Source


@@ -563,7 +563,7 @@ already know that the pretty printer will have set up their environment appropri Normal library clients should use the standard "write" interface. - + Source

pprint.examples.json

Pretty printing JavaScript Object Notation (JSON) generator.
@@ -585,7 +585,7 @@ This is an example of using a pretty printer dispatch function to generate JSON
   
The dispatch function for printing objects as JSON
- + Source

json-str

@@ -595,7 +595,7 @@ This is an example of using a pretty printer dispatch function to generate JSON
Converts x to a JSON-formatted string.
- + Source

print-json

@@ -609,7 +609,7 @@ arrays. Unicode characters in strings are escaped as \uXXXX. Numbers print as with pr.
- + Source

pprint.examples.xml

A version of prxml that uses a pretty print dispatch function.
@@ -624,7 +624,7 @@ Numbers print as with pr.
If true, empty tags will have a space before the closing />
- + Source

*prxml-indent*

@@ -633,7 +633,7 @@ Numbers print as with pr.
The number of spaces to indent sub-tags.
- + Source

prxml

@@ -664,7 +664,7 @@ PSEUDO-TAGS: some keywords have special meaning: ; => <?xml version="1.1" encoding="UTF-8"?> - + Source
diff --git a/probabilities.finite-distributions-api.html b/probabilities.finite-distributions-api.html index cab59bf5..af12be2d 100644 --- a/probabilities.finite-distributions-api.html +++ b/probabilities.finite-distributions-api.html @@ -106,7 +106,7 @@ distributions.
Returns a distribution in which the single value v has probability 1.
- + Source


@@ -120,7 +120,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


@@ -130,7 +130,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


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


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


@@ -165,7 +165,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


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


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


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


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


@@ -229,7 +229,7 @@ has the same probability. probabilities proportional to 1/k^s. - + Source
diff --git a/probabilities.monte-carlo-api.html b/probabilities.monte-carlo-api.html index df49e476..4010173a 100644 --- a/probabilities.monte-carlo-api.html +++ b/probabilities.monte-carlo-api.html @@ -125,7 +125,7 @@ composed using operations defined in clojure.contrib.monads. to probabilities. The sum of probabilities must be one. - + Source


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


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


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


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


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


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


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


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


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


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


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


@@ -273,7 +273,7 @@ distribution dist. distribution dist. - + Source
diff --git a/probabilities.random-numbers-api.html b/probabilities.random-numbers-api.html index a0c33c4e..c87f950a 100644 --- a/probabilities.random-numbers-api.html +++ b/probabilities.random-numbers-api.html @@ -95,7 +95,7 @@ linear congruential generator.
Create a linear congruential generator
- + Source


@@ -107,7 +107,7 @@ generator uses an internal mutable state. The state is thus not stored in the stream object and cannot be restored. - + Source
diff --git a/profile-api.html b/profile-api.html index 0e1fad20..c4b474be 100644 --- a/profile-api.html +++ b/profile-api.html @@ -114,7 +114,7 @@ under the JVM. See the function documentation for more details. profiling code. - + Source


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


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


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


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


@@ -185,7 +185,7 @@ names (keywords), and values are lists of elapsed time, in nanoseconds. - + Source
diff --git a/prxml-api.html b/prxml-api.html index cc90681f..9abb6435 100644 --- a/prxml-api.html +++ b/prxml-api.html @@ -88,7 +88,7 @@ for details.
If true, empty tags will have a space before the closing />
- + Source


@@ -99,7 +99,7 @@ for details. and no extra line-breaks. - + Source


@@ -131,7 +131,7 @@ PSEUDO-TAGS: some keywords have special meaning: ; => <?xml version="1.1" encoding="UTF-8"?> - + Source
diff --git a/reflect-api.html b/reflect-api.html index e2b45399..be16ff39 100644 --- a/reflect-api.html +++ b/reflect-api.html @@ -93,7 +93,7 @@ obj is nil for static methods, the instance object otherwise. The method-name is given a symbol or a keyword (something Named). - + Source


@@ -105,7 +105,7 @@ The method-name is given a symbol or a keyword (something Named). keyword. - + Source
diff --git a/repl-ln-api.html b/repl-ln-api.html index c04d752e..556df826 100644 --- a/repl-ln-api.html +++ b/repl-ln-api.html @@ -97,7 +97,7 @@ input stream.
Prints info about the current repl
- + Source


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


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


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


@@ -162,7 +162,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


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


@@ -198,7 +198,7 @@ System/out, and System/err using UTF-8 encoding. Also supports all the options provided by clojure.contrib.repl-ln/repl. - + Source
diff --git a/repl-utils-api.html b/repl-utils-api.html index 70497adb..3a4f35c5 100644 --- a/repl-utils-api.html +++ b/repl-utils-api.html @@ -139,7 +139,7 @@ any time the user presses Ctrl-C. Calls start-handling-break for you. Adds the current thread if none is given. - + Source


@@ -175,7 +175,7 @@ all definitions in all currently-loaded namespaces that match the str-or-pattern. - + Source


@@ -185,7 +185,7 @@ str-or-pattern.
Threads to stop when Ctrl-C is pressed.  See 'add-break-thread!'
- + Source


@@ -202,7 +202,7 @@ Example: (expression-info '(+ (int 5) (float 10))) Returns: {:class float, :primitive? true} - + Source


@@ -231,7 +231,7 @@ convenient. Example: (get-source 'filter) - + Source


@@ -255,7 +255,7 @@ Tries *local-javadocs* first, then *remote-javadocs*. optional args. ns-name is not evaluated. - + Source


@@ -267,7 +267,7 @@ optional args. ns-name is not evaluated. optional args. - + Source


@@ -294,7 +294,7 @@ all the properies of the member object as translated by 'bean'. Examples: (show Integer) (show []) (show String 23) (show String "case") - + Source


@@ -309,7 +309,7 @@ namespace for which the .clj is in the classpath. Example: (source filter) - + Source


@@ -321,7 +321,7 @@ Example: (source filter) all break-threads to be stopped. See 'add-break-thread!' - + Source
diff --git a/seq-api.html b/seq-api.html index 4c89c2db..6191cb00 100644 --- a/seq-api.html +++ b/seq-api.html @@ -123,7 +123,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


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


@@ -150,7 +150,7 @@ etc.) and returns their contents as a single, flat sequence. (flatten nil) returns nil. Deprecated since clojure-contrib version 1.2
- + Source


@@ -163,7 +163,7 @@ Returns a map from distinct items in coll to the number of times they appear. Deprecated since clojure-contrib version 1.2
- + Source


@@ -177,7 +177,7 @@ 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


@@ -190,7 +190,7 @@ in linear time. Deprecated. Prefer 'contains?' for key testing, or 'some' for ad hoc linear searches. Deprecated since clojure-contrib version 1.2
- + Source


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


@@ -218,7 +218,7 @@ 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


@@ -231,7 +231,7 @@ 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


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


@@ -255,7 +255,7 @@ is true for items in coll. Return a random element of this seq Deprecated since clojure-contrib version 1.2
- + Source


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


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


@@ -293,7 +293,7 @@ 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


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


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


@@ -340,7 +340,7 @@ a multimethod that can have implementations for new classes and types. Return a random permutation of coll Deprecated since clojure-contrib version 1.2
- + Source
diff --git a/seq-utils-api.html b/seq-utils-api.html index 05d0429f..953ff3f7 100644 --- a/seq-utils-api.html +++ b/seq-utils-api.html @@ -123,7 +123,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


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


@@ -150,7 +150,7 @@ etc.) and returns their contents as a single, flat sequence. (flatten nil) returns nil. Deprecated since clojure-contrib version 1.2
- + Source


@@ -163,7 +163,7 @@ Returns a map from distinct items in coll to the number of times they appear. Deprecated since clojure-contrib version 1.2
- + Source


@@ -177,7 +177,7 @@ 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


@@ -190,7 +190,7 @@ in linear time. Deprecated. Prefer 'contains?' for key testing, or 'some' for ad hoc linear searches. Deprecated since clojure-contrib version 1.2
- + Source


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


@@ -218,7 +218,7 @@ 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


@@ -231,7 +231,7 @@ 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


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


@@ -255,7 +255,7 @@ is true for items in coll. Return a random element of this seq Deprecated since clojure-contrib version 1.2
- + Source


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


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


@@ -293,7 +293,7 @@ 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


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


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


@@ -328,7 +328,7 @@ per reduce) of coll by f, starting with init. a multimethod that can have implementations for new classes and types. - + Source


@@ -340,7 +340,7 @@ a multimethod that can have implementations for new classes and types. Return a random permutation of coll Deprecated since clojure-contrib version 1.2
- + Source
diff --git a/server-socket-api.html b/server-socket-api.html index dbae4aac..9abbff3e 100644 --- a/server-socket-api.html +++ b/server-socket-api.html @@ -88,7 +88,7 @@ by Craig McDaniel
create a repl on a socket
- + Source


@@ -107,7 +107,7 @@ Optional arguments support specifying a listen backlog and binding to a specific endpoint. - + Source
diff --git a/set-api.html b/set-api.html index 0436472c..5c24551e 100644 --- a/set-api.html +++ b/set-api.html @@ -90,7 +90,7 @@ by Jason Wolfe
Is s1 a proper subset of s2?
- + Source


@@ -101,7 +101,7 @@ by Jason Wolfe
Is s1 a proper superset of s2?
- + Source


@@ -112,7 +112,7 @@ by Jason Wolfe
Is set1 a subset of set2?
- + Source


@@ -123,7 +123,7 @@ by Jason Wolfe
Is set1 a superset of set2?
- + Source
diff --git a/shell-api.html b/shell-api.html index 7c36c4e2..ddcc15d8 100644 --- a/shell-api.html +++ b/shell-api.html @@ -110,7 +110,7 @@ You can bind :env or :dir for multiple operations using with-sh-env and with-sh-dir. - + Source diff --git a/shell-out-api.html b/shell-out-api.html index 0b567971..e4bab1e3 100644 --- a/shell-out-api.html +++ b/shell-out-api.html @@ -110,7 +110,7 @@ You can bind :env or :dir for multiple operations using with-sh-env and with-sh-dir. - + Source diff --git a/singleton-api.html b/singleton-api.html index b064f3ff..bdd1d16e 100644 --- a/singleton-api.html +++ b/singleton-api.html @@ -92,7 +92,7 @@ Warning: global singletons are often unsafe in multi-threaded code. Consider per-thread-singleton instead. - + Source


@@ -112,7 +112,7 @@ per-thread-singleton. See http://bugs.sun.com/bugdatabase/view_bug.do?bug_id=5025230 - + Source
diff --git a/sql-api.html b/sql-api.html index 4dcba5ff..244b5e21 100644 --- a/sql-api.html +++ b/sql-api.html @@ -148,7 +148,7 @@ See clojure.contrib.sql.test for an example
Returns the current database connection (or throws if there is none)
- + Source


@@ -163,7 +163,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


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


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


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


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


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


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


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


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


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


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


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


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


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


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


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

sql.internal


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

find-connection*

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

get-connection

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

print-sql-exception

@@ -444,7 +444,7 @@ JNDI:
Prints the contents of an SQLException to stream
- + Source

print-sql-exception-chain

@@ -454,7 +454,7 @@ JNDI:
Prints a chain of SQLExceptions to stream
- + Source

print-update-counts

@@ -464,7 +464,7 @@ JNDI:
Prints the update counts from a BatchUpdateException to stream
- + Source

rollback

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

throw-rollback

@@ -485,7 +485,7 @@ JNDI:
Sets rollback and throws a wrapped exception
- + Source

transaction*

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

with-connection*

@@ -512,7 +512,7 @@ complete. closes the connection. - + Source

with-query-results*

@@ -524,7 +524,7 @@ an argument. The first argument is a vector containing the (optionally parameterized) sql query string followed by values for any parameters. - + Source
diff --git a/str-utils-api.html b/str-utils-api.html index 90b7907f..566e72f9 100644 --- a/str-utils-api.html +++ b/str-utils-api.html @@ -97,7 +97,7 @@ by Stuart Sierra
string. Note: String.trim() is similar and faster. - + Source


@@ -108,7 +108,7 @@ string. Note: String.trim() is similar and faster.
Removes the last character of string.
- + Source


@@ -124,7 +124,7 @@ match. - + Source


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


@@ -157,7 +157,7 @@ strings. Optional 'limit' argument is the maximum number of splits. Like Perl's 'split'. - + Source


@@ -173,7 +173,7 @@ the match. - + Source


@@ -185,7 +185,7 @@ the match. 'separator'. Like Perl's 'join'. - + Source
diff --git a/str-utils2-api.html b/str-utils2-api.html index ac3143b9..08f9ec0b 100644 --- a/str-utils2-api.html +++ b/str-utils2-api.html @@ -158,7 +158,7 @@ Some ideas are borrowed from
True if s is nil, empty, or contains only whitespace.
- + Source


@@ -173,7 +173,7 @@ 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


@@ -185,7 +185,7 @@ this is to keep the string as the first argument for use with -> characters to lower-case. - + Source


@@ -197,7 +197,7 @@ characters to lower-case. string. Note: String.trim() is similar and faster. - + Source


@@ -209,7 +209,7 @@ string. Note: String.trim() is similar and faster. string. - + Source


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


@@ -232,7 +232,7 @@ Unicode supplementary characters (above U+FFFF) correctly.
True if s contains the substring.
- + Source


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


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


@@ -277,7 +277,7 @@ 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


@@ -290,7 +290,7 @@ character in s. If cmap returns nil, the original character is added to the output unchanged. - + Source


@@ -301,7 +301,7 @@ added to the output unchanged.
Gets the i'th character in string.
- + Source


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


@@ -325,7 +325,7 @@ representation (with str) of each element is tested with re-find. separator. Like Perl's join. - + Source


@@ -336,7 +336,7 @@ separator. Like Perl's join.
Converts string to all lower-case.
- + Source


@@ -347,7 +347,7 @@ separator. Like Perl's join.
Removes whitespace from the left side of string.
- + Source


@@ -359,7 +359,7 @@ separator. Like Perl's join. String. - + Source


@@ -378,7 +378,7 @@ Example: (str-utils2/partial str-utils2/take 2) ;;=> (fn [s] (str-utils2/take s 2)) - + Source


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


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


@@ -427,7 +427,7 @@ Allowed argument types for pattern and replacement are: value as replacement.) - + Source


@@ -444,7 +444,7 @@ Allowed argument types for pattern and replacement are: 3. regex Pattern and function - + Source


@@ -455,7 +455,7 @@ Allowed argument types for pattern and replacement are:
Returns s with its characters reversed.
- + Source


@@ -466,7 +466,7 @@ Allowed argument types for pattern and replacement are:
Removes whitespace from the right side of string.
- + Source


@@ -479,7 +479,7 @@ Allowed argument types for pattern and replacement are: the maximum number of splits. - + Source


@@ -490,7 +490,7 @@ the maximum number of splits.
Splits s on \n or \r\n.
- + Source


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


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


@@ -529,7 +529,7 @@ 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


@@ -540,7 +540,7 @@ is to keep the string as the first argument for use with ->
Removes whitespace from both ends of string.
- + Source


@@ -551,7 +551,7 @@ is to keep the string as the first argument for use with ->
Converts string to all upper-case.
- + Source
diff --git a/stream-utils-api.html b/stream-utils-api.html index 476c28ce..cf798ffa 100644 --- a/stream-utils-api.html +++ b/stream-utils-api.html @@ -148,7 +148,7 @@ The non-stream arguments args and the stream arguments streams are given separately, with args being possibly empty. - + Source


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


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


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


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


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


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


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


@@ -283,7 +283,7 @@ clojure.contrib.generic.collection/seq for streams. add a derivation from this type. - + Source
diff --git a/string-api.html b/string-api.html index ecf6b012..a079857d 100644 --- a/string-api.html +++ b/string-api.html @@ -168,7 +168,7 @@ Example: (as-str {:foo :bar}) ;;=> "{:foo :bar}" - + Source


@@ -179,7 +179,7 @@ Example:
True if s is nil, empty, or contains only whitespace.
- + Source


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


@@ -203,7 +203,7 @@ if n is greater than the length of s. characters to lower-case. - + Source


@@ -215,7 +215,7 @@ characters to lower-case. string. Note: String.trim() is similar and faster. - + Source


@@ -227,7 +227,7 @@ string. Note: String.trim() is similar and faster. string. - + Source


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


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


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


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


@@ -294,7 +294,7 @@ character in s. If cmap returns nil, the original character is added to the output unchanged. - + Source


@@ -305,7 +305,7 @@ added to the output unchanged.
Gets the i'th character in string.
- + Source


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


@@ -329,7 +329,7 @@ representation (with str) of each element is tested with re-find. separator. Like Perl's join. - + Source


@@ -340,7 +340,7 @@ separator. Like Perl's join.
Converts string to all lower-case.
- + Source


@@ -351,7 +351,7 @@ separator. Like Perl's join.
Removes whitespace from the left side of string.
- + Source


@@ -363,7 +363,7 @@ separator. Like Perl's join. String. - + Source


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


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


@@ -404,7 +404,7 @@ returns: ("" "abc" "123" "def") (f (re-groups the-match)). - + Source


@@ -415,7 +415,7 @@ returns: ("" "abc" "123" "def")
Replaces all instances of character a with character b in s.
- + Source


@@ -427,7 +427,7 @@ returns: ("" "abc" "123" "def") (f (re-groups the-match)). - + Source


@@ -438,7 +438,7 @@ returns: ("" "abc" "123" "def")
Replace first match of re in s.
- + Source


@@ -449,7 +449,7 @@ returns: ("" "abc" "123" "def")
Replace first occurance of substring a with b in s.
- + Source


@@ -460,7 +460,7 @@ returns: ("" "abc" "123" "def")
Replaces all matches of re with replacement in s.
- + Source


@@ -471,7 +471,7 @@ returns: ("" "abc" "123" "def")
Replaces all instances of substring a with b in s.
- + Source


@@ -482,7 +482,7 @@ returns: ("" "abc" "123" "def")
Returns s with its characters reversed.
- + Source


@@ -493,7 +493,7 @@ returns: ("" "abc" "123" "def")
Removes whitespace from the right side of string.
- + Source


@@ -506,7 +506,7 @@ returns: ("" "abc" "123" "def") the maximum number of splits. - + Source


@@ -517,7 +517,7 @@ the maximum number of splits.
Splits s on \n or \r\n.
- + Source


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


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


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


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


@@ -575,7 +575,7 @@ methods.
Removes whitespace from both ends of string.
- + Source


@@ -586,7 +586,7 @@ methods.
Converts string to all upper-case.
- + Source
diff --git a/strint-api.html b/strint-api.html index 464cd73f..c7562072 100644 --- a/strint-api.html +++ b/strint-api.html @@ -103,7 +103,7 @@ Note that quotes surrounding string literals within ~() forms must be escaped. - + Source diff --git a/swing-utils-api.html b/swing-utils-api.html index 0dc5d6b8..c01c7984 100644 --- a/swing-utils-api.html +++ b/swing-utils-api.html @@ -101,7 +101,7 @@ by Unknown
Translation table for the make-action constructor.
- + Source


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


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


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


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


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


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


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


@@ -222,7 +222,7 @@ add-menu-item function.
An atom containing the dispatch set for the add-menu-item method.
- + Source
diff --git a/test-is-api.html b/test-is-api.html index 71036960..7c622d6c 100644 --- a/test-is-api.html +++ b/test-is-api.html @@ -193,7 +193,7 @@ complete stack trace. values. Returns the modified expression. For use in macros. - + Source


@@ -215,7 +215,7 @@ Expands to: Note: This breaks some reporting features, such as line numbers. - + Source


@@ -299,7 +299,7 @@ Example: (do-template (check _1 _2) :a :b :c :d) expands to (do (check :a :b) (check :c :d)) - + Source


@@ -322,7 +322,7 @@ stack.
Recursively finds all symbols starting with _ in form.
- + Source


@@ -334,7 +334,7 @@ stack. any symbols starting with _ - + Source


@@ -345,7 +345,7 @@ any symbols starting with _
Recursively finds all symbols in form.
- + Source


@@ -356,7 +356,7 @@ any symbols starting with _
Transforms a map into a vector like [key value key value].
- + Source


@@ -509,7 +509,7 @@ were successful, false otherwise.
Returns true if form is a valid template expression.
- + Source


diff --git a/trace-api.html b/trace-api.html index bffde172..7c705574 100644 --- a/trace-api.html +++ b/trace-api.html @@ -96,7 +96,7 @@ code is doing.
Current stack depth of traced function calls.
- + Source


@@ -109,7 +109,7 @@ arguments. Nested calls to deftrace'd functions will print a tree-like structure. - + Source


@@ -123,7 +123,7 @@ the traced functions. Does not work on inlined functions, such as clojure.core/+ - + Source


@@ -137,7 +137,7 @@ returns value. May be wrapped around any expression without affecting the result. - + Source


@@ -149,7 +149,7 @@ affecting the result. symbol name of the function. - + Source


@@ -160,7 +160,7 @@ symbol name of the function.
Returns an indentation string based on *trace-depth*
- + Source


@@ -172,7 +172,7 @@ symbol name of the function. may be rebound to do anything you like. 'name' is optional. - + Source
diff --git a/types-api.html b/types-api.html index 601daecc..24c55907 100644 --- a/types-api.html +++ b/types-api.html @@ -93,7 +93,7 @@ list consisting of a tag symbol followed by the argument symbols. The data type tag must be a keyword. - + Source


@@ -114,7 +114,7 @@ to be passed to the constructor in order to create an equivalent object. It is used for printing and matching. - + Source


@@ -125,7 +125,7 @@ object. It is used for printing and matching.
Same as deftype but the constructor is private.
- + Source


@@ -151,7 +151,7 @@ template the corresponding elements of the object must be equal for the template to match. - + Source
diff --git a/with-ns-api.html b/with-ns-api.html index 13f378ab..a4fe0236 100644 --- a/with-ns-api.html +++ b/with-ns-api.html @@ -88,7 +88,7 @@ object or a symbol. This makes it possible to define functions in namespaces other than the current one. - + Source


@@ -100,7 +100,7 @@ namespaces other than the current one. removed. The temporary namespace will 'refer' clojure.core. - + Source
diff --git a/zip-filter-api.html b/zip-filter-api.html index 261053ee..fe8efc04 100644 --- a/zip-filter-api.html +++ b/zip-filter-api.html @@ -218,7 +218,7 @@ depth-first order, left-to-right, starting with loc.
Returns the xml attribute named attrname, of the xml node at location loc.
- + Source

attr=

@@ -229,7 +229,7 @@ depth-first order, left-to-right, starting with loc. attribute named attrname whose value is attrval. - + Source

seq-test

@@ -240,7 +240,7 @@ attribute named attrname whose value is attrval. matches the query expresions given. - + Source

tag=

@@ -251,7 +251,7 @@ matches the query expresions given. named tagname. - + Source

text

@@ -262,7 +262,7 @@ named tagname. xpaths's value-of - + Source

text=

@@ -273,7 +273,7 @@ xpaths's value-of content equals s. - + Source

xml->

@@ -298,7 +298,7 @@ they match. See the footer of zip-query.clj for examples. - + Source

xml1->

@@ -309,7 +309,7 @@ See the footer of zip-query.clj for examples. given. See xml-> - + Source
-- cgit v1.2.3-18-g5258