
9 Jul
2013
9 Jul
'13
2:43 p.m.
On 09.07.2013 22:10, kudah wrote:
Same here, I used mwc-random to generate random strings. It works in ghci and when compiled with -O0, but with -O1 and -O2 I've been getting exclusively a's and b's.
It looks like MWC generates only 0 and 1 for some reason. I've tried to write simple test but everything works fine. Could you post test case and compiler/libraries/OS versions you use?