/[guile]/guile/guile-core/doc/ref/scheme-modules.texi
ViewVC logotype

Diff of /guile/guile-core/doc/ref/scheme-modules.texi

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 1.7 by ossau, Sat Apr 20 19:26:40 2002 UTC revision 1.8 by mvo, Mon Jul 8 18:55:21 2002 UTC
# Line 178  them to suit the current module's needs. Line 178  them to suit the current module's needs.
178  @smalllisp  @smalllisp
179  (use-modules ((ice-9 popen)  (use-modules ((ice-9 popen)
180                :select ((open-pipe . pipe-open) close-pipe)                :select ((open-pipe . pipe-open) close-pipe)
181                :rename (symbol-prefix-proc 'unixy:)))                :renamer (symbol-prefix-proc 'unixy:)))
182  @end smalllisp  @end smalllisp
183    
184  Here, the interface specification is more complex than before, and the  Here, the interface specification is more complex than before, and the
# Line 215  whose public interface is found and used Line 215  whose public interface is found and used
215  @var{spec} can also be of the form:  @var{spec} can also be of the form:
216    
217  @smalllisp  @smalllisp
218   (MODULE-NAME [:select SELECTION] [:rename RENAMER])   (MODULE-NAME [:select SELECTION] [:renamer RENAMER])
219  @end smalllisp  @end smalllisp
220    
221  in which case a custom interface is newly created and used.  in which case a custom interface is newly created and used.
# Line 226  a pair of symbols @code{(ORIG . SEEN)}, Line 226  a pair of symbols @code{(ORIG . SEEN)},
226  the used module and @var{seen} is the name in the using module.  Note  the used module and @var{seen} is the name in the using module.  Note
227  that @var{seen} is also passed through @var{renamer}.  that @var{seen} is also passed through @var{renamer}.
228    
229  The @code{:select} and @code{:rename} clauses are optional.  If both are  The @code{:select} and @code{:renamer} clauses are optional.  If both are
230  omitted, the returned interface has no bindings.  If the @code{:select}  omitted, the returned interface has no bindings.  If the @code{:select}
231  clause is omitted, @var{renamer} operates on the used module's public  clause is omitted, @var{renamer} operates on the used module's public
232  interface.  interface.

Legend:
Removed from v.1.7  
changed lines
  Added in v.1.8

savannah-hackers-public@gnu.org
ViewVC Help
Powered by ViewVC 1.1.26