opaleye-classy: Opaleye wrapped up in classy MTL attire.
Classy MTL extension of the lovely Opaleye library, which simply just wraps things up in a MonadReader , MonadError context where the config & error are constrained by Classy Lenses & Prisms rather than by concrete types
More info on this pattern can be found in George Wilson's BFPG talk : http://talks.bfpg.org/talks/2015-06-09.next_level_mtl.html
Note: This API may not be complete. If you need other functions exported then let me know or drop in a PR
Also Note: This is only useful if you only have one DB in your transformer stack. :)
[Skip to Readme]
Downloads
- opaleye-classy-0.3.1.1.tar.gz [browse] (Cabal source package)
- Package description (revised from the package)
Note: This package has metadata revisions in the cabal description newer than included in the tarball. To unpack the package including the revisions, use 'cabal get'.
Maintainer's Corner
For package maintainers and hackage trustees
Candidates
Versions [RSS] | 0.1.0.0, 0.1.0.1, 0.2.0.0, 0.2.1.0, 0.3.0.0, 0.3.1.0, 0.3.1.1 |
---|---|
Dependencies | base (>=4 && <5), bytestring (>=0.10), lens (>=4.0), mtl (>=2.2), opaleye (>=0.4), postgresql-simple (>=0.4.8.0 && <0.5), product-profunctors (>=0.6.2 && <0.7), transformers (>=0.4) [details] |
License | MIT |
Author | Ben Kolera |
Maintainer | ben.kolera@gmail.com |
Revised | Revision 1 made by BenKolera at 2015-08-30T22:27:08Z |
Category | Database |
Home page | https://github.com/benkolera/opaleye-classy/tree/master |
Source repo | head: git clone git@github.com:benkolera/opaleye-classy |
Uploaded | by BenKolera at 2015-08-30T22:17:18Z |
Distributions | |
Reverse Dependencies | 1 direct, 0 indirect [details] |
Downloads | 4416 total (21 in the last 30 days) |
Rating | (no votes yet) [estimated by Bayesian average] |
Your Rating | |
Status | Docs available [build log] Last success reported on 2015-08-30 [all 1 reports] |