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

featurec-equivalent = should be commutative #37

Closed
lvh opened this issue Feb 9, 2016 · 0 comments
Closed

featurec-equivalent = should be commutative #37

lvh opened this issue Feb 9, 2016 · 0 comments

Comments

@lvh
Copy link
Contributor

lvh commented Feb 9, 2016

#29 (implemented by #36) lets you express:

(= (:ip x) "10.0.0.1")

... but:

(= "10.0.0.1" (:ip x))

... should be equivalent. This is not quite as trivial as it may look at first glance, since one might also say:

(= (:ip x) (:ip y))

... but that's a different thing, and should compile down differently: the latter can't just be expressed as a single featurec, but instead is a fresh variable and two featurec relations (one for x, one for y).

@lvh lvh added this to the Advanced querying milestone Feb 9, 2016
lvh added a commit to lvh/desdemona that referenced this issue Feb 9, 2016
@lvh lvh mentioned this issue Feb 9, 2016
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant