'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?



Solution 1:[1]

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?

Sources

This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.

Source: Stack Overflow

Solution Source
Solution 1 sjamaan