The opaleye-classy package

[ Tags: database, library, mit ] [ Propose Tags ]

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   [What is this?]
Distributions NixOS:0.3.1.1
Downloads 735 total (125 in the last 30 days)
Rating (no votes yet) [estimated by rule of succession]
Your Rating
  • λ
  • λ
  • λ
Status Docs available [build log]
Last success reported on 2015-08-30 [all 1 reports]
Hackage Matrix CI

Modules

[Index]

Downloads

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


Readme for opaleye-classy-0.3.1.1

[back to package description]

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