1
Fork 0
mirror of https://git.savannah.gnu.org/git/guile.git synced 2025-04-30 03:40:34 +02:00
guile/examples/modules
Ludovic Courtès 9a84dc8bbc Aggregate Makefile.am' files under examples/'.
* configure.in: Don't produce `examples/*/Makefile'.

* examples/Makefile.am (SUBDIRS): Remove.
  (EXTRA_DIST, AM_CFLAGS, AM_LIBS): New.
  (box/box, box/box.o, box-module/box, box-module/box.o, libbox.la,
  box-dynamic/box.lo, libbox-module.la, box-dynamic-module/box.lo,
  installcheck, CLEANFILES, clean-local): New targets, aggregated from
  `Makefile.am' files formerly in sub-directories.

* examples/check.test: New file, aggregated from `check.test' files in
  sub-directories.
2009-03-20 21:23:51 +01:00
..
main * examples/modules/main: Use :renamer for specifying renaming procedure. 2001-07-14 11:11:48 +00:00
module-0.scm * scripts/README, scripts/hello.scm, safe/untrusted.scm, 2001-06-14 20:36:06 +00:00
module-1.scm * scripts/README, scripts/hello.scm, safe/untrusted.scm, 2001-06-14 20:36:06 +00:00
module-2.scm * scripts/README, scripts/hello.scm, safe/untrusted.scm, 2001-06-14 20:36:06 +00:00
README * scripts/README, scripts/hello.scm, safe/untrusted.scm, 2001-06-14 20:36:06 +00:00

							       -*- 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).