chicken-scheme

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

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