Closed YPares closed 3 years ago
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.
GSqlRow
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).
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
.