Skip to content

Add To/FromField instances for Const - #46

Closed
carymrobbins wants to merge 5 commits into
haskellari:masterfrom
carymrobbins:const-instances
Closed

carymrobbins wants to merge 5 commits into
haskellari:masterfrom
carymrobbins:const-instances

Conversation

@carymrobbins

Copy link
Copy Markdown
Contributor

As the description says, adds ToField and FromField instances for Const via GeneralizedNewtypeDeriving.

I ran stylish-haskell over the changed files as suggested by the CONTRIBUTING.md but it produced a much larger diff as I guess these files haven't been formatted by stylish-haskell in a while, if ever.

Comment thread src/Database/PostgreSQL/Simple/FromField.hs Outdated
@carymrobbins

carymrobbins commented Aug 9, 2020 •

Copy link
Copy Markdown
Contributor Author

I ran stylish-haskell over the changed files as suggested by the CONTRIBUTING.md but it produced a much larger diff as I guess these files haven't been formatted by stylish-haskell in a while, if ever.

To clarify, I did not commit the reformatted source since it seemed it would have made the PR unnecessarily noisier.

PR looks like it should be all good; CI appears to be passing for all targets.

@carymrobbins

Copy link
Copy Markdown
Contributor Author

@phadej Checking in; anything we can do to get this merged?

@carymrobbins

Copy link
Copy Markdown
Contributor Author

@phadej Checking back in; any update?

@phadej

phadej commented Nov 15, 2020

Copy link
Copy Markdown
Collaborator

Simplified and merged in #53, sorry it took so long.

@phadej phadej closed this Nov 15, 2020
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