Skip to content

"set" quantification is allowed in syntax, but meaning isn't preserved #147

@tnelson

Description

@tnelson
sig A {}
test expect {
    higherOrderSome: {
        some X: set A | #X > 1
    } is sat
}

The above parses and runs without any error -- until the test fails. If we're going to permit Alloy-style higher-order some we need to preserve its semantics. Alternatively, we could give an error when someone tries to use Alloy-style some ... set ....

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