Skip to content

[LTB-65] Add Buildable for ConfigRec #56

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 2 commits into from
Sep 6, 2021

Conversation

worm2fed
Copy link
Contributor

@worm2fed worm2fed commented Jul 29, 2021

Problem:
This was made here #53. But this PR became still.
It'll be good to proceed this PR and add Buildable instances, cause it's quite useful.
We're not going to merge #53, because Json instances was added recently independent from this PR (we didn't know about it).

Solution:
Move Buildable instances (along with tests) form #53.

Also in thins PR presented one stylistic commit with formatter config.

@worm2fed worm2fed requested a review from pasqu4le July 29, 2021 08:22
Copy link
Contributor

@pasqu4le pasqu4le left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Just a couple of small suggestions, but LGTM.

@pasqu4le
Copy link
Contributor

pasqu4le commented Sep 6, 2021

Ah one more thing, I think that the commit message for b4e16fe has a typo:
indention should be indentation.

Also, there's no written rule AFAIK, but in several projects for these commits that are not directly related to an issue we use the "tag" [Chore] at the beginning of the message instead, but I'll let you choose if use it here too or not.

@worm2fed
Copy link
Contributor Author

worm2fed commented Sep 6, 2021

indention should be indentation.

https://www.merriam-webster.com/dictionary/indention

indention is an archaic form of indentation)

Problem:
1. Our style guide requires two spaces indentation, but in some places
we have four or even more spaces.
2. Someone may have different formatter settings but we do not want
someone reformat our code just saving file.

Solution:
1. Delete spaces where it contradicts our style guide.
2. Add stylish-haskell config.
@worm2fed worm2fed force-pushed the worm2fed/ltb-65-buildable-for-configrec branch from e60e28b to b8b0064 Compare September 6, 2021 10:53
@worm2fed
Copy link
Contributor Author

worm2fed commented Sep 6, 2021

@pasqu4le if you want, you can take a look at requested changes

@pasqu4le
Copy link
Contributor

pasqu4le commented Sep 6, 2021

indention is an archaic form of indentation

oh I didn't know that, I assumed it was a typo. No problem then 👌

Copy link
Contributor

@pasqu4le pasqu4le left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM now 👍

Problem:
This was made here #53. But this PR became still.
It'll be good to proceed this PR and add Buildable instances, cause
it's quite useful.
We not going to merge #53, because Json instances was added recently
independent from this PR (we didn't know about it).

Solution:
Move Buildable instances (along with tests) form #53.
@worm2fed worm2fed force-pushed the worm2fed/ltb-65-buildable-for-configrec branch from b8b0064 to b516300 Compare September 6, 2021 11:57
@worm2fed worm2fed merged commit 4765f45 into master Sep 6, 2021
@delete-merged-branch delete-merged-branch bot deleted the worm2fed/ltb-65-buildable-for-configrec branch September 6, 2021 11:58
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.

2 participants