97 lines
4.9 KiB
HTML
97 lines
4.9 KiB
HTML
|
<!DOCTYPE html>
|
||
|
<html>
|
||
|
<!-- Created by GNU Texinfo 7.1, https://www.gnu.org/software/texinfo/ -->
|
||
|
<head>
|
||
|
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
|
||
|
<!-- This manual documents Guile version 3.0.10.
|
||
|
|
||
|
Copyright (C) 1996-1997, 2000-2005, 2009-2023 Free Software Foundation,
|
||
|
Inc.
|
||
|
|
||
|
Copyright (C) 2021 Maxime Devos
|
||
|
|
||
|
Copyright (C) 2024 Tomas Volf
|
||
|
|
||
|
|
||
|
Permission is granted to copy, distribute and/or modify this document
|
||
|
under the terms of the GNU Free Documentation License, Version 1.3 or
|
||
|
any later version published by the Free Software Foundation; with no
|
||
|
Invariant Sections, no Front-Cover Texts, and no Back-Cover Texts. A
|
||
|
copy of the license is included in the section entitled "GNU Free
|
||
|
Documentation License." -->
|
||
|
<title>Module Commands (Guile Reference Manual)</title>
|
||
|
|
||
|
<meta name="description" content="Module Commands (Guile Reference Manual)">
|
||
|
<meta name="keywords" content="Module Commands (Guile Reference Manual)">
|
||
|
<meta name="resource-type" content="document">
|
||
|
<meta name="distribution" content="global">
|
||
|
<meta name="Generator" content=".texi2any-real">
|
||
|
<meta name="viewport" content="width=device-width,initial-scale=1">
|
||
|
|
||
|
<link href="index.html" rel="start" title="Top">
|
||
|
<link href="Concept-Index.html" rel="index" title="Concept Index">
|
||
|
<link href="index.html#SEC_Contents" rel="contents" title="Table of Contents">
|
||
|
<link href="REPL-Commands.html" rel="up" title="REPL Commands">
|
||
|
<link href="Language-Commands.html" rel="next" title="Language Commands">
|
||
|
<link href="Help-Commands.html" rel="prev" title="Help Commands">
|
||
|
<style type="text/css">
|
||
|
<!--
|
||
|
a.copiable-link {visibility: hidden; text-decoration: none; line-height: 0em}
|
||
|
span:hover a.copiable-link {visibility: visible}
|
||
|
strong.def-name {font-family: monospace; font-weight: bold; font-size: larger}
|
||
|
-->
|
||
|
</style>
|
||
|
<link rel="stylesheet" type="text/css" href="https://www.gnu.org/software/gnulib/manual.css">
|
||
|
|
||
|
|
||
|
</head>
|
||
|
|
||
|
<body lang="en">
|
||
|
<div class="subsubsection-level-extent" id="Module-Commands">
|
||
|
<div class="nav-panel">
|
||
|
<p>
|
||
|
Next: <a href="Language-Commands.html" accesskey="n" rel="next">Language Commands</a>, Previous: <a href="Help-Commands.html" accesskey="p" rel="prev">Help Commands</a>, Up: <a href="REPL-Commands.html" accesskey="u" rel="up">REPL Commands</a> [<a href="index.html#SEC_Contents" title="Table of contents" rel="contents">Contents</a>][<a href="Concept-Index.html" title="Index" rel="index">Index</a>]</p>
|
||
|
</div>
|
||
|
<hr>
|
||
|
<h4 class="subsubsection" id="Module-Commands-1"><span>4.4.4.2 Module Commands<a class="copiable-link" href="#Module-Commands-1"> ¶</a></span></h4>
|
||
|
|
||
|
<dl class="first-deffn">
|
||
|
<dt class="deffn" id="index-module"><span class="category-def">REPL Command: </span><span><strong class="def-name">module</strong> <var class="def-var-arguments">[module]</var><a class="copiable-link" href="#index-module"> ¶</a></span></dt>
|
||
|
<dd><p>Change modules / Show current module.
|
||
|
</p></dd></dl>
|
||
|
|
||
|
<dl class="first-deffn">
|
||
|
<dt class="deffn" id="index-import"><span class="category-def">REPL Command: </span><span><strong class="def-name">import</strong> <var class="def-var-arguments">module …</var><a class="copiable-link" href="#index-import"> ¶</a></span></dt>
|
||
|
<dd><p>Import modules / List those imported.
|
||
|
</p></dd></dl>
|
||
|
|
||
|
<dl class="first-deffn">
|
||
|
<dt class="deffn" id="index-load-1"><span class="category-def">REPL Command: </span><span><strong class="def-name">load</strong> <var class="def-var-arguments">file</var><a class="copiable-link" href="#index-load-1"> ¶</a></span></dt>
|
||
|
<dd><p>Load a file in the current module.
|
||
|
</p></dd></dl>
|
||
|
|
||
|
<dl class="first-deffn">
|
||
|
<dt class="deffn" id="index-reload"><span class="category-def">REPL Command: </span><span><strong class="def-name">reload</strong> <var class="def-var-arguments">[module]</var><a class="copiable-link" href="#index-reload"> ¶</a></span></dt>
|
||
|
<dd><p>Reload the given module, or the current module if none was given.
|
||
|
</p></dd></dl>
|
||
|
|
||
|
<dl class="first-deffn">
|
||
|
<dt class="deffn" id="index-binding"><span class="category-def">REPL Command: </span><span><strong class="def-name">binding</strong><a class="copiable-link" href="#index-binding"> ¶</a></span></dt>
|
||
|
<dd><p>List current bindings.
|
||
|
</p></dd></dl>
|
||
|
|
||
|
<dl class="first-deffn">
|
||
|
<dt class="deffn" id="index-in"><span class="category-def">REPL Command: </span><span><strong class="def-name">in</strong> <var class="def-var-arguments">module expression</var><a class="copiable-link" href="#index-in"> ¶</a></span></dt>
|
||
|
<dt class="deffnx def-cmd-deffn" id="index-in-1"><span class="category-def">REPL Command: </span><span><strong class="def-name">in</strong> <var class="def-var-arguments">module command arg …</var><a class="copiable-link" href="#index-in-1"> ¶</a></span></dt>
|
||
|
<dd><p>Evaluate an expression, or alternatively, execute another meta-command
|
||
|
in the context of a module. For example, ‘<samp class="samp">,in (foo bar) ,binding</samp>’
|
||
|
will show the bindings in the module <code class="code">(foo bar)</code>.
|
||
|
</p></dd></dl>
|
||
|
|
||
|
</div>
|
||
|
|
||
|
|
||
|
|
||
|
</body>
|
||
|
</html>
|