nikita-volkov / hasql-th

Template Haskell utilities for Hasql
http://hackage.haskell.org/package/hasql-th
MIT License
112 stars 8 forks source link

Adds an example for using `dimap`. #2

Closed juliendehos closed 4 years ago

juliendehos commented 4 years ago

Thanks for this nice project. In the first section of the readme, I think it would be nice to illustrate "you can then dimap over using its Profunctor instance" with some code.

nikita-volkov commented 4 years ago

Thanks. I've changed a few things and merged.

Another thanks for opening my eyes on uncurryN! :) Never knew about it.