Skip to content

Conversation

@hartig
Copy link
Contributor

@hartig hartig commented Jan 18, 2026

Closes #266 by implementing exactly the change described in #266. Additionally, this PR changes the order of things in the definition box.


Preview | Diff

@hartig hartig requested review from Tpt, afs, kasei and rubensworks January 18, 2026 15:27
Co-authored-by: Gregory Todd Williams <[email protected]>
<p>where |PV| = { |v| ∈ {|X|,|Y|} | |v| is a variable}.</p>
<div class="issue" data-number="266"><a href="#defn_algJoin" class="algFct">Join</a> produces a multiset of solution mappings but <a href="#defn_algProject" class="algFct">Project</a> expects a sequence as its first argument. Moreover, <a href="#defn_algProject" class="algFct">Project</a> produces a sequence but ppeval(..) should be a multiset.</div>
<pre class="nohighlight">ppeval(<var>X</var>, <a href="#defn_ppeSeq" class="ppeOp">Seq</a>(<var>ppe<sub>1</sub></var>, <var>ppe<sub>2</sub></var>), <var>Y</var>) = <a href="#defn_algToMultiSet" class="algFct">ToMultiSet</a>( <a href="#defn_algProject" class="algFct">Project</a>(<a href="#defn_algToList" class="algFct">ToList</a>(<var>A</var>), <var>PV</var>) )</pre>
<p>where |A| =
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Miinor/preference: I find it easier if things are defined before they are used -- i.e. A = before ToList(A).

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Honestly, I don't find that easier. At least not in the way it looks like at the moment (i.e., before this PR):

Image

There I am just wondering: what is this A about, why isn't this definition just defining the ppeval as all other definitions in this section do?

Co-authored-by: Andy Seaborne <[email protected]>
@hartig hartig merged commit 9a3382e into main Jan 23, 2026
2 checks passed
@hartig hartig deleted the Issue266 branch January 23, 2026 20:42
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Inconsistencies in definition of evaluation of property path with sequence

6 participants