Skip to content

clojure.core/val

View this page on ClojureDocs

Type: function Added: Clojure 1.0 Examples: 4 Runnable: 3
([e])

Returns the value in the map entry.

Examples

by devn on
by boxie on
by boxie on
by phreed on . May have evaluation errors.

Note by dansalmo

This is my first attempt at using this site to gain an understanding of a closure function. Two of the examples above seem incorrect.

Example 3(?) seems to have nothing to do with val

(notice the lack of example identifiers)

See also


Content from the matching ClojureDocs page, with authors credited on each contribution.