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

Correct name from "type_constructor" to "data_constructor" #16

Merged
merged 1 commit into from
Feb 26, 2022

Conversation

J3RN
Copy link
Member

@J3RN J3RN commented Feb 24, 2022

I wrote type_constructor when I was only part-way through a book on Haskell and apparently didn't fully understand the concept 😆 Anyhow, what I referred to as a type_constructor is actually a data constructor, so I'm renaming those AST nodes to data_constructor.

cc @connorlay I wanted to make sure you saw this and could update the nvim-treesitter code accordingly 😁

@J3RN
Copy link
Member Author

J3RN commented Feb 24, 2022

Relevant to #14

@J3RN J3RN force-pushed the rename-type_constructor-to-data_constructor branch from 3d6f803 to 059766f Compare February 26, 2022 17:17
@J3RN J3RN merged commit cfcbca3 into main Feb 26, 2022
@J3RN J3RN deleted the rename-type_constructor-to-data_constructor branch February 26, 2022 17:20
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