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

[ database, library, mit ] [ Propose Tags ]

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


[Skip to Readme]
Versions [faq] 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 Sat Dec 29 21:50:57 UTC 2018
Distributions NixOS:0.2.0.0
Downloads 156 total (18 in the last 30 days)
Rating (no votes yet) [estimated by rule of succession]
Your Rating
  • λ
  • λ
  • λ
Status Hackage Matrix CI
Docs not available [build log]
All reported builds failed as of 2018-12-29 [all 2 reports]

Modules

  • Database
    • Beam
      • Database.Beam.Wrapped

Downloads

Maintainer's 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