@hackage beam-newtype-field0.2.0.0
A newtype for wrapping newtypes into beam schemas
Categories
License
MIT
Maintainer
jappieklooster@hotmail.com
Links
Versions
- 0.2.0.0 Sat, 29 Dec 2018
Deprecated
Dependencies (5)
- base >=4.7 && <5
- beam-core
- beam-migrate
- lens
- postgresql-simple Show all…
Dependents (0)
A newtype for putting newtypes into beam schemas
This demonstrates how I got rid of a bunch of boilerplate using the Wrapped typeclass of Control.Lens.
Being quite pleased with myself I wrote a blog post about it: https://jappieklooster.nl/lens-into-wrapped-newtypes.html
licensed under MIT