HCoop
/
bpt
/
guile.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
|
inline
| side by side (parent:
f982539
)
(SLIB): Note `system' redefined by (ice-9 slib). Tweak
author
Kevin Ryde
<user42@zip.com.au>
Tue, 20 Jan 2004 00:30:13 +0000
(
00:30
+0000)
committer
Kevin Ryde
<user42@zip.com.au>
Tue, 20 Jan 2004 00:30:13 +0000
(
00:30
+0000)
`require' example.
doc/ref/slib.texi
patch
|
blob
|
blame
|
history
diff --git
a/doc/ref/slib.texi
b/doc/ref/slib.texi
index
83adca1
..
6e661f0
100644
(file)
--- a/
doc/ref/slib.texi
+++ b/
doc/ref/slib.texi
@@
-11,16
+11,20
@@
must be executed:
@end smalllisp
@cindex @code{require}
@end smalllisp
@cindex @code{require}
-@code{require} can then be used
as described in
-@ref{Top, , SLIB, slib, The SLIB Manual}.
+@code{require} can then be used
in the usual way (@pxref{Requesting
+Features,,, slib, The SLIB Manual}). For example,
-For example:
+@example
+(use-modules (ice-9 slib))
+(require 'primes)
+(probably-prime? 13)
+@result{} #t
+@end example
-@smalllisp
-guile> (use-modules (ice-9 slib))
-guile> (require 'primes)
-guile> (probably-prime? 13)
-@end smalllisp
+Note that @code{(ice-9 slib)} provides a new definition of
+@code{system}, one giving a plain exit code return value, as per the
+SLIB specification (@pxref{System Interface,,, slib, The SLIB
+Manual}).
@menu
* SLIB installation::
@menu
* SLIB installation::