This is the mail archive of the guile@sourceware.cygnus.com mailing list for the Guile project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

a minor random nit


> guile> (random 0)
> standard input:1:1: In procedure random in expression (random 0):
> standard input:1:1: Wrong type argument in position 1: 0
> ABORT: (wrong-type-arg)

It's actually an out-of-range error, not a type error;
and it's my humble opinion that (random 0) should return 0.

Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]