clojerl.Namespace
Summary
Types
Functions
- add_alias(Ns, AliasSym, AliasedNs)
- alias(X1, Symbol)
- all()
- alter_meta(X1, F, Args0)
- code_change(Msg, From, State)
- current()
- current(Ns)
-
find(Name)
Finds the ns for the provided symbol, if it's not loaded it tries to load it from a compiled module.
- find_mapping(DefaultNs, Symbol)
- find_or_create(Name)
- find_var(Symbol)
- find_var(Ns, Symbol)
- get_aliases(X1)
- get_mappings(X1)
- handle_call(X1, From, State)
- handle_cast(Msg, State)
- handle_info(Msg, State)
- hash(Ns)
- import_type(TypeName)
- import_type(TypeName, CheckLoaded)
- init(X1)
- intern(Ns, Symbol)
- mapping(X1, Symbol)
- meta(X1)
- name(X1)
- refer(Ns, Sym, Var)
- remove(Name)
- remove_alias(Ns, AliasSym)
- reset_meta(Ns0, Meta)
- start_link()
- str(X1)
- terminate(Msg, State)
- unmap(Ns, Sym)
- update_var(Var)
- update_var(Ns, Var)
- with_meta(Ns0, Meta)
Types
type()
-type type() ::
#{'__type__' => 'clojerl.Namespace',
id => any(),
name => 'clojerl.Symbol':type(),
mappings => ets:tid(),
aliases => ets:tid(),
meta => undefined | any()}.
Functions
add_alias(Ns, AliasSym, AliasedNs)
-spec add_alias(type(), 'clojerl.Symbol':type(), type()) -> type().
alias(X1, Symbol)
-spec alias(type(), 'clojerl.Symbol':type()) -> type() | undefined.
all()
-spec all() -> [type()].
alter_meta(X1, F, Args0)
code_change(Msg, From, State)
current()
-spec current() -> type().
current(Ns)
-spec current(type()) -> type().
find(Name)
-spec find('clojerl.Symbol':type()) -> type() | undefined.
Finds the ns for the provided symbol, if it's not loaded it tries to load it from a compiled module.