scsh-users
[Top] [All Lists]

Re: Random Numbers

To: Brian King <linux_king@yahoo.com>
Subject: Re: Random Numbers
From: Taylor Campbell <campbell@evdev.ath.cx>
Date: Sat, 15 Nov 2003 09:06:24 -0500
Cc: scsh@zurich.csail.mit.edu

On Friday, Nov 14, 2003, at 23:22 US/Eastern, Brian King wrote:

How do I generate random numbers in SCSH 0.6.4? I see that SRFI-27 is
included, but I can't seem to access random-integer.

You need to open the SRFI-27 structure first.  In brief, either pass
'-o srfi-27' to scsh on the command line or use ',open srfi-27' in the
REPL.  In debrief, here's a good introduction to the Scheme48 module
system by Olin Shivers:

  http://www.scsh.net/docu/post/modules.html


<Prev in Thread] Current Thread [Next in Thread>