Difference between revisions of "Talk:Guess a random number"

From HaskellWiki
Jump to navigation Jump to search
 
m (Talk:GuessRandom moved to Talk:Guess a random number)
 
(One intermediate revision by one other user not shown)
Line 1: Line 1:
I think there should be a "maxNum :: Int" to avoid maxNum being Integer, which causes type conflicts (I could not make the original version of GuessRandom run in WinHugs). Please correct me if I am wrong, I am new to Haskell. Thanks!
+
I think there should be a "maxNum :: Int" to avoid maxNum being Integer, which causes type conflicts (I could not make the original version of GuessRandom run in WinHugs). Please correct me if I am wrong, I am new to Haskell. Thanks! -- cz

Latest revision as of 18:52, 7 October 2006

I think there should be a "maxNum :: Int" to avoid maxNum being Integer, which causes type conflicts (I could not make the original version of GuessRandom run in WinHugs). Please correct me if I am wrong, I am new to Haskell. Thanks! -- cz