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

[Skip to Readme]


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
Category Database
Home page
Bug tracker
Source repo head: git clone
Uploaded by Jappie at 2018-12-29T21:50:00Z



Maintainer's Corner

Package maintainers

For package maintainers and hackage trustees

Readme for beam-newtype-field-

[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:

licensed under MIT