package guile
Install
dune-project
Dependency
Authors
Maintainers
Sources
md5=be5a3dae4018b36103f0af9f769a26f0
sha512=74136c9f933aea8d0403d5f5826cf7acb8824c985639d5a79eb2a7247c1bd1362eb61fd946f148e25e7b0283af2e36435c3d3ffe5f7e7913e27b70d941e97c09
doc/guile.guile/Guile/Module/index.html
Module Guile.ModuleSource
resolve name finds the module named name and returns it. When it has not already been defined, try to auto-load it. When it can’t be found that way either, create an empty module.
with_current_module ~modl f calls f and makes module modl the current module during the call.
lookup_variable ~modl name finds the variable bound to the symbol name in the public interface of the module modl.
modl should be a space separated string of module names
lookup ~modl name finds value of the variable bound to the symbol name in the public interface of the module modl.
Throws a Guile exception if not found.
modl should be a space separated string of module names
is_defined ~modl name returns true if name is defined in the module modl or the current module when module is not specified; otherwise return false.
define_module modl f defines a new module named modl and makes it current while f is called. Returns the module modl.
define name vl binds the symbol indicated by name to a variable in the current module and set that variable to vl. When name is already bound to a variable, update that. Else create a new variable.
export name adds the bindings designated by name to the public interface of the current module.