Skip to content

Implement tag based constraint construction #3

@recursion-ninja

Description

@recursion-ninja

Rather than hard-coding familial information, use a tag based system to build constraints.

Example:

John tags [awesome,child] ignore [adult]
Jane tags [awesome,adult] ignore [uncool]
Jack tags [uncool, child] ignore [awesome]
Jill tags [uncool, adult] ignore [child]
Jim  tags [uncool, baby ] ignore [baby,uncool]
Jeb  tags [awesome,baby ] ignore [baby,awesome]

Would construct the following constraints:

[ ("John", ["Jack","Jim","Jeb"])
, ("Jane", ["John","Jeb"])
, ("Jack", ["Jill","Jim"])
, ("Jill", ["Jane","Jim,"Jeb"])
, ("Jim",  ["John","Jane"])
, ("Jeb",  ["Jack","Jill"])
]

Metadata

Metadata

Assignees

No one assigned

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions