Skip to content

Modify the definition of the asks function of ComonadEnv. #130

Description

@setsunica

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'

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

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