aboutsummaryrefslogtreecommitdiff
path: root/doc
diff options
context:
space:
mode:
authorBoris Kolpackov <boris@codesynthesis.com>2018-07-25 15:16:00 +0200
committerBoris Kolpackov <boris@codesynthesis.com>2018-07-25 15:16:00 +0200
commit4af8a3a2f29fc1d59760382622354be4c4b31a6c (patch)
tree5f9a37d9a16ffb07fc1c3d5494bceee382386a81 /doc
parentea69747ba2b371e0e3b1e9ecb044e7d815fbea21 (diff)
Add note to bash module documentation
Diffstat (limited to 'doc')
-rw-r--r--doc/manual.cli4
1 files changed, 3 insertions, 1 deletions
diff --git a/doc/manual.cli b/doc/manual.cli
index a222620..eafe14d 100644
--- a/doc/manual.cli
+++ b/doc/manual.cli
@@ -2498,7 +2498,9 @@ The \c{say-hello.bash} module is \i{imported} by the \c{hello} script with the
\c{@import\ hello/say-hello@} substitution. The \i{import path}
(\c{hello/say-hello} in our case) is a relative path to the module file within
the project. Its first component (\c{hello} in our case) must be the project
-base name. The \c{.bash} module extension can be omitted.
+base name and the \c{.bash} module extension can be omitted. \N{The constraint
+placed on the first component of the import path is required to implement
+importation of installed modules, as discussed below.}
During preprocessing, the import substitution will be replaced with a
\c{source} builtin call and the import path resolved to one of the \c{bash{\}}