Closed
Description
The current definition is more restrictive than necessary. Modify as follows.
from
asks :: forall e1 e2 w. ComonadEnv e1 w => (e1 -> e2) -> w e1 -> e2
to
asks :: forall e1 e2 w a. ComonadEnv e1 w => (e1 -> e2) -> w a -> e2
The Haskell definition is as follows.
asks :: ComonadEnv e w => (e -> e') -> w a -> e'
Metadata
Metadata
Assignees
Labels
No labels