anru
anru

Reputation: 1414

install random module of Chicken Scheme

chicken-install random

returns following errors.

Server error:

Error: [Server] no such extension or version
"random"
#f
Server error:

Error: [Server] no such extension or version
"random"
#f

So How can I install the Random egg?

Upvotes: 0

Views: 118

Answers (1)

sjamaan
sjamaan

Reputation: 2292

There's no egg called "random". See the egg index.

However, there is a (chicken random) module that's included in the distribution (you don't need to install it). To use it, put (import (chicken random)) in your code.

If that's not what you were looking for, perhaps the egg you wanted is srfi-27 or random-mtzig?

Upvotes: 2

Related Questions