Created
November 26, 2017 11:05
-
-
Save debasishg/26ccf7aa8db72d51924c53fc7b769ddc to your computer and use it in GitHub Desktop.
Problem with monix and cats
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// build.sbt | |
val catsVersion = "1.0.0-RC1" | |
val catsEffectVersion = "0.5" | |
val catsCore = "org.typelevel" % "cats-core_2.12" % catsVersion | |
val catsFree = "org.typelevel" % "cats-free_2.12" % catsVersion | |
val catsEffect = "org.typelevel" %% "cats-effect" % catsEffectVersion | |
val monix = "io.monix" %% "monix" % "3.0.0-8084549" | |
val monixCats = "io.monix" %% "monix-cats" % "2.3.2" | |
//compile errors | |
> compile | |
[info] Compiling 1 Scala source to /Users/debasishghosh/projects/scalaexchange-17/code/target/scala-2.12/classes... | |
[error] /Users/debasishghosh/projects/scalaexchange-17/code/src/main/scala/patterns/tagless/main.scala:47: Symbol 'type cats.MonadFilter' is missing from the classpath. | |
[error] This symbol is required by 'method monix.cats.MonixToCatsCore7.monixToCatsMonadFilter'. | |
[error] Make sure that type MonadFilter is in your classpath and check for conflicting dependencies with `-Ylog-classpath`. | |
[error] A full rebuild may help if 'MonixToCatsCore7.class' was compiled against an incompatible version of cats. | |
[error] order <- T.fromClientOrder(cor) | |
[error] ^ | |
[error] one error found | |
[error] (compile:compileIncremental) Compilation failed | |
[error] Total time: 1 s, completed 26 Nov, 2017 4:31:40 PM |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment