A RetroSearch Logo

Home - News ( United States | United Kingdom | Italy | Germany ) - Football scores

Search Query:

Showing content from https://clojure.github.io/algo.generic/clojure.algo.generic.collection-api.html below:

clojure.algo.generic.collection - algo.generic 0.1.4-SNAPSHOT API documentation

API for clojure.algo.generic.collection -

Full namespace name:

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

Public Variables and Functions
assocmultimethod
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

conjmultimethod
Usage: (conj coll & xs)
Returns a new collection resulting from adding all xs to coll.
Source

dissocmultimethod
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

emptymultimethod
Usage: (empty coll)
Returns an empty collection of the same kind as the argument
Source

getmultimethod
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

intomultimethod
Usage: (into to from)
Returns a new coll consisting of to-coll with all of the items of
from-coll conjoined. A default implementation based on reduce, conj, and
seq is provided.
Source

seqmultimethod
Usage: (seq s)
Returns a seq on the object s.
Source

Logo & site design by

Tom Hickey

.

Clojure auto-documentation system by Tom Faulhaber.


RetroSearch is an open source project built by @garambo | Open a GitHub Issue

Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo

HTML: 3.2 | Encoding: UTF-8 | Version: 0.7.4