Skip to content
This repository was archived by the owner on Aug 3, 2024. It is now read-only.
This repository was archived by the owner on Aug 3, 2024. It is now read-only.

runReaderT has the wrong type #413

Closed
@ndmitchell

Description

@ndmitchell

Taking the mtl library, using the --hoogle flag, I generates:

newtype ReaderT r (m :: * -> *) a :: * -> (* -> *) -> * -> *
[ReaderT] :: (r -> m a) -> ReaderT r a
[runReaderT] :: ReaderT r a -> r -> m a
runReaderT :: ReaderT r m a -> r -> m a

Observe that the first runReaderT (the one in brackets) is missing the m field from the ReaderT type. Originally reported at https://code.google.com/p/ndmitchell/issues/detail?id=557

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions