On Wed, 24 Jul 2002 19:13:22 +0100 (BST)
Junjie Xu <[EMAIL PROTECTED]> 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
_______________________________________________
Haskell mailing list
[EMAIL PROTECTED]
http://www.haskell.org/mailman/listinfo/haskell

Reply via email to