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

Exporting GSqlRow to be able to refer to it #164

Merged
merged 1 commit into from
Mar 11, 2021

Conversation

YPares
Copy link
Contributor

@YPares YPares commented Jan 27, 2021

I'm only exporting the class name, not its methods.

That's useful when doing Generic hackery in client libraries. For instance I'm derivating Tables out of vinyl records, and in order to make Rec an instance to SqlRow, I need to refer to GSqlRow.

That's useful when doing Generic hackery in client libraries
@YPares
Copy link
Contributor Author

YPares commented Jan 27, 2021

If you want to see an example of why/how, see https://github.com/YPares/selda/blob/work-branch/vinyl-example/app/Main.hs#L59 in my fork (it's a modified version of one of your examples).

@valderman valderman merged commit ce5b21e into valderman:master Mar 11, 2021
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.

None yet

2 participants