Skip to content

Make MinioT monad transformer #143

@boris-stepanov

Description

@boris-stepanov

Hello!

It would be great, if Minio monad was implemented as a monad transformer, probably, like so:

newtype MinioT m a = Minio { unMinio :: ReaderT MinioConn (ResourceT m) a }

runMinioWith :: (MonadIO m) => MinioConn -> Minio m a -> m (Either MinioErr a)
... and so on

I already forked this library, and I will let you know if I get anything working.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions