mirror of
https://git.savannah.gnu.org/git/guile.git
synced 2025-04-30 11:50:28 +02:00
safe/evil.scm, safe/README, modules/README, modules/main, modules/module-0.scm, modules/module-1.scm, modules/module-2.scm: Minor cleanup. * README: Added intro stuff, restructured a bit. * box-dynamic/README, box-module/README, box/README: Cleanup and restructuring. * box-dynamic-module/box-mixed.scm: New file, demonstrating usage of extension library functionality, but without exporting procedures from the library. Thanks to Thomas Wawrzinek for the idea and example code! * box-dynamic-module/box-module.scm: Add comments, export make-box, box-ref, box-set!. * box-dynamic-module/README: Integrate new module (box-mixed), restructure and cleanup a bit.
32 lines
718 B
Text
32 lines
718 B
Text
-*- outline -*-
|
|
|
|
* Overview
|
|
|
|
This directory includes examples which show how to write and use Guile
|
|
modules in Scheme programs.
|
|
|
|
The descriptions below assume that you have a working copy of Guile
|
|
installed and available with the standard installation prefix
|
|
`/usr/local'.
|
|
|
|
|
|
* Included Examples
|
|
|
|
|
|
** main
|
|
|
|
The main program, which uses the modules described below to perform
|
|
some actions. Module usage and selective importing as well as
|
|
renaming is demonstrated here.n
|
|
|
|
$ ./main
|
|
|
|
or
|
|
|
|
guile -s main
|
|
|
|
** 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
|
|
importing).
|