Found 25 results for query ''.


add clojure.contrib.accumulators

Add item to the accumulator acc. The exact meaning of adding an an item depends on the type of the accumulator.

0 examples - http://clojuredocs.org/clojure_contrib/clojure.contrib.accumulators/add

sum clojure.contrib.accumulators

0 examples - http://clojuredocs.org/clojure_contrib/clojure.contrib.accumulators/sum

-?> clojure.contrib.core

Same as clojure.core/-> but returns nil as soon as the threaded value is nil itself (thus short-circuiting any pending computation). Examples : (-?> "foo" .toUpperCase (.substring 1)) returns "OO" (-?> nil .toUpperCase (.substring 1)) returns nil

1 example - http://clojuredocs.org/clojure_contrib/clojure.contrib.core/-_q>

.?. clojure.contrib.core

Same as clojure.core/.. but returns nil as soon as the threaded value is nil itself (thus short-circuiting any pending computation). Examples : (.?. "foo" .toUpperCase (.substring 1)) returns "OO" (.?. nil .toUpperCase (.substring 1)) returns nil

0 examples - http://clojuredocs.org/clojure_contrib/clojure.contrib.core/._q.

-?>> clojure.contrib.core

Same as clojure.core/->> but returns nil as soon as the threaded value is nil itself (thus short-circuiting any pending computation). Examples : (-?>> (range 5) (map inc)) returns (1 2 3 4 5) (-?>> [] seq (map inc)) returns nil

0 examples - http://clojuredocs.org/clojure_contrib/clojure.contrib.core/-_q>>

join clojure.contrib.string

Returns a string of all elements in coll, separated by separator. Like Perl's join.

1 example - http://clojuredocs.org/clojure_contrib/clojure.contrib.string/join

real clojure.contrib.complex-numbers

0 examples - http://clojuredocs.org/clojure_contrib/clojure.contrib.complex-numbers/real

cell clojure.contrib.dataflow

Build a standard cell, like this: (cell fred (* ?mary ?joe)) Which creates a cell named fred that is the product of a cell mary and cell joe Or: (cell joe (apply * ?*sally)) Which creates a cell that applies * to the collection of all cells named sally Or: (cell :source fred 0) Which builds a source cell fred with initial value 0 Or: (cell :validator (when (< ?fred ?sally) (throwf "%s must be greater than %s" ?fred ?sally)) Which will perform the validation

0 examples - http://clojuredocs.org/clojure_contrib/clojure.contrib.dataflow/cell

imag clojure.contrib.complex-numbers

0 examples - http://clojuredocs.org/clojure_contrib/clojure.contrib.complex-numbers/imag

raise clojure.contrib.condition

Raises a condition. With no arguments, re-raises the current condition. With one argument (a map), raises the argument. With two or more arguments, raises a map with keys and values from the arguments.

0 examples - http://clojuredocs.org/clojure_contrib/clojure.contrib.condition/raise

defnk clojure.contrib.def

Define a function accepting keyword arguments. Symbols up to the first keyword in the parameter list are taken as positional arguments. Then an alternating sequence of keywords and defaults values is expected. The values of the keyword arguments are available in the function body by virtue of the symbol corresponding to the keyword (cf. :keys destructuring). defnk accepts an optional docstring as well as an optional metadata map.

1 example - http://clojuredocs.org/clojure_contrib/clojure.contrib.def/defnk

defvar clojure.contrib.def

Defines a var with an optional intializer and doc string

0 examples - http://clojuredocs.org/clojure_contrib/clojure.contrib.def/defvar

throwf clojure.contrib.except

Throws an Exception or Error with an optional message formatted using clojure.core/format. All arguments are optional: class? cause? format? format-args* - class defaults to Exception, if present it must name a kind of Throwable - cause defaults to nil, if present it must be a Throwable - format is a format string for clojure.core/format - format-args are objects that correspond to format specifiers in format.

0 examples - http://clojuredocs.org/clojure_contrib/clojure.contrib.except/throwf

*meta* clojure.contrib.dataflow

0 examples - http://clojuredocs.org/clojure_contrib/clojure.contrib.dataflow/*meta*

encode clojure.contrib.base64

Encodes bytes of input, writing Base 64 text on output. alphabet is a 65-character String containing the 64 characters to use in the encoding; the 65th character is the pad character. line-length is the maximum number of characters per line, nil for no line breaks.

0 examples - http://clojuredocs.org/clojure_contrib/clojure.contrib.base64/encode

complex clojure.contrib.complex-numbers

0 examples - http://clojuredocs.org/clojure_contrib/clojure.contrib.complex-numbers/complex

counter clojure.contrib.accumulators

0 examples - http://clojuredocs.org/clojure_contrib/clojure.contrib.accumulators/counter

minimum clojure.contrib.accumulators

0 examples - http://clojuredocs.org/clojure_contrib/clojure.contrib.accumulators/minimum

product clojure.contrib.accumulators

0 examples - http://clojuredocs.org/clojure_contrib/clojure.contrib.accumulators/product

maximum clojure.contrib.accumulators

0 examples - http://clojuredocs.org/clojure_contrib/clojure.contrib.accumulators/maximum

min-max clojure.contrib.accumulators

0 examples - http://clojuredocs.org/clojure_contrib/clojure.contrib.accumulators/min-max

deftype clojure.contrib.types

Define a data type by a type tag (a namespace-qualified keyword) and a symbol naming the constructor function. Optionally, a constructor and a deconstructor function can be given as well, the defaults being clojure.core/identity and clojure.core/list. The full constructor associated with constructor-name calls the constructor function and attaches the type tag to its result as metadata. The deconstructor function must return the arguments to be passed to the constructor in order to create an equivalent object. It is used for printing and matching.

0 examples - http://clojuredocs.org/clojure_contrib/clojure.contrib.types/deftype

defvar- clojure.contrib.def

Same as defvar but yields a private definition

0 examples - http://clojuredocs.org/clojure_contrib/clojure.contrib.def/defvar-

combine clojure.contrib.accumulators

Combine the values of the accumulators acc1 and acc2 into a single accumulator of the same type.

0 examples - http://clojuredocs.org/clojure_contrib/clojure.contrib.accumulators/combine

get-cell clojure.contrib.dataflow

Get the single cell named by name

0 examples - http://clojuredocs.org/clojure_contrib/clojure.contrib.dataflow/get-cell