8000 Make MinioT monad transformer · Issue #143 · minio/minio-hs · GitHub
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content
Make MinioT monad transformer #143
Open
@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
    2C05

    Development

    No branches or pull requests

    Issue actions

      0