Back to Fpinscala

02.Hint

answerkey/state/02.hint.md

latest143 B
Original Source

Use nonNegativeInt to generate a random integer between 0 and Int.MaxValue, inclusive. Then map that to the range of doubles from 0 to 1.