News for hackers. Stuff that matters.
Re:What it's like to use Haskell by jfischoff on Wednesday March 26, 2014 @03:06PM (#7475666)
The library in question was using unsafePerformIO to open a file handle. It was just a bug.
Re:What it's like to use Haskell by dllthomas on Wednesday March 26, 2014 @03:47PM (#7476012)
There's apparently a particular instance you're referring to?

But the general issue can be encountered with lazy IO without any use of unsafePerformIO. There has been a lot of discussion about this around the various enumerator-like libraries - in particular, Snoyman has many posts about ensuring timely release of resources.