Skip to content

Refactor expansion #140

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

Merged
merged 28 commits into from
Mar 30, 2022
Merged

Refactor expansion #140

merged 28 commits into from
Mar 30, 2022

Conversation

magicant
Copy link
Owner

See #139

Let's make the expansion module tidy by reducing number of items located
in the module.
@magicant magicant self-assigned this Mar 18, 2022
@magicant magicant force-pushed the refactor_expansion branch from e89e806 to 517f149 Compare March 19, 2022 15:36
@magicant magicant force-pushed the refactor_expansion branch from 517f149 to 18fde22 Compare March 20, 2022 10:41
@magicant magicant force-pushed the refactor_expansion branch from 1c8d89c to 75bdff3 Compare March 21, 2022 14:50
magicant added 20 commits March 22, 2022 22:52
The type parameter is now the type of the interim data rather than the
Expand implementor.

QuickExpand now derives Debug.
This commit defines expand_word_new, expand_words_new, and
expand_value_new. The "_new" suffix in the function names is a temporary
workaround to avoid conflicts with the existing functions.
This commit defines perform_assignment_new and perform_assignments_new.
The "_new" suffix in the function names is a temporary workaround to
avoid conflicts with the existing functions.
expand_word <- expand_word_new
expand_words <- expand_words_new
expand_value <- expand_value_new
perform_assignment <- perform_assignment_new
perform_assignments <- perform_assignments_new
@magicant magicant linked an issue Mar 28, 2022 that may be closed by this pull request
10 tasks
Now that no expansion functions return (), the default type parameter is
useless.
@magicant magicant marked this pull request as ready for review March 29, 2022 15:39
@magicant magicant force-pushed the refactor_expansion branch from 8d97c0f to bc160ed Compare March 30, 2022 02:44
@magicant magicant merged commit 7985304 into master Mar 30, 2022
@magicant magicant deleted the refactor_expansion branch March 30, 2022 02:56
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
Status: Done
Development

Successfully merging this pull request may close these issues.

Refactoring word expansion
1 participant