Liking cljdoc? Tell your friends :D
Mostly clj/s.
Exceptions indicated.

monnit.identity

A pure computation that wraps a single value. Only useful because it implements Functor and Monad.

A pure computation that wraps a single value. Only useful because it
implements Functor and Monad.
raw docstring

Identityclj/sprotocol

A pure computation that wraps a single value. Only useful because it implements [[m/Functor]] and [[m/Monad]].

A pure computation that wraps a single value. Only useful because it
implements [[m/Functor]] and [[m/Monad]].

identity?clj/s

(identity? self)

Is self an Identity?

Is `self` an [[Identity]]?

run-identityclj/s

(run-identity self)

Extract the contained value. An implementation detail; call run instead.

Extract the contained value. An implementation detail; call [[run]]
instead.
sourceraw docstring

pureclj/s

(pure v)

Wrap v in an Identity.

Wrap `v` in an [[Identity]].
sourceraw docstring

Purecljs

source

runclj/s

(run id)

Extract the value contained in id.

Extract the value contained in `id`.
sourceraw docstring

cljdoc is a website building & hosting documentation for Clojure/Script libraries

× close