[Haskell-cafe] Convert IO Int to Int

Sebastian Sylvan sebastian.sylvan at gmail.com
Wed Jun 10 09:11:17 EDT 2009


On Wed, Jun 10, 2009 at 2:10 PM, Sebastian Sylvan <
sebastian.sylvan at gmail.com> wrote:

>
>
>  On Wed, Jun 10, 2009 at 2:08 PM, Sebastian Sylvan <
> sebastian.sylvan at gmail.com> wrote:
>
>>
>>
>> randomList :: (RandomGen g) -> Int -> g -> [Integer]
>>
>
>  Just spotted this typo, it should be:
>
> randomList :: (RandomGen g) = Int -> g -> [Integer]
>
> There may be other minor typos as I don't have a compiler handy.
>

Oh come on!

 randomList :: (RandomGen g) => Int -> g -> [Integer]


-- 
Sebastian Sylvan
+44(0)7857-300802
UIN: 44640862
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://www.haskell.org/pipermail/haskell-cafe/attachments/20090610/7365292e/attachment.html


More information about the Haskell-Cafe mailing list