zip icon indicating copy to clipboard operation
zip copied to clipboard

`PrimMonad` instance for `ZipArchive`

Open ivanbakel opened this issue 2 years ago • 1 comments

It looks like ZipArchive could easily have a PrimMonad instance based on that for StateT ZipState IO - and I've hit an instance where it would be useful to have. Would it correct & appropriate to add one in?

ivanbakel avatar Jul 29 '21 13:07 ivanbakel

Can you do the primitive operations in IO and lift that using the existing MonadIO instance?

mrkkrp avatar Aug 06 '21 20:08 mrkkrp