Movatterモバイル変換


[0]ホーム

URL:


Clojure

Clojure Core API Reference

Clojurev1.13.0 API
Namespaces
Other Versions
Clojure Home

API forclojure.datafy -Clojurev1.13.0 (in development)


Full namespace name:clojure.datafy

Overview

Functions to turn objects into data. Alpha, subject to change

Public Variables and Functions



datafy

function
Usage: (datafy x)
Attempts to return x as data.datafy will return the value of clojure.core.protocols/datafy. Ifthe value has been transformed and the result supportsmetadata, :clojure.datafy/obj will be set on the metadata to theoriginal value of x, and :clojure.datafy/class to the name of theclass of x, as a symbol.
Source


nav

function
Usage: (nav coll k v)
Returns (possibly transformed) v in the context of coll and k (akey/index or nil). Callers should attempt to provide the key/indexcontext k for Indexed/Associative/ILookup colls if possible, but notto fabricate one e.g. for sequences (pass nil). nav returns thevalue of clojure.core.protocols/nav.
Source
Copyright 2007-2025 by Rich Hickey
Logo & site design byTom Hickey.
Clojure auto-documentation system by Tom Faulhaber.

[8]ページ先頭

©2009-2025 Movatter.jp