Report question

Question: Trying to figure out `random` function in Haskell