xkcd 221

getRandomNumber()

From: http://xkcd.com/221/

import System.Random

main = randomRIO (1, 6 :: Int)