Skip to content
This repository has been archived by the owner on Jan 20, 2025. It is now read-only.

First-class representation of Item/ItemID #15

Open
dabrahams opened this issue Dec 29, 2022 · 0 comments
Open

First-class representation of Item/ItemID #15

dabrahams opened this issue Dec 29, 2022 · 0 comments

Comments

@dabrahams
Copy link
Collaborator

First of all Chart.Item should be renamed Chart.ItemID, since multiple entries with the same ID
actually constitute an item.

Then, perhaps Entry should be renamed Cause or Causation or Derivation.

Then Item should be a first-class type wrapping a Chart.Entries.SubSequence, and having a sequence of Derivations or at least MainstemIndices.

Then there should be a first-class representation for the sequence of Items in an Earleme having a given
transition symbol.

All of this is currently ad-hoc in the type system.

dabrahams added a commit that referenced this issue Dec 30, 2022
dabrahams added a commit that referenced this issue Dec 30, 2022
dabrahams added a commit that referenced this issue Dec 30, 2022
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