Question about IO in Haskell
Posted: 18 Apr 2009, 15:47
Hi everybody, I am new on this forum.
I am writing a chess engine in Haskell as final year project for my computer course. The Engine is now done, except one thing, to connect my engine with Winboard. I have no clue which function should I use for input and output, I have been looking around but still can't figure out how it done, so anyone can give me an example how do I send a simple command to Winboard?
Can I just simply use putStr and getLine? (thats probably not works, since I have tried it ...)
Thnx in advance
I am writing a chess engine in Haskell as final year project for my computer course. The Engine is now done, except one thing, to connect my engine with Winboard. I have no clue which function should I use for input and output, I have been looking around but still can't figure out how it done, so anyone can give me an example how do I send a simple command to Winboard?
Can I just simply use putStr and getLine? (thats probably not works, since I have tried it ...)
Thnx in advance