Skip to main content

Global Bindings

5
  • declare

    defs the supplied var names with no bindings, useful for making forward declarations.

  • def

    Creates and interns a global var with the name of symbol in the current namespace (*ns*) or locates such a var if it alr...

  • defonce

    defs name to have the root value of init iff the named var has no root value, else init is unevaluated

  • get-validator

    Gets the validator-fn for a var/ref/agent/atom.

  • set-validator!

    Sets the validator-fn for an atom. validator-fn must be nil or a side-effect-free fn of one argument, which will be pass...