Max Vasin wrote:

So, you need list of length 256 and then just use it as state of your PRNG.
If you want to check list size you have to do it at runtime:

f lst | length lst == 256 -> doWork
      | otherwise         -> fail "length lst must be 256"

Okay, thanks.

Cheers,
Daniel.
_______________________________________________
Haskell-Cafe mailing list
[email protected]
http://www.haskell.org/mailman/listinfo/haskell-cafe

Reply via email to