[prev in list] [next in list] [prev in thread] [next in thread]
List: haskell-cafe
Subject: random (unspecified behaviour)
From: Jorge Adriano <jadrian () mat ! uc ! pt>
Date: 2001-11-09 15:52:25
Message-ID: 20011110002356.B96A1255AF () www ! haskell ! org
[Download RAW message or body]
>From the std libraries description:
"randomR takes a range (lo,hi) and a random number generator g, and returns a
random value uniformly distributed in the closed interval [lo,hi], together
with a new generator. It is unspecified what happens if lo>hi."
Shouldn't everything be specified?
J.A.
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic