Skip to content

Memory: Remove bare Monad m constraints #517

@langston-barrett

Description

@langston-barrett

There are several functions in Data.Macaw.Memory that use a bare Monad m constraint. This is suspicious, because Monad alone doesn't expose any operations that would be useful to this code. If they use fail, they should depend on MonadFail, otherwise the constraint should be removed and these should be pure functions.

This would be a breaking change.

https://github.com/search?q=repo%3AGaloisInc%2Fmacaw%20path%3AMemory.hs%20%2FMonad%20m%2F&type=code

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