-- Hoogle documentation, generated by Haddock -- See Hoogle, http://www.haskell.org/hoogle/ -- | Interface to random numbers on random.org -- -- Using this package you can generate random numbers (based on the -- atmosphere, not a PRNG) via the random.org website @package RandomDotOrg @version 0.2 module System.Random.Atmosphere -- | Used to get a list of random numbers from http:random.org. -- Note: the minimum must be greater than the maximum. The maximum amount -- of numbers you can retrieve is 10,000, and the numbers themselves are -- limited to a range of +/- 1,000,000,000 (inclusive) getRandomNumbers :: Int -> Int -> Int -> IO (Either String [Int]) -- | This is just like getRandomNumbers, but instead it will -- randomize a given interval of integers. The limits on the -- minimum/maximum are -1e9 to 1e9, inclusive. The interval itself must -- be less than 10,000. getRandomSequence :: Int -> Int -> IO (Either String [Int]) -- | Generate random strings. NOTE: if you specify to generate unique -- strings, the amount you want to retrieve must be less than or -- equal to the amount of strings that exist within the character set you -- specify. In the future there will be a check for this, but you have to -- be sure as of right now. getRandomStrings :: Int -> Int -> Bool -> Bool -> Bool -> Bool -> IO (Either String [String]) -- | Used to check how much of your random.org quota you have. Please see -- 'http:random.orgquota' for more info. getQuota :: IO (Either String Int)