You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
This does not align with set semantics where #every would align with forAll and thus be vacuously true on the empty set.
It also goes against the RDF/JS Dataset definition of for #everyhttps://rdf.js.org/dataset-spec/#dom-dataset-every; and so in order to complete #288 we would need to alter this behavior and decide whether this change is (1) breaking or (2) a bug fix - despite the fact that there is a test enforcing the buggy behavior. @RubenVerborgh what do you think?
The text was updated successfully, but these errors were encountered:
As shown in the test here
#every
returnsfalse
when called on an empty store. There is a test enforcing this behavior atN3.js/test/N3Store-test.js
Line 92 in 0ba9ec2
#every
would align withforAll
and thus be vacuouslytrue
on the empty set.It also goes against the RDF/JS Dataset definition of for
#every
https://rdf.js.org/dataset-spec/#dom-dataset-every; and so in order to complete #288 we would need to alter this behavior and decide whether this change is (1) breaking or (2) a bug fix - despite the fact that there is a test enforcing the buggy behavior. @RubenVerborgh what do you think?The text was updated successfully, but these errors were encountered: