Skip to content

benkolera/opaleye-classy

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

13 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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

  • This will only work if you only talk to one DB in your transformer stack.
  • This API is missing a few IO operations from Opaleye. If you need other functions exported then let me know or drop in a PR.

About

Classy MTL extension of the lovely Opaleye library.

Resources

License

Stars

Watchers

Forks

Packages

No packages published