Skip to content

Redefining a single predicate #31

@ArnonHevlin

Description

@ArnonHevlin

Is it possible to redefine a single predicate?

For example for the program:

pyDatalog.load("""
    +A(2)
    +A(3)
    B(X) <= A(X)
    +B(4)
""")

Is there a way to redefine B so it will be empty (without changing A)?

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