Skip to content
This repository was archived by the owner on Mar 18, 2019. It is now read-only.
This repository was archived by the owner on Mar 18, 2019. It is now read-only.

Free variables should be implicitly distinct #119

Description

@lvh

Right now, multiple fresh variables are not implicitly distinct. For example, with the events [{:ip "10.0.0.1"}], the query '(= (:ip x) (:ip y) "10.0.0.1") will (correctly!) result in: [[{:ip "10.0.0.1"} {:ip "10.0.0.1"}]]. While this is correct from a logic program perspective, this is probably not what the SOC wants. We can solve this by applying distincto to all of the logic variables.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions