Skip to content

Rename forall to assertForall? #5

@danr

Description

@danr

To make it more obvious that it will throw an error if it doesn't hold for "all" values?

// compare
QC.assertForall(QC.nat.replicate(2), ([x,y]) => x+10 > y)
// with
QC.forall(QC.nat.replicate(2), ([x,y]) => x+10 > y)

What do you think @paldepind ?

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