summaryrefslogtreecommitdiff
path: root/progs/lib/cl/random-prims.hi
blob: e66d8024ec2f9a94df137e22724b456494aacce7 (about) (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
-- random-prims.hi -- interface file to random number primitives
--
-- author :  Sandra Loosemore
-- date   :  22 June 1993
--


interface RandomPrims where

randomInt	:: Int -> IO Int
randomInteger   :: Integer -> IO Integer
randomFloat     :: Float -> IO Float
randomDouble    :: Double -> IO Double

{-#
randomInt	:: LispName("lisp:random"), Complexity(5)
randomInteger	:: LispName("lisp:random"), Complexity(5)
randomFloat	:: LispName("lisp:random"), Complexity(5)
randomDouble	:: LispName("lisp:random"), Complexity(5)
#-}