Re: randomness functions

Roderic Morris <[email protected]> Wed, 27 Apr 2011 10:39:40 -0400
Newsgroups gmane.lisp.scheme.scheme48
Message-ID <[email protected]>
On Wed, Apr 27, 2011 at 1:13 AM, joseph alicandro
<[email protected]> wrote:
> Hi   For some reason I can't get (random 6) to work. It works fine in other versions of scheme . My understanding is that random is in the R5r document..

It's not, those other implementations just include it in their default
environment. You can get something equivalent from srfi 27 though
<http://srfi.schemers.org/srfi-27/srfi-27.html>.

,open srfi-27
(random-integer 6)

> The other question is is there a way to set  tab a number of spaces when indenting?.

That's entirely up to whatever editor you're using, no?

-Roderic