| www.delorie.com/gnu/docs/guile/guile_357.html | search |
![]() Buy GNU books! | |
| [ < ] | [ > ] | [ << ] | [ Up ] | [ >> ] | [Top] | [Contents] | [Index] | [ ? ] |
When you want to create your own modules, you have to take the following steps:
define-module form at the beginning.
define-public or export (both documented below).
(hierarchy file). One
example of this is
(define-module (ice-9 popen)) |
define-module makes this module available to Guile programs under
the given module-name.
The options are keyword/value pairs which specify more about the defined module. The recognized options and their meaning is shown in the following table.
#:use-module interface-specification
(use-modules interface-specification)
(see section 31.3.2 Using Guile Modules).
#:use-syntax module
#:autoload module symbol
#:export list
(export list) in the module body.
#:no-backtrace
#:pure
(begin (define foo ...) (export foo)).
| [ < ] | [ > ] | [ << ] | [ Up ] | [ >> ] | [Top] | [Contents] | [Index] | [ ? ] |
| webmaster donations bookstore | delorie software privacy |
| Copyright © 2003 by The Free Software Foundation | Updated Jun 2003 |