The opaleye-classy package

[Tags:library, mit]

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]

Properties

Versions 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.*), 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
Category Database
Home page https://github.com/benkolera/opaleye-classy/tree/master
Source repository head: git clone git@github.com:benkolera/opaleye-classy
Uploaded Sun Aug 30 22:17:18 UTC 2015 by BenKolera
Updated Sun Aug 30 22:27:08 UTC 2015 by BenKolera to revision 1
Distributions NixOS:0.3.1.1
Downloads 536 total (1 in the last 30 days)
Votes
0 []
Status Docs available [build log]
Last success reported on 2015-08-30 [all 1 reports]

Modules

[Index]

Downloads

Maintainer's Corner

For package maintainers and hackage trustees

Readme for opaleye-classy

Readme for opaleye-classy-0.3.1.1

opaleye-classy

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 non-extensible 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

Warnings