aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTom Faulhaber <git_net@infolace.com>2009-08-19 03:42:40 -0700
committerTom Faulhaber <git_net@infolace.com>2009-08-19 03:42:40 -0700
commitb8fc1a73a721c87f0fef5432875539f48e61c952 (patch)
treeba6fad4687c8e1a2310d30e44f4b418f6d755127
parent822cb103ab3bf17371e34fb73f58e07b886b00eb (diff)
Updated documentation for commit 34fc5f2bc4dbae6b1b05b77cda98f56cc62e73b7
-rw-r--r--api-index.json94
-rw-r--r--macro-utils-api.html16
-rw-r--r--monads-api.html74
3 files changed, 92 insertions, 92 deletions
diff --git a/api-index.json b/api-index.json
index c6812fa4..64a10926 100644
--- a/api-index.json
+++ b/api-index.json
@@ -290,7 +290,7 @@
"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":
- "http://github.com/richhickey/clojure-contrib/blob/4f2c7bb5cf6828eb710fd18b603828ab295d0fa5/src/clojure/contrib/macro_utils.clj",
+ "http://github.com/richhickey/clojure-contrib/blob/132f0e501ba181f6491ef0150d0db5cbccae5c3b/src/clojure/contrib/macro_utils.clj",
"wiki-url":
"http://richhickey.github.com/clojure-contrib/macro-utils-api.html",
"name":"clojure.contrib.macro-utils",
@@ -344,7 +344,7 @@
"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":
- "http://github.com/richhickey/clojure-contrib/blob/6823c51380b69ec12f641fbef09d395237931e40/src/clojure/contrib/monads.clj",
+ "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",
@@ -3076,7 +3076,7 @@
"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":
- "http://github.com/richhickey/clojure-contrib/blob/4f2c7bb5cf6828eb710fd18b603828ab295d0fa5/src/clojure/contrib/macro_utils.clj#L200",
+ "http://github.com/richhickey/clojure-contrib/blob/132f0e501ba181f6491ef0150d0db5cbccae5c3b/src/clojure/contrib/macro_utils.clj#L199",
"wiki-url":
"http://richhickey.github.com/clojure-contrib//macro-utils-api.html#macro-utils/defsymbolmacro",
"namespace":"clojure.contrib.macro-utils",
@@ -3085,7 +3085,7 @@
"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":
- "http://github.com/richhickey/clojure-contrib/blob/4f2c7bb5cf6828eb710fd18b603828ab295d0fa5/src/clojure/contrib/macro_utils.clj#L214",
+ "http://github.com/richhickey/clojure-contrib/blob/132f0e501ba181f6491ef0150d0db5cbccae5c3b/src/clojure/contrib/macro_utils.clj#L213",
"wiki-url":
"http://richhickey.github.com/clojure-contrib//macro-utils-api.html#macro-utils/deftemplate",
"namespace":"clojure.contrib.macro-utils",
@@ -3094,7 +3094,7 @@
"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":
- "http://github.com/richhickey/clojure-contrib/blob/4f2c7bb5cf6828eb710fd18b603828ab295d0fa5/src/clojure/contrib/macro_utils.clj#L179",
+ "http://github.com/richhickey/clojure-contrib/blob/132f0e501ba181f6491ef0150d0db5cbccae5c3b/src/clojure/contrib/macro_utils.clj#L178",
"wiki-url":
"http://richhickey.github.com/clojure-contrib//macro-utils-api.html#macro-utils/macrolet",
"namespace":"clojure.contrib.macro-utils",
@@ -3103,7 +3103,7 @@
"Define local macros that are used in the expansion of exprs. The\nsyntax is the same as for letfn forms.",
"name":"macrolet"},
{"source-url":
- "http://github.com/richhickey/clojure-contrib/blob/4f2c7bb5cf6828eb710fd18b603828ab295d0fa5/src/clojure/contrib/macro_utils.clj#L234",
+ "http://github.com/richhickey/clojure-contrib/blob/132f0e501ba181f6491ef0150d0db5cbccae5c3b/src/clojure/contrib/macro_utils.clj#L233",
"wiki-url":
"http://richhickey.github.com/clojure-contrib//macro-utils-api.html#macro-utils/mexpand",
"namespace":"clojure.contrib.macro-utils",
@@ -3112,7 +3112,7 @@
"Like clojure.core/macroexpand, but takes into account symbol macros.",
"name":"mexpand"},
{"source-url":
- "http://github.com/richhickey/clojure-contrib/blob/4f2c7bb5cf6828eb710fd18b603828ab295d0fa5/src/clojure/contrib/macro_utils.clj#L226",
+ "http://github.com/richhickey/clojure-contrib/blob/132f0e501ba181f6491ef0150d0db5cbccae5c3b/src/clojure/contrib/macro_utils.clj#L225",
"wiki-url":
"http://richhickey.github.com/clojure-contrib//macro-utils-api.html#macro-utils/mexpand-1",
"namespace":"clojure.contrib.macro-utils",
@@ -3121,7 +3121,7 @@
"Like clojure.core/macroexpand-1, but takes into account symbol macros.",
"name":"mexpand-1"},
{"source-url":
- "http://github.com/richhickey/clojure-contrib/blob/4f2c7bb5cf6828eb710fd18b603828ab295d0fa5/src/clojure/contrib/macro_utils.clj#L242",
+ "http://github.com/richhickey/clojure-contrib/blob/132f0e501ba181f6491ef0150d0db5cbccae5c3b/src/clojure/contrib/macro_utils.clj#L241",
"wiki-url":
"http://richhickey.github.com/clojure-contrib//macro-utils-api.html#macro-utils/mexpand-all",
"namespace":"clojure.contrib.macro-utils",
@@ -3129,7 +3129,7 @@
"doc":"Perform a full recursive macro expansion of a form.",
"name":"mexpand-all"},
{"source-url":
- "http://github.com/richhickey/clojure-contrib/blob/4f2c7bb5cf6828eb710fd18b603828ab295d0fa5/src/clojure/contrib/macro_utils.clj#L190",
+ "http://github.com/richhickey/clojure-contrib/blob/132f0e501ba181f6491ef0150d0db5cbccae5c3b/src/clojure/contrib/macro_utils.clj#L189",
"wiki-url":
"http://richhickey.github.com/clojure-contrib//macro-utils-api.html#macro-utils/symbol-macrolet",
"namespace":"clojure.contrib.macro-utils",
@@ -3138,7 +3138,7 @@
"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":
- "http://github.com/richhickey/clojure-contrib/blob/4f2c7bb5cf6828eb710fd18b603828ab295d0fa5/src/clojure/contrib/macro_utils.clj#L209",
+ "http://github.com/richhickey/clojure-contrib/blob/132f0e501ba181f6491ef0150d0db5cbccae5c3b/src/clojure/contrib/macro_utils.clj#L208",
"wiki-url":
"http://richhickey.github.com/clojure-contrib//macro-utils-api.html#macro-utils/with-symbol-macros",
"namespace":"clojure.contrib.macro-utils",
@@ -3409,7 +3409,7 @@
"doc":"Write text (a string)",
"name":"write"},
{"source-url":
- "http://github.com/richhickey/clojure-contrib/blob/6823c51380b69ec12f641fbef09d395237931e40/src/clojure/contrib/monads.clj#L456",
+ "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#monads/call-cc",
"namespace":"clojure.contrib.monads",
@@ -3418,7 +3418,7 @@
"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/6823c51380b69ec12f641fbef09d395237931e40/src/clojure/contrib/monads.clj#L440",
+ "http://github.com/richhickey/clojure-contrib/blob/34fc5f2bc4dbae6b1b05b77cda98f56cc62e73b7/src/clojure/contrib/monads.clj#L440",
"wiki-url":
"http://richhickey.github.com/clojure-contrib//monads-api.html#monads/cont-m",
"namespace":"clojure.contrib.monads",
@@ -3426,7 +3426,7 @@
"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/6823c51380b69ec12f641fbef09d395237931e40/src/clojure/contrib/monads.clj#L51",
+ "http://github.com/richhickey/clojure-contrib/blob/34fc5f2bc4dbae6b1b05b77cda98f56cc62e73b7/src/clojure/contrib/monads.clj#L51",
"wiki-url":
"http://richhickey.github.com/clojure-contrib//monads-api.html#monads/defmonad",
"namespace":"clojure.contrib.monads",
@@ -3436,7 +3436,7 @@
"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/6823c51380b69ec12f641fbef09d395237931e40/src/clojure/contrib/monads.clj#L137",
+ "http://github.com/richhickey/clojure-contrib/blob/34fc5f2bc4dbae6b1b05b77cda98f56cc62e73b7/src/clojure/contrib/monads.clj#L137",
"wiki-url":
"http://richhickey.github.com/clojure-contrib//monads-api.html#monads/defmonadfn",
"namespace":"clojure.contrib.monads",
@@ -3447,7 +3447,7 @@
"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/6823c51380b69ec12f641fbef09d395237931e40/src/clojure/contrib/monads.clj#L114",
+ "http://github.com/richhickey/clojure-contrib/blob/34fc5f2bc4dbae6b1b05b77cda98f56cc62e73b7/src/clojure/contrib/monads.clj#L114",
"wiki-url":
"http://richhickey.github.com/clojure-contrib//monads-api.html#monads/domonad",
"namespace":"clojure.contrib.monads",
@@ -3456,7 +3456,7 @@
"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/6823c51380b69ec12f641fbef09d395237931e40/src/clojure/contrib/monads.clj#L359",
+ "http://github.com/richhickey/clojure-contrib/blob/34fc5f2bc4dbae6b1b05b77cda98f56cc62e73b7/src/clojure/contrib/monads.clj#L359",
"wiki-url":
"http://richhickey.github.com/clojure-contrib//monads-api.html#monads/fetch-state",
"namespace":"clojure.contrib.monads",
@@ -3465,7 +3465,7 @@
"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/6823c51380b69ec12f641fbef09d395237931e40/src/clojure/contrib/monads.clj#L365",
+ "http://github.com/richhickey/clojure-contrib/blob/34fc5f2bc4dbae6b1b05b77cda98f56cc62e73b7/src/clojure/contrib/monads.clj#L365",
"wiki-url":
"http://richhickey.github.com/clojure-contrib//monads-api.html#monads/fetch-val",
"namespace":"clojure.contrib.monads",
@@ -3474,7 +3474,7 @@
"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/6823c51380b69ec12f641fbef09d395237931e40/src/clojure/contrib/monads.clj#L286",
+ "http://github.com/richhickey/clojure-contrib/blob/34fc5f2bc4dbae6b1b05b77cda98f56cc62e73b7/src/clojure/contrib/monads.clj#L286",
"wiki-url":
"http://richhickey.github.com/clojure-contrib//monads-api.html#monads/identity-m",
"namespace":"clojure.contrib.monads",
@@ -3482,7 +3482,7 @@
"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/6823c51380b69ec12f641fbef09d395237931e40/src/clojure/contrib/monads.clj#L217",
+ "http://github.com/richhickey/clojure-contrib/blob/34fc5f2bc4dbae6b1b05b77cda98f56cc62e73b7/src/clojure/contrib/monads.clj#L217",
"wiki-url":
"http://richhickey.github.com/clojure-contrib//monads-api.html#monads/m-chain",
"namespace":"clojure.contrib.monads",
@@ -3490,7 +3490,7 @@
"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/6823c51380b69ec12f641fbef09d395237931e40/src/clojure/contrib/monads.clj#L195",
+ "http://github.com/richhickey/clojure-contrib/blob/34fc5f2bc4dbae6b1b05b77cda98f56cc62e73b7/src/clojure/contrib/monads.clj#L195",
"wiki-url":
"http://richhickey.github.com/clojure-contrib//monads-api.html#monads/m-fmap",
"namespace":"clojure.contrib.monads",
@@ -3498,7 +3498,7 @@
"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/6823c51380b69ec12f641fbef09d395237931e40/src/clojure/contrib/monads.clj#L189",
+ "http://github.com/richhickey/clojure-contrib/blob/34fc5f2bc4dbae6b1b05b77cda98f56cc62e73b7/src/clojure/contrib/monads.clj#L189",
"wiki-url":
"http://richhickey.github.com/clojure-contrib//monads-api.html#monads/m-join",
"namespace":"clojure.contrib.monads",
@@ -3506,7 +3506,7 @@
"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/6823c51380b69ec12f641fbef09d395237931e40/src/clojure/contrib/monads.clj#L180",
+ "http://github.com/richhickey/clojure-contrib/blob/34fc5f2bc4dbae6b1b05b77cda98f56cc62e73b7/src/clojure/contrib/monads.clj#L180",
"wiki-url":
"http://richhickey.github.com/clojure-contrib//monads-api.html#monads/m-lift",
"namespace":"clojure.contrib.monads",
@@ -3515,7 +3515,7 @@
"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/6823c51380b69ec12f641fbef09d395237931e40/src/clojure/contrib/monads.clj#L211",
+ "http://github.com/richhickey/clojure-contrib/blob/34fc5f2bc4dbae6b1b05b77cda98f56cc62e73b7/src/clojure/contrib/monads.clj#L211",
"wiki-url":
"http://richhickey.github.com/clojure-contrib//monads-api.html#monads/m-map",
"namespace":"clojure.contrib.monads",
@@ -3523,7 +3523,7 @@
"'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/6823c51380b69ec12f641fbef09d395237931e40/src/clojure/contrib/monads.clj#L228",
+ "http://github.com/richhickey/clojure-contrib/blob/34fc5f2bc4dbae6b1b05b77cda98f56cc62e73b7/src/clojure/contrib/monads.clj#L228",
"wiki-url":
"http://richhickey.github.com/clojure-contrib//monads-api.html#monads/m-reduce",
"namespace":"clojure.contrib.monads",
@@ -3531,7 +3531,7 @@
"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/6823c51380b69ec12f641fbef09d395237931e40/src/clojure/contrib/monads.clj#L200",
+ "http://github.com/richhickey/clojure-contrib/blob/34fc5f2bc4dbae6b1b05b77cda98f56cc62e73b7/src/clojure/contrib/monads.clj#L200",
"wiki-url":
"http://richhickey.github.com/clojure-contrib//monads-api.html#monads/m-seq",
"namespace":"clojure.contrib.monads",
@@ -3539,7 +3539,7 @@
"'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/6823c51380b69ec12f641fbef09d395237931e40/src/clojure/contrib/monads.clj#L241",
+ "http://github.com/richhickey/clojure-contrib/blob/34fc5f2bc4dbae6b1b05b77cda98f56cc62e73b7/src/clojure/contrib/monads.clj#L241",
"wiki-url":
"http://richhickey.github.com/clojure-contrib//monads-api.html#monads/m-until",
"namespace":"clojure.contrib.monads",
@@ -3547,7 +3547,7 @@
"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/6823c51380b69ec12f641fbef09d395237931e40/src/clojure/contrib/monads.clj#L253",
+ "http://github.com/richhickey/clojure-contrib/blob/34fc5f2bc4dbae6b1b05b77cda98f56cc62e73b7/src/clojure/contrib/monads.clj#L253",
"wiki-url":
"http://richhickey.github.com/clojure-contrib//monads-api.html#monads/m-when",
"namespace":"clojure.contrib.monads",
@@ -3556,7 +3556,7 @@
"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/6823c51380b69ec12f641fbef09d395237931e40/src/clojure/contrib/monads.clj#L259",
+ "http://github.com/richhickey/clojure-contrib/blob/34fc5f2bc4dbae6b1b05b77cda98f56cc62e73b7/src/clojure/contrib/monads.clj#L259",
"wiki-url":
"http://richhickey.github.com/clojure-contrib//monads-api.html#monads/m-when-not",
"namespace":"clojure.contrib.monads",
@@ -3565,7 +3565,7 @@
"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/6823c51380b69ec12f641fbef09d395237931e40/src/clojure/contrib/monads.clj#L296",
+ "http://github.com/richhickey/clojure-contrib/blob/34fc5f2bc4dbae6b1b05b77cda98f56cc62e73b7/src/clojure/contrib/monads.clj#L296",
"wiki-url":
"http://richhickey.github.com/clojure-contrib//monads-api.html#monads/maybe-m",
"namespace":"clojure.contrib.monads",
@@ -3573,7 +3573,7 @@
"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/6823c51380b69ec12f641fbef09d395237931e40/src/clojure/contrib/monads.clj#L496",
+ "http://github.com/richhickey/clojure-contrib/blob/34fc5f2bc4dbae6b1b05b77cda98f56cc62e73b7/src/clojure/contrib/monads.clj#L496",
"wiki-url":
"http://richhickey.github.com/clojure-contrib//monads-api.html#monads/maybe-t",
"namespace":"clojure.contrib.monads",
@@ -3583,7 +3583,7 @@
"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/6823c51380b69ec12f641fbef09d395237931e40/src/clojure/contrib/monads.clj#L36",
+ "http://github.com/richhickey/clojure-contrib/blob/34fc5f2bc4dbae6b1b05b77cda98f56cc62e73b7/src/clojure/contrib/monads.clj#L36",
"wiki-url":
"http://richhickey.github.com/clojure-contrib//monads-api.html#monads/monad",
"namespace":"clojure.contrib.monads",
@@ -3592,7 +3592,7 @@
"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/6823c51380b69ec12f641fbef09d395237931e40/src/clojure/contrib/monads.clj#L474",
+ "http://github.com/richhickey/clojure-contrib/blob/34fc5f2bc4dbae6b1b05b77cda98f56cc62e73b7/src/clojure/contrib/monads.clj#L474",
"wiki-url":
"http://richhickey.github.com/clojure-contrib//monads-api.html#monads/monad-transformer",
"namespace":"clojure.contrib.monads",
@@ -3601,7 +3601,7 @@
"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/6823c51380b69ec12f641fbef09d395237931e40/src/clojure/contrib/monads.clj#L451",
+ "http://github.com/richhickey/clojure-contrib/blob/34fc5f2bc4dbae6b1b05b77cda98f56cc62e73b7/src/clojure/contrib/monads.clj#L451",
"wiki-url":
"http://richhickey.github.com/clojure-contrib//monads-api.html#monads/run-cont",
"namespace":"clojure.contrib.monads",
@@ -3610,7 +3610,7 @@
"Execute the computation c in the cont monad and return its result.",
"name":"run-cont"},
{"source-url":
- "http://github.com/richhickey/clojure-contrib/blob/6823c51380b69ec12f641fbef09d395237931e40/src/clojure/contrib/monads.clj#L309",
+ "http://github.com/richhickey/clojure-contrib/blob/34fc5f2bc4dbae6b1b05b77cda98f56cc62e73b7/src/clojure/contrib/monads.clj#L309",
"wiki-url":
"http://richhickey.github.com/clojure-contrib//monads-api.html#monads/sequence-m",
"namespace":"clojure.contrib.monads",
@@ -3618,7 +3618,7 @@
"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/6823c51380b69ec12f641fbef09d395237931e40/src/clojure/contrib/monads.clj#L528",
+ "http://github.com/richhickey/clojure-contrib/blob/34fc5f2bc4dbae6b1b05b77cda98f56cc62e73b7/src/clojure/contrib/monads.clj#L528",
"wiki-url":
"http://richhickey.github.com/clojure-contrib//monads-api.html#monads/sequence-t",
"namespace":"clojure.contrib.monads",
@@ -3627,7 +3627,7 @@
"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/6823c51380b69ec12f641fbef09d395237931e40/src/clojure/contrib/monads.clj#L323",
+ "http://github.com/richhickey/clojure-contrib/blob/34fc5f2bc4dbae6b1b05b77cda98f56cc62e73b7/src/clojure/contrib/monads.clj#L323",
"wiki-url":
"http://richhickey.github.com/clojure-contrib//monads-api.html#monads/set-m",
"namespace":"clojure.contrib.monads",
@@ -3635,7 +3635,7 @@
"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/6823c51380b69ec12f641fbef09d395237931e40/src/clojure/contrib/monads.clj#L353",
+ "http://github.com/richhickey/clojure-contrib/blob/34fc5f2bc4dbae6b1b05b77cda98f56cc62e73b7/src/clojure/contrib/monads.clj#L353",
"wiki-url":
"http://richhickey.github.com/clojure-contrib//monads-api.html#monads/set-state",
"namespace":"clojure.contrib.monads",
@@ -3644,7 +3644,7 @@
"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/6823c51380b69ec12f641fbef09d395237931e40/src/clojure/contrib/monads.clj#L383",
+ "http://github.com/richhickey/clojure-contrib/blob/34fc5f2bc4dbae6b1b05b77cda98f56cc62e73b7/src/clojure/contrib/monads.clj#L383",
"wiki-url":
"http://richhickey.github.com/clojure-contrib//monads-api.html#monads/set-val",
"namespace":"clojure.contrib.monads",
@@ -3653,15 +3653,15 @@
"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/6823c51380b69ec12f641fbef09d395237931e40/src/clojure/contrib/monads.clj#L336",
+ "http://github.com/richhickey/clojure-contrib/blob/34fc5f2bc4dbae6b1b05b77cda98f56cc62e73b7/src/clojure/contrib/monads.clj#L336",
"wiki-url":
"http://richhickey.github.com/clojure-contrib//monads-api.html#monads/state-m",
"namespace":"clojure.contrib.monads",
"doc":
- "Monad describing stateful computations. The monadic values have the\nstructure (fn [old-state] (list result new-state)).",
+ "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/6823c51380b69ec12f641fbef09d395237931e40/src/clojure/contrib/monads.clj#L401",
+ "http://github.com/richhickey/clojure-contrib/blob/34fc5f2bc4dbae6b1b05b77cda98f56cc62e73b7/src/clojure/contrib/monads.clj#L401",
"wiki-url":
"http://richhickey.github.com/clojure-contrib//monads-api.html#monads/state-m-until",
"namespace":"clojure.contrib.monads",
@@ -3670,7 +3670,7 @@
"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/6823c51380b69ec12f641fbef09d395237931e40/src/clojure/contrib/monads.clj#L555",
+ "http://github.com/richhickey/clojure-contrib/blob/34fc5f2bc4dbae6b1b05b77cda98f56cc62e73b7/src/clojure/contrib/monads.clj#L555",
"wiki-url":
"http://richhickey.github.com/clojure-contrib//monads-api.html#monads/state-t",
"namespace":"clojure.contrib.monads",
@@ -3679,7 +3679,7 @@
"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/6823c51380b69ec12f641fbef09d395237931e40/src/clojure/contrib/monads.clj#L347",
+ "http://github.com/richhickey/clojure-contrib/blob/34fc5f2bc4dbae6b1b05b77cda98f56cc62e73b7/src/clojure/contrib/monads.clj#L347",
"wiki-url":
"http://richhickey.github.com/clojure-contrib//monads-api.html#monads/update-state",
"namespace":"clojure.contrib.monads",
@@ -3688,7 +3688,7 @@
"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/6823c51380b69ec12f641fbef09d395237931e40/src/clojure/contrib/monads.clj#L373",
+ "http://github.com/richhickey/clojure-contrib/blob/34fc5f2bc4dbae6b1b05b77cda98f56cc62e73b7/src/clojure/contrib/monads.clj#L373",
"wiki-url":
"http://richhickey.github.com/clojure-contrib//monads-api.html#monads/update-val",
"namespace":"clojure.contrib.monads",
@@ -3697,7 +3697,7 @@
"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/6823c51380b69ec12f641fbef09d395237931e40/src/clojure/contrib/monads.clj#L102",
+ "http://github.com/richhickey/clojure-contrib/blob/34fc5f2bc4dbae6b1b05b77cda98f56cc62e73b7/src/clojure/contrib/monads.clj#L102",
"wiki-url":
"http://richhickey.github.com/clojure-contrib//monads-api.html#monads/with-monad",
"namespace":"clojure.contrib.monads",
@@ -3706,7 +3706,7 @@
"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/6823c51380b69ec12f641fbef09d395237931e40/src/clojure/contrib/monads.clj#L389",
+ "http://github.com/richhickey/clojure-contrib/blob/34fc5f2bc4dbae6b1b05b77cda98f56cc62e73b7/src/clojure/contrib/monads.clj#L389",
"wiki-url":
"http://richhickey.github.com/clojure-contrib//monads-api.html#monads/with-state-field",
"namespace":"clojure.contrib.monads",
@@ -3715,7 +3715,7 @@
"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/6823c51380b69ec12f641fbef09d395237931e40/src/clojure/contrib/monads.clj#L413",
+ "http://github.com/richhickey/clojure-contrib/blob/34fc5f2bc4dbae6b1b05b77cda98f56cc62e73b7/src/clojure/contrib/monads.clj#L413",
"wiki-url":
"http://richhickey.github.com/clojure-contrib//monads-api.html#monads/writer-m",
"namespace":"clojure.contrib.monads",
diff --git a/macro-utils-api.html b/macro-utils-api.html
index b66afe95..fada7651 100644
--- a/macro-utils-api.html
+++ b/macro-utils-api.html
@@ -107,7 +107,7 @@ macros can be used only inside a with-symbol-macros form.</pre>
<pre id="var-docstr">Define a symbol macro. Because symbol macros are not part of
Clojure's built-in macro expansion system, they can be used only
inside a with-symbol-macros form.</pre>
- <a href="http://github.com/richhickey/clojure-contrib/blob/4f2c7bb5cf6828eb710fd18b603828ab295d0fa5/src/clojure/contrib/macro_utils.clj#L200" id="var-source">Source</a>
+ <a href="http://github.com/richhickey/clojure-contrib/blob/132f0e501ba181f6491ef0150d0db5cbccae5c3b/src/clojure/contrib/macro_utils.clj#L199" id="var-source">Source</a>
</div><div id="var-entry">
<br />
<hr />
@@ -118,7 +118,7 @@ inside a with-symbol-macros form.</pre>
<pre id="var-docstr">Define a macro that expands into forms after replacing the
symbols in params (a vector) by the corresponding parameters
given in the macro call.</pre>
- <a href="http://github.com/richhickey/clojure-contrib/blob/4f2c7bb5cf6828eb710fd18b603828ab295d0fa5/src/clojure/contrib/macro_utils.clj#L214" id="var-source">Source</a>
+ <a href="http://github.com/richhickey/clojure-contrib/blob/132f0e501ba181f6491ef0150d0db5cbccae5c3b/src/clojure/contrib/macro_utils.clj#L213" id="var-source">Source</a>
</div><div id="var-entry">
<br />
<hr />
@@ -128,7 +128,7 @@ given in the macro call.</pre>
</pre>
<pre id="var-docstr">Define local macros that are used in the expansion of exprs. The
syntax is the same as for letfn forms.</pre>
- <a href="http://github.com/richhickey/clojure-contrib/blob/4f2c7bb5cf6828eb710fd18b603828ab295d0fa5/src/clojure/contrib/macro_utils.clj#L179" id="var-source">Source</a>
+ <a href="http://github.com/richhickey/clojure-contrib/blob/132f0e501ba181f6491ef0150d0db5cbccae5c3b/src/clojure/contrib/macro_utils.clj#L178" id="var-source">Source</a>
</div><div id="var-entry">
<br />
<hr />
@@ -137,7 +137,7 @@ syntax is the same as for letfn forms.</pre>
<pre id="var-usage">Usage: (mexpand form)
</pre>
<pre id="var-docstr">Like clojure.core/macroexpand, but takes into account symbol macros.</pre>
- <a href="http://github.com/richhickey/clojure-contrib/blob/4f2c7bb5cf6828eb710fd18b603828ab295d0fa5/src/clojure/contrib/macro_utils.clj#L234" id="var-source">Source</a>
+ <a href="http://github.com/richhickey/clojure-contrib/blob/132f0e501ba181f6491ef0150d0db5cbccae5c3b/src/clojure/contrib/macro_utils.clj#L233" id="var-source">Source</a>
</div><div id="var-entry">
<br />
<hr />
@@ -146,7 +146,7 @@ syntax is the same as for letfn forms.</pre>
<pre id="var-usage">Usage: (mexpand-1 form)
</pre>
<pre id="var-docstr">Like clojure.core/macroexpand-1, but takes into account symbol macros.</pre>
- <a href="http://github.com/richhickey/clojure-contrib/blob/4f2c7bb5cf6828eb710fd18b603828ab295d0fa5/src/clojure/contrib/macro_utils.clj#L226" id="var-source">Source</a>
+ <a href="http://github.com/richhickey/clojure-contrib/blob/132f0e501ba181f6491ef0150d0db5cbccae5c3b/src/clojure/contrib/macro_utils.clj#L225" id="var-source">Source</a>
</div><div id="var-entry">
<br />
<hr />
@@ -155,7 +155,7 @@ syntax is the same as for letfn forms.</pre>
<pre id="var-usage">Usage: (mexpand-all form)
</pre>
<pre id="var-docstr">Perform a full recursive macro expansion of a form.</pre>
- <a href="http://github.com/richhickey/clojure-contrib/blob/4f2c7bb5cf6828eb710fd18b603828ab295d0fa5/src/clojure/contrib/macro_utils.clj#L242" id="var-source">Source</a>
+ <a href="http://github.com/richhickey/clojure-contrib/blob/132f0e501ba181f6491ef0150d0db5cbccae5c3b/src/clojure/contrib/macro_utils.clj#L241" id="var-source">Source</a>
</div><div id="var-entry">
<br />
<hr />
@@ -165,7 +165,7 @@ syntax is the same as for letfn forms.</pre>
</pre>
<pre id="var-docstr">Define local symbol macros that are used in the expansion of exprs.
The syntax is the same as for let forms.</pre>
- <a href="http://github.com/richhickey/clojure-contrib/blob/4f2c7bb5cf6828eb710fd18b603828ab295d0fa5/src/clojure/contrib/macro_utils.clj#L190" id="var-source">Source</a>
+ <a href="http://github.com/richhickey/clojure-contrib/blob/132f0e501ba181f6491ef0150d0db5cbccae5c3b/src/clojure/contrib/macro_utils.clj#L189" id="var-source">Source</a>
</div><div id="var-entry">
<br />
<hr />
@@ -174,7 +174,7 @@ The syntax is the same as for let forms.</pre>
<pre id="var-usage">Usage: (with-symbol-macros &amp; exprs)
</pre>
<pre id="var-docstr">Fully expand exprs, including symbol macros.</pre>
- <a href="http://github.com/richhickey/clojure-contrib/blob/4f2c7bb5cf6828eb710fd18b603828ab295d0fa5/src/clojure/contrib/macro_utils.clj#L209" id="var-source">Source</a>
+ <a href="http://github.com/richhickey/clojure-contrib/blob/132f0e501ba181f6491ef0150d0db5cbccae5c3b/src/clojure/contrib/macro_utils.clj#L208" id="var-source">Source</a>
</div>
diff --git a/monads-api.html b/monads-api.html
index 12e98f50..0a22aa26 100644
--- a/monads-api.html
+++ b/monads-api.html
@@ -169,7 +169,7 @@ functions.</pre>
argument representing the current continuation. The function f should
return a continuation (which becomes the return value of call-cc),
or call the passed-in current continuation to terminate.</pre>
- <a href="http://github.com/richhickey/clojure-contrib/blob/6823c51380b69ec12f641fbef09d395237931e40/src/clojure/contrib/monads.clj#L456" id="var-source">Source</a>
+ <a href="http://github.com/richhickey/clojure-contrib/blob/34fc5f2bc4dbae6b1b05b77cda98f56cc62e73b7/src/clojure/contrib/monads.clj#L456" id="var-source">Source</a>
</div><div id="var-entry">
<br />
<hr />
@@ -179,7 +179,7 @@ or call the passed-in current continuation to terminate.</pre>
<pre id="var-docstr">Monad describing computations in continuation-passing style. The monadic
values are functions that are called with a single argument representing
the continuation of the computation, to which they pass their result.</pre>
- <a href="http://github.com/richhickey/clojure-contrib/blob/6823c51380b69ec12f641fbef09d395237931e40/src/clojure/contrib/monads.clj#L440" id="var-source">Source</a>
+ <a href="http://github.com/richhickey/clojure-contrib/blob/34fc5f2bc4dbae6b1b05b77cda98f56cc62e73b7/src/clojure/contrib/monads.clj#L440" id="var-source">Source</a>
</div><div id="var-entry">
<br />
<hr />
@@ -191,7 +191,7 @@ the continuation of the computation, to which they pass their result.</pre>
<pre id="var-docstr">Define a named monad by defining the monad operations. The definitions
are written like bindings to the monad operations m-bind and
m-result (required) and m-zero and m-plus (optional).</pre>
- <a href="http://github.com/richhickey/clojure-contrib/blob/6823c51380b69ec12f641fbef09d395237931e40/src/clojure/contrib/monads.clj#L51" id="var-source">Source</a>
+ <a href="http://github.com/richhickey/clojure-contrib/blob/34fc5f2bc4dbae6b1b05b77cda98f56cc62e73b7/src/clojure/contrib/monads.clj#L51" id="var-source">Source</a>
</div><div id="var-entry">
<br />
<hr />
@@ -202,7 +202,7 @@ m-result (required) and m-zero and m-plus (optional).</pre>
</pre>
<pre id="var-docstr">Like defn, but for functions that use monad operations and are used inside
a with-monad block.</pre>
- <a href="http://github.com/richhickey/clojure-contrib/blob/6823c51380b69ec12f641fbef09d395237931e40/src/clojure/contrib/monads.clj#L137" id="var-source">Source</a>
+ <a href="http://github.com/richhickey/clojure-contrib/blob/34fc5f2bc4dbae6b1b05b77cda98f56cc62e73b7/src/clojure/contrib/monads.clj#L137" id="var-source">Source</a>
</div><div id="var-entry">
<br />
<hr />
@@ -221,7 +221,7 @@ contain the binding variables from all previous steps.
A clause of the form :let [binding-form expr ...], where the bindings
are given as a vector as for the use in let, establishes additional
bindings that can be used in the following steps.</pre>
- <a href="http://github.com/richhickey/clojure-contrib/blob/6823c51380b69ec12f641fbef09d395237931e40/src/clojure/contrib/monads.clj#L114" id="var-source">Source</a>
+ <a href="http://github.com/richhickey/clojure-contrib/blob/34fc5f2bc4dbae6b1b05b77cda98f56cc62e73b7/src/clojure/contrib/monads.clj#L114" id="var-source">Source</a>
</div><div id="var-entry">
<br />
<hr />
@@ -231,7 +231,7 @@ bindings that can be used in the following steps.</pre>
</pre>
<pre id="var-docstr">Return a state-monad function that returns the current state and does not
modify it.</pre>
- <a href="http://github.com/richhickey/clojure-contrib/blob/6823c51380b69ec12f641fbef09d395237931e40/src/clojure/contrib/monads.clj#L359" id="var-source">Source</a>
+ <a href="http://github.com/richhickey/clojure-contrib/blob/34fc5f2bc4dbae6b1b05b77cda98f56cc62e73b7/src/clojure/contrib/monads.clj#L359" id="var-source">Source</a>
</div><div id="var-entry">
<br />
<hr />
@@ -241,7 +241,7 @@ modify it.</pre>
</pre>
<pre id="var-docstr">Return a state-monad function that assumes the state to be a map and
returns the value corresponding to the given key. The state is not modified.</pre>
- <a href="http://github.com/richhickey/clojure-contrib/blob/6823c51380b69ec12f641fbef09d395237931e40/src/clojure/contrib/monads.clj#L365" id="var-source">Source</a>
+ <a href="http://github.com/richhickey/clojure-contrib/blob/34fc5f2bc4dbae6b1b05b77cda98f56cc62e73b7/src/clojure/contrib/monads.clj#L365" id="var-source">Source</a>
</div><div id="var-entry">
<br />
<hr />
@@ -251,7 +251,7 @@ returns the value corresponding to the given key. The state is not modified.</pr
<pre id="var-docstr">Monad describing plain computations. This monad does in fact nothing
at all. It is useful for testing, for combination with monad
transformers, and for code that is parameterized with a monad.</pre>
- <a href="http://github.com/richhickey/clojure-contrib/blob/6823c51380b69ec12f641fbef09d395237931e40/src/clojure/contrib/monads.clj#L286" id="var-source">Source</a>
+ <a href="http://github.com/richhickey/clojure-contrib/blob/34fc5f2bc4dbae6b1b05b77cda98f56cc62e73b7/src/clojure/contrib/monads.clj#L286" id="var-source">Source</a>
</div><div id="var-entry">
<br />
<hr />
@@ -262,7 +262,7 @@ transformers, and for code that is parameterized with a monad.</pre>
of one parameter. Each step is called with the result of the previous
step as its argument. (m-chain (step1 step2)) is equivalent to
(fn [x] (domonad [r1 (step1 x) r2 (step2 r1)] r2)).</pre>
- <a href="http://github.com/richhickey/clojure-contrib/blob/6823c51380b69ec12f641fbef09d395237931e40/src/clojure/contrib/monads.clj#L217" id="var-source">Source</a>
+ <a href="http://github.com/richhickey/clojure-contrib/blob/34fc5f2bc4dbae6b1b05b77cda98f56cc62e73b7/src/clojure/contrib/monads.clj#L217" id="var-source">Source</a>
</div><div id="var-entry">
<br />
<hr />
@@ -270,7 +270,7 @@ step as its argument. (m-chain (step1 step2)) is equivalent to
<span id="var-type">var</span><br />
<pre id="var-usage"></pre>
<pre id="var-docstr">Bind the monadic value m to the function returning (f x) for argument x</pre>
- <a href="http://github.com/richhickey/clojure-contrib/blob/6823c51380b69ec12f641fbef09d395237931e40/src/clojure/contrib/monads.clj#L195" id="var-source">Source</a>
+ <a href="http://github.com/richhickey/clojure-contrib/blob/34fc5f2bc4dbae6b1b05b77cda98f56cc62e73b7/src/clojure/contrib/monads.clj#L195" id="var-source">Source</a>
</div><div id="var-entry">
<br />
<hr />
@@ -279,7 +279,7 @@ step as its argument. (m-chain (step1 step2)) is equivalent to
<pre id="var-usage"></pre>
<pre id="var-docstr">Converts a monadic value containing a monadic value into a 'simple'
monadic value.</pre>
- <a href="http://github.com/richhickey/clojure-contrib/blob/6823c51380b69ec12f641fbef09d395237931e40/src/clojure/contrib/monads.clj#L189" id="var-source">Source</a>
+ <a href="http://github.com/richhickey/clojure-contrib/blob/34fc5f2bc4dbae6b1b05b77cda98f56cc62e73b7/src/clojure/contrib/monads.clj#L189" id="var-source">Source</a>
</div><div id="var-entry">
<br />
<hr />
@@ -289,7 +289,7 @@ monadic value.</pre>
</pre>
<pre id="var-docstr">Converts a function f of n arguments into a function of n
monadic arguments returning a monadic value.</pre>
- <a href="http://github.com/richhickey/clojure-contrib/blob/6823c51380b69ec12f641fbef09d395237931e40/src/clojure/contrib/monads.clj#L180" id="var-source">Source</a>
+ <a href="http://github.com/richhickey/clojure-contrib/blob/34fc5f2bc4dbae6b1b05b77cda98f56cc62e73b7/src/clojure/contrib/monads.clj#L180" id="var-source">Source</a>
</div><div id="var-entry">
<br />
<hr />
@@ -298,7 +298,7 @@ monadic arguments returning a monadic value.</pre>
<pre id="var-usage"></pre>
<pre id="var-docstr">'Executes' the sequence of monadic values resulting from mapping
f onto the values xs. f must return a monadic value.</pre>
- <a href="http://github.com/richhickey/clojure-contrib/blob/6823c51380b69ec12f641fbef09d395237931e40/src/clojure/contrib/monads.clj#L211" id="var-source">Source</a>
+ <a href="http://github.com/richhickey/clojure-contrib/blob/34fc5f2bc4dbae6b1b05b77cda98f56cc62e73b7/src/clojure/contrib/monads.clj#L211" id="var-source">Source</a>
</div><div id="var-entry">
<br />
<hr />
@@ -307,7 +307,7 @@ f onto the values xs. f must return a monadic value.</pre>
<pre id="var-usage"></pre>
<pre id="var-docstr">Return the reduction of (m-lift 2 f) over the list of monadic values mvs
with initial value (m-result val).</pre>
- <a href="http://github.com/richhickey/clojure-contrib/blob/6823c51380b69ec12f641fbef09d395237931e40/src/clojure/contrib/monads.clj#L228" id="var-source">Source</a>
+ <a href="http://github.com/richhickey/clojure-contrib/blob/34fc5f2bc4dbae6b1b05b77cda98f56cc62e73b7/src/clojure/contrib/monads.clj#L228" id="var-source">Source</a>
</div><div id="var-entry">
<br />
<hr />
@@ -316,7 +316,7 @@ with initial value (m-result val).</pre>
<pre id="var-usage"></pre>
<pre id="var-docstr">'Executes' the monadic values in ms and returns a sequence of the
basic values contained in them.</pre>
- <a href="http://github.com/richhickey/clojure-contrib/blob/6823c51380b69ec12f641fbef09d395237931e40/src/clojure/contrib/monads.clj#L200" id="var-source">Source</a>
+ <a href="http://github.com/richhickey/clojure-contrib/blob/34fc5f2bc4dbae6b1b05b77cda98f56cc62e73b7/src/clojure/contrib/monads.clj#L200" id="var-source">Source</a>
</div><div id="var-entry">
<br />
<hr />
@@ -326,7 +326,7 @@ basic values contained in them.</pre>
<pre id="var-docstr">While (p x) is false, replace x by the value returned by the
monadic computation (f x). Return (m-result x) for the first
x for which (p x) is true.</pre>
- <a href="http://github.com/richhickey/clojure-contrib/blob/6823c51380b69ec12f641fbef09d395237931e40/src/clojure/contrib/monads.clj#L241" id="var-source">Source</a>
+ <a href="http://github.com/richhickey/clojure-contrib/blob/34fc5f2bc4dbae6b1b05b77cda98f56cc62e73b7/src/clojure/contrib/monads.clj#L241" id="var-source">Source</a>
</div><div id="var-entry">
<br />
<hr />
@@ -336,7 +336,7 @@ x for which (p x) is true.</pre>
</pre>
<pre id="var-docstr">If test is logical true, return monadic value m-expr, else return
(m-result nil).</pre>
- <a href="http://github.com/richhickey/clojure-contrib/blob/6823c51380b69ec12f641fbef09d395237931e40/src/clojure/contrib/monads.clj#L253" id="var-source">Source</a>
+ <a href="http://github.com/richhickey/clojure-contrib/blob/34fc5f2bc4dbae6b1b05b77cda98f56cc62e73b7/src/clojure/contrib/monads.clj#L253" id="var-source">Source</a>
</div><div id="var-entry">
<br />
<hr />
@@ -346,7 +346,7 @@ x for which (p x) is true.</pre>
</pre>
<pre id="var-docstr">If test if logical false, return monadic value m-expr, else return
(m-result nil).</pre>
- <a href="http://github.com/richhickey/clojure-contrib/blob/6823c51380b69ec12f641fbef09d395237931e40/src/clojure/contrib/monads.clj#L259" id="var-source">Source</a>
+ <a href="http://github.com/richhickey/clojure-contrib/blob/34fc5f2bc4dbae6b1b05b77cda98f56cc62e73b7/src/clojure/contrib/monads.clj#L259" id="var-source">Source</a>
</div><div id="var-entry">
<br />
<hr />
@@ -356,7 +356,7 @@ x for which (p x) is true.</pre>
<pre id="var-docstr">Monad describing computations with possible failures. Failure is
represented by nil, any other value is considered valid. As soon as
a step returns nil, the whole computation will yield nil as well.</pre>
- <a href="http://github.com/richhickey/clojure-contrib/blob/6823c51380b69ec12f641fbef09d395237931e40/src/clojure/contrib/monads.clj#L296" id="var-source">Source</a>
+ <a href="http://github.com/richhickey/clojure-contrib/blob/34fc5f2bc4dbae6b1b05b77cda98f56cc62e73b7/src/clojure/contrib/monads.clj#L296" id="var-source">Source</a>
</div><div id="var-entry">
<br />
<hr />
@@ -373,7 +373,7 @@ from the base monad (use :m-plus-from-base) or adopt maybe-like
behaviour (use :m-plus-from-transformer). The default is :m-plus-from-base
if the base monad m has a definition for m-plus, and
:m-plus-from-transformer otherwise.</pre>
- <a href="http://github.com/richhickey/clojure-contrib/blob/6823c51380b69ec12f641fbef09d395237931e40/src/clojure/contrib/monads.clj#L496" id="var-source">Source</a>
+ <a href="http://github.com/richhickey/clojure-contrib/blob/34fc5f2bc4dbae6b1b05b77cda98f56cc62e73b7/src/clojure/contrib/monads.clj#L496" id="var-source">Source</a>
</div><div id="var-entry">
<br />
<hr />
@@ -384,7 +384,7 @@ if the base monad m has a definition for m-plus, and
<pre id="var-docstr">Define a monad by defining the monad operations. The definitions
are written like bindings to the monad operations m-bind and
m-result (required) and m-zero and m-plus (optional).</pre>
- <a href="http://github.com/richhickey/clojure-contrib/blob/6823c51380b69ec12f641fbef09d395237931e40/src/clojure/contrib/monads.clj#L36" id="var-source">Source</a>
+ <a href="http://github.com/richhickey/clojure-contrib/blob/34fc5f2bc4dbae6b1b05b77cda98f56cc62e73b7/src/clojure/contrib/monads.clj#L36" id="var-source">Source</a>
</div><div id="var-entry">
<br />
<hr />
@@ -395,7 +395,7 @@ m-result (required) and m-zero and m-plus (optional).</pre>
<pre id="var-docstr">Define a monad transforer in terms of the monad operations and the base
monad. The argument which-m-plus chooses if m-zero and m-plus are taken
from the base monad or from the transformer.</pre>
- <a href="http://github.com/richhickey/clojure-contrib/blob/6823c51380b69ec12f641fbef09d395237931e40/src/clojure/contrib/monads.clj#L474" id="var-source">Source</a>
+ <a href="http://github.com/richhickey/clojure-contrib/blob/34fc5f2bc4dbae6b1b05b77cda98f56cc62e73b7/src/clojure/contrib/monads.clj#L474" id="var-source">Source</a>
</div><div id="var-entry">
<br />
<hr />
@@ -404,7 +404,7 @@ from the base monad or from the transformer.</pre>
<pre id="var-usage">Usage: (run-cont c)
</pre>
<pre id="var-docstr">Execute the computation c in the cont monad and return its result.</pre>
- <a href="http://github.com/richhickey/clojure-contrib/blob/6823c51380b69ec12f641fbef09d395237931e40/src/clojure/contrib/monads.clj#L451" id="var-source">Source</a>
+ <a href="http://github.com/richhickey/clojure-contrib/blob/34fc5f2bc4dbae6b1b05b77cda98f56cc62e73b7/src/clojure/contrib/monads.clj#L451" id="var-source">Source</a>
</div><div id="var-entry">
<br />
<hr />
@@ -414,7 +414,7 @@ from the base monad or from the transformer.</pre>
<pre id="var-docstr">Monad describing multi-valued computations, i.e. computations
that can yield multiple values. Any object implementing the seq
protocol can be used as a monadic value.</pre>
- <a href="http://github.com/richhickey/clojure-contrib/blob/6823c51380b69ec12f641fbef09d395237931e40/src/clojure/contrib/monads.clj#L309" id="var-source">Source</a>
+ <a href="http://github.com/richhickey/clojure-contrib/blob/34fc5f2bc4dbae6b1b05b77cda98f56cc62e73b7/src/clojure/contrib/monads.clj#L309" id="var-source">Source</a>
</div><div id="var-entry">
<br />
<hr />
@@ -430,7 +430,7 @@ if m-zero and m-plus are inherited from the base monad
behaviour (use :m-plus-from-transformer). The default is :m-plus-from-base
if the base monad m has a definition for m-plus, and
:m-plus-from-transformer otherwise.</pre>
- <a href="http://github.com/richhickey/clojure-contrib/blob/6823c51380b69ec12f641fbef09d395237931e40/src/clojure/contrib/monads.clj#L528" id="var-source">Source</a>
+ <a href="http://github.com/richhickey/clojure-contrib/blob/34fc5f2bc4dbae6b1b05b77cda98f56cc62e73b7/src/clojure/contrib/monads.clj#L528" id="var-source">Source</a>
</div><div id="var-entry">
<br />
<hr />
@@ -439,7 +439,7 @@ if the base monad m has a definition for m-plus, and
<pre id="var-usage"></pre>
<pre id="var-docstr">Monad describing multi-valued computations, like sequence-m,
but returning sets of results instead of sequences of results.</pre>
- <a href="http://github.com/richhickey/clojure-contrib/blob/6823c51380b69ec12f641fbef09d395237931e40/src/clojure/contrib/monads.clj#L323" id="var-source">Source</a>
+ <a href="http://github.com/richhickey/clojure-contrib/blob/34fc5f2bc4dbae6b1b05b77cda98f56cc62e73b7/src/clojure/contrib/monads.clj#L323" id="var-source">Source</a>
</div><div id="var-entry">
<br />
<hr />
@@ -449,7 +449,7 @@ but returning sets of results instead of sequences of results.</pre>
</pre>
<pre id="var-docstr">Return a state-monad function that replaces the current state by s and
returns the previous state.</pre>
- <a href="http://github.com/richhickey/clojure-contrib/blob/6823c51380b69ec12f641fbef09d395237931e40/src/clojure/contrib/monads.clj#L353" id="var-source">Source</a>
+ <a href="http://github.com/richhickey/clojure-contrib/blob/34fc5f2bc4dbae6b1b05b77cda98f56cc62e73b7/src/clojure/contrib/monads.clj#L353" id="var-source">Source</a>
</div><div id="var-entry">
<br />
<hr />
@@ -459,7 +459,7 @@ returns the previous state.</pre>
</pre>
<pre id="var-docstr">Return a state-monad function that assumes the state to be a map and
replaces the value associated with key by val. The old value is returned.</pre>
- <a href="http://github.com/richhickey/clojure-contrib/blob/6823c51380b69ec12f641fbef09d395237931e40/src/clojure/contrib/monads.clj#L383" id="var-source">Source</a>
+ <a href="http://github.com/richhickey/clojure-contrib/blob/34fc5f2bc4dbae6b1b05b77cda98f56cc62e73b7/src/clojure/contrib/monads.clj#L383" id="var-source">Source</a>
</div><div id="var-entry">
<br />
<hr />
@@ -467,8 +467,8 @@ replaces the value associated with key by val. The old value is returned.</pre>
<span id="var-type">var</span><br />
<pre id="var-usage"></pre>
<pre id="var-docstr">Monad describing stateful computations. The monadic values have the
-structure (fn [old-state] (list result new-state)).</pre>
- <a href="http://github.com/richhickey/clojure-contrib/blob/6823c51380b69ec12f641fbef09d395237931e40/src/clojure/contrib/monads.clj#L336" id="var-source">Source</a>
+structure (fn [old-state] [result new-state]).</pre>
+ <a href="http://github.com/richhickey/clojure-contrib/blob/34fc5f2bc4dbae6b1b05b77cda98f56cc62e73b7/src/clojure/contrib/monads.clj#L336" id="var-source">Source</a>
</div><div id="var-entry">
<br />
<hr />
@@ -478,7 +478,7 @@ structure (fn [old-state] (list result new-state)).</pre>
</pre>
<pre id="var-docstr">An optimized implementation of m-until for the state monad that
replaces recursion by a loop.</pre>
- <a href="http://github.com/richhickey/clojure-contrib/blob/6823c51380b69ec12f641fbef09d395237931e40/src/clojure/contrib/monads.clj#L401" id="var-source">Source</a>
+ <a href="http://github.com/richhickey/clojure-contrib/blob/34fc5f2bc4dbae6b1b05b77cda98f56cc62e73b7/src/clojure/contrib/monads.clj#L401" id="var-source">Source</a>
</div><div id="var-entry">
<br />
<hr />
@@ -488,7 +488,7 @@ replaces recursion by a loop.</pre>
</pre>
<pre id="var-docstr">Monad transformer that transforms a monad m into a monad of stateful
computations that have the base monad type as their result.</pre>
- <a href="http://github.com/richhickey/clojure-contrib/blob/6823c51380b69ec12f641fbef09d395237931e40/src/clojure/contrib/monads.clj#L555" id="var-source">Source</a>
+ <a href="http://github.com/richhickey/clojure-contrib/blob/34fc5f2bc4dbae6b1b05b77cda98f56cc62e73b7/src/clojure/contrib/monads.clj#L555" id="var-source">Source</a>
</div><div id="var-entry">
<br />
<hr />
@@ -498,7 +498,7 @@ computations that have the base monad type as their result.</pre>
</pre>
<pre id="var-docstr">Return a state-monad function that replaces the current state by the
result of f applied to the current state and that returns the old state.</pre>
- <a href="http://github.com/richhickey/clojure-contrib/blob/6823c51380b69ec12f641fbef09d395237931e40/src/clojure/contrib/monads.clj#L347" id="var-source">Source</a>
+ <a href="http://github.com/richhickey/clojure-contrib/blob/34fc5f2bc4dbae6b1b05b77cda98f56cc62e73b7/src/clojure/contrib/monads.clj#L347" id="var-source">Source</a>
</div><div id="var-entry">
<br />
<hr />
@@ -509,7 +509,7 @@ result of f applied to the current state and that returns the old state.</pre>
<pre id="var-docstr">Return a state-monad function that assumes the state to be a map and
replaces the value associated with the given key by the return value
of f applied to the old value. The old value is returned.</pre>
- <a href="http://github.com/richhickey/clojure-contrib/blob/6823c51380b69ec12f641fbef09d395237931e40/src/clojure/contrib/monads.clj#L373" id="var-source">Source</a>
+ <a href="http://github.com/richhickey/clojure-contrib/blob/34fc5f2bc4dbae6b1b05b77cda98f56cc62e73b7/src/clojure/contrib/monads.clj#L373" id="var-source">Source</a>
</div><div id="var-entry">
<br />
<hr />
@@ -520,7 +520,7 @@ of f applied to the old value. The old value is returned.</pre>
<pre id="var-docstr">Evaluates an expression after replacing the keywords defining the
monad operations by the functions associated with these keywords
in the monad definition given by name.</pre>
- <a href="http://github.com/richhickey/clojure-contrib/blob/6823c51380b69ec12f641fbef09d395237931e40/src/clojure/contrib/monads.clj#L102" id="var-source">Source</a>
+ <a href="http://github.com/richhickey/clojure-contrib/blob/34fc5f2bc4dbae6b1b05b77cda98f56cc62e73b7/src/clojure/contrib/monads.clj#L102" id="var-source">Source</a>
</div><div id="var-entry">
<br />
<hr />
@@ -532,7 +532,7 @@ in the monad definition given by name.</pre>
runs statement (another state-monad function) on the state defined by
the map entry corresponding to key. The map entry is updated with the
new state returned by statement.</pre>
- <a href="http://github.com/richhickey/clojure-contrib/blob/6823c51380b69ec12f641fbef09d395237931e40/src/clojure/contrib/monads.clj#L389" id="var-source">Source</a>
+ <a href="http://github.com/richhickey/clojure-contrib/blob/34fc5f2bc4dbae6b1b05b77cda98f56cc62e73b7/src/clojure/contrib/monads.clj#L389" id="var-source">Source</a>
</div><div id="var-entry">
<br />
<hr />
@@ -544,7 +544,7 @@ new state returned by statement.</pre>
logging. The monadic values have the structure [value log]. Any of the
accumulators from clojure.contrib.accumulators can be used for storing the
log data. Its empty value is passed as a parameter.</pre>
- <a href="http://github.com/richhickey/clojure-contrib/blob/6823c51380b69ec12f641fbef09d395237931e40/src/clojure/contrib/monads.clj#L413" id="var-source">Source</a>
+ <a href="http://github.com/richhickey/clojure-contrib/blob/34fc5f2bc4dbae6b1b05b77cda98f56cc62e73b7/src/clojure/contrib/monads.clj#L413" id="var-source">Source</a>
</div>