This file contains hidden or 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
~/workspace/binance-scala-client (master)$> sbt test | |
Getting org.scala-sbt sbt 1.6.1 (this may take some time)... | |
[snip] | |
[info] compiling 11 Scala sources to /Users/ben/workspace/binance-scala-client/target/scala-2.13/classes ... | |
[info] Non-compiled module 'compiler-bridge_2.13' for Scala 2.13.7. Compiling... | |
[info] Compilation completed in 8.261s. | |
[info] compiling 13 Scala sources to /Users/ben/workspace/binance-scala-client/target/scala-2.13/test-classes ... | |
[warn] 1 feature warning; re-run with -feature for details |
This file contains hidden or 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
package io.circe.optics | |
import cats.instances.list.catsStdInstancesForList | |
import io.circe.{Json, JsonObject} | |
import monocle.{Iso, Lens, Traversal} | |
import monocle.function.{At, Each, FilterIndex, Index} | |
import scalaz.{Applicative, Traverse} | |
import scalaz.std.ListInstances |
This file contains hidden or 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
//See this example at http://scastie.org/26026 | |
/*** | |
scalaVersion := "2.12.1" | |
libraryDependencies += "org.atnos" %% "eff" % "2.2.0" | |
addCompilerPlugin("org.spire-math" %% "kind-projector" % "0.9.3") | |
scalacOptions += "-Ypartial-unification" | |
*/ | |
import cats._ |
This file contains hidden or 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
object Test { | |
import cats._ | |
import cats.data._ | |
import cats.implicits._ | |
import org.atnos.eff._ | |
import org.atnos.eff.all._ | |
import org.atnos.eff.syntax.all._ | |
case class Address() |
This file contains hidden or 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
Welcome to the Ammonite Repl 0.6.2 | |
(Scala 2.11.8 Java 1.8.0_66) | |
ben_hutchison-ben_hutchison@ load.ivy("org.typelevel" %% "cats" % "0.7.1") | |
ben_hutchison-ben_hutchison@ load.plugin.ivy("org.spire-math" %% "kind-projector" % "0.9.0") | |
ben_hutchison-ben_hutchison@ | |
load.plugin.ivy("com.milessabin" % "si2712fix-plugin_2.11.8" % "1.2.0") | |
ben_hutchison-ben_hutchison@ load.ivy("org.atnos" %% "eff-cats" % "2.0.0-RC7") |
This file contains hidden or 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
Welcome to the Ammonite Repl 0.6.2 | |
(Scala 2.11.8 Java 1.8.0_51) | |
@ load.plugin.ivy("com.milessabin" % "si2712fix-plugin_2.11.8" % "1.2.0") | |
@ load.plugin.ivy("org.spire-math" %% "kind-projector" % "0.8.0") | |
@ load.ivy("org.atnos" %% "eff-cats" % "2.0.0-RC7") | |
@ import org.atnos.eff._, all._, syntax.all._; | |
import org.atnos.eff._, all._, syntax.all._; |
This file contains hidden or 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
Welcome to the Ammonite Repl 0.6.2 | |
(Scala 2.11.8 Java 1.8.0_51) | |
@ load.plugin.ivy("org.spire-math" %% "kind-projector" % "0.8.0") | |
@ load.ivy("org.atnos" %% "eff-cats" % "2.0.0-RC7") | |
@ import cats._, data._, implicits._; | |
import cats._, data._, implicits._; | |
@ import org.atnos.eff._, all._, org.atnos.eff.syntax.all._; | |
import org.atnos.eff._, all._, org.atnos.eff.syntax.all._; |
This file contains hidden or 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
import cats._, data._ | |
import org.atnos.eff._, all._ | |
import org.atnos.eff.syntax.all._ | |
object ComputationOrder { | |
//// With 3 effects, it fails when I use runNel at the beginning | |
type C3 = Fx.fx3[State[String,?],Choose,Validate[String,?]] |
This file contains hidden or 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
Welcome to the Ammonite Repl 0.6.2 | |
(Scala 2.11.8 Java 1.8.0_51) | |
@ load.plugin.ivy("org.spire-math" %% "kind-projector" % "0.8.0") | |
@ load.ivy("org.typelevel" %% "cats" % "0.6.0") | |
@ import cats._; import implicits._ | |
import cats._; | |
import implicits._ | |
@ load.ivy("eu.timepit" %% "refined" % "0.5.0") |
This file contains hidden or 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
~$> ./amm | |
Loading... | |
Welcome to the Ammonite Repl 0.6.2 | |
(Scala 2.11.8 Java 1.8.0_51) | |
@ load.plugin.ivy("org.spire-math" %% "kind-projector" % "0.8.0") | |
@ load.ivy(("org.atnos" %% "eff-cats" % "1.7.4")) | |
@ import cats.data._ | |
import cats.data._ |
NewerOlder