A newtype for wrapping newtypes into beam schemas
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
src/Database/Beam
.gitignore
LICENSE
Readme.md
beam-newtype-field.cabal
default.nix
package.yaml
shell.nix

Readme.md

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