Skip to main content

intern

function

sci.core/intern

(intern [ctx sci-ns name] [ctx sci-ns name val])
Finds or creates a sci var named by the symbol name in the namespace ns (which can be a symbol or a sci namespace), setting its root binding to val if supplied. The namespace must exist in the ctx. The sci var will adopt any metadata from the name symbol. Returns the sci var.

No examples yet. Be the first to add one!