fpco / unliftio

The MonadUnliftIO typeclass for unlifting monads to IO
Other
151 stars 51 forks source link

`unliftio-core`: Add `liftIOOp` #109

Closed ocharles closed 1 year ago

ocharles commented 1 year ago

Fixes #108

ocharles commented 1 year ago

I'm not really sure about this name anymore. "Unlifting" is more about going to IO, while this functions goes both to IO and back.

snoyberg commented 1 year ago

monad-control calls a similarly-typed function liftBaseOp_. Maybe that makes sense?

ocharles commented 1 year ago

Ah yes! I was looking in monad-control but missed that one. Maybe we go with liftIOOp?

snoyberg commented 1 year ago

Sounds good to me

ocharles commented 1 year ago

@snoyberg Rewritten, I think this is good to go.