Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Introduce SetConnectorLink (or such) as parent type of UnionLink, etc #2845

Open
ngeiswei opened this issue Sep 10, 2021 · 2 comments
Open

Comments

@ngeiswei
Copy link
Member

ngeiswei commented Sep 10, 2021

When matching classes of atoms, it could be convenient to be able to agglomerate all atom types representing concepts/sets. So for instance

(Get (TypeInh X (Type 'SetConnector)) X)

would match Set, Union, Intersection, Complement and possibly more.

@linas
Copy link
Member

linas commented Sep 10, 2021

Sure. Except that SetConnector feels non-standard. Perhaps SetOperator or SetOperation would be better. Maybe SetFunction (Saying SetValuedFunction seems like too long a name).

However, saying that Set inherits from SetOperation seems awkward, so perhaps Collection is a better name. That is, Set, Union, etc. are all Collection s.

So I nominate Collection - that would be my favorite.

@linas
Copy link
Member

linas commented Sep 10, 2021

This is a follow-up to #2844

linas added a commit to linas/atomspace that referenced this issue Sep 11, 2021
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

No branches or pull requests

2 participants