Changes between Initial Version and Version 2 of Ticket #4218


Ignore:
Timestamp:
Jul 31, 2010 8:25:40 PM (5 years ago)
Author:
igloo
Comment:

Legend:

Unmodified
Added
Removed
Modified
  • Ticket #4218 – Description

    initial v2  
    66
    77Fails with stack overflow:
     8{{{
    89  rs <- replicateM 1000000 evaluate :: IO [Int]
    910  print $ last rs
    10 
     11}}}
    1112Works:
     13{{{
    1214  rs <- replicateM 1000000 (evaluate =<< randomIO) :: IO [Int]
    1315  print $ last rs
     16}}}