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] [Publish]

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


[Skip to Readme]

Properties

Versions 0.2.0.0, 0.2.0.0
Change log None available
Dependencies base (>=4.7 && <5), beam-core, beam-migrate, lens, postgresql-simple [details]
License MIT
Copyright 2018 Jappie Klooster
Author Jappie Klooster
Maintainer jappieklooster@hotmail.com
Category Database
Home page https://github.com/jappeace/dbfield#readme
Bug tracker https://github.com/jappeace/dbfield/issues
Source repo head: git clone https://github.com/jappeace/dbfield
Uploaded by Jappie at 2018-12-29T21:50:00Z

Modules

Downloads

Maintainer's Corner

Package maintainers

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