Skip to content

Test a subset of laws / exclude some laws #127

@dschrempf

Description

@dschrempf

Hello,

I have a zip-like applicative instance of a tree (similar to a ZipList), and I would like to test the applicative laws. I know that

Homomorphism
pure f <*> pure x ≡ pure (f x)

holds, but the test suite hangs (because pure x is an infinite tree).

Is there a way to test the the applicative laws but exclude this one test. In general, is there a way to perform a test on a subset of laws?

Thank you!

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