News for hackers. Stuff that matters.
Re:Resigning from the Haskell Platform by kqr on Wednesday October 14, 2015 @03:54AM (#10385448)
> The whole "file handles" can't escape a certain scope sounds like what python's with statement does.

It is incredibly easy to return a file handle out of a with statement. There is nothing in place other than programmer discipline preventing you from doing so, and your program blows up in... interesting ways.

There are no comments on this comment yet.