beam-newtype-field: A newtype for wrapping newtypes into beam schemas

This is a package candidate release! Here you can preview how this package release will appear once published to the main package index (which can be accomplished via the 'maintain' link below). Please note that once a package has been published to the main package index it cannot be undone! Please consult the package uploading documentation for more information.

[maintain]

Please see the README on GitHub at https://github.com/jappeace/dbfield#readme


[Skip to ReadMe]

Properties

Versions0.2.0.0, 0.2.0.0
Change logNone available
Dependenciesbase (>=4.7 && <5), beam-core, beam-migrate, lens, postgresql-simple [details]
LicenseMIT
Copyright2018 Jappie Klooster
AuthorJappie Klooster
Maintainerjappieklooster@hotmail.com
CategoryDatabase
Home pagehttps://github.com/jappeace/dbfield#readme
Bug trackerhttps://github.com/jappeace/dbfield/issues
Source repositoryhead: git clone https://github.com/jappeace/dbfield
UploadedSat Dec 29 21:50:00 UTC 2018 by Jappie

Modules

Downloads

Maintainers' corner

For package maintainers and hackage trustees


Readme for beam-newtype-field-0.2.0.0

[back to package description]

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