Comments (2)
Yeah it's a tricky exercise. It seems you 'd have to:
- Have aliases for DBIOActions with an effect but only one type "slot" to satisfy the F[_] required by Cats' typeclasses. This is not so hard, but then you need to..
- Have some way to combine the
Effect
types in the "background" as you apply transformations on the monad transformer.
Some more discussion here: https://www.reddit.com/r/scala/comments/lr09iz/is_it_possible_to_use_cats_monad_transformers/
I'll close for now and keep passively thinking on it to see if I might find a way to do this.
from slick-cats.
HI @alexklibisz - it's not possible with the current implementation. But may be potentially possible if written with the DBIOAction
in mind. But yeah - that's not provided. 🤷♂️
from slick-cats.
Related Issues (12)
- Testing
- Publish this repo HOT 2
- Version mismatch in Maven repository HOT 3
- Please release a version comapatible with Cats 1.0 HOT 2
- Publish 2.11 version of 0.7 branch HOT 1
- Use sbt release plugin to simplify release HOT 1
- Instance for `Semigroupal[DBIO]` HOT 2
- Project depends on scalacheck outside of "Test" HOT 2
- Release 0.10.2 HOT 3
- Release 0.10.5 HOT 2
- Looks like there is no 0.10.5 release in maven repo
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from slick-cats.