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

clarify the two directions of ONE OF #466

Open
mengwong opened this issue Oct 17, 2023 · 0 comments
Open

clarify the two directions of ONE OF #466

mengwong opened this issue Oct 17, 2023 · 0 comments

Comments

@mengwong
Copy link
Contributor

mengwong commented Oct 17, 2023

if there are sameDepth values going vertically, then each row is an enum constructor made of multiterms

if there is only one row going horizontally, then each column is an enum constructor, and we fmap pure over each MTExpr to upgrade each MTExpr to a MultiTerm

HAS  color  IS  ONE OF  Red
                        Green
                        Blue

vs

HAS  color  IS  ONE OF  Red  Green  Blue

allegedly a vertical could be a paramtext with nested values but we need to investigate that a bit.

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

1 participant