[Haskell-cafe] SDL and ALUT on Windows: "stdin Bad file descriptor"

Thiago Negri evohunz at gmail.com
Sat Jan 26 21:34:16 CET 2013

I'm trying SDL on Windows, and things are getting really weird.
I can compile the code (links on the end).
When I run it, if I try using `stdin` the program crashes with this

<stdin>: hGetLine: invalid argument (Bad file descriptor)

Is it something to do with SDL itself?
What am I doing wrong? :(

Code: http://hpaste.org/81321
Cabal file: http://hpaste.org/81322

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.haskell.org/pipermail/haskell-cafe/attachments/20130126/67332a49/attachment.htm>

More information about the Haskell-Cafe mailing list