<div dir="ltr">I seem to be having confusion at the runRVar level of random-fu.<br><br>I can't figure out how to use the Data.Random.Source.PureMT module to get a meaningful random source (I can't get my code to type-check).<br>
<br>I wrote a [trivial] flipCoin function<br>> flipCoin = uniform False True<br>and am trying to fill in the final place of runRVar<br>> :t runRVar (replicateM 20 flipCoin)<br>runRVar (replicateM 20 flipCoin)<br> :: (RandomSource m s) => s -> m [Bool]<br>
<br clear="all"><br>-- <br><div dir="ltr"><div> Alex R</div></div><br>
</div>