Closed kirelagin closed 6 years ago
I think there are two options: export hClose
(lifted version) or remove export of openFile
and export withFile
instead (probably with MonadMask
constraint, MonadIO
is not enough) because one should use withFile
whenever possible.
Or we can export all three :)
Done in #200.
Universum.Lifted.File
lift functions for opening, reading and writing files, but nothing to close them.