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

[ database, deprecated, library, mit ] [ Propose Tags ] [ Report a vulnerability ]
Deprecated

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


[Skip to Readme]

Modules

  • Database
    • Beam
      • Database.Beam.Wrapped

Downloads

Maintainer's Corner

Package maintainers

  • No current members of group

For package maintainers and hackage trustees

Candidates

Versions [RSS] 0.2.0.0
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:57Z
Distributions
Downloads 701 total (1 in the last 30 days)
Rating (no votes yet) [estimated by Bayesian average]
Your Rating
  • λ
  • λ
  • λ
Status Docs not available [build log]
All reported builds failed as of 2018-12-29 [all 2 reports]

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