Skip to content

Add Eq instance for Data.Attoparsec.ByteString.Lazy.Result #161

@frasertweedale

Description

@frasertweedale

An Eq instance would be useful e.g. for parser unit tests, testing not only the result of the parse but that the expected amount of left-over input is present.

This would only be the for the lazy Result type because IResult can contain a function:

Partial :: (i -> IResult i r) -> IResult i r

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