uck again, just post more code.
matthias
On Fri, Sep 18, 2009 at 10:14:53AM -0700, Snouser wrote:
> To: haskell-cafe@haskell.org
> From: Snouser
> Date: Fri, 18 Sep 2009 10:14:53 -0700 (PDT)
> Subject: Re: [Haskell-cafe] How to generate random string?
>
>
>
>
> Snou
Snouser wrote:
>
> I need to generate a random string from 1 to 30.
>
> This is the parts I've done so far.
>
> unikString xs | let x = unsafePerformIO (randomRIO (1,30)) elem x xs = x :
> unikString xs
> | otherwise = unikString xs
>
> How do I proceed?
>
> I need t