API for generic.collection - clojure-contrib v1.2 (stable)

by Konrad Hinsen

clojure-contrib is now deprecated

clojure-contrib is no longer being developed or maintained.

Rather than a single, monolithic, contributions library, Clojure now has a set of separate libraries for each unit of functionality. The libraries are in the Clojure GitHub organization at https://github.com/clojure. API documentation of the libraries can be found at http://clojure.github.io.

If you're looking for a specific function or namespace from the old clojure-contrib, see "Where Did Clojure.Contrib Go".


Full namespace name: clojure.contrib.generic.collection

Overview

Generic arithmetic interface
This library defines generic versions of common
collection-related functions as multimethods that can be
defined for any type.

Public Variables and Functions



assoc

multimethod
This library, clojure-contrib, is deprecated. See here for more information.
Usage: (assoc coll & key-val-pairs)
Returns a new collection in which the values corresponding to the
given keys are updated by the given values. Each type of collection
can have specific restrictions on the possible keys.
Source


conj

multimethod
This library, clojure-contrib, is deprecated. See here for more information.
Usage: (conj coll & xs)
Returns a new collection resulting from adding all xs to coll.
Source


dissoc

multimethod
This library, clojure-contrib, is deprecated. See here for more information.
Usage: (dissoc coll & keys)
Returns a new collection in which the entries corresponding to the
given keys are removed. Each type of collection can have specific
restrictions on the possible keys.
Source


empty

multimethod
This library, clojure-contrib, is deprecated. See here for more information.
Usage: (empty coll)
Returns an empty collection of the same kind as the argument
Source


get

multimethod
This library, clojure-contrib, is deprecated. See here for more information.
Usage: (get coll key)
       (get coll key not-found)
Returns the element of coll referred to by key. Each type of collection
can have specific restrictions on the possible keys.
Source


into

multimethod
This library, clojure-contrib, is deprecated. See here for more information.
Usage: (into to from)
Returns a new coll consisting of to-coll with all of the items of
from-coll conjoined.
Source


seq

multimethod
This library, clojure-contrib, is deprecated. See here for more information.
Usage: (seq s)
Returns a seq on the object s.
Source
Logo & site design by Tom Hickey.
Clojure auto-documentation system by Tom Faulhaber.