Liking cljdoc? Tell your friends :D

arachne.aristotle.registry

Tools for mapping between IRIs and keywords

Tools for mapping between IRIs and keywords
raw docstring

*registry*clj


add-aliasclj

(add-alias registry prevent-overrides? kw iri)

add-prefixclj

(add-prefix registry prevent-overrides? namespace prefix)

Return an updated registry map with the given prefix mapping.

Return an updated registry map with the given prefix mapping.
raw docstring

aliasclj

(alias kw iri)

Register a mapping between a keyword and a specific IRI

Register a mapping between a keyword and a specific IRI
raw docstring

install-prefixclj

(install-prefix prefix)

Install a prefix in the thread-local data reader

Install a prefix in the thread-local data reader
raw docstring

iriclj

(iri kw)

Given a keyword, build a corresponding IRI, throwing an exception if this is not possible.

Given a keyword, build a corresponding IRI, throwing an exception if this is not possible.
raw docstring

kwclj

(kw iri)

Return a keyword representing the given IRI. Returns nil if no matching keyword or namespace could be found in the registry.

Return a keyword representing the given IRI. Returns nil if no matching
keyword or namespace could be found in the registry.
raw docstring

prefixclj

(prefix namespace iri-prefix)

Register a namespace as an RDF IRI prefix.

Register a namespace as an RDF IRI prefix.
raw docstring

read-prefixclj

(read-prefix [prefix iri])

Constructor for a prefix, called by data reader.

Constructor for a prefix, called by data reader.
raw docstring

withclj/smacro

(with prefix-map & body)

Execute the supplied function with the specified prefix map in the thread-local registry

Execute the supplied function with the specified prefix map in the thread-local registry
raw docstring

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

× close