fixes purescript/#1673#1674
Conversation
|
Neat, thanks! 👍 Perhaps it makes sense to put this in its own function, but could you please document it with a line comment in either case? |
|
As an aside, I think switching to |
|
comment added. |
|
and yeah, +1 for switching to |
|
Could you please include yourself in https://github.com/purescript/purescript/blob/master/CONTRIBUTORS.md? |
|
✔️ |
|
Thanks! Sorry about the delay in merging, Phil is busy at the moment and I hadn't been keeping track of this. |
|
no problem. looking forward to the next release 👍 |
Among other solutions
Data.Text)this fix is the least invasive.
It's tested on my system and works. It forces
readFileto advance till reaching EOF (or an exception) and change the corresponding file handle's state, so that it can be GC'd.