summaryrefslogtreecommitdiff
path: root/examples/modules
diff options
context:
space:
mode:
Diffstat (limited to 'examples/modules')
-rw-r--r--examples/modules/README12
-rw-r--r--examples/modules/module-0.scm2
-rw-r--r--examples/modules/module-1.scm2
-rw-r--r--examples/modules/module-2.scm2
4 files changed, 15 insertions, 3 deletions
diff --git a/examples/modules/README b/examples/modules/README
index 12df77f69..ddad881cc 100644
--- a/examples/modules/README
+++ b/examples/modules/README
@@ -1,4 +1,6 @@
- -*- text -*-
+ -*- outline -*-
+
+* Overview
This directory includes examples which show how to write and use Guile
modules in Scheme programs.
@@ -7,7 +9,11 @@ The descriptions below assume that you have a working copy of Guile
installed and available with the standard installation prefix
`/usr/local'.
-main:
+
+* Included Examples
+
+
+** main
The main program, which uses the modules described below to perform
some actions. Module usage and selective importing as well as
@@ -19,7 +25,7 @@ main:
guile -s main
-module-0.scm, module-1.scm, module-2.scm:
+** module-0.scm, module-1.scm, module-2.scm
Two modules which export several procedure, some of which have the
same names (so that renaming/selection is required for proper
diff --git a/examples/modules/module-0.scm b/examples/modules/module-0.scm
index 47e8433c7..a5a001b64 100644
--- a/examples/modules/module-0.scm
+++ b/examples/modules/module-0.scm
@@ -20,3 +20,5 @@
(define (bar)
(display "module-0 bar")
(newline))
+
+;;; End of file.
diff --git a/examples/modules/module-1.scm b/examples/modules/module-1.scm
index d62264021..6a7bb43e0 100644
--- a/examples/modules/module-1.scm
+++ b/examples/modules/module-1.scm
@@ -20,3 +20,5 @@
(define (bar)
(display "module-1 bar")
(newline))
+
+;;; End of file.
diff --git a/examples/modules/module-2.scm b/examples/modules/module-2.scm
index a63d5e492..3147b2cab 100644
--- a/examples/modules/module-2.scm
+++ b/examples/modules/module-2.scm
@@ -24,3 +24,5 @@
(define (braz)
(display "module-2 braz")
(newline))
+
+;;; End of file.