Skip to content

Make Run instance of MonadState? #9

@esad

Description

@esad

Would it be possible to make Run (state ∷ STATE s | r) instance of MonadState similar to how this has been done for MonadEff and MonadAff? I'm trying to use purescript-run with some lenses inside, and the lens functions (use, assign etc.) expect the state monad in their signatures.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions