still random number problem

Nick Name nick.name@inwind.it
Wed, 24 Jul 2002 20:24:23 +0200


On Wed, 24 Jul 2002 19:13:22 +0100 (BST)
Junjie Xu <ceejx@cee.hw.ac.uk> wrote:

>  uni ::  IO () -> Float
>  uni  = do
>       xs <-  newStdGen 
>       let
>         m =  (head  (randoms xs) :: Float )

let x = expr in something

You miss the "in something" part... quite that simple.

Vincenzo