At 2002-03-12 20:18, Jyrinx wrote:

>Of course, this "probable cause" is ridiculous at face value ... anyway,
>my code makes as much sense to me as it can at the moment ... how should
>I get it to make sense to GHC? (I couldn't find any examples on

I can see the bug. It's a very common one when using monads and the 'do' 
notation -- confusing 'a' with 'IO a'.

When in doubt, add type signatures to everything. You'll soon narrow it 
down.

-- 
Ashley Yakeley, Seattle WA

_______________________________________________
Haskell-Cafe mailing list
[EMAIL PROTECTED]
http://www.haskell.org/mailman/listinfo/haskell-cafe

Reply via email to