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

Fix item kind #27

Merged
merged 1 commit into from
Jan 16, 2022
Merged

Fix item kind #27

merged 1 commit into from
Jan 16, 2022

Conversation

kitagry
Copy link
Owner

@kitagry kitagry commented Jan 15, 2022

before

p(arg) { } // function

p[arg] { } // function

p = arg { } // function

after

p(arg) { } // function

p[arg] { } // function

p = arg { } // variable

@kitagry
Copy link
Owner Author

kitagry commented Jan 15, 2022

I think the rule having variable is a kind of function. But, I'm not confident...

I read documents more carefully, and then decide it.

@kitagry
Copy link
Owner Author

kitagry commented Jan 16, 2022

Variables appearing in the head of a rule can be thought of as input and output of the rule.

So, it can be thought as function. I will merge this PR.

@kitagry kitagry merged commit f161972 into main Jan 16, 2022
@kitagry kitagry deleted the fix-completion-kind branch January 16, 2022 13:36
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.

1 participant