[Haskell-cafe] an example from YAHT doesn't run

Paulo Tanimoto tanimoto at arizona.edu
Sat Jun 21 11:48:41 EDT 2008


Hi Jared,

2008/6/21  <trifod at gmail.com>:
> Guess.hs:19:12: parse error on input `doGuessing'
>
> Failed, modules loaded: none. "

That says there's something wrong at line 19.  In this case,
'doGuessing' is not properly aligned with 'putStrLn' of the previous
line.  The same happens at line 22.

See if that helps and double-check the rules of indentation.  : )

Paulo


More information about the Haskell-Cafe mailing list