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

From HaskellWiki
Jump to navigation Jump to search
 
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

Revision as of 16:26, 26 July 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