summaryrefslogtreecommitdiff
path: root/libguile/random.c
diff options
context:
space:
mode:
authorMartin Grabmüller <mgrabmue@cs.tu-berlin.de>2001-02-17 11:29:16 +0000
committerMartin Grabmüller <mgrabmue@cs.tu-berlin.de>2001-02-17 11:29:16 +0000
commit3b64451459f45f3644d456bb438d2e3429416e6b (patch)
tree1a1f8dd39a0b2e49d9074a0609fbdf7e16c5566d /libguile/random.c
parenta8eac221a701cea05a961fb73e5b8838522f9dcd (diff)
downloadguile-3b64451459f45f3644d456bb438d2e3429416e6b.tar.gz
(scm_seed_to_random_state, scm_copy_random_state, scm_random):
Added texinfo markup.
Diffstat (limited to 'libguile/random.c')
-rw-r--r--libguile/random.c14
1 files changed, 7 insertions, 7 deletions
diff --git a/libguile/random.c b/libguile/random.c
index 73f8cfaf9..4af5c4aa6 100644
--- a/libguile/random.c
+++ b/libguile/random.c
@@ -359,11 +359,11 @@ SCM_DEFINE (scm_random, "random", 1, 1, 0,
"N (exclusive). The values returned have a uniform \n"
"distribution.\n"
"\n"
- "The optional argument STATE must be of the type produced by\n"
- "`seed->random-state'. It defaults to the value of the variable\n"
- "*random-state*. This object is used to maintain the state of\n"
- "the pseudo-random-number generator and is altered as a side\n"
- "effect of the random operation.")
+ "The optional argument @var{state} must be of the type produced\n"
+ "by @code{seed->random-state}. It defaults to the value of the\n"
+ "variable @var{*random-state*}. This object is used to maintain\n"
+ "the state of the pseudo-random-number generator and is altered\n"
+ "as a side effect of the random operation.")
#define FUNC_NAME s_scm_random
{
if (SCM_UNBNDP (state))
@@ -386,7 +386,7 @@ SCM_DEFINE (scm_random, "random", 1, 1, 0,
SCM_DEFINE (scm_copy_random_state, "copy-random-state", 0, 1, 0,
(SCM state),
- "Return a copy of the random state STATE.")
+ "Return a copy of the random state @var{state}.")
#define FUNC_NAME s_scm_copy_random_state
{
if (SCM_UNBNDP (state))
@@ -398,7 +398,7 @@ SCM_DEFINE (scm_copy_random_state, "copy-random-state", 0, 1, 0,
SCM_DEFINE (scm_seed_to_random_state, "seed->random-state", 1, 0, 0,
(SCM seed),
- "Return a new random state using SEED.")
+ "Return a new random state using @var{seed}.")
#define FUNC_NAME s_scm_seed_to_random_state
{
if (SCM_NUMBERP (seed))