Skip to content
Permalink
Browse files

Update streaming example

  • Loading branch information
travisbrown committed Jan 13, 2020
1 parent 1ebb6d6 commit 6920bb0d91a1d6e45b14c6094ff369e71a9a064e
@@ -44,7 +44,7 @@ def priorTo2_13(scalaVersion: String): Boolean =
case _ => false
}

val previousCirceVersion = Some("0.12.2")
val previousCirceVersion = Some("0.12.3")
val scalaFiddleCirceVersion = "0.9.1"

lazy val baseSettings = Seq(
@@ -169,7 +169,7 @@ asynchronously with jawn, and decode them into `Task` values:

```scala
val lots =
readBytes(new File("data.json")).through(byteArrayParser).through(decoder[Task, Lot])
readBytes[IO](new File("data.json")).through(byteArrayParser).through(decoder[IO, Lot])
```

This line doesn't do any real work—it doesn't even open the file. It just represents a source of
@@ -1,9 +1,9 @@
scalaVersion := "2.12.9"
scalaVersion := "2.13.1"

scalacOptions += "-deprecation"

libraryDependencies ++= Seq(
"io.circe" %% "circe-generic" % "0.11.1",
"io.circe" %% "circe-iteratee" % "0.12.0",
"io.iteratee" %% "iteratee-files" % "0.18.0"
"io.circe" %% "circe-generic" % "0.13.0-M2",
"io.circe" %% "circe-iteratee" % "0.13.0-M2",
"io.iteratee" %% "iteratee-files" % "0.19.0"
)
@@ -1 +1 @@
sbt.version=1.1.1
sbt.version=1.3.6

0 comments on commit 6920bb0

Please sign in to comment.
You can’t perform that action at this time.