☰

clojerl

0.7.0+build.2033.refc431a40

  • Home
  • API Reference

Modules

  • clj_analyzer
  • clj_behaviour
  • clj_cache
  • clj_compiler
  • clj_edn
  • clj_emitter
  • clj_emitter_pattern
  • clj_env
  • clj_hash_collision
  • clj_module
  • clj_multimethod
  • clj_murmur3
  • clj_protocol
  • clj_reader
  • clj_rt
  • clj_scope
  • clj_utils
  • clj_vector
  • clojerl
  • core_eval
  • Basic Types

  • clojerl.BitString
  • clojerl.Boolean
  • clojerl.Float
  • clojerl.Fn
  • clojerl.Integer
  • clojerl.Keyword
  • clojerl.Nil
  • clojerl.String
  • clojerl.Symbol
  • erlang.Fn
  • erlang.Port
  • erlang.Process
  • erlang.Reference
  • erlang.Type
  • erlang.util.Date
  • erlang.util.Regex
  • erlang.util.UUID
  • Namespaces & Vars

  • clojerl.Namespace
  • clojerl.Var
  • Collections & Data Structures

  • clojerl.Cons
  • clojerl.Cycle
  • clojerl.Iterate
  • clojerl.LazySeq
  • clojerl.List
  • clojerl.Map
  • clojerl.Range
  • clojerl.Repeat
  • clojerl.Set
  • clojerl.SortedMap
  • clojerl.SortedSet
  • clojerl.TupleMap
  • clojerl.Vector
  • erlang.List
  • erlang.Map
  • erlang.Tuple
  • Concurrency

  • clojerl.Agent
  • clojerl.Atom
  • clojerl.Delay
  • clojerl.Future
  • clojerl.ProcessVal
  • clojerl.Promise
  • I/O

  • erlang.io.File
  • erlang.io.PushbackReader
  • erlang.io.StringReader
  • erlang.io.StringWriter
  • Errors

  • clojerl.ArityError
  • clojerl.AssertionError
  • clojerl.BadArgumentError
  • clojerl.Error
  • clojerl.ExceptionInfo
  • clojerl.IllegalAccessError
  • Protocols

  • clojerl.IAssociative
  • clojerl.IBlockingDeref
  • clojerl.IChunk
  • clojerl.IChunkedSeq
  • clojerl.IColl
  • clojerl.ICounted
  • clojerl.IDeref
  • clojerl.IEncodeClojure
  • clojerl.IEncodeErlang
  • clojerl.IEquiv
  • clojerl.IError
  • clojerl.IExceptionInfo
  • clojerl.IFn
  • clojerl.IHash
  • clojerl.IIndexed
  • clojerl.IKVReduce
  • clojerl.ILookup
  • clojerl.IMap
  • clojerl.IMeta
  • clojerl.INamed
  • clojerl.IOError
  • clojerl.IPending
  • clojerl.IRecord
  • clojerl.IReduce
  • clojerl.IReference
  • clojerl.IReversible
  • clojerl.ISeq
  • clojerl.ISeqable
  • clojerl.ISequential
  • clojerl.ISet
  • clojerl.ISorted
  • clojerl.IStack
  • clojerl.IStringable
  • clojerl.IType
  • clojerl.IVector
  • erlang.io.ICloseable
  • erlang.io.IPushbackReader
  • erlang.io.IReader
  • erlang.io.IWriter

clojerl.Var

Summary

Types

  • type()

Functions

  • __new__(Ns, Name)
  • apply(X1, Args0)
  • deref(X1)
  • dynamic_binding(Key)
  • dynamic_binding(Key, Value)
  • equiv(X1, X2)
  • fake_fun(Var, IsFakeFun)
  • find(QualifiedSymbol)
  • function(X1)
  • get(Var)
  • get_bindings()
  • get_bindings_map()
  • has_root(Var)
  • hash(X1)
  • is_bound(Var)
  • is_dynamic(X1)
  • is_macro(X1)
  • is_public(X1)
  • is_valid_arity(Meta, Arity)
  • meta(X1)
  • module(X1)
  • name(X1)
  • namespace(X1)
  • pop_bindings()
  • process_args(Meta, Args)
  • push_bindings(BindingsMap)
  • reset_bindings(Bindings)
  • str(X1)
  • val_function(X1)
  • with_meta(Var, Metadata)

Types

type()
-type type() ::
          #{'__type__' => 'clojerl.Var',
            ns => binary(),
            name => binary(),
            ns_atom => atom(),
            name_atom => atom(),
            val_atom => atom(),
            meta => undefined | any(),
            fake_fun => boolean()}.

Functions

__new__(Ns, Name)
-spec '__new__'(binary(), binary()) -> type().

apply(X1, Args0)

deref(X1)

dynamic_binding(Key)
-spec dynamic_binding('clojerl.Var':type() | binary()) -> any().

dynamic_binding(Key, Value)
-spec dynamic_binding('clojerl.Var':type() | binary(), any()) -> any().

equiv(X1, X2)

fake_fun(Var, IsFakeFun)
-spec fake_fun(type(), boolean()) -> type().

find(QualifiedSymbol)
-spec find('clojerl.Symbol':type()) -> type() | undefined.

function(X1)
-spec function(type()) -> atom().

get(Var)
-spec get(type()) -> boolean().

get_bindings()
-spec get_bindings() -> clj_scope:scope().

get_bindings_map()
-spec get_bindings_map() -> map().

has_root(Var)
-spec has_root(type()) -> boolean().

hash(X1)

is_bound(Var)
-spec is_bound(type()) -> boolean().

is_dynamic(X1)
-spec is_dynamic(type()) -> boolean().

is_macro(X1)
-spec is_macro(type()) -> boolean().

is_public(X1)
-spec is_public(type()) -> boolean().

is_valid_arity(Meta, Arity)
-spec is_valid_arity(Meta :: map(), Arity :: arity()) -> boolean().

meta(X1)

module(X1)
-spec module(type()) -> atom().

name(X1)

namespace(X1)

pop_bindings()
-spec pop_bindings() -> ok.

process_args(Meta, Args)
-spec process_args(map(), [any()]) ->
                      {arity(), [any()]} | {arity(), [any()], any()}.

push_bindings(BindingsMap)
-spec push_bindings('clojerl.IMap':type()) -> ok.

reset_bindings(Bindings)
-spec reset_bindings(clj_scope:scope()) -> ok.

str(X1)

val_function(X1)
-spec val_function(type()) -> atom().

with_meta(Var, Metadata)